Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2783 closed Bug (fixed)

Starting with revision 9992, IP blocklist is empty !

Reported by: jolinfire Owned by: charles
Priority: Normal Milestone: 1.83
Component: libtransmission Version: 1.82
Severity: Critical Keywords: blocklist
Cc: jolinfire

Description

I build revision 9992 from svn and when I asked for a blocklist update, it tells me : 0 rules instead of 222475 or so.

Downgrading to revision 9987 makes IP blocklist full again.

Don't know which revision broke IP blocklist.

Change History (17)

comment:1 Changed 12 years ago by jolinfire

  • Keywords blocklist added; blocklsit removed

Got this in console : (transmission:11874): GLib-GObject-WARNING : gsignal.c:2387: instance `0xb5c1e0' has no handler with id '2331'

comment:2 Changed 12 years ago by Rolcol

Yep, same here. http://imgur.com/wAE6P.png

comment:3 Changed 12 years ago by charles

  • Component changed from GTK+ Client to libtransmission
  • Milestone None Set deleted
  • Status changed from new to assigned

Looks like this is a side-effect of the new nonblocking DNS code -- we have to make sure to set the Host: header by hand when invoking libcurl.

comment:4 Changed 12 years ago by Rolcol

This crash could be related to this:

roly@rolyslaptop:~/Desktop/Transmission$ gdb gtk/transmission 
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/roly/Desktop/Transmission/gtk/transmission...done.
(gdb) handle SIGPIPE nostop noprint pass
Signal        Stop	Print	Pass to program	Description
SIGPIPE       No	No	Yes		Broken pipe
(gdb) run
Starting program: /home/roly/Desktop/Transmission/gtk/transmission 
[Thread debugging using libthread_db enabled]
[New Thread 0xb7eaab70 (LWP 21673)]
[23:53:17.124] Starting libevent thread
[New Thread 0xb76a9b70 (LWP 21674)]
[New Thread 0xb66c6b70 (LWP 21675)]
[New Thread 0xb5cf8b70 (LWP 21676)]
[New Thread 0xb54f7b70 (LWP 21677)]
[New Thread 0xb4cf6b70 (LWP 21678)]
[New Thread 0xb44f5b70 (LWP 21679)]
[New Thread 0xb3cf4b70 (LWP 21680)]
[New Thread 0xb34f3b70 (LWP 21681)]
[New Thread 0xb2cf2b70 (LWP 21682)]
[New Thread 0xb24f1b70 (LWP 21683)]
[New Thread 0xb1cf0b70 (LWP 21684)]
[New Thread 0xb14efb70 (LWP 21685)]
[Thread 0xb54f7b70 (LWP 21677) exited]
[Thread 0xb24f1b70 (LWP 21683) exited]
[Thread 0xb44f5b70 (LWP 21679) exited]
[Thread 0xb5cf8b70 (LWP 21676) exited]
[Thread 0xb2cf2b70 (LWP 21682) exited]
[Thread 0xb34f3b70 (LWP 21681) exited]
[Thread 0xb1cf0b70 (LWP 21684) exited]
[Thread 0xb14efb70 (LWP 21685) exited]
[Thread 0xb4cf6b70 (LWP 21678) exited]
[Thread 0xb66c6b70 (LWP 21675) exited]
[Thread 0xb3cf4b70 (LWP 21680) exited]

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_set_markup: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_format_secondary_text: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.22.3/gobject/gsignal.c:2387: instance `0x8131458' has no handler with id `2890'

(transmission:21670): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.22.3/gobject/gsignal.c:2387: instance `0x8131458' has no handler with id `3108'

(transmission:21670): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.22.3/gobject/gsignal.c:2387: instance `0x8131458' has no handler with id `3108'

(transmission:21670): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.22.3/gobject/gsignal.c:2387: instance `0x8131458' has no handler with id `3309'

(transmission:21670): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.22.3/gobject/gsignal.c:2387: instance `0x8131458' has no handler with id `3309'

(transmission:21670): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.22.3/gobject/gsignal.c:2387: instance `0x8131458' has no handler with id `3309'

(transmission:21670): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.22.3/gobject/gsignal.c:2387: instance `0x8131458' has no handler with id `3309'

(transmission:21670): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.22.3/gobject/gsignal.c:2387: instance `0x8131458' has no handler with id `3309'
[Thread 0xb76a9b70 (LWP 21674) exited]

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_set_markup: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_format_secondary_text: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_set_markup: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_format_secondary_text: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_set_markup: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_format_secondary_text: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_set_markup: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_format_secondary_text: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_set_markup: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_format_secondary_text: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_set_markup: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_format_secondary_text: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_set_markup: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_format_secondary_text: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_set_markup: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_format_secondary_text: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_set_markup: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_format_secondary_text: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_set_markup: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_format_secondary_text: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.22.3/gobject/gsignal.c:2387: instance `0x8131458' has no handler with id `5463'

(transmission:21670): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.22.3/gobject/gsignal.c:2387: instance `0x8131458' has no handler with id `5463'

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_set_markup: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_format_secondary_text: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_set_markup: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_format_secondary_text: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_set_markup: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_format_secondary_text: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_set_markup: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_format_secondary_text: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_set_markup: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_format_secondary_text: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_set_markup: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_format_secondary_text: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_set_markup: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_format_secondary_text: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_set_markup: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_format_secondary_text: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_set_markup: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_format_secondary_text: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_set_markup: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_format_secondary_text: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed


[New Thread 0xb3cf4b70 (LWP 21898)]
[New Thread 0xb4cf6b70 (LWP 21899)]
[New Thread 0xb14efb70 (LWP 21900)]

(transmission:21670): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.22.3/gobject/gsignal.c:2387: instance `0x8131458' has no handler with id `6095'
[Thread 0xb4cf6b70 (LWP 21899) exited]
[Thread 0xb14efb70 (LWP 21900) exited]
[Thread 0xb3cf4b70 (LWP 21898) exited]
[New Thread 0xb3cf4b70 (LWP 21923)]
[New Thread 0xb14efb70 (LWP 21924)]
[New Thread 0xb4cf6b70 (LWP 21925)]
[New Thread 0xb1cf0b70 (LWP 21926)]
[New Thread 0xb57ffb70 (LWP 21927)]
[New Thread 0xb44f5b70 (LWP 21928)]
[New Thread 0xb34f3b70 (LWP 21929)]
[New Thread 0xb2cf2b70 (LWP 21930)]
[Thread 0xb14efb70 (LWP 21924) exited]
[Thread 0xb1cf0b70 (LWP 21926) exited]
[Thread 0xb57ffb70 (LWP 21927) exited]
[Thread 0xb34f3b70 (LWP 21929) exited]
[Thread 0xb3cf4b70 (LWP 21923) exited]
[Thread 0xb4cf6b70 (LWP 21925) exited]
[Thread 0xb2cf2b70 (LWP 21930) exited]
[Thread 0xb44f5b70 (LWP 21928) exited]
[New Thread 0xb44f5b70 (LWP 22013)]
[New Thread 0xb2cf2b70 (LWP 22014)]
[New Thread 0xb4cf6b70 (LWP 22015)]
[New Thread 0xb3cf4b70 (LWP 22016)]
[New Thread 0xb57ffb70 (LWP 22017)]
[Thread 0xb44f5b70 (LWP 22013) exited]
[Thread 0xb57ffb70 (LWP 22017) exited]
[Thread 0xb3cf4b70 (LWP 22016) exited]
[Thread 0xb4cf6b70 (LWP 22015) exited]
[Thread 0xb2cf2b70 (LWP 22014) exited]
[New Thread 0xb2cf2b70 (LWP 22101)]
[New Thread 0xb4cf6b70 (LWP 22102)]
[New Thread 0xb3cf4b70 (LWP 22103)]
[New Thread 0xb57ffb70 (LWP 22104)]
[Thread 0xb3cf4b70 (LWP 22103) exited]
[Thread 0xb2cf2b70 (LWP 22101) exited]
[Thread 0xb4cf6b70 (LWP 22102) exited]
[Thread 0xb57ffb70 (LWP 22104) exited]
[New Thread 0xb57ffb70 (LWP 22211)]
[New Thread 0xb4cf6b70 (LWP 22212)]
[New Thread 0xb2cf2b70 (LWP 22213)]
[New Thread 0xb3cf4b70 (LWP 22214)]
[Thread 0xb2cf2b70 (LWP 22213) exited]
[Thread 0xb4cf6b70 (LWP 22212) exited]
[Thread 0xb57ffb70 (LWP 22211) exited]
[Thread 0xb3cf4b70 (LWP 22214) exited]

(nautilus:22412): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
[New Thread 0xb3cf4b70 (LWP 22925)]
[New Thread 0xb57ffb70 (LWP 22926)]
[New Thread 0xb4cf6b70 (LWP 22927)]
[New Thread 0xb2cf2b70 (LWP 22928)]
[New Thread 0xb34f3b70 (LWP 22929)]
[New Thread 0xb24f1b70 (LWP 22930)]
[New Thread 0xb1cf0b70 (LWP 22937)]
[Thread 0xb3cf4b70 (LWP 22925) exited]
[Thread 0xb4cf6b70 (LWP 22927) exited]
[Thread 0xb34f3b70 (LWP 22929) exited]
[Thread 0xb57ffb70 (LWP 22926) exited]
[Thread 0xb2cf2b70 (LWP 22928) exited]
[Thread 0xb24f1b70 (LWP 22930) exited]

(transmission:21670): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion `GTK_IS_WIDGET (widget)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_set_markup: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

(transmission:21670): Gtk-CRITICAL **: gtk_message_dialog_format_secondary_text: assertion `GTK_IS_MESSAGE_DIALOG (message_dialog)' failed

Program received signal SIGSEGV, Segmentation fault.
0x00772068 in g_type_check_instance_cast () from /usr/lib/libgobject-2.0.so.0
(gdb) 
(gdb) 
(gdb) thread apply all 
Display all 38693 possibilities? (y or n)
(gdb) thread apply all bt

Thread 45 (Thread 0xb1cf0b70 (LWP 22937)):
#0  0x00816422 in __kernel_vsyscall ()
#1  0x0073a142 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x008610ce in ?? () from /usr/lib/libgthread-2.0.so.0
#3  0x00b46c9c in ?? () from /lib/libglib-2.0.so.0
#4  0x00b46da1 in g_async_queue_timed_pop () from /lib/libglib-2.0.so.0
#5  0x00b9791e in ?? () from /lib/libglib-2.0.so.0
#6  0x00b9637f in ?? () from /lib/libglib-2.0.so.0
#7  0x0073580e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x049b08de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb7eaab70 (LWP 21673)):
#0  0x00816422 in __kernel_vsyscall ()
#1  0x049b1156 in epoll_wait () from /lib/tls/i686/cmov/libc.so.6
#2  0x006d1792 in ?? () from /usr/lib/libevent-1.4.so.2
#3  0x006c3f82 in event_base_loop () from /usr/lib/libevent-1.4.so.2
#4  0x006c43c9 in event_loop () from /usr/lib/libevent-1.4.so.2
#5  0x006c43ee in event_dispatch () from /usr/lib/libevent-1.4.so.2
#6  0x080a8fd8 in libeventThreadFunc (veh=0x8162c88) at trevent.c:230
#7  0x0809113b in ThreadFunc (_t=0x815afa0) at platform.c:109
#8  0x0073580e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#9  0x049b08de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7fd7730 (LWP 21670)):
#0  0x00772068 in g_type_check_instance_cast ()
   from /usr/lib/libgobject-2.0.so.0
#1  0x0807eec0 in updateBlocklistText (w=0xa, core=0x8131458) at tr-prefs.c:384
#2  0x0807f022 in onBlocklistUpdated (core=0x8131458, n=0, gdata=0x842b268)
    at tr-prefs.c:418
#3  0x00761748 in g_cclosure_marshal_VOID(int0_t) ()
   from /usr/lib/libgobject-2.0.so.0
#4  0x00754072 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#5  0x007697a8 in ?? () from /usr/lib/libgobject-2.0.so.0
#6  0x0076ab2d in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#7  0x0076afb6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#8  0x0807c402 in emitBlocklistUpdated (core=0x8131458, ruleCount=0)
    at tr-core.c:895
#9  0x0807da14 in blocklistResponseFunc (core=0x8131458, response=0xbffff104, 
    userData=0x0) at tr-core.c:1646
#10 0x0807d705 in readResponseIdle (vresponse=0x83e59c8) at tr-core.c:1550
#11 0x004e6f78 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#12 0x00b6a101 in ?? () from /lib/libglib-2.0.so.0
#13 0x00b6be88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#14 0x00b6f730 in ?? () from /lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#15 0x00b6fb9f in g_main_loop_run () from /lib/libglib-2.0.so.0
#16 0x00247419 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x0806fc93 in main (argc=1, argv=0xbffff504) at main.c:624
(gdb) 

comment:5 Changed 12 years ago by charles

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

Xref: #2781

Fixed in trunk for 1.81 by r9993

comment:6 Changed 12 years ago by jolinfire

Thanks for the fix :)

comment:7 Changed 12 years ago by Robby

  • Milestone set to 1.81

comment:8 Changed 12 years ago by charles

  • Milestone 1.81 deleted

(Since this is a post-1.80 regression, we set the milestone to blank rather than 1.81)

comment:9 Changed 12 years ago by Robby

Sorry, I should have looked properly.

comment:10 Changed 12 years ago by charles

np. I don't think that's really documented anywhere.

comment:11 Changed 12 years ago by Robby

Well, I know how milestoned are dealt with, I just forgot to check how old r9992 was. :)

comment:12 Changed 12 years ago by jolinfire

  • Resolution fixed deleted
  • Status changed from closed to reopened

Guess what ? Again busted... Seems like revision 10003 is guilty.

Last working revision 10001, as I'm using a busted revision 1008 !

Here is my console log :

(transmission:23940): GLib-GObject-WARNING : gsignal.c:2387: instance 0x11245e0' has no handler with id 2359'

comment:13 Changed 12 years ago by jolinfire

  • Cc jolinfire added

It is also broken in 1.82 stable release... Ouch !

comment:14 Changed 12 years ago by charles

  • Milestone set to 1.83
  • Status changed from reopened to new
  • Version changed from 1.80+ to 1.82

Hooray!

Fixed in r10008.

comment:15 Changed 12 years ago by charles

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

comment:16 Changed 12 years ago by Robby

r10009 it was.

comment:17 Changed 12 years ago by titer

I changed the server configuration to accommodate that, so the blocklist should work again in 1.82 clients.

Note: See TracTickets for help on using tickets.