Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2267 closed Bug (fixed)

Transmission Crashing when adding a torrent

Reported by: _Rawr Owned by: charles
Priority: Normal Milestone: 1.74
Component: GTK+ Client Version: 1.72
Severity: Normal Keywords:
Cc:

Description

http://transmission.pastebay.com/27329

Am on Yoper Linux OS, 2.6.26 kernel KDE 3.5.10 GTK 2.12.5

Change History (15)

comment:1 Changed 12 years ago by kklimonda

A link to valgrind log so it isn't lost in IRC logs: http://www.pastie.org/534788

comment:2 Changed 12 years ago by charles

Money quote:

==32753== 
==32753== Thread 1:
==32753== Invalid read of size 4
==32753==    at 0x46F9FB8: g_atomic_int_exchange_and_add (in /usr/lib/libglib-2.0.so.0.1800.4)
==32753==    by 0x806A748: get_mime_type_icon (icons.c:278)
==32753==    by 0x8074818: get_icon (torrent-cell-renderer.c:293)
==32753==    by 0x8074AE6: get_size_full (torrent-cell-renderer.c:382)
==32753==    by 0x8074E8F: torrent_cell_renderer_get_size (torrent-cell-renderer.c:441)
==32753==    by 0x412C3DF: gtk_cell_renderer_get_size (in /usr/lib/libgtk-x11-2.0.so.0.1200.5)
==32753==  Address 0x4 is not stack'd, malloc'd or (recently) free'd
==32753== 

comment:3 Changed 12 years ago by charles

ryan@Yoper ~ $ gdb transmission
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=i686-pc-linux"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/local/bin/transmission
[New LWP 3803]
[New LWP 3799]

(transmission:3799): Gtk-CRITICAL **: gtk_icon_info_load_icon: assertion `icon_info != NULL' failed

(transmission:3799): Gtk-CRITICAL **: gtk_icon_info_free: assertion `icon_info != NULL' failed

Program received signal SIGSEGV, Segmentation fault.
0xb77a6fb8 in g_atomic_int_exchange_and_add () from /usr/lib/libglib-2.0.so.0
(gdb) bt full
#0  0xb77a6fb8 in g_atomic_int_exchange_and_add () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#1  0xb786cc2d in g_object_ref () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#2  0x00000004 in ?? ()
No symbol table info available.
#3  0x00000001 in ?? ()
No symbol table info available.
#4  0x082c1fd0 in ?? ()
No symbol table info available.
#5  0xb77ee5cd in g_strfreev () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#6  0xbfc3ee28 in ?? ()
No symbol table info available.
#7  0x0806a968 in get_mime_type_icon (mime_type=0x80e60c6 "folder", icon_size=GTK_ICON_SIZE_DND, for_widget=0x8263088) at icons.c:220
        n = <value optimized out>
#8  0x0807589a in torrent_cell_renderer_get_size (cell=0x8259760, widget=0x8263088, cell_area=0x0, x_offset=0x0, y_offset=0x0, width=0xbfc3ef4c,
    height=0xbfc3ef50) at torrent-cell-renderer.c:293
        w = <value optimized out>
        h = <value optimized out>
#9  0xb7b243e0 in gtk_cell_renderer_get_size () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#10 0x08259760 in ?? ()
No symbol table info available.
#11 0x08263088 in ?? ()
No symbol table info available.
#12 0x00000000 in ?? ()
No symbol table info available.

comment:4 Changed 12 years ago by charles

  • Component changed from Transmission to GTK+ Client
  • Owner set to charles
  • Priority changed from High to Normal

comment:5 Changed 12 years ago by charles

_Rawr: Is this still happening in 1.73?

comment:6 Changed 12 years ago by _Rawr

Hi Charles, just tried it, and yea still the same issue. Let me know if you need any more info.

comment:7 Changed 12 years ago by charles

I do need more info, because I've got no idea what's going on here... however, I don't know what to ask about either. :/

comment:8 Changed 12 years ago by _Rawr

Hey Charles, no worries. When you do get an idea, you can let me know. For now, I'm fine with using v1.52 (:

comment:9 Changed 12 years ago by charles

Could you give r8849 a try and see if the problem persists there too?

If you need a tarball, http://build.transmissionbt.com/job/trunk-linux-inc/ usually has a link to the latest nightly build...

comment:10 Changed 12 years ago by _Rawr

Hmm still doesn't work. Tried both svn and the tarball. Heres the log from using the tarball.

http://www.pastie.org/560657

comment:11 Changed 12 years ago by charles

_Rawr: you know the drill by now, does this still occur in r8891? I've got yet another attempted fix in. :)

comment:12 Changed 12 years ago by _Rawr

Hey Charles, you're a genius! It works now. I updated via svn, and I think it said updated to r8898. When I run transmission and check "About". It says Transmission 1.72+ (8780). Just so you know.

comment:13 Changed 12 years ago by charles

  • Milestone changed from None Set to 1.74
  • Status changed from new to assigned

comment:14 Changed 12 years ago by charles

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:15 Changed 12 years ago by charles

_Rawr: thanks for letting me know, and thanks for trying out new builds while I tried to suss out the problem. :)

Note: See TracTickets for help on using tickets.