Bug 453688
Summary: | Valgrind doesn't work with GDB properly | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alex Chernyakhovsky <achernya> | ||||
Component: | gdb | Assignee: | Jan Kratochvil <jan.kratochvil> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 9 | CC: | mcepl, mcepl | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 483262 (view as bug list) | Environment: | |||||
Last Closed: | 2009-07-15 08:15:47 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: | |||||||
Bug Depends On: | 454404 | ||||||
Bug Blocks: | 483262 | ||||||
Attachments: |
|
Description
Alex Chernyakhovsky
2008-07-01 22:57:58 UTC
Created attachment 310735 [details]
Core dump from GDB
This is from analysis of core file in the similar situation: Loaded symbols for /lib/libthread_db-1.0.so Core was generated by `/usr/bin/gdb -nw /proc/14930/fd/1014 14930'. Program terminated with signal 6, Aborted. [New process 14931] #0 0x00110416 in __kernel_vsyscall () (gdb) thread apply all backtrace Thread 1 (process 14931): #0 0x00110416 in __kernel_vsyscall () #1 0x0046a660 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #2 0x0046c028 in abort () at abort.c:88 #3 0x080880fd in internal_vproblem (problem=0x83539c0, file=0x8271e40 "../../gdb/linux-nat.c", line=<value optimized out>, fmt=0x8269c6b "%s: Assertion `%s' failed.", ap=0xbfe1b5dc "�3'\b�\036'\b�P\204\b\b���F�J") at ../../gdb/utils.c:783 #4 0x08085323 in internal_verror (file=0x8271e40 "../../gdb/linux-nat.c", line=808, fmt=0x8269c6b "%s: Assertion `%s' failed.", ap=0xbfe1b5dc "�3'\b�\036'\b�P\204\b\b���F�J") at ../../gdb/utils.c:798 #5 0x08085356 in internal_error (file=0x8271e40 "../../gdb/linux-nat.c", line=808, string=0x8269c6b "%s: Assertion `%s' failed.") at ../../gdb/utils.c:807 #6 0x0809fa0f in iterate_over_lwps (callback=0x809f0b0 <kill_callback>, data=0x0) at ../../gdb/linux-nat.c:808 #7 0x0809fa50 in linux_nat_kill () at ../../gdb/linux-nat.c:2668 #8 0x0814c713 in target_preopen (from_tty=1) at ../../gdb/target.c:1686 #9 0x08097fe7 in core_open (filename=0xbfe1d3d1 "14930", from_tty=1) at ../../gdb/corelow.c:319 #10 0x0812f192 in catch_command_errors ( command=0x80822a0 <core_file_command>, arg=0xbfe1d3d1 "14930", from_tty=1, mask=6) at ../../gdb/exceptions.c:528 #11 0x0807c457 in captured_main (data=0xbfe1b8d4) at ../../gdb/main.c:760 #12 0x0812f22b in catch_errors (func=0x807b940 <captured_main>, func_args=0xbfe1b8d4, errstring=0x8273c84 "", mask=6) at ../../gdb/exceptions.c:513 #13 0x0807b8f1 in gdb_main (args=0xbfe1b8d4) at ../../gdb/main.c:893 #14 0x0807b8b5 in main (argc=Cannot access memory at address 0x3a53 ) at ../../gdb/gdb.c:33 (gdb) * Thu Jul 24 2008 Jan Kratochvil <jan.kratochvil> - 6.8-12 - Temporarily disable attaching to a stopped process (BZ 453688) - To be reintroduced after a fix of the kernel BZ 454404. It has now the behavior of upstream gdb-6.8. After the Bug 454404 fix a modified patch needs to be introduced to fix the stopped processes attachment (and related pending signals being lost now). gdb-6.8-12.fc9 has been submitted as an update for Fedora 9 GDB can now be used from within valgrind without crashing, and some debugging (inspecting variables, doing some assignments) works correctly. However, functions can't be called, and this immediately raises a SIGSTOP. Unless I am mistaken, calling functions from gdb inside valgrind was acceptable in Fedora 8 and earlier. I believe that this behaviour is a result of bug #454404 not being fixed yet. This message is a reminder that Fedora 9 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 9. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '9'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 9's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 9 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 9 changed to end-of-life (EOL) status on 2009-07-10. Fedora 9 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |