Re: [Rhythmbox-devel] DACP (iTunes remote) support added



On Thu, Oct 21, 2010 at 2:59 AM, Alexandre Rosenfeld wrote:
> On Wed, Oct 20, 2010 at 19:44, Peter wrote:
>> * Trying to set the shuffle status via the remote crashes RB
>> (and this was reproducible), end of debug log:
>>
>> (00:39:42) [0x90f0028] [libdmapsharing_debug] rb-daap-plugin.c:687:
>> Path is /ctrl-int/1/cue.
>> (00:39:42) [0x90f0028] [libdmapsharing_debug] rb-daap-plugin.c:687:
>> dacp.shufflestate 1
>> (00:39:42) [0x90f0028] [libdmapsharing_debug] rb-daap-plugin.c:687:
>> command play
>> (00:39:42) [0x90f0028] [libdmapsharing_debug] rb-daap-plugin.c:687:
>> session-id 659414752
>> (00:39:42) [0x90f0028] [libdmapsharing_debug] rb-daap-plugin.c:687: sort
>> album
>> (00:39:42) [0x90f0028] [libdmapsharing_debug] rb-daap-plugin.c:687:
>> query (('com.apple.itunes.mediakind:1','com.apple.itunes.mediakind:32')
>> 'daap.songartist:Bob Dylan')
>> (00:39:42) [0x90f0028] [libdmapsharing_debug] rb-daap-plugin.c:687:
>> Validating session id 659414752 from 192.168.2.4 matches 192.168.2.4
>> Segmentation fault
>
> Interesting, I had problems with this before, but never a crash. Could you
> provide a backtrace with gdb?

Yes, here you are:

$ gdb shell/.libs/lt-rhythmbox
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 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/peterjc/repositories/rhythmbox/shell/.libs/lt-rhythmbox...done.
(gdb) run
Starting program: /home/peterjc/repositories/rhythmbox/shell/.libs/lt-rhythmbox
[Thread debugging using libthread_db enabled]
[New Thread 0xb7166b70 (LWP 13263)]

(lt-rhythmbox:13260): GLib-GObject-CRITICAL **: g_object_unref:
assertion `G_IS_OBJECT (object)' failed
[Thread 0xb7166b70 (LWP 13263) exited]
[New Thread 0xb7166b70 (LWP 13264)]
[Thread 0xb7166b70 (LWP 13264) exited]

(lt-rhythmbox:13260): libdmapsharing-WARNING **: Unable to start music
sharing server on port 3689, trying any open port
[New Thread 0xb7166b70 (LWP 13265)]
[Thread 0xb7166b70 (LWP 13265) exited]
[New Thread 0xb7166b70 (LWP 13266)]
[Thread 0xb7166b70 (LWP 13266) exited]
[New Thread 0xb7166b70 (LWP 13267)]
[New Thread 0xb66f3b70 (LWP 13268)]
[New Thread 0xb5ef2b70 (LWP 13269)]
[Thread 0xb5ef2b70 (LWP 13269) exited]
[Thread 0xb7166b70 (LWP 13267) exited]

Program received signal SIGSEGV, Segmentation fault.
0x010777bc in *__GI_____strtol_l_internal (nptr=0x0, endptr=0x0,
base=10, group=0, loc=0x119d3a0) at strtol_l.c:298
298	strtol_l.c: No such file or directory.
	in strtol_l.c
(gdb) bt
#0  0x010777bc in *__GI_____strtol_l_internal (nptr=0x0, endptr=0x0,
base=10, group=0, loc=0x119d3a0) at strtol_l.c:298
#1  0x01077520 in *__GI_strtol (nptr=0x0, endptr=0x0, base=10) at strtol.c:110
#2  0x020e95f5 in dacp_share_ctrl_int () from
/home/peterjc/lib/libdmapsharing.so.2
#3  0x020f0504 in ctrl_int_adapter () from /home/peterjc/lib/libdmapsharing.so.2
#4  0x00960387 in call_handler (req=0x8907328, client=0x884d198) at
soup-server.c:845
#5  0x00cdedcc in g_cclosure_marshal_VOID__VOID () from
/usr/lib/libgobject-2.0.so.0
#6  0x00cd1252 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#7  0x00ce599d in ?? () from /usr/lib/libgobject-2.0.so.0
#8  0x00ce6db4 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#9  0x00ce7256 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#10 0x0095506f in soup_message_got_body (msg=0x8907328) at soup-message.c:991
#11 0x0095b439 in io_read (sock=0x88f1408, msg=0x8907328) at
soup-message-io.c:945
#12 0x00cdedcc in g_cclosure_marshal_VOID__VOID () from
/usr/lib/libgobject-2.0.so.0
#13 0x00cd1252 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#14 0x00ce599d in ?? () from /usr/lib/libgobject-2.0.so.0
#15 0x00ce6db4 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#16 0x00ce7256 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#17 0x00967b2d in socket_read_watch (chan=0x896ed68, cond=<value
optimised out>, user_data=0x88f1408) at soup-socket.c:1167
#18 0x00d93efb in ?? () from /lib/libglib-2.0.so.0
#19 0x00d4f5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#20 0x00d532d8 in ?? () from /lib/libglib-2.0.so.0
#21 0x00d53817 in g_main_loop_run () from /lib/libglib-2.0.so.0
#22 0x004003c9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#23 0x0804b56f in main (argc=1, argv=0xbffff2e4) at main.c:336
(gdb)

Peter


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]