[Bug 995148] New: cscope hangs in ncurses processing signal
http://bugzilla.novell.com/show_bug.cgi?id=995148 Bug ID: 995148 Summary: cscope hangs in ncurses processing signal Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Other Status: NEW Severity: Major Priority: P5 - None Component: Development Assignee: bnc-team-screening@forge.provo.novell.com Reporter: rcoe@wi.rr.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- cscope hangs indefinitely - build a cscope db from source files - run cscope - type control-z to stop the process cscope hangs (gdb) where #0 0x00007f3a73ca738a in _nc_sigprocmask (how=0, newmask=0x7fffc056e2d0, oldmask=0x7fffc056e350) at ../ncurses/tinfo/lib_data.c:371 #1 0x00007f3a73ede3d4 in handle_SIGTSTP (dummy=<optimized out>) at ../ncurses/tty/lib_tstp.c:177 #2 <signal handler called> #3 0x00007f3a7392dca7 in kill () at ../sysdeps/unix/syscall-template.S:84 #4 0x0000000000403915 in ?? () #5 0x00007f3a73919741 in __libc_start_main (main=0x403270, argc=4, argv=0x7fffc056ef48, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffc056ef38) at ../csu/libc-start.c:289 #6 0x0000000000403f89 in ?? () (gdb) x/12i _nc_sigprocmask 0x7f3a73ca7380 <_nc_sigprocmask>: cmpq $0x0,0x218ba0(%rip) # 0x7f3a73ebff28 0x7f3a73ca7388 <_nc_sigprocmask+8>: jne 0x7f3a73ca7390 <_nc_sigprocmask+16> => 0x7f3a73ca738a <_nc_sigprocmask+10>: jmp 0x7f3a73ca738a <_nc_sigprocmask+10> In ncurses/curses.priv.h sigprocmask in #defined to point to _nc_sigprocmask In _nc_sigprocmask, if pthread_sigmask is false, it attempts to call sigprocmask() but it points to itself: if ((pthread_sigmask)) return pthread_sigmask(how, newmask, oldmask); else return sigprocmask(how, newmask, oldmask); never to return -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=995148
http://bugzilla.novell.com/show_bug.cgi?id=995148#c1
--- Comment #1 from Rich Coe
http://bugzilla.novell.com/show_bug.cgi?id=995148
http://bugzilla.novell.com/show_bug.cgi?id=995148#c2
--- Comment #2 from Rich Coe
http://bugzilla.novell.com/show_bug.cgi?id=995148
http://bugzilla.novell.com/show_bug.cgi?id=995148#c3
--- Comment #3 from Rich Coe
participants (1)
-
bugzilla_noreply@novell.com