Skip to content

Access violation Exception on Visual Studio Debugger #1841

Closed
@hxm-cpp

Description

@hxm-cpp

the call of uc_mem_map trigger an exception on a debugging session :

>	a.exe!tcg_out_opc(TCGContext * s, int opc, int r, int rm, int x) Line 609	C
 	[Inline Frame] a.exe!tcg_out_push(TCGContext * reg, int) Line 1064	C
 	a.exe!tcg_target_qemu_prologue(TCGContext * s) Line 3679	C
 	a.exe!tcg_prologue_init_x86_64(TCGContext * s) Line 846	C
 	a.exe!tcg_exec_init_x86_64(uc_struct * uc, unsigned int tb_size) Line 1229	C
 	a.exe!machine_initialize(uc_struct * uc) Line 56	C
 	a.exe!uc_init(uc_struct * uc) Line 229	C
 	a.exe!uc_mem_map(uc_struct * uc, unsigned __int64 address, unsigned __int64 size, unsigned int perms) Line 1037	C
 	a.exe!main(int argc, char * * argv, char * * envp) Line 31	C++
 	[External Code]	

the lib was compiled in Release with debug infos on visual studio 2022 SDK 10.0.22621.0

it doesn't crash running standalone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions