mtpfs crashed with SIGSEGV in fuse_compat_statfs()

Bug #948615 reported by Laurent Dinclaux
142
This bug affects 29 people
Affects Status Importance Assigned to Milestone
mtpfs (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Hello,

I get errors connecting my Galaxy Nexus using mtpfs (it should mount automatically when plugged thought!)

I get: mtpfs crashed with SIGSEGV in fuse_fs_statfs()

Commands used:

if [ ! -d ~/Galaxy\ Nexus ]; then
 mkdir ~/Galaxy\ Nexus
fi
mtpfs ~/Galaxy\ Nexus;

I am joining the mtp-detect output.

(mtp-detect command throws some stdout:

Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7510/Galaxy Tab 10.1/S2/GT-N7000/Galaxy Nexus.
Error 1: Get Storage information failed.
Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles.
Error 2: (Look this up in ptp.h for an explanation.)

)

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: mtpfs 0.9-3build1
ProcVersionSignature: Ubuntu 3.2.0-18.28-generic 3.2.9
Uname: Linux 3.2.0-18-generic x86_64
ApportVersion: 1.94-0ubuntu2
Architecture: amd64
CrashCounter: 1
Date: Wed Mar 7 12:06:37 2012
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/mtpfs
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
ProcCmdline: mtpfs /home/username/Galaxy\ Nexus
ProcEnviron:
 PATH=(custom, no user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x402b03: mov 0x10(%rdx),%rax
 PC (0x00402b03) ok
 source "0x10(%rdx)" (0x00000010) not located in a known VMA region (needed readable region)!
 destination "%rax" ok
 Stack memory exhausted (SP below stack segment)
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: mtpfs
StacktraceTop:
 ?? ()
 fuse_fs_statfs () from /lib/libfuse.so.2
 ?? () from /lib/libfuse.so.2
 ?? () from /lib/libfuse.so.2
 ?? () from /lib/libfuse.so.2
Title: mtpfs crashed with SIGSEGV in fuse_fs_statfs()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Laurent Dinclaux (dreadlox) wrote :
description: updated
description: updated
description: updated
visibility: private → public
Changed in mtpfs (Ubuntu):
status: New → Confirmed
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 ?? ()
 fuse_compat_statfs (buf=0x7f667d3aed20, path=0x7f667800a330 "/", fs=0xc63380) at fuse.c:1037
 fuse_fs_statfs (fs=0xc63380, path=0x7f667800a330 "/", buf=0x7f667d3aed20) at fuse.c:1353
 fuse_lib_statfs (req=0x7f6678000a20, ino=1) at fuse.c:2859
 do_statfs (req=<optimized out>, nodeid=<optimized out>, inarg=<optimized out>) at fuse_lowlevel.c:888

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in mtpfs (Ubuntu):
importance: Undecided → Medium
summary: - mtpfs crashed with SIGSEGV in fuse_fs_statfs()
+ mtpfs crashed with SIGSEGV in fuse_compat_statfs()
tags: removed: need-amd64-retrace
Revision history for this message
Jesus (jesus-pereira) wrote :

Samsung 7.0 Plus (I)

~$ mtp-detect
libmtp version: 1.1.3

Listing raw device(s)
Device 0 (VID=04e8 and PID=6860) is a Samsung GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note.
   Found 1 device(s):
Samsung: GT-P7310/P7510/N7000/I9100/Galaxy Tab 7.7/10.1/S2/Nexus/Note (04e8:6860) @ bus 1, dev 26
Attempting to connect device(s)
ignoring usb_claim_interface = -99

Changed in mtpfs (Ubuntu):
assignee: nobody → Jesus (jesus-pereira)
Revision history for this message
Tom Slominski (tomslominski) wrote :
Download full text (24.3 KiB)

Samsung Galaxy Nexus 4.2, connects but doesn't show files:

tom@atlas:~$ mtp-detect
libmtp version: 1.1.4

Listing raw device(s)
Device 0 (VID=04e8 and PID=685c) is a Samsung Galaxy Nexus/Galaxy S i9000/i9250, Android 4.0 updates.
   Found 1 device(s):
   Samsung: Galaxy Nexus/Galaxy S i9000/i9250, Android 4.0 updates (04e8:685c) @ bus 1, dev 3
Attempting to connect device(s)
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
USB low-level info:
   Interface has a kernel driver attached.
   bcdUSB: 512
   bDeviceClass: 0
   bDeviceSubClass: 0
   bDeviceProtocol: 0
   idVendor: 04e8
   idProduct: 685c
   IN endpoint maxpacket: 512 bytes
   OUT endpoint maxpacket: 512 bytes
   Raw device info:
      Bus location: 1
      Device number: 3
      Device entry info:
         Vendor: Samsung
         Vendor id: 0x04e8
         Product: Galaxy Nexus/Galaxy S i9000/i9250, Android 4.0 updates
         Vendor id: 0x685c
         Device flags: 0x0800a106
Configuration 0, interface 0, altsetting 0:
   Interface description contains the string "MTP"
   Device recognized as MTP, no further probing.
Device info:
   Manufacturer: samsung
   Model: Galaxy Nexus
   Device version: 1.0
   Serial number: 0149C2F80D01A007
   Vendor extension ID: 0x00000006
   Vendor extension description: microsoft.com: 1.0; android.com: 1.0;
   Detected object size: 64 bits
   Extensions:
        microsoft.com: 1.0
        android.com: 1.0
Supported operations:
   1001: get device info
   1002: Open session
   1003: Close session
   1004: Get storage IDs
   1005: Get storage info
   1006: Get number of objects
   1007: Get object handles
   1008: Get object info
   1009: Get object
   100a: Get thumbnail
   100b: Delete object
   100c: Send object info
   100d: Send object
   1014: Get device property description
   1015: Get device property value
   1016: Set device property value
   1017: Reset device property value
   101b: Get partial object
   9801: Get object properties supported
   9802: Get object property description
   9803: Get object property value
   9804: Set object property value
   9805: Get object property list
   9810: Get object references
   9811: Set object references
   95c1: Unknown (95c1)
   95c2: Unknown (95c2)
   95c3: Unknown (95c3)
   95c4: Unknown (95c4)
   95c5: Unknown (95c5)
Events supported:
   0x4002
   0x4003
   0x4004
   0x4005
Device Properties Supported:
   0xd401: Synchronization Partner
   0xd402: Friendly Device Name
   0x5003: Image Size
Playable File (Object) Types and Object Properties Supported:
   3000: Undefined Type
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object ...

Rolf Leggewie (r0lf)
Changed in mtpfs (Ubuntu):
assignee: Jesus (jesus-pereira) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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