Crash on closing active tabs

Bug #84306 reported by Luca Falavigna
100
This bug affects 13 people
Affects Status Importance Assigned to Milestone
GTK+
Fix Released
Critical
gtk+2.0 (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

This behaviour can be exploited using amule 2.1.3-1ubuntu1 on an up-to-date Feisty.

Steps to reproduce the crash:
1) Open amule
2) Connect to any server you like
3) Enter a description in Name field and press Start button
4) Close the tab just opened as soon as possible
5) amule crashes. See attached logs for backtrace

This can be related to bug #59138 in wxwidgets2.6 (now solved), but it is slightly different. If you try to close a private message tab or a completed research tab, everything goes fine. it seems it only affects active tabs.

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Output generated by amule.

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

gdb backtrace.

Revision history for this message
Luca Carrogu (motoplux) wrote :

some here on ubuntu edgy.
I have
amule 2.1.3.cvs20070112+3v1ubuntu0
libwxbase2.6-0 2.6.3.2.1.5ubuntu0.1
libwxbase2.6-dev 2.6.3.2.1.5ubuntu0.1
libwxbase2.8-0 2.8.0.1-1

Revision history for this message
Filippo Guglielmetti (guglielf) wrote :

Confirmed on: Kubuntu 6.10
guglielf@acme:~$ uname -rms
Linux 2.6.17-10-386 i686

Followed same procedure done by Luca Falavigna.

amule crashes when closing the first search tab, before searching ends (when "start" button is still greyed out).
This behavior is not reproducible in other search tabs when one already present.

Changed in wxwidgets2.6:
status: Unconfirmed → Confirmed
Revision history for this message
Mefisto (dariovezzosi) wrote :

I can confirm this, same procedure, same results in an up to date Feisty

Revision history for this message
Matthias Klose (doko) wrote :

please recheck with 2.8

Changed in wxwidgets2.6:
importance: Undecided → Medium
status: Confirmed → Needs Info
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Unluckily amule depends strictly on wxwidgets2.6. I tried to recompile it with wxwidgets2.8 support but it failed.

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

This happens with 2.8 too in Gutsy.

Changed in wxwidgets2.6:
status: Needs Info → Confirmed
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

This bug seems related to gtk+2.0 instead:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1233836352 (LWP 6418)]
0xb6d37050 in gtk_notebook_button_release (widget=0x8829228, event=0x88b5110) at /build/buildd/gtk+2.0-2.11.6/gtk/gtknotebook.c:2808
2808 if (!priv->during_detach &&
(gdb) backtrace
#0 0xb6d37050 in gtk_notebook_button_release (widget=0x8829228, event=0x88b5110) at /build/buildd/gtk+2.0-2.11.6/gtk/gtknotebook.c:2808
#1 0xb6d15ba2 in _gtk_marshal_BOOLEAN__BOXED (closure=0x85d57a8, return_value=0xbfc6c600, n_param_values=2, param_values=0xbfc6c6dc, invocation_hint=0xbfc6c5ec,
    marshal_data=0xb6d36ff0) at /build/buildd/gtk+2.0-2.11.6/gtk/gtkmarshalers.c:84
(gdb) list
2803
2804 notebook = GTK_NOTEBOOK (widget);
2805 priv = GTK_NOTEBOOK_GET_PRIVATE (notebook);
2806 page = notebook->cur_page;
2807
2808 if (!priv->during_detach &&
2809 page->reorderable &&
2810 event->button == priv->pressed_button)
2811 gtk_notebook_stop_reorder (notebook);
2812
(gdb)

Changed in gtk:
status: Unknown → New
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Attached patch fixes this issue for me.

Revision history for this message
Jonay (jonay-santana) wrote :

Same behavior here. I'm using aMule 2.1.3 and Ubuntu Gutsy Gibbon.

Changed in gtk+2.0:
assignee: nobody → desktop-bugs
Changed in gtk+2.0:
status: Confirmed → Triaged
Revision history for this message
ekerazha (ekerazha) wrote :

I have a similar issue using aMule 2.2.2 on Ubuntu 8.10 Release Candidate.

aMule often crashes when I close the last opened tab in the Search page. I don't have this issue using aMule 2.2.2 on Arch Linux.

Revision history for this message
unggnu (unggnu) wrote :

Is this still a problem with aMule 2.2.4?

David Futcher (bobbo)
tags: added: patch-forwarded-upstream
Changed in gtk:
importance: Unknown → Critical
Changed in gtk+2.0 (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
Changed in gtk:
status: New → Fix Released
Vlad Orlov (monsta)
tags: added: xenial
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.