Date: Tue, 25 Dec 2001 21:35:05 -0800 (PST) From: Kip Macy <kip_macy@yahoo.com> To: freebsd-gnats-submit@FreeBSD.org Subject: gnu/33182: gdb seg faults when given handle SIGALRM nopass for threaded app Message-ID: <200112260535.fBQ5Z5o82241@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 33182 >Category: gnu >Synopsis: gdb seg faults when given handle SIGALRM nopass for threaded app >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 25 21:40:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Kip Macy >Release: 4.4 >Organization: Extended Solutions >Environment: FreeBSD netherworld.eventdriven.org 4.4-STABLE FreeBSD 4.4-STABLE #0: Sat Nov 3 20:42:16 PST 2001 root@netherworld.eventdriven.org:/usr/src/sys/compile/NETHERWORLD i386 >Description: GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... (gdb) b main Breakpoint 1 at 0x804864a: file alrmtest.c, line 55. (gdb) r Starting program: /usr/home/kmacy/netapp/dvlp/alrmtest Breakpoint 1, main () at alrmtest.c:55 55 sk_init_timer(); (gdb) list 50 } 51 52 int 53 main() { 54 int i, j; 55 sk_init_timer(); 56 while (1) { 57 /* useless assignment to demonstrate lack of progress */ 58 i = 0; 59 /* useless assignment to demonstrate lack of progress */ (gdb) n 56 while (1) { (gdb) n Program received signal SIGTRAP, Trace/breakpoint trap. 0x280f1150 in _thread_sys_sigprocmask () from /usr/lib/libc_r.so.4 (gdb) n Single stepping until exit from function _thread_sys_sigprocmask, which has no line number information. Program received signal SIGTRAP, Trace/breakpoint trap. 0x280f1150 in _thread_sys_sigprocmask () from /usr/lib/libc_r.so.4 (gdb) handle SIGALRM nopass Segmentation fault (core dumped) >How-To-Repeat: link app with libc_r type handle SIGALRM nopass in gdb >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112260535.fBQ5Z5o82241>