Bug 710466

Summary: abrt: Can't open build_ids: [Errno 2] file or directory not found: 'build_ids'
Product: [Fedora] Fedora Reporter: Thomas Meyer <thomas.mey>
Component: abrtAssignee: Denys Vlasenko <dvlasenk>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: anton, dvlasenk, iprikryl, jmoskovc, kklic, mtoman, npajkovs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-21 16:01:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Thomas Meyer 2011-06-03 13:31:28 UTC
Description of problem:
src/plugins/abrt-action-analyze-core.py:

Analyzing coredump 'coredump'
Can't open build_ids: [Errno 2] Datei oder Verzeichnis nicht gefunden: 'build_ids'

$ pwd
/home/thomas/.abrt/spool/ccpp-2011-06-03-15:21:25-20457

$ ll
insgesamt 69400
-rw-r-----. 1 thomas thomas         4  3. Jun 15:21 analyzer
-rw-r-----. 1 thomas thomas         6  3. Jun 15:21 architecture
-rw-r-----. 1 thomas thomas         9  3. Jun 15:21 cmdline
-rw-r-----. 1 thomas thomas         9  3. Jun 15:21 component
-rw-r-----. 1 thomas thomas 146104320  3. Jun 15:21 coredump
-rw-r-----. 1 thomas thomas         1  3. Jun 15:21 count
-rw-r-----. 1 thomas thomas     21342  3. Jun 15:21 dsos
-rw-r-----. 1 thomas thomas      1488  3. Jun 15:21 environ
-rw-r-----. 1 thomas thomas       384  3. Jun 15:27 event_log
-rw-r-----. 1 thomas thomas        18  3. Jun 15:21 executable
-rw-r-----. 1 thomas thomas        21  3. Jun 15:21 hostname
-rw-r-----. 1 thomas thomas         8  3. Jun 15:21 kernel
-rw-r-----. 1 thomas thomas     78742  3. Jun 15:21 maps
-rw-r-----. 1 thomas thomas        28  3. Jun 15:21 os_release
-rw-r-----. 1 thomas thomas        36  3. Jun 15:21 package
-rw-r-----. 1 thomas thomas        60  3. Jun 15:21 reason
-rw-r-----. 1 thomas thomas        10  3. Jun 15:21 time
-rw-r-----. 1 thomas thomas         3  3. Jun 15:21 uid
-rw-r-----. 1 thomas thomas         7  3. Jun 15:21 username
-rw-r-----. 1 thomas thomas        40  3. Jun 15:21 uuid

why is there no build_ids file? who does create this file?

Version-Release number of selected component (if applicable):

$ yum list installed abrt
Geladene Plugins: auto-update-debuginfo, langpacks, presto, refresh-packagekit
Installierte Pakete
abrt.x86_64                                                                                2.0.2-5.fc15


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Denys Vlasenko 2011-07-19 09:29:47 UTC
(In reply to comment #0)
> Description of problem:
> src/plugins/abrt-action-analyze-core.py:
> 
> Analyzing coredump 'coredump'
> Can't open build_ids: [Errno 2] Datei oder Verzeichnis nicht gefunden:
> 'build_ids'

Weird. abrt-action-analyze-core opens build_ids for *writing*:

        abrt-action-analyze-core --core=coredump -o build_ids

I'm at a loss how is it possible that it fails. It creates build_ids with open(outname, "w") command in python, thus, file creation is happening in current dir. Which should never get ENOENT...

Comment 2 Denys Vlasenko 2011-09-21 16:01:02 UTC
Closing as INSUFFICIENT_DATA