Skip to content

dukluv binding for duktape 2.6.0 is throwing an uncaught execption  #36

@pkoppise

Description

@pkoppise

We have updated the version of duktape from 1.5 to 2.6.0, re-compiled dukluv , compilation passed after below changes

src/main.c (added one more argument called args, while calling duk_safe_call)

typedef struct {} my_safe_args;
my_safe_args args;

if (duk_safe_call(ctx, duv_stash_argv, (void *) &args, 2, 1))

schema.c

changed duk_dump_context_stderr(ctx) to duk_push_context_dump(ctx)

Later while running the executable (i.e. ./dukluv test-require.js) we got below error

TypeError: cannot read property '/home/ubuntu20/dukluv_lates/dukl...' of undefined
at [anon] (duk_hobject_props.c:2548) internal
at [anon] () native strict preventsyield
at [anon] () native strict preventsyield

Could you please help us what might be the issue

or

do you have code for dukluv binding for latest duktape?

Thanks in advance.

Best Regards,
Phanendra

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions