Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2665 closed Bug (fixed)

Crash in GTK's torrent properties dialog's periodic_refresh()

Reported by: jch Owned by: charles
Priority: Normal Milestone:
Component: GTK+ Client Version: 1.76+
Severity: Major Keywords:
Cc:

Description

Yay! A crash!

(gdb) bt
#0  strcmp () at ../sysdeps/x86_64/strcmp.S:29
#1  0x0000000000422d18 in gtr_label_set_text (lb=0x22f6eb0, 
    newstr=0x4a7f10 "Public torrent") at details.c:615
#2  0x0000000000422f1f in refreshInfo (di=0x2394050, torrents=0x23e1610, n=1)
    at details.c:649
#3  0x0000000000427d43 in refresh (di=0x2394050) at details.c:2090
#4  0x0000000000427dbe in periodic_refresh (data=0x2394050) at details.c:2104
#5  0x00007f7b53cbd847 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#6  0x00007f7b5147d83b in ?? () from /lib/libglib-2.0.so.0
#7  0x00007f7b5147d12a in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#8  0x00007f7b51480988 in ?? () from /lib/libglib-2.0.so.0
#9  0x00007f7b51480e5d in g_main_loop_run () from /lib/libglib-2.0.so.0
#10 0x00007f7b54087ca7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x000000000042c780 in main (argc=1, argv=0x7fff74c46ba8) at main.c:590
(gdb) up
#1  0x0000000000422d18 in gtr_label_set_text (lb=0x22f6eb0, 
    newstr=0x4a7f10 "Public torrent") at details.c:615
615         if( strcmp( oldstr, newstr ) )
(gdb) print oldstr
$1 = 0x0

Change History (7)

comment:1 follow-up: Changed 12 years ago by charles

  • Component changed from Transmission to GTK+ Client
  • Owner set to charles
  • Severity changed from Normal to Major

Hmm, that shouldn't happen. What version of GTK+ are you using?

Anyway, it's simple enough to add a NULL pointer safeguard. Thanks for pointing this out.

comment:2 Changed 12 years ago by charles

  • Status changed from new to assigned

r9747 gtk/details.c: (trunk gtk) #2665 "Crash in GTK+ code" -- fixed for 1.80

comment:3 in reply to: ↑ 1 Changed 12 years ago by jch

Replying to charles:

Hmm, that shouldn't happen. What version of GTK+ are you using?

Debian's 2.18.3-1.

--Juliusz

comment:4 Changed 12 years ago by livings124

  • Milestone 1.80 deleted

comment:5 Changed 12 years ago by charles

  • Milestone set to 1.80
  • Resolution set to fixed
  • Status changed from assigned to closed
  • Version changed from 1.76+ to 1.76

r9747 gtk/details.c: (trunk gtk) #2665 "Crash in GTK+ code" -- fixed for 1.80

comment:6 Changed 12 years ago by charles

  • Summary changed from Crash in GTK code to Crash in GTK's torrent properties dialog's periodic_refresh()

comment:7 Changed 12 years ago by charles

  • Milestone 1.80 deleted
  • Version changed from 1.76 to 1.76+
Note: See TracTickets for help on using tickets.