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 559826 - Banshee crashed when started when MTP device (sansa e280) plugged in.
Banshee crashed when started when MTP device (sansa e280) plugged in.
Status: RESOLVED DUPLICATE of bug 542117
Product: banshee
Classification: Other
Component: Device - MTP
1.4.1
Other Linux
: Normal major
: 1.x
Assigned To: Patrick van Staveren
Patrick van Staveren
Depends on:
Blocks:
 
 
Reported: 2008-11-08 01:30 UTC by Nathaniel Sherry
Modified: 2009-01-30 00:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nathaniel Sherry 2008-11-08 01:30:00 UTC
When starting up banshee with a sansa e280 plugged in and set to use MTP, banshee crashes.

Terminal output was the following:

$ banshee-1
[Info  20:26:54.333] Running Banshee 1.2.1
[Info  20:26:56.484] All services are started 1.76978s
[Info  20:26:57.880] 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.FolderStruct.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.Folder.GetRootFolders (Mtp.MtpDevice) <0x00072>
  at Mtp.MtpDevice.GetRootFolders () <0x0000a>
  at Mtp.MtpDevice.SetDefaultFolders () <0x0001e>
  at Mtp.MtpDevice..ctor (Mtp.MtpDeviceHandle,Mtp.MtpDeviceStruct) <0x00039>
  at Mtp.MtpDevice..ctor (intptr,bool,Mtp.MtpDeviceStruct) <0x0004b>
  at Mtp.MtpDevice.Detect () <0x000c3>
  at Banshee.Dap.Mtp.MtpSource.DeviceInitialize (Banshee.Hardware.IDevice) <0x000c7>
  at Banshee.Dap.DapService.FindDeviceSource (Banshee.Hardware.IDevice) <0x000a5>
  at <>c__CompilerGenerated1.<MapDevice>c__6 () <0x0040e>
  at Banshee.Kernel.DelegateJob.RunJob () <0x0000c>
  at Banshee.Kernel.Job.Run () <0x0000b>
  at Banshee.Kernel.Scheduler.ProcessJobThread () <0x0014f>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

	banshee-1 [0x817b4ae]
	banshee-1 [0x807f78b]
	[0xb7f09410]
	banshee-1(mono_string_new_wrapper+0x23) [0x809cab3]
	[0xb4dffa6f]
	[0xb387efbb]
	[0xb387e6a3]
	banshee-1 [0x80c65c8]
	[0xb4da8f42]
	[0xb387ec13]
	[0xb387eb8b]
	[0xb387ea07]
	[0xb387e80a]
	[0xb387e77c]
	[0xb387e3f4]
	[0xb387dd90]
	[0xb387d00e]
	[0xb3873c7f]
	[0xb39ff0b5]
	[0xb39ff094]
	[0xb39fed48]
	[0xb7897059]
	banshee-1(mono_runtime_delegate_invoke+0x35) [0x8098c55]
	banshee-1 [0x80d5fdf]
	banshee-1 [0x81279de]
	banshee-1 [0x813ff75]
	/lib/tls/i686/cmov/libpthread.so.0 [0xb7dfb50f]
	/lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0xb7d527ee]

Debug info from gdb:

(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 0xb7c456d0 (LWP 10108)]
[New Thread 0xb3612b90 (LWP 10139)]
[New Thread 0xb373ab90 (LWP 10138)]
[New Thread 0xb383bb90 (LWP 10137)]
[New Thread 0xb3982b90 (LWP 10122)]
[New Thread 0xb3d25b90 (LWP 10119)]
[New Thread 0xb3e2ab90 (LWP 10118)]
[New Thread 0xb3f2fb90 (LWP 10117)]
[New Thread 0xb61d6b90 (LWP 10111)]
[New Thread 0xb7300b90 (LWP 10110)]
[New Thread 0xb7888b90 (LWP 10109)]
(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)
0xb7f09430 in __kernel_vsyscall ()
  11 Thread 0xb7888b90 (LWP 10109)  0xb7f09430 in __kernel_vsyscall ()
  10 Thread 0xb7300b90 (LWP 10110)  0xb7f09430 in __kernel_vsyscall ()
  9 Thread 0xb61d6b90 (LWP 10111)  0xb7f09430 in __kernel_vsyscall ()
  8 Thread 0xb3f2fb90 (LWP 10117)  0xb7f09430 in __kernel_vsyscall ()
  7 Thread 0xb3e2ab90 (LWP 10118)  0xb7f09430 in __kernel_vsyscall ()
  6 Thread 0xb3d25b90 (LWP 10119)  0xb7f09430 in __kernel_vsyscall ()
  5 Thread 0xb3982b90 (LWP 10122)  0xb7f09430 in __kernel_vsyscall ()
  4 Thread 0xb383bb90 (LWP 10137)  0xb7f09430 in __kernel_vsyscall ()
  3 Thread 0xb373ab90 (LWP 10138)  0xb7f09430 in __kernel_vsyscall ()
  2 Thread 0xb3612b90 (LWP 10139)  0xb7f09430 in __kernel_vsyscall ()
  1 Thread 0xb7c456d0 (LWP 10108)  0xb7f09430 in __kernel_vsyscall ()

Thread 5 (Thread 0xb3982b90 (LWP 10122))

  • #0 __kernel_vsyscall
  • #1 select
    from /lib/tls/i686/cmov/libc.so.6
  • #2 g_spawn_sync
    from /usr/lib/libglib-2.0.so.0
  • #3 g_spawn_command_line_sync
    from /usr/lib/libglib-2.0.so.0
  • #4 ??
  • #5 ??
  • #6 <signal handler called>
  • #7 strlen
    from /lib/tls/i686/cmov/libc.so.6
  • #8 mono_string_new
  • #9 mono_string_new_wrapper
  • #10 ??
  • #11 ??
  • #12 ??
  • #13 ??
  • #14 ??
  • #15 ??
  • #16 ??
  • #17 ??
  • #18 ??
  • #19 ??
  • #20 ??
  • #21 ??
  • #22 ??
  • #23 ??
  • #24 ??
  • #25 ??
  • #26 ??
  • #27 ??
  • #28 mono_runtime_delegate_invoke
  • #29 ??
  • #30 ??
  • #31 ??
  • #32 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #33 clone
    from /lib/tls/i686/cmov/libc.so.6


=================================================================
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
Comment 1 Bertrand Lorentz 2008-11-08 09:27:06 UTC
Which version of libmtp are you using ?
Comment 2 Nathaniel Sherry 2008-11-08 18:43:36 UTC
I'm running a pretty standard Ubuntu Intrepid install. The package libmtp8 is marked as version 0.3.0-1ubuntu1.
Comment 3 Nathaniel Sherry 2008-11-08 19:11:32 UTC
I've just now built and installed libmtp 0.3.3, and am still receiving the same error.
Comment 4 Nathaniel Sherry 2008-11-22 16:37:41 UTC
This also happens with a Sansa View 8GB in Banshee 1.4.1, as well. 
Comment 5 Gabriel Burt 2009-01-30 00:17:50 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 ***