Bug 1211644 - abrt-applet crashes when catching crash of an application restarted by the Restart button
Summary: abrt-applet crashes when catching crash of an application restarted by the Re...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt
Version: 22
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
Assignee: Matej Habrnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-14 13:42 UTC by Martin Kyral
Modified: 2015-05-30 15:36 UTC (History)
7 users (show)

Fixed In Version: abrt-2.5.1-3.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-30 15:36:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Martin Kyral 2015-04-14 13:42:40 UTC
Description of problem:
When an application restarted after a crash by the Restart button crashes again, abrt-applet aborts/segfaults:

*** Error in `abrt-applet': free(): invalid pointer: 0x00007f1df6b96440 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x77e9d)[0x7f1df2724e9d]
/lib64/libc.so.6(+0x7f53c)[0x7f1df272c53c]
/lib64/libc.so.6(cfree+0x4c)[0x7f1df2730e9c]
/lib64/libglib-2.0.so.0(g_free+0xf)[0x7f1df2abcdcf]
/lib64/libglib-2.0.so.0(g_strfreev+0x29)[0x7f1df2ad74a9]
abrt-applet(+0x3a6f)[0x7f1df61d6a6f]
/lib64/libnotify.so.4(+0x2fa8)[0x7f1df4f19fa8]
/lib64/libglib-2.0.so.0(+0x3807a)[0x7f1df2aa507a]
/lib64/libglib-2.0.so.0(g_hash_table_remove_all+0x38)[0x7f1df2aa6298]
/lib64/libglib-2.0.so.0(g_hash_table_destroy+0xe)[0x7f1df2aa649e]
/lib64/libnotify.so.4(+0x3428)[0x7f1df4f1a428]
/lib64/libgobject-2.0.so.0(g_object_unref+0x17f)[0x7f1df2dbba4f]
/lib64/libnotify.so.4(+0x390c)[0x7f1df4f1a90c]
/lib64/libffi.so.6(ffi_call_unix64+0x4c)[0x7f1dec5ecdb0]
/lib64/libffi.so.6(ffi_call+0x2f8)[0x7f1dec5ec818]
/lib64/libgobject-2.0.so.0(g_cclosure_marshal_generic+0x1f9)[0x7f1df2db7469]
/lib64/libgobject-2.0.so.0(g_closure_invoke+0x145)[0x7f1df2db6c45]
/lib64/libgobject-2.0.so.0(+0x214c9)[0x7f1df2dc84c9]
/lib64/libgobject-2.0.so.0(g_signal_emit_valist+0xe80)[0x7f1df2dd0ed0]
/lib64/libgobject-2.0.so.0(g_signal_emit+0x8f)[0x7f1df2dd129f]
/lib64/libgio-2.0.so.0(+0xdbb5c)[0x7f1df30d2b5c]
/lib64/libgio-2.0.so.0(+0xcb864)[0x7f1df30c2864]
/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x15a)[0x7f1df2ab70ba]
/lib64/libglib-2.0.so.0(+0x4a450)[0x7f1df2ab7450]
/lib64/libglib-2.0.so.0(g_main_loop_run+0xc2)[0x7f1df2ab7772]
/lib64/libgtk-3.so.0(gtk_main+0x85)[0x7f1df4835f75]
abrt-applet(+0x36b0)[0x7f1df61d66b0]
/lib64/libc.so.6(__libc_start_main+0xf0)[0x7f1df26cd790]
abrt-applet(+0x3849)[0x7f1df61d6849]



Version-Release number of selected component (if applicable):
abrt-2.5.0-2.fc22

How reproducible:
Always


Steps to Reproduce:
1. start an application
2. kill it using -8, -10, -11... signal
3. once the abrt crash notification appears, click restart
4. when the application restarts, kill it again

Actual results:
abrt-applet dies, no popup


Expected results:
abrt-applet runs, popup notification appears just as after the first crash


Additional info:

Comment 1 Matej Habrnal 2015-05-18 13:02:21 UTC
Thank you for the bug report. 

I've created a pull request which fixes the bug: https://github.com/abrt/abrt/pull/970

Comment 2 Fedora Update System 2015-05-21 11:08:27 UTC
abrt-2.5.1-3.fc22,libreport-2.5.1-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/abrt-2.5.1-3.fc22,libreport-2.5.1-2.fc22

Comment 3 Fedora Update System 2015-05-22 02:32:03 UTC
Package abrt-2.5.1-3.fc22, libreport-2.5.1-2.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing abrt-2.5.1-3.fc22 libreport-2.5.1-2.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-8700/abrt-2.5.1-3.fc22,libreport-2.5.1-2.fc22
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2015-05-30 15:36:58 UTC
abrt-2.5.1-3.fc22, libreport-2.5.1-2.fc22 has been pushed to the Fedora 22 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.