After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 564492 - Crash when loading playlists from Creative Zen
Crash when loading playlists from Creative Zen
Status: RESOLVED DUPLICATE of bug 542117
Product: banshee
Classification: Other
Component: Device - MTP
1.4.1
Other All
: Normal critical
: 1.x
Assigned To: Patrick van Staveren
Patrick van Staveren
Depends on:
Blocks:
 
 
Reported: 2008-12-14 15:27 UTC by Diogo S. Martins
Modified: 2009-02-13 03:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Diogo S. Martins 2008-12-14 15:27:50 UTC
Steps to reproduce:
1. Start banshee
2. Connect Creative Zen (ID 041e:4157)
3. Crash when loading device contents


Stack trace:
$ LD_LIBRARY_PATH=/usr/lib/banshee-1 mono --debug /usr/lib/banshee-1/Banshee.exe

** (/usr/lib/banshee-1/Banshee.exe:15625): WARNING **: Symbol file /usr/lib/mono/gac/NDesk.DBus/1.0.0.0__f6716e4f9b2ed099/NDesk.DBus.dll.mdb has incorrect version (expected 50.0, got 39)
[Info  11:47:15.970] Running Banshee 1.4.1

** (/usr/lib/banshee-1/Banshee.exe:15625): WARNING **: Symbol file /usr/lib/mono/gac/Mono.Addins/0.3.0.0__0738eb9f132ed756/Mono.Addins.dll.mdb has incorrect version (expected 50.0, got 39)

** (Banshee:15625): WARNING **: Symbol file /usr/lib/mono/gac/NDesk.DBus.GLib/1.0.0.0__f6716e4f9b2ed099/NDesk.DBus.GLib.dll.mdb has incorrect version (expected 50.0, got 39)

** (Banshee:15625): WARNING **: Symbol file /usr/lib/mono/gac/Mono.Addins.Setup/0.3.0.0__0738eb9f132ed756/Mono.Addins.Setup.dll.mdb has incorrect version (expected 50.0, got 39)

** (Banshee:15625): WARNING **: Symbol file /usr/lib/mono/gac/Mono.Addins.Gui/0.3.0.0__0738eb9f132ed756/Mono.Addins.Gui.dll.mdb has incorrect version (expected 50.0, got 39)

** (Banshee:15625): WARNING **: Symbol file /usr/lib/mono/gac/Boo.Lang.Compiler/2.0.0.0__32c39770e9a21a67/Boo.Lang.Compiler.dll.mdb has incorrect version (expected 50.0, got 39)
[Warn  11:47:17.128] Caught an exception - libbanshee (in `Banshee.GStreamer')
  at (wrapper managed-to-native) Banshee.GStreamer.Service:gstreamer_initialize (bool,Banshee.GStreamer.Service/BansheeLogHandler)
  at Banshee.GStreamer.Service.Banshee.ServiceStack.IExtensionService.Initialize () [0x0001e] in /builddir/build/BUILD/banshee-1-1.4.1/src/Backends/Banshee.GStreamer/Banshee.GStreamer/Service.cs:61 
  at Banshee.ServiceStack.ServiceManager.StartExtension (Mono.Addins.TypeExtensionNode node) [0x00034] in /builddir/build/BUILD/banshee-1-1.4.1/src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs:198 
[Warn  11:47:17.130] Extension `Banshee.GStreamer.Service' not started: libbanshee

** (Banshee:15625): WARNING **: Symbol file /usr/lib/mono/gac/Boo.Lang/2.0.0.0__32c39770e9a21a67/Boo.Lang.dll.mdb has incorrect version (expected 50.0, got 39)
[Warn  11:47:17.710] Caught an exception - libbanshee (in `Banshee.GStreamer')
  at (wrapper managed-to-native) Banshee.GStreamer.Service:gstreamer_initialize (bool,Banshee.GStreamer.Service/BansheeLogHandler)
  at Banshee.GStreamer.Service.Banshee.ServiceStack.IExtensionService.Initialize () [0x0001e] in /builddir/build/BUILD/banshee-1-1.4.1/src/Backends/Banshee.GStreamer/Banshee.GStreamer/Service.cs:61 
  at Banshee.ServiceStack.ServiceManager.StartExtension (Mono.Addins.TypeExtensionNode node) [0x00034] in /builddir/build/BUILD/banshee-1-1.4.1/src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs:198 
[Warn  11:47:17.711] Extension `Banshee.GStreamer.Service' not started: libbanshee
[Info  11:47:17.712] All services are started 1.533251s
[Info  11:47:18.733] nereid Client Started
PTP: Opening session
Stacktrace:

  at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_string_new_wrapper (intptr) <0x00004>
  at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_string_new_wrapper (intptr) <0xffffffff>
  at (wrapper unknown) Mtp.PlaylistStruct.PtrToStructure (intptr,object) <0xffffffff>
  at (wrapper runtime-invoke) Mtp.MtpDeviceStruct.runtime_invoke_void_intptr_object (object,intptr,intptr,intptr) <0xffffffff>
  at (wrapper managed-to-native) System.Runtime.InteropServices.Marshal.PtrToStructure (intptr,System.Type) <0x00004>
  at (wrapper managed-to-native) System.Runtime.InteropServices.Marshal.PtrToStructure (intptr,System.Type) <0xffffffff>
  at Mtp.MtpDevice.GetPlaylists () [0x00017] in /builddir/build/BUILD/banshee-1-1.4.1/src/Libraries/Mtp/Mtp/MtpDevice.cs:194
  at Banshee.Dap.Mtp.MtpSource.LoadFromDevice () [0x000cb] in /builddir/build/BUILD/banshee-1-1.4.1/src/Dap/Banshee.Dap.Mtp/Banshee.Dap.Mtp/MtpSource.cs:181
  at Banshee.Dap.DapSource.ThreadedLoadDeviceContents (object) [0x00022] in /builddir/build/BUILD/banshee-1-1.4.1/src/Dap/Banshee.Dap/Banshee.Dap/DapSource.cs:278
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

	/usr/lib/libmono.so.0 [0x1c3502]
	/usr/lib/libmono.so.0 [0x1e3fb3]
	[0x11040c]
	/lib/libc.so.6(strlen+0x33) [0x9443b3]
	/usr/lib/libmono.so.0(mono_string_new+0x2c) [0x21c1fc]
	/usr/lib/libmono.so.0(mono_string_new_wrapper+0x33) [0x21c2a3]
	[0x1fa17d2]
	[0x385965e]
	[0x55ea55b]
	/usr/lib/libmono.so.0 [0x19a2b2]
	/usr/lib/libmono.so.0(mono_runtime_invoke+0x73) [0x219a43]
	/usr/lib/libmono.so.0 [0x24b406]
	[0x5c3dc4d]
	[0x38593bb]
	[0x2fc0ba6]
	[0x2fbdad2]
	[0x5da4d86]
	/usr/lib/libmono.so.0 [0x19a2b2]
	/usr/lib/libmono.so.0(mono_runtime_invoke+0x73) [0x219a43]
	/usr/lib/libmono.so.0(mono_runtime_invoke_array+0x3ac) [0x21e8cc]
	/usr/lib/libmono.so.0 [0x21eb1a]
	/usr/lib/libmono.so.0 [0x261c9f]
	/usr/lib/libmono.so.0 [0x262130]
	/usr/lib/libmono.so.0 [0x25e42f]
	/usr/lib/libmono.so.0 [0x2d5936]
	/usr/lib/libmono.so.0 [0x2f9875]
	/lib/libpthread.so.0 [0x8a751f]
	/lib/libc.so.6(clone+0x5e) [0x9b104e]

Debug info from gdb:

[Thread debugging using libthread_db enabled]
[New Thread 0xb7fe46e0 (LWP 15625)]
[New Thread 0x6f59b90 (LWP 15654)]
[New Thread 0x3eb4b90 (LWP 15635)]
[New Thread 0x2a45b90 (LWP 15631)]
[New Thread 0x11bab90 (LWP 15630)]
[New Thread 0x635fb90 (LWP 15629)]
[New Thread 0x108bb90 (LWP 15628)]
[New Thread 0x4e9b90 (LWP 15627)]
[New Thread 0x3e8b90 (LWP 15626)]
0x00110416 in __kernel_vsyscall ()
  9 Thread 0x3e8b90 (LWP 15626)  0x00110416 in __kernel_vsyscall ()
  8 Thread 0x4e9b90 (LWP 15627)  0x00110416 in __kernel_vsyscall ()
  7 Thread 0x108bb90 (LWP 15628)  0x00110416 in __kernel_vsyscall ()
  6 Thread 0x635fb90 (LWP 15629)  0x00110416 in __kernel_vsyscall ()
  5 Thread 0x11bab90 (LWP 15630)  0x00110416 in __kernel_vsyscall ()
  4 Thread 0x2a45b90 (LWP 15631)  0x00110416 in __kernel_vsyscall ()
  3 Thread 0x3eb4b90 (LWP 15635)  0x00110416 in __kernel_vsyscall ()
  2 Thread 0x6f59b90 (LWP 15654)  0x00110416 in __kernel_vsyscall ()
* 1 Thread 0xb7fe46e0 (LWP 15625)  0x00110416 in __kernel_vsyscall ()

Thread 2 (Thread 0x6f59b90 (LWP 15654))

  • #0 __kernel_vsyscall
  • #1 read
    from /lib/libpthread.so.0
  • #2 read
    at /usr/include/bits/unistd.h line 45
  • #3 mono_handle_native_sigsegv
    at mini-exceptions.c line 1327
  • #4 mono_arch_handle_altstack_exception
    at exceptions-x86.c line 855
  • #5 <signal handler called>
  • #6 strlen
    at ../sysdeps/i386/i486/strlen.S line 69
  • #7 mono_string_new
    at object.c line 3894
  • #8 mono_string_new_wrapper
    at object.c line 3940
  • #9 ??
  • #10 ??
  • #11 ??
  • #12 ??
  • #13 ??
  • #14 ??
  • #15 ??
  • #16 ??
  • #17 ??
  • #18 ??
  • #19 ??
  • #20 ??
  • #21 ??
  • #22 ??
  • #23 ??
  • #24 ??
  • #25 ??
  • #26 ??
  • #27 geteuid
    at ../sysdeps/unix/sysv/linux/i386/geteuid.c line 36
  • #28 ??
  • #29 ??
  • #30 ??
  • #31 ??
  • #32 ??
  • #33 ??
  • #34 ??
  • #35 geteuid
    at ../sysdeps/unix/sysv/linux/i386/geteuid.c line 36
  • #36 ??
  • #37 ??
  • #38 ??
  • #39 mono_jit_runtime_invoke
    at mini.c line 13300

=================================================================
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.
=================================================================

Aborted

Other information:
If the device has no playlists, the crash does not occur, device loads successfully. But if it has at least one playlist, banshee always crashes, without exception. In my device (Creative Zen 16GB, lsusb id: 041e:4157) playlists are stored in folder "/My Playlists/".

System:
Fedora 10
libmtp-0.3.4-1.fc10.i386
banshee-1.4.1-1.fc10.i386
Comment 1 undertakingyou 2009-01-04 04:11:46 UTC
Same behaviour is exhibited here.
ubuntu 8.10
banshee-1.4.1-1~intrepid1
libmtp 0.3.0-1ubuntu1

This done with a Zen V Plus and Zen Vision
Comment 2 T. Sharpe 2009-01-04 04:18:42 UTC
Does they same on my Fedora 10 laptop, Zen Vision.
Comment 3 T. Sharpe 2009-01-04 17:25:24 UTC
Sorry wrote that late last night, past my bed time :(
Similar troubles on my laptop:

Fedora 10
libmtp-0.3.4-1.fc10.i386
banshee-1.4.1-1.fc10.i386

On one of my desktop, no such trouble:
Ubuntu 8.10
banshee-1.4.1-1~hardy1 (interesting)
libmtp 0.2.6.1-2ubuntu1 (interesting)

I installed from the PPA under ubuntu 8.04 (hardy) then upgraded to ubuntu 8.10 (intrepid) after the PPA had been disabled. It appears that I am running a older version of libmtp, and banshee 1.4.1 for hardy. Everything runs fine.

Product: Zen Vision
Screenshot: http://tinyurl.com/95m2ax
Comment 4 Gabriel Burt 2009-02-13 03:08:13 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 542117 ***