banshee-daap lets you try and delete/rename files in other libraries

Bug #147436 reported by Stuart Langridge
8
Affects Status Importance Assigned to Milestone
Banshee
Confirmed
Low
banshee (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: banshee-daap

With banshee-daap installed, i can right-click on a file shared by someone else and I get "edit song metadata", "delete from drive" etc menu options!

Edit Song Metadata edits the metadata in my Banshee but not on the remote server, and the changes get forgotten when I restart Banshee.

Delete From Drive doesn't actually delete the remote person's music (fortunately!) but Banshee crashes with the following sigsegv:

Debug: [30/09/2007 23:25:31] (Loading audio profiles) - /usr/share/banshee/audio-profiles
Debug: [30/09/2007 23:25:31] (Default player engine) - GStreamer 0.10
Debug: [30/09/2007 23:25:31] (Audio CD Core Initialised) -
Debug: [30/09/2007 23:25:32] (Audioscrobbler starting protocol engine) -
Building initial DAAP database from local library...
Starting DAAP Server
Ambiguous matching in method resolution
System.Reflection.AmbiguousMatchException: Ambiguous matching in method resolution
  at System.Reflection.Binder.FindMostDerivedMatch (System.Reflection.MethodBase[] match) [0x00000]
  at System.MonoType.GetMethodImpl (System.String name, BindingFlags bindingAttr, System.Reflection.Binder binder, CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) [0x00000]
  at System.Type.GetMethod (System.String name, BindingFlags bindingAttr) [0x00000]
  at Banshee.Base.ReflectionUtil.IsVirtualMethodImplemented (System.Type type, System.String methodName) [0x00000]
  at Banshee.Sources.Source.get_CanRemoveTracks () [0x00000]
  at Banshee.PlayerUI.RemoveSongs (Boolean deleteFromFileSystem) [0x00000]
  at Banshee.PlayerUI.OnDeleteSongsFromDriveAction (System.Object o, System.EventArgs args) [0x00000]
  at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
  at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr gch) [0x00000]
  at (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr)
  at <0x00000> <unknown method>
  at (wrapper managed-to-native) Gtk.Application:gtk_main ()
  at Gtk.Application.Run () [0x00000]
  at Gnome.Program.Run () [0x00000]
  at Banshee.BansheeEntry.Startup (System.String[] args) [0x00000]
  at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_string[] (string[])
  at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.String[] args) [0x00000]
Stacktrace:

  at (wrapper managed-to-native) Gtk.Container.gtk_container_set_border_width (intptr,uint) <0x00004>
  at (wrapper managed-to-native) Gtk.Container.gtk_container_set_border_width (intptr,uint) <0xffffffff>
  at Gtk.Container.set_BorderWidth (uint) <0x0001d>
  at Banshee.Gui.Dialogs.ExceptionDialog..ctor (System.Exception) <0x0012d>
  at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.CleanRoomStartup/StartupInvocationHandler,string[]) <0x000f7>
  at Banshee.BansheeEntry.Main (string[]) <0x00038>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void_string[] (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

 banshee [0x818f7de]
 banshee [0x8171be4]
 [0xffffe440]
 /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0xb654b7e9]
 /usr/lib/libgobject-2.0.so.0 [0xb653dba1]
 /usr/lib/libgobject-2.0.so.0 [0xb653a3ff]
 /usr/lib/libgobject-2.0.so.0(g_object_notify+0x2b2) [0xb653e6e2]
 /usr/lib/libgtk-x11-2.0.so.0(gtk_container_set_border_width+0x61) [0xb68de2a1]
 [0xb1621ef8]
 [0xb1621eae]
 [0xb0eeb70e]
 [0xb73a0fd0]
 [0xb73a0259]
 [0xb73a0063]
 banshee [0x8171aaf]
 banshee(mono_runtime_invoke+0x27) [0x80b038f]
 banshee(mono_runtime_exec_main+0x142) [0x80b4bd4]
 banshee(mono_runtime_run_main+0x27e) [0x80b4e84]
 banshee(mono_jit_exec+0xbd) [0x805a55b]
 banshee [0x805a638]
 banshee(mono_main+0x1666) [0x805be3c]
 banshee [0x80596c6]
 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc) [0xb7d1cebc]
 banshee [0x8059621]

Debug info from gdb:

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1211083040 (LWP 8897)]
[New Thread -1327637616 (LWP 8922)]
[New Thread -1321968752 (LWP 8917)]
[New Thread -1323160688 (LWP 8914)]
[New Thread -1319105648 (LWP 8911)]
[New Thread -1316742256 (LWP 8910)]
[New Thread -1315689584 (LWP 8909)]
[New Thread -1314636912 (LWP 8908)]
[New Thread -1299625072 (LWP 8907)]
[New Thread -1300874352 (LWP 8906)]
[New Thread -1280947312 (LWP 8901)]
[New Thread -1220945008 (LWP 8899)]
[New Thread -1220863088 (LWP 8898)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()
  13 Thread -1220863088 (LWP 8898) 0xffffe410 in __kernel_vsyscall ()
  12 Thread -1220945008 (LWP 8899) 0xffffe410 in __kernel_vsyscall ()
  11 Thread -1280947312 (LWP 8901) 0xffffe410 in __kernel_vsyscall ()
  10 Thread -1300874352 (LWP 8906) 0xffffe410 in __kernel_vsyscall ()
  9 Thread -1299625072 (LWP 8907) 0xffffe410 in __kernel_vsyscall ()
  8 Thread -1314636912 (LWP 8908) 0xffffe410 in __kernel_vsyscall ()
  7 Thread -1315689584 (LWP 8909) 0xffffe410 in __kernel_vsyscall ()
  6 Thread -1316742256 (LWP 8910) 0xffffe410 in __kernel_vsyscall ()
  5 Thread -1319105648 (LWP 8911) 0xffffe410 in __kernel_vsyscall ()
  4 Thread -1323160688 (LWP 8914) 0xffffe410 in __kernel_vsyscall ()
  3 Thread -1321968752 (LWP 8917) 0xffffe410 in __kernel_vsyscall ()
  2 Thread -1327637616 (LWP 8922) 0xffffe410 in __kernel_vsyscall ()
  1 Thread -1211083040 (LWP 8897) 0xffffe410 in __kernel_vsyscall ()

Thread 13 (Thread -1220863088 (LWP 8898)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7e7b986 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x0811700b in ?? ()
#3 0xb73b139c in ?? ()
#4 0x00000000 in ?? ()

Thread 12 (Thread -1220945008 (LWP 8899)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7e785c6 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x0811c14a in ?? ()
#3 0xb788b1dc in ?? ()
#4 0xb788b1c4 in ?? ()
#5 0xb739d178 in ?? ()
#6 0x00000000 in ?? ()

Thread 11 (Thread -1280947312 (LWP 8901)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7e7884c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x0811c1c7 in ?? ()
#3 0xb788c61c in ?? ()
#4 0xb788c604 in ?? ()
#5 0xb3a6405c in ?? ()
#6 0x00000000 in ?? ()

Thread 10 (Thread -1300874352 (LWP 8906)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7dcc893 in poll () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7ebae03 in ?? () from /usr/lib/libglib-2.0.so.0
#3 0x085c0328 in ?? ()
#4 0x00000005 in ?? ()
#5 0xffffffff in ?? ()
#6 0x085c0328 in ?? ()
#7 0x00000005 in ?? ()
#8 0xb7f1e748 in ?? () from /usr/lib/libglib-2.0.so.0
#9 0x08a00408 in ?? ()
#10 0xb2763324 in ?? ()
#11 0x00000001 in ?? ()
#12 0x00000001 in ?? ()
#13 0x08a00408 in ?? ()
#14 0x085c0328 in ?? ()
#15 0xb7dcc820 in ?? () from /lib/tls/i686/cmov/libc.so.6
#16 0xb7e77be0 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#17 0xb7e76440 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#18 0xb7ed5613 in g_thread_self () from /usr/lib/libglib-2.0.so.0
#19 0xb7ebb179 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#20 0xb6dcf4a0 in ?? () from /usr/lib/libORBit-2.so.0
#21 0x08a00488 in ?? ()
#22 0xb7f1e748 in ?? () from /usr/lib/libglib-2.0.so.0
#23 0xb27633a8 in ?? ()
#24 0xb7ed5b7f in ?? () from /usr/lib/libglib-2.0.so.0
#25 0x00000000 in ?? ()

Thread 9 (Thread -1299625072 (LWP 8907)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7dcc893 in poll () from /lib/tls/i686/cmov/libc.so.6
#2 0xb1a9f9c4 in ?? ()
#3 0x08cc4ba0 in ?? ()
#4 0x00000002 in ?? ()
#5 0xffffffff in ?? ()
#6 0x00488c9c in ?? ()
#7 0xb6488c9c in ?? () from /usr/lib/libavahi-common.so.3
#8 0xb28941a0 in ?? ()
#9 0x004ce000 in ?? ()
#10 0x00000000 in ?? ()

Thread 8 (Thread -1314636912 (LWP 8908)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7e7b3a8 in accept () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x0812a47b in ?? ()
#3 0x00000042 in ?? ()
#4 0x00000000 in ?? ()

Thread 7 (Thread -1315689584 (LWP 8909)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7e7b3a8 in accept () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x0812a47b in ?? ()
#3 0x00000043 in ?? ()
#4 0x00000000 in ?? ()

Thread 6 (Thread -1316742256 (LWP 8910)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7dcc893 in poll () from /lib/tls/i686/cmov/libc.so.6
#2 0xb1a9f9c4 in ?? ()
#3 0x08d4b800 in ?? ()
#4 0x00000002 in ?? ()
#5 0xffffffff in ?? ()
#6 0x00000000 in ?? ()

Thread 5 (Thread -1319105648 (LWP 8911)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7e7884c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x0811c1c7 in ?? ()
#3 0xb788c544 in ?? ()
#4 0xb788c52c in ?? ()
#5 0xb160004c in ?? ()
#6 0x00000000 in ?? ()

Thread 4 (Thread -1323160688 (LWP 8914)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7dd6be6 in epoll_wait () from /lib/tls/i686/cmov/libc.so.6
#2 0x080e663b in ?? ()
#3 0x0000004d in ?? ()
#4 0x0941a428 in ?? ()
#5 0x00000200 in ?? ()
#6 0xffffffff in ?? ()
#7 0xb7e777fc in __pthread_mutex_unlock_usercnt ()
   from /lib/tls/i686/cmov/libpthread.so.0
#8 0x080e4f16 in ?? ()
#9 0x0822af40 in ?? ()
#10 0xb12222e8 in ?? ()
#11 0x080e65b2 in ?? ()
#12 0xb7e7a5d8 in sem_wait@GLIBC_2.0 () from /lib/tls/i686/cmov/libpthread.so.0
#13 0x0812c3cf in ?? ()
#14 0x080e65b2 in ?? ()
#15 0x0822af40 in ?? ()
#16 0x00000000 in ?? ()

Thread 3 (Thread -1321968752 (LWP 8917)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7e7884c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x0811c1c7 in ?? ()
#3 0xb788b02c in ?? ()
#4 0xb788b014 in ?? ()
#5 0xb1345198 in ?? ()
#6 0x081196a9 in ?? ()
#7 0x0811b001 in ?? ()
#8 0x00000004 in ?? ()
#9 0x47002281 in ?? ()
#10 0x36a84f40 in ?? ()
#11 0x00000400 in ?? ()
#12 0x08229a48 in ?? ()
#13 0xb13451d8 in ?? ()
#14 0x0811c457 in ?? ()
#15 0xb788b02c in ?? ()
#16 0xb788b014 in ?? ()
#17 0xb1345248 in ?? ()
#18 0x00000001 in ?? ()
#19 0x00000000 in ?? ()

Thread 2 (Thread -1327637616 (LWP 8922)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7e7884c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x0811c1c7 in ?? ()
#3 0xb78bdb70 in ?? ()
#4 0xb78bdb58 in ?? ()
#5 0xb0ddce8c in ?? ()
#6 0x00000000 in ?? ()

Thread 1 (Thread -1211083040 (LWP 8897)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7d96f59 in fork () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7e7d7e4 in fork () from /lib/tls/i686/cmov/libpthread.so.0
#3 0xb7ee27d9 in ?? () from /usr/lib/libglib-2.0.so.0
#4 0x00000010 in ?? ()
#5 0xb7e45128 in ?? () from /lib/tls/i686/cmov/libc.so.6
#6 0x095f3f60 in ?? ()
#7 0x00000028 in ?? ()
#8 0x00000000 in ?? ()
#0 0xffffe410 in __kernel_vsyscall ()

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Obviously the fix here is: don't offer these options on remote files at all.

Revision history for this message
Andrew Conkling (andrewski) wrote :

Thanks, I reported this upstream: http://bugzilla.gnome.org/show_bug.cgi?id=515853. For what it's worth, I can't reproduce the crash when trying to remove/delete in 0.13.2 on Hardy, so at least that's a step in the right direction.

Changed in banshee:
status: New → Confirmed
Changed in banshee:
status: Unknown → Confirmed
Changed in banshee (Ubuntu):
importance: Undecided → Low
status: Confirmed → Triaged
Revision history for this message
Michael Martin-Smucker (mmartinsmucker) wrote :

This bug was reported against pre-1.0 Banshee. Has anyone been able to reproduce this with Banshee 1.x (preferably 1.5 or the latest git)?

Revision history for this message
Michael Martin-Smucker (mmartinsmucker) wrote :

In case anyone is not following the upstream version of this report, it seems like the "delete from drive" option is gone, but banshee still pretends you can rename files over daap.

Changed in banshee:
importance: Unknown → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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