Bug 880694 - save dso_list for Xorg crashes
Summary: save dso_list for Xorg crashes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Denys Vlasenko
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:af97cab4493ca46ffabc00f8883...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-27 15:46 UTC by Jason Lee
Modified: 2013-09-15 00:53 UTC (History)
9 users (show)

Fixed In Version: gnome-abrt-0.3.1-1.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-15 00:53:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: executable (10 bytes, text/plain)
2012-11-27 15:46 UTC, Jason Lee
no flags Details
File: etc_X11_xorg_conf_d.tar.gz (383 bytes, text/plain)
2012-11-27 15:46 UTC, Jason Lee
no flags Details
File: usr_share_xorg_conf_d.tar.gz (1.55 KB, text/plain)
2012-11-27 15:46 UTC, Jason Lee
no flags Details
File: Xorg.0.log (70.98 KB, text/plain)
2012-11-27 15:47 UTC, Jason Lee
no flags Details
File: dmesg (240.16 KB, text/plain)
2012-11-27 15:47 UTC, Jason Lee
no flags Details
File: backtrace_binaries_versions (412 bytes, text/plain)
2012-11-27 15:47 UTC, Jason Lee
no flags Details

Description Jason Lee 2012-11-27 15:46:47 UTC
Version-Release number of selected component:
xorg-x11-server-Xorg-1.12.3-2.fc17

Additional info:
libreport version: 2.0.18
abrt_version:   2.0.18
kernel:         3.6.6-1.fc17.x86_64

backtrace:
:0: /usr/bin/X (xorg_backtrace+0x36) [0x4652d6]
:1: /usr/bin/X (mieqEnqueue+0x26b) [0x5514db]
:2: /usr/bin/X (0x400000+0x47f32) [0x447f32]
:3: /usr/lib64/xorg/modules/input/evdev_drv.so (0x7f5d1b14b000+0x60e4) [0x7f5d1b1510e4]
:4: /usr/bin/X (0x400000+0x807b7) [0x4807b7]
:5: /usr/bin/X (0x400000+0xa4ab0) [0x4a4ab0]
:6: /lib64/libpthread.so.0 (0x3e13a00000+0xefe0) [0x3e13a0efe0]
:7: /usr/bin/X (0x400000+0x6aba0) [0x46aba0]
:8: /lib64/libpthread.so.0 (0x3e13a00000+0xefe0) [0x3e13a0efe0]
:9: /lib64/ld-linux-x86-64.so.2 (0x3e12e00000+0x88c4) [0x3e12e088c4]
:10: /lib64/ld-linux-x86-64.so.2 (0x3e12e00000+0x12ffc) [0x3e12e12ffc]
:11: /lib64/ld-linux-x86-64.so.2 (0x3e12e00000+0xecb6) [0x3e12e0ecb6]
:12: /lib64/ld-linux-x86-64.so.2 (0x3e12e00000+0x12b2c) [0x3e12e12b2c]
:13: /lib64/libdl.so.2 (0x3e13600000+0x1016) [0x3e13601016]
:14: /lib64/ld-linux-x86-64.so.2 (0x3e12e00000+0xecb6) [0x3e12e0ecb6]
:15: /lib64/libdl.so.2 (0x3e13600000+0x162c) [0x3e1360162c]
:16: /lib64/libdl.so.2 (dlopen+0x31) [0x3e136010b1]
:17: /usr/lib64/dri/i965_dri.so (0x7f5d1bd9b000+0x13c8ee) [0x7f5d1bed78ee]
:18: /usr/lib64/dri/i965_dri.so (0x7f5d1bd9b000+0xcbb02) [0x7f5d1be66b02]
:19: /usr/lib64/dri/i965_dri.so (0x7f5d1bd9b000+0x3c316) [0x7f5d1bdd7316]
:20: /usr/lib64/dri/i965_dri.so (0x7f5d1bd9b000+0x51435) [0x7f5d1bdec435]
:21: /usr/lib64/dri/i965_dri.so (0x7f5d1bd9b000+0x44b3d) [0x7f5d1bddfb3d]
:22: /usr/lib64/dri/i965_dri.so (0x7f5d1bd9b000+0x87f40) [0x7f5d1be22f40]
:23: /usr/lib64/dri/i965_dri.so (0x7f5d1bd9b000+0x880bd) [0x7f5d1be230bd]
:24: /usr/lib64/xorg/modules/extensions/libglx.so (0x7f5d1d7ac000+0x44f56) [0x7f5d1d7f0f56]
:25: /usr/lib64/xorg/modules/extensions/libglx.so (0x7f5d1d7ac000+0x374d2) [0x7f5d1d7e34d2]
:26: /usr/lib64/xorg/modules/extensions/libglx.so (0x7f5d1d7ac000+0x378ed) [0x7f5d1d7e38ed]
:27: /usr/lib64/xorg/modules/extensions/libglx.so (0x7f5d1d7ac000+0x3be33) [0x7f5d1d7e7e33]
:28: /usr/bin/X (0x400000+0x3447a) [0x43447a]
:29: /usr/bin/X (0x400000+0x23485) [0x423485]
:30: /lib64/libc.so.6 (__libc_start_main+0xf5) [0x3e13221735]
:31: /usr/bin/X (0x400000+0x2375d) [0x42375d]

Comment 1 Jason Lee 2012-11-27 15:46:56 UTC
Created attachment 652829 [details]
File: executable

Comment 2 Jason Lee 2012-11-27 15:46:57 UTC
Created attachment 652830 [details]
File: etc_X11_xorg_conf_d.tar.gz

Comment 3 Jason Lee 2012-11-27 15:46:59 UTC
Created attachment 652831 [details]
File: usr_share_xorg_conf_d.tar.gz

Comment 4 Jason Lee 2012-11-27 15:47:01 UTC
Created attachment 652832 [details]
File: Xorg.0.log

Comment 5 Jason Lee 2012-11-27 15:47:04 UTC
Created attachment 652833 [details]
File: dmesg

Comment 6 Jason Lee 2012-11-27 15:47:06 UTC
Created attachment 652834 [details]
File: backtrace_binaries_versions

Comment 7 Adam Jackson 2012-11-28 19:20:31 UTC
(In reply to comment #6)
> Created attachment 652834 [details]
> File: backtrace_binaries_versions

Sure would be nice if this listed the intel driver version.

Comment 8 Jakub Filak 2012-12-23 21:42:10 UTC
dso_list has already been added to a report but I accidently used a more descriptive name "backtrace_binaries_versions" :)

commit 9a9fbcc09ab8d40213ec6f7f5ea02773a0e888f9
Author: Jakub Filak <jfilak>
Date:   Fri Oct 19 15:50:56 2012 +0200

    provide a problem item containing versions of binaries listed in Xorg backtrace


The problem is that the backtrace doesn't always contain all required binaries like in this case where intel_drv.so is not listed. ABRT should go through Xorg.log and provide versions of the loaded binaries.

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

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 17'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 17 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 17'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 10 Denys Vlasenko 2013-08-23 14:29:13 UTC
Providing exactly the same dso_list as we do for coredump crashes is difficult.

For coredumps, we save /proc/PID/maps. From this information we query names/packages/versions of mapped files (many of these files are DSOs).

Xorg log watcher can't do the first step: we can't catch /proc/PID/maps of X server process. Currently, we do not try to find current active X process which writes the log we watch, and at the moment the crash is seen in the log the process is likely already gone.

I just wish Xorg would drop its homegrown SEGV handler and let us do our work...

Comment 11 Denys Vlasenko 2013-08-23 15:19:05 UTC
abrt-action-list-dsos can be coerced into formatting dso_list from Xorg backtrace instead of maps file.
The following modification is needed:

def parse_maps(maps_path):
    try:
        f = xopen(maps_path, "r")
        # set() -> uniqifies the list of filenames
        return set([x.strip()[x.find('/'):].split()[0] for x in f.readlines() if x.find('/') > -1])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
added in line above: .split()[0]  -- this removes everything after first whitespace after the filename.
Maps file has no such whitespace, Xorg backtrace does.

Comment 12 Denys Vlasenko 2013-08-27 10:56:08 UTC
Patches sent to ML.

Comment 13 Denys Vlasenko 2013-08-29 11:16:12 UTC
Fixed in abrt git:

commit 6e556e29130a29cb7147e7df63a1c500976298d7
Author: Denys Vlasenko <dvlasenk>
Date:   Mon Aug 26 15:16:19 2013 +0200

    xorg_event.conf: use abrt-action-list-dsos to create dso_list

commit cc44ae74aebf8006f18f1b53597266b6443c61b5
Author: Denys Vlasenko <dvlasenk>
Date:   Mon Aug 26 14:30:46 2013 +0200

    abrt-action-list-dsos: extend it to be able to parse Xorg backtrace.

Comment 14 Fedora Update System 2013-09-13 13:08:41 UTC
gnome-abrt-0.3.1-1.fc19,abrt-2.1.7-1.fc19,libreport-2.1.7-1.fc19,satyr-0.9-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/gnome-abrt-0.3.1-1.fc19,abrt-2.1.7-1.fc19,libreport-2.1.7-1.fc19,satyr-0.9-1.fc19

Comment 15 Fedora Update System 2013-09-14 02:38:43 UTC
Package gnome-abrt-0.3.1-1.fc19, abrt-2.1.7-1.fc19, libreport-2.1.7-1.fc19, satyr-0.9-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gnome-abrt-0.3.1-1.fc19 abrt-2.1.7-1.fc19 libreport-2.1.7-1.fc19 satyr-0.9-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-16707/gnome-abrt-0.3.1-1.fc19,abrt-2.1.7-1.fc19,libreport-2.1.7-1.fc19,satyr-0.9-1.fc19
then log in and leave karma (feedback).

Comment 16 Fedora Update System 2013-09-15 00:53:32 UTC
gnome-abrt-0.3.1-1.fc19, abrt-2.1.7-1.fc19, libreport-2.1.7-1.fc19, satyr-0.9-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


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