Bug 863413 - abrt fails with report_uReport exit 1
Summary: abrt fails with report_uReport exit 1
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt
Version: 18
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Martin Milata
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 861630 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-05 12:23 UTC by Neil Darlow
Modified: 2014-02-05 12:28 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-02-05 12:28:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
abrt-gui -vvv output for nepomuk-core breakage (12.42 KB, application/x-gzip)
2012-10-05 17:27 UTC, Neil Darlow
no flags Details
abrt spool directory for failed nepomukservicestub segfault report (19.14 KB, application/x-gzip)
2012-10-09 11:14 UTC, Neil Darlow
no flags Details
Another example of an abrt spool on a nepomuk crash. (40.02 KB, application/x-bzip)
2012-10-22 18:31 UTC, Alan Schmidt
no flags Details
abrt spool directory dump for 2012-10-24 (1.77 MB, application/x-gzip)
2012-10-24 11:30 UTC, Neil Darlow
no flags Details
~/.cache/abrt/spool/pyhook-2012-11-29-14:23:17-9144 (40.00 KB, application/x-tar)
2012-11-29 13:39 UTC, emailadhoc
no flags Details

Description Neil Darlow 2012-10-05 12:23:55 UTC
Description of problem:

abrt detects a problem at KDE login e.g. nepomukservicestub segfault. abrt is opened to report the problem and after accepting the prompt to relocate the cache directory, from a non-writable /var location to user's home directory, abrt fails to send the report with a report_uReport exit 1 error.


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

abrt-2.0.13-1.fc18.i686


How reproducible:

Every time with this version. Earlier versions under fc18 did work.

Steps to Reproduce:
1. Open abrt when it reports an application error
2. Select Report and confirm request to relocate cache data to home directory
3. Observe report_uReport exit 1 error
  
Actual results:

Reporting fails.

Expected results:

I would expect the reporting to work, althought I've only ever successfully sent one report with abrt out of many attempts.

Additional info:

Comment 1 Jakub Filak 2012-10-05 12:40:53 UTC
Thank you for filling this report.

Please provide the logs

Run the following command and report your crash again:

$ abrt-gui -vvv

Comment 2 Neil Darlow 2012-10-05 17:27:00 UTC
Created attachment 622314 [details]
abrt-gui -vvv output for nepomuk-core breakage

This file was generated by abrt-gui -vvv for a reported failure in package nepomuk-core at KDE login.

Comment 3 Jakub Filak 2012-10-08 15:04:16 UTC
Hi Neil,

the problem is that core_backtrace wasn't be generated from a coredump. In order to sort this problem out I need to see that coredump. In your case the coredump should be stored at this path /home/neil/.cache/abrt/spool/ccpp-2012-10-05-16:43:31-2945/coredump

Thanks for the cooperation

Comment 4 Neil Darlow 2012-10-09 11:14:34 UTC
Created attachment 624027 [details]
abrt spool directory for failed nepomukservicestub segfault report

I did not have the coredump requested but the failure repeated today and I have attached an archive of the entire abrt spool directory for analysis.

Comment 5 Jiri Moskovcak 2012-10-22 10:43:57 UTC
*** Bug 861630 has been marked as a duplicate of this bug. ***

Comment 6 Jakub Filak 2012-10-22 11:16:33 UTC
Hi Neil,

the problem directory is corrupted. gdb can't read the coredump because the coredump is truncated and lot of other files have length 0.

Comment 7 Neil Darlow 2012-10-22 16:49:49 UTC
Hi Jakub,

I don't know what to offer here except that I didn't corrupt the files myself so, unless tar and/or gzip were faulty at the time, abrt or its dependent code must have done it.

These errors still occur, shall I submit another spool directory archive next time it presents?

Comment 8 Alan Schmidt 2012-10-22 18:30:41 UTC
I have a similar nepomuk-core report generated by abrt. After a while waiting for "analyze_CCpp" it also complains: "reporting disabled because backtrace is unusable."

I'm not sure what to report or how. I'll attach the unusable backtrace because I don't know what else to do. If it's truly unusable, I fear it may be an exercise in futility. But maybe it will help to pinpoint where abrt itself is failing to generate the backtrace in the first place. Hope springs eternal, after all.

Nepomuk typically crashes (for me) in this way upon the first login to KDE after a reboot, and then not again until I reboot again.

Abrt consistently refuses to report these crashes because the backtraces are consistently unusable.

Comment 9 Alan Schmidt 2012-10-22 18:31:55 UTC
Created attachment 631669 [details]
Another example of an abrt spool on a nepomuk crash.

Comment 10 Alan Schmidt 2012-10-22 18:48:35 UTC
May be a red herring, BUT:

nepomuk doesn't SEEM to crash on me when I update and reboot my computer remotely, via the ssh command line, from home at night, and then not log in to KDE again until the morning.

It SEEMS to crash on me when I'm sitting at the console, waiting for the login prompt to appear immediately after a reboot.

I say "seems" because my powers of observation first thing in the morning aren't all that finely-honed. But maybe--maybe--it's a true statement...

Comment 11 Jakub Filak 2012-10-22 21:18:10 UTC
(In reply to comment #7)
> Hi Jakub,
> 
> I don't know what to offer here except that I didn't corrupt the files
> myself so, unless tar and/or gzip were faulty at the time, abrt or its
> dependent code must have done it.
> 
> These errors still occur, shall I submit another spool directory archive
> next time it presents?

Another dump directory will be good evidence of fact that abrt creates corrupted dump directories. And please, run the following command on next occurrence and post the output.

$ grep -i abrt /var/log/messages

Comment 12 Jakub Filak 2012-10-24 10:13:05 UTC
(In reply to comment #9)
> Created attachment 631669 [details]
> Another example of an abrt spool on a nepomuk crash.

Thank you Alan! Your coredump is truncated as well. 

I've noticed that nepomuk crashes in multiple instances at same time. Thus I guess this bug is dup of bug 759213.

As I wrote in comment 11, output of `$ grep -i abrt /var/log/messages` would really help me.

Comment 13 Neil Darlow 2012-10-24 11:30:20 UTC
Created attachment 632693 [details]
abrt spool directory dump for 2012-10-24

This is today's nepomuk failure.

abrt complained with:

Cleaning up virtual root
Retrace job finished successfully
Backtrace parsing failed for .
23:4: Frame header variant not recognized.

--- Running collect_Smolt ---
Smolt profile successfully saved

The relevant /var/log/messages are:

Oct 24 12:10:34 aspire abrtd: Directory 'ccpp-2012-10-24-12:10:26-1397' creation detected
Oct 24 12:10:34 aspire abrt[2322]: Saved core dump of pid 1397 (/usr/bin/nepomukservicestub) to /var/spool/abrt/ccpp-2012-10-24-12:10:26-1397 (7528448 bytes)
Oct 24 12:10:34 aspire abrtd: Lock file '/var/spool/abrt/ccpp-2012-10-16-09:23:40-1892/.lock' is locked by process 2322
Oct 24 12:10:36 aspire abrtd: Generating backtrace
Oct 24 12:10:42 aspire abrtd: New problem directory /var/spool/abrt/ccpp-2012-10-24-12:10:26-1397, processing
Oct 24 12:13:41 aspire abrtd: New client connected

Comment 14 Alan Schmidt 2012-10-24 14:29:31 UTC
The result of grep -i abrt /var/log/messages for me is similar to Neil's:

Oct 22 11:03:02 aschmidt abrtd: Directory 'ccpp-2012-10-22-11:02:59-16805' creation detected
Oct 22 11:03:02 aschmidt abrt[23309]: Saved core dump of pid 16805 (/usr/bin/nepomukservicestub) to /var/spool/abrt/ccpp-2012-10-22-11:02:59-16805 (184320 bytes)
Oct 22 11:03:02 aschmidt abrtd: Lock file '/var/spool/abrt/ccpp-2012-10-18-11:18:36-20591/.lock' is locked by process 23309
Oct 22 11:03:04 aschmidt abrtd: Generating backtrace
Oct 22 11:03:11 aschmidt abrtd: New problem directory /var/spool/abrt/ccpp-2012-10-22-11:02:59-16805, processing
Oct 22 11:07:32 aschmidt abrtd: New client connected

Comment 15 emailadhoc 2012-11-29 13:37:19 UTC
I have a similar problem. trying to report a bug in system-config-services causes abrt to fail. I deleted the contents of /var/spool/abrtd, ~.config/abrt and ~.cache/abrt, reproduced the problem in system-config-services and ran abrt-gui with the -v switch. 

--- Running report_uReport ---
Locked './.lock'
Unlocked './.lock'
warning: 'uptime' is not an item in problem directory
server side error: "Validation failed: error validating 'core_backtrace': missing mandatory element 'buildid'"
(exited with 1)

Comment 16 emailadhoc 2012-11-29 13:39:29 UTC
Created attachment 654288 [details]
~/.cache/abrt/spool/pyhook-2012-11-29-14:23:17-9144

Comment 17 Karel Volný 2013-02-14 09:44:18 UTC
if the problem is truncated core dump, could we get a more comprehensible error message?

btw, once upon a time, wasn't there a fallback that the backtrace can be analysed locally when server fails? - not that it'd help in this particular case, but I'm missing the option ...

Comment 18 Fedora End Of Life 2013-12-21 09:03:12 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. 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 '18'.

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 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 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, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

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.

Comment 19 Fedora End Of Life 2014-02-05 12:28:05 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 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. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.