Crash after kill
Issue #927
new
Van broes:
Hoi,
Ik ben een (niet zo belangrijke) crash tegengekomen toen ik mijn lua wat had aangepast. Oorspronkelijke code: printmodels(allmodels(...)) Als ik tijdens het runnen dan ctrl-c deed, werd modelgeneratie proper afgesloten en alles uitgeprint.
Nieuwe lua code:
[iterator = modelIterator(T,S,Vout)
for model in iterator do
print(model)
end](Link URL)
Als ik nu ctrl-c doe, crasht hij met de volgende call stack:
#0 0x00007f940ca92428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007f940ca9402a in __GI_abort () at abort.c:89
#2 0x00007f940cad47ea in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7f940cbed2e0 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#3 0x00007f940cae0ae8 in malloc_printerr (ar_ptr=0x0, ptr=<optimized out>, str=0x7f940cbed308 "munmap_chunk(): invalid pointer", action=<optimized out>) at malloc.c:5004
#4 munmap_chunk (p=<optimized out>) at malloc.c:2840
#5 __GI___libc_free (mem=<optimized out>) at malloc.c:2961
#6 0x00007f940e9c55ce in GlobalData::~GlobalData() () from /home/bdec/Desktop/idp3/install/lib/libidp.so
#7 0x00007f940e9c579e in GlobalData::close() () from /home/bdec/Desktop/idp3/install/lib/libidp.so
#8 0x00007f940e8a4ed5 in run(int, char**) () from /home/bdec/Desktop/idp3/install/lib/libidp.so
#9 0x00007f940ca7d830 in __libc_start_main (main=0x400840 <main>, argc=6, argv=0x7ffc92349ff8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc92349fe8)
at ../csu/libc-start.c:291
#10 0x0000000000400879 in _start ()
Kunnen jullie dat bijzetten op de bug lijst?
Thx ;)