musikcube icon indicating copy to clipboard operation
musikcube copied to clipboard

SIGSEGV (Address boundary error) Gentoo linking libtinfo instead of libtinfow

Open Gerodote opened this issue 1 year ago • 22 comments

how it looks: I wrote an ebuild for gentoo. I emerged (read configured, compiled and installed ) musikcube successfully.

then I'm typing musikcube: and I got this:

# musikcube 
fish: Job 1, 'musikcube' terminated by signal SIGSEGV (Address boundary error)

in gdb with debug compilation flag ( -O3 -pipe -march=znver2 -g ) :

Reading symbols from /usr/share/musikcube/musikcube...
Reading symbols from /usr/lib/debug//usr/share/musikcube/musikcube.debug...
(gdb) r
Starting program: /usr/share/musikcube/musikcube 
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff6f436c0 (LWP 21959)]
[New Thread 0x7fffe9f316c0 (LWP 21960)]
[New Thread 0x7fffe97306c0 (LWP 21961)]
[New Thread 0x7fffe8f2f6c0 (LWP 21962)]
[New Thread 0x7fffe3fff6c0 (LWP 21963)]
[New Thread 0x7fffe37fe6c0 (LWP 21964)]
[New Thread 0x7fffdbfff6c0 (LWP 21965)]
[Thread 0x7fffdbfff6c0 (LWP 21965) exited]
[Thread 0x7fffe3fff6c0 (LWP 21963) exited]

Thread 1 "musikcube" received signal SIGSEGV, Segmentation fault.
0x00007ffff7be330f in termattrs_sp () from /lib64/libncursesw.so.6

Idk what is the problem.

Gerodote avatar May 25 '23 15:05 Gerodote