deluge-gtk crashes when creating torrent

Bug #857634 reported by lulo
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
deluge (Ubuntu)
Invalid
Medium
Unassigned
gtk+2.0 (Ubuntu)
Confirmed
Undecided
Unassigned
pygtk (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

crashed its create torrent (many)

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: deluge-gtk 1.3.3-1ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
CrashCounter: 1
Date: Fri Sep 23 20:24:13 2011
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/deluge-gtk
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64+mac (20110907)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/deluge-gtk
Signal: 6
SourcePackage: deluge
StacktraceTop:
 raise () from /lib/x86_64-linux-gnu/libc.so.6
 abort () from /lib/x86_64-linux-gnu/libc.so.6
 g_assertion_message () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 g_assertion_message_expr () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
Title: deluge-gtk crashed with SIGABRT in raise()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
lulo (lulojs11) wrote :
Revision history for this message
lulo (lulojs11) wrote :

no more coment...its is complete problem for create torrent

Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_assertion_message (domain=<optimized out>, file=<optimized out>, line=<optimized out>, func=0x7f8bc7887401 "miUnionO", message=0x7f8ba902b8c0 "assertion failed: (pReg->numRects<=pReg->size)") at /build/buildd/glib2.0-2.29.92/./glib/gtestutils.c:1425
 g_assertion_message_expr (domain=0x7f8bc7882273 "Gdk", file=0x7f8bc7887230 "/build/buildd/gtk+2.0-2.24.6/gdk/gdkregion-generic.c", line=1193, func=0x7f8bc7887401 "miUnionO", expr=<optimized out>) at /build/buildd/glib2.0-2.29.92/./glib/gtestutils.c:1436
 miUnionO (pReg=0x59b7a10, r1=0x5932ba0, r1End=0x5932bb0, r2=0x7f8ba0365830, r2End=0x7f8ba0365840, y1=7, y2=34) at /build/buildd/gtk+2.0-2.24.6/gdk/gdkregion-generic.c:1193
 miRegionOp (newReg=0x59b7a10, reg1=<optimized out>, reg2=<optimized out>, overlapFn=0x7f8bc783e6f0 <miUnionO>, nonOverlap1Fn=0x7f8bc783e530 <miUnionNonO>, nonOverlap2Fn=0x7f8bc783e530 <miUnionNonO>) at /build/buildd/gtk+2.0-2.24.6/gdk/gdkregion-generic.c:983
 IA__gdk_region_union (source2=0x590f100, source1=0x59b7a10) at /build/buildd/gtk+2.0-2.24.6/gdk/gdkregion-generic.c:1266

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in deluge (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Cas (calumlind) wrote : Re: deluge-gtk crashed with SIGABRT in raise()

What version of libtorrent do you have installed as it is not appearing in your dependencies list.

summary: - deluge-gtk crashed with SIGABRT in raise()
+ deluge-gtk crashes when creating torrent
visibility: private → public
Cas (calumlind)
Changed in deluge (Ubuntu):
status: New → Incomplete
Revision history for this message
sam tygier (samtygier) wrote :

does this oddly similar to Bug #865401 and Bug #865492

Changed in deluge (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Steffen Röcker (sroecker) wrote :

I can confirm this crash (dupe bug #879779).

There seems to be something wrong with the pygtk progressbar code:
#22 0x00007f8bc823f437 in _wrap_gtk_progress_bar_set_fraction (self=0x3d48f00, args=<optimized out>, kwargs=<optimized out>) at gtk.c:70914
        kwlist = {0x7f8bc8300544 "fraction", 0x0}

Revision history for this message
Steffen Röcker (sroecker) wrote :

Forget about the pygtk stuff, it's a gdk bug.

Changed in pygtk (Ubuntu):
status: New → Invalid
Cas (calumlind)
Changed in deluge (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gtk+2.0 (Ubuntu):
status: New → Confirmed
Revision history for this message
David (david-9ei9nyjpwdex) wrote :

Same in xubuntu 11.10 and Deluge-gtk

Back trace attached.

Revision history for this message
Cas (calumlind) wrote :

Managed to replicate this and the workaround for Deluge involves commenting out 'pbar.set_text':

--- a/deluge/ui/gtkui/createtorrentdialog.py
+++ b/deluge/ui/gtkui/createtorrentdialog.py
@@ -370,7 +370,7 @@ def create_torrent(self, path, tracker, piece_length, progress, comment, target,
     def _on_create_torrent_progress(self, value, num_pieces):
         percent = float(value)/float(num_pieces)
         pbar = self.glade.get_widget("progressbar")
- pbar.set_text("%.2f%%" % (percent*100))
+ #pbar.set_text("%.2f%%" % (percent*100))
         if percent >= 0 and percent <= 1.0:
             pbar.set_fraction(percent)

We will put this into the next PPA release for Oneiric.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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