Bug 146810
Summary: | print call foo where foo is in library SEGV | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Caolan McNamara <caolanm> | ||||||||
Component: | gdb | Assignee: | Alexandre Oliva <aoliva> | ||||||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | rawhide | CC: | aoliva, jan.kratochvil, mattdm | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | i386 | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2006-09-22 07:36:15 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: | |||||||||||
Bug Blocks: | 202682 | ||||||||||
Attachments: |
|
Created attachment 110519 [details]
testcase
Created attachment 131342 [details]
Fix for the GDB CVS version
Bug is still present in 2006-06-21 GDB CVS. The segfault is just a consequence
of earlier failure to properly load the custom shared library:
Error while mapping shared library sections:
libc++test4dl.so: Success.
Fedora Core 3 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 FC5 updates or in the FC6 test release, reopen and change the version to match. Thank you! Patch is still not accepted even in the central GDB sources.redhat.com CVS repository (pending copyright assignment). Moving to devel as per comment #4. (checking the "i am providing the requested info" box...) Created attachment 132971 [details]
Fix for the GDB CVS version, coding style update
Cc removal requested by Elena Zannoni. A fix is included in gdb-6.5-5. |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041220 Description of problem: With the attached test case calling from within gdb a function local to the main executable works, but apparently calling one which is in a linked lib doesn't and causes a SEGV Version-Release number of selected component (if applicable): gdb-6.1post-1.20040607.43 How reproducible: Always Steps to Reproduce: 1. in attached test case run make Actual Results: randomthing2 randomthing about to test randomthing2 > The program being debugged was signaled while in a function called from GDB Expected Results: randomthing2 randomthing about to test randomthing2 randomthing Additional info: