-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Nyx appears to run fine, but when exiting by pressing q (twice) or by using m and select to "Exit" the application, nyx always crashes with:
free(): invalid pointer
Aborted (core dumped)
Nyx was started with:
$ cat ~/.nyx/config.tor
password xxxx
$ nyx -c ~/.nyx/config.tor -i 127.0.0.1:1234
$ nyx --version; python --version; uname -srm
nyx version 2.1.0 (released January 12, 2019)
Python 3.13.3
Linux 6.14.7-hardened1-1-hardened x86_64
The core dump has:
$ gdb -c /var/crash/core.nyx.687531.sig-6 /usr/bin/nyx
(gdb) bt
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1 0x00006a03990a7813 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#2 0x00006a039904ddc0 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3 0x00006a039903557a in __GI_abort () at abort.c:73
#4 0x00006a03990365c9 in __libc_message_impl (fmt=fmt@entry=0x6a03991c239f "%s\n") at ../sysdeps/posix/libc_fatal.c:134
#5 0x00006a03990b1a35 in malloc_printerr (str=str@entry=0x6a03991c0180 "free(): invalid pointer") at malloc.c:5829
#6 0x00006a03990b6ecc in _int_free_check (av=<optimized out>, p=<optimized out>, size=<optimized out>) at malloc.c:4560
#7 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:4692
#8 __GI___libc_free (mem=<optimized out>) at malloc.c:3476
#9 0x00006a03994306f6 in _PyWideStringList_Clear (list=0x6a03996f85f8 <_PyRuntime+96504>) at Python/initconfig.c:508
#10 0x00006a0399487305 in interpreter_clear (interp=0x6a03996f6650 <_PyRuntime+88400>, tstate=tstate@entry=0x6a0399725e90 <_PyRuntime+283024>) at Python/pystate.c:847
#11 0x00006a03993fab5a in _PyInterpreterState_Clear (tstate=0x6a0399725e90 <_PyRuntime+283024>) at Python/pystate.c:931
#12 finalize_interp_clear (tstate=tstate@entry=0x6a0399725e90 <_PyRuntime+283024>) at Python/pylifecycle.c:1916
#13 0x00006a039945ed20 in _Py_Finalize (runtime=<optimized out>) at Python/pylifecycle.c:2217
#14 0x00006a039947f57f in Py_Exit (sts=0) at Python/pylifecycle.c:3520
#15 0x00006a039947ebf9 in handle_system_exit () at Python/pythonrun.c:679
#16 0x00006a039947e99f in _PyErr_PrintEx (tstate=0x6a0399725e90 <_PyRuntime+283024>, set_sys_last_vars=set_sys_last_vars@entry=1) at Python/pythonrun.c:688
#17 0x00006a03992947d0 in PyErr_PrintEx (set_sys_last_vars=1) at Python/pythonrun.c:768
#18 PyErr_Print () at Python/pythonrun.c:774
#19 _PyRun_SimpleFileObject (fp=fp@entry=0xf87a39dc430, filename=filename@entry=0x6a03989303f0, closeit=closeit@entry=1, flags=flags@entry=0x7e4d986f07d8) at Python/pythonrun.c:523
#20 0x00006a0399478ff3 in _PyRun_AnyFileObject (fp=fp@entry=0xf87a39dc430, filename=filename@entry=0x6a03989303f0, closeit=closeit@entry=1, flags=flags@entry=0x7e4d986f07d8) at Python/pythonrun.c:77
#21 0x00006a0399477244 in pymain_run_file_obj (program_name=0x6a03989898f0, filename=0x6a03989303f0, skip_source_first_line=0) at Modules/main.c:410
#22 pymain_run_file (config=0x6a03996f8588 <_PyRuntime+96392>) at Modules/main.c:429
#23 pymain_run_python (exitcode=0x7e4d986f07cc) at Modules/main.c:696
#24 Py_RunMain () at Modules/main.c:775
#25 0x00006a039942e95c in Py_BytesMain (argc=<optimized out>, argv=<optimized out>) at Modules/main.c:829
#26 0x00006a03990376b5 in __libc_start_call_main (main=main@entry=0xf87786b4120 <main>, argc=argc@entry=6, argv=argv@entry=0x7e4d986f0a38) at ../sysdeps/nptl/libc_start_call_main.h:58
#27 0x00006a0399037769 in __libc_start_main_impl (main=0xf87786b4120 <main>, argc=6, argv=0x7e4d986f0a38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7e4d986f0a28)
at ../csu/libc-start.c:360
#28 0x00000f87786b4045 in _start ()
Metadata
Metadata
Assignees
Labels
No labels