| Summary: | Coredump during initialization in find_charset_names | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Zdenek Kabelac <zkabelac> | |
| Component: | gdb | Assignee: | Jan Kratochvil <jan.kratochvil> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 19 | CC: | jan.kratochvil, patrickm, pmuldoon, sergiodj | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | gdb-7.4.50.20120120-11.fc17 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1119119 (view as bug list) | Environment: | ||
| Last Closed: | 2014-09-02 20:46:27 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 1119119 | |||
Version in use on my rawhide: gdb-7.4.50.20120120-10.fc17.x86_64 Thanks. I'm not sure what could cause that, but I pushed the obvious fix upstream: http://sourceware.org/ml/gdb-patches/2012-02/msg00073.html This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19 I've not seen this problem on my rawhide - so it's likely fixed. |
Description of problem: gdb crashed during initialization - The reason seems to be unchecked result of pex_read_output() function is used for 'feof()' (missing NULL pointer test). Here is traceback: #0 _IO_feof (fp=fp@entry=0x0) at feof.c:37 #1 0x0000000000517048 in find_charset_names () at ../../gdb/charset.c:843 #2 0x0000000000517d67 in _initialize_charset () at ../../gdb/charset.c:1012 #3 0x000000000064c67a in initialize_all_files () at init.c:167 #4 0x000000000061feaf in gdb_init (argv0=0x7fff38ef7ec7 "gdb") at ../../gdb/top.c:1695 #5 0x000000000056f7c5 in captured_main (data=data@entry=0x7fff38ef7260) at ../../gdb/main.c:713 #6 0x000000000056e0ae in catch_errors (func=func@entry=0x56f310 <captured_main>, func_args=func_args@entry=0x7fff38ef7260, errstring=errstring@entry=0x6f8061 "", mask=mask@entry=6) at ../../gdb/exceptions.c:546 #7 0x00000000005703d4 in gdb_main (args=args@entry=0x7fff38ef7260) at ../../gdb/main.c:1045 #8 0x000000000045221e in main (argc=<optimized out>, argv=<optimized out>) at ../../gdb/gdb.c:34 Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: