Skip to content

crash in wxLua_wxBoxSizer_delete_function #153

Description

@gongchengjinlove

Thread 1 received signal SIGSEGV, Segmentation fault.
0x0057053e in wxLua_wxBoxSizer_delete_function (p=0xdfff07c)
at D:\AINO\wxlua\wxLua\modules\wxbind\src\wxcore_sizer.cpp:3380
warning: Source file is more recent than executable.
3380 delete o;
(gdb) bt
#0 0x0057053e in wxLua_wxBoxSizer_delete_function (p=0xdfff07c)
at D:\AINO\wxlua\wxLua\modules\wxbind\src\wxcore_sizer.cpp:3380
#1 0x005c23a6 in wxluaO_deletegcobject (L=0x102101c8, stack_idx=1, flags=0)
at D:\AINO\wxlua\wxLua\modules\wxlua\wxllua.cpp:434
#2 0x005bbd58 in wxlua_wxLuaBindClass__gc (L=0x102101c8) at D:\AINO\wxlua\wxLua\modules\wxlua\wxlbind.cpp:113
#3 0x00a04c38 in lj_BC_FUNCC ()

source:
wxcore_sizer.cpp:3380
3377 void wxLua_wxBoxSizer_delete_function(void** p)
3378 {
3379 wxBoxSizer* o = (wxBoxSizer*)(*p);
3380 delete o;
3381 }

wxBoxSizer maybe delete by wxwidgets

wxLua: latest
wxwidgets: 3.3.1
Toolchain: mingw32 i686-15.2.0-release-posix-dwarf-ucrt-rt_v13-rev0 gcc 15.2.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions