Bug 137110
Summary: | No stack trace w/ threaded objc programs | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Gavin Scott <gavindscott> |
Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | mattdm |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-02-14 06:01:03 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Gavin Scott
2004-10-25 20:15:07 UTC
Fedora Core 2 is now maintained by the Fedora Legacy project for security updates only. If this problem is a security issue, please reopen and reassign to the Fedora Legacy product. If it is not a security issue and hasn't been resolved in the current FC3 updates or in the FC4 test release, reopen and change the version to match. If you can reproduce this with FC4, please reopen. This is still an issue in FC4. Using the same test program referenced in the original bug report saved as badstack.m: [gavin@boll tmp]$ cat /etc/redhat-release Fedora Core release 4 (Stentz) [gavin@boll tmp]$ ./badstack& [1] 20267 [gavin@boll tmp]$ gdb ./badstack 20267 GNU gdb Red Hat Linux (6.3.0.0-1.24rh) Copyright 2004 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 "x86_64-redhat-linux-gnu"...Using host libthread_db library "/lib64/libthread_db.so.1". Attaching to program: /home/gavin/work/tmp/badstack, process 20267 Reading symbols from /usr/lib64/libobjc.so.1...Reading symbols from /usr/lib/debug/usr/lib64/libobjc.so.1.0.0.debug...done. done. Loaded symbols for /usr/lib64/libobjc.so.1 Reading symbols from /lib64/libpthread.so.0...Reading symbols from /usr/lib/debug/lib64/libpthread-2.3.5.so.debug...done. [Thread debugging using libthread_db enabled] [New Thread 46912497395488 (LWP 20267)] [New Thread 1084229984 (LWP 20268)] done. Loaded symbols for /lib64/libpthread.so.0 Reading symbols from /lib64/libgcc_s.so.1...Reading symbols from /usr/lib/debug/lib64/libgcc_s-4.0.1-20050727.so.1.debug...done. done. Loaded symbols for /lib64/libgcc_s.so.1 Reading symbols from /lib64/libc.so.6...Reading symbols from /usr/lib/debug/lib64/libc-2.3.5.so.debug...done. done. Loaded symbols for /lib64/libc.so.6 Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/lib64/ld-2.3.5.so.debug...done. done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 0x0000003ac700af18 in ?? () from /lib64/libpthread.so.0 (gdb) thread apply all bt Thread 2 (Thread 1084229984 (LWP 20268)): #0 0x0000003ac700af18 in ?? () from /lib64/libpthread.so.0 #1 0x0000000000000000 in ?? () Thread 1 (Thread 46912497395488 (LWP 20267)): #0 0x0000003ac700af18 in ?? () from /lib64/libpthread.so.0 #1 0x00000000004008b9 in -[TestObj isReady] (self=0x0, _cmd=0x0) at badstack.m:36 Previous frame inner to this frame (corrupt stack?) (gdb) quit The program is running. Quit anyway (and detach it)? (y or n) y Detaching from program: /home/gavin/work/tmp/badstack, process 20267 Moving to FC4 as per comment #3. This report targets the FC3 or FC4 products, which have now been EOL'd. Could you please check that it still applies to a current Fedora release, and either update the target product or close it ? Thanks. Fedora Core 4 is not maintained anymore. Setting status to "INSUFFICIENT_DATA". If you can reproduce this bug in the current Fedora release, please reopen this bug and assign it to the corresponding Fedora version. Just a note that this does indeed work properly in F7. Current directory is ~/work/tmp/ GNU gdb Red Hat Linux (6.6-16.fc7rh) Copyright (C) 2006 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 "x86_64-redhat-linux-gnu"... Using host libthread_db library "/lib64/libthread_db.so.1". (gdb) attach 9595 Attaching to program: /home/gavin/work/tmp/badstack, process 9595 Reading symbols from /usr/lib64/libobjc.so.1...done. Loaded symbols for /usr/lib64/libobjc.so.1 Reading symbols from /lib64/libpthread.so.0...done. [Thread debugging using libthread_db enabled] [New Thread 46912496268928 (LWP 9595)] [New Thread 1084229968 (LWP 9596)] Loaded symbols for /lib64/libpthread.so.0 Reading symbols from /lib64/libgcc_s.so.1...done. Loaded symbols for /lib64/libgcc_s.so.1 Reading symbols from /lib64/libc.so.6...done. Loaded symbols for /lib64/libc.so.6 Reading symbols from /lib64/ld-linux-x86-64.so.2...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff58bfd000 0x000000368ca0c808 in __lll_mutex_lock_wait () from /lib64/libpthread.so.0 (gdb) thread apply all bt Thread 2 (Thread 1084229968 (LWP 9596)): #0 0x000000368ca0c808 in __lll_mutex_lock_wait () from /lib64/libpthread.so.0 #1 0x000000368ca088bf in _L_mutex_lock_103 () from /lib64/libpthread.so.0 #2 0x000000368ca08353 in pthread_mutex_lock () from /lib64/libpthread.so.0 #3 0x0000003f380129c0 in __objc_mutex_lock () from /usr/lib64/libobjc.so.1 #4 0x0000003f380123f3 in objc_mutex_lock () from /usr/lib64/libobjc.so.1 #5 0x000000000040083d in -[TestObj doTest:] (self=0x605010, _cmd=0x601500, unused=0x0) at badstack.m:27 #6 0x0000003f380126a7 in ?? () from /usr/lib64/libobjc.so.1 #7 0x000000368ca062f7 in start_thread () from /lib64/libpthread.so.0 #8 0x000000368aad0fbd in clone () from /lib64/libc.so.6 Thread 1 (Thread 46912496268928 (LWP 9595)): #0 0x000000368ca0c808 in __lll_mutex_lock_wait () from /lib64/libpthread.so.0 #1 0x000000368ca088bf in _L_mutex_lock_103 () from /lib64/libpthread.so.0 #2 0x000000368ca08353 in pthread_mutex_lock () from /lib64/libpthread.so.0 #3 0x0000003f380129c0 in __objc_mutex_lock () from /usr/lib64/libobjc.so.1 #4 0x0000003f380123f3 in objc_mutex_lock () from /usr/lib64/libobjc.so.1 #5 0x0000000000400957 in main (argc=1, argv=0x7fff58acbce8) at badstack.m:60 #0 0x000000368ca0c808 in __lll_mutex_lock_wait () from /lib64/libpthread.so.0 |