gvfs-gphoto2-volume-monitor crashed with SIGSEGV in dtoh32ap()

Bug #955036 reported by boliks
178
This bug affects 19 people
Affects Status Importance Assigned to Milestone
libgphoto
Unknown
Unknown
libgphoto2 (Ubuntu)
Fix Released
High
Martin Pitt
Precise
Fix Released
High
Martin Pitt

Bug Description

.

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: gvfs-backends 1.11.4-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9
Uname: Linux 3.2.0-18-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 1.94.1-0ubuntu2
Architecture: i386
Date: Wed Mar 14 15:30:16 2012
ExecutablePath: /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
ProcCmdline: /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
SegvAnalysis:
 Segfault happened at: 0x35e116: mov 0x0(%ebp),%esi
 PC (0x0035e116) ok
 source "0x0(%ebp)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%esi" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: gvfs
StacktraceTop:
 ?? () from /usr/lib/i386-linux-gnu/libgphoto2/2.4.13/ptp2.so
 ?? () from /usr/lib/i386-linux-gnu/libgphoto2/2.4.13/ptp2.so
 ?? () from /usr/lib/i386-linux-gnu/libgphoto2.so.2
 gp_camera_get_storageinfo () from /usr/lib/i386-linux-gnu/libgphoto2.so.2
 ?? ()
Title: gvfs-gphoto2-volume-monitor crashed with SIGSEGV in gp_camera_get_storageinfo()
UpgradeStatus: Upgraded to precise on 2012-03-13 (1 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Related branches

Revision history for this message
boliks (boliks) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 dtoh32ap (a=0x0, params=<optimized out>) at ptp2/ptp-pack.c:76
 ptp_unpack_uint32_t_array (array=0xbfea648c, offset=0, data=0x0, params=0x9cc1e98) at ptp2/ptp-pack.c:237
 ptp_unpack_SIDs (sids=0xbfea6488, data=0x0, params=0x9cc1e98, len=<optimized out>) at ptp2/ptp-pack.c:411
 ptp_getstorageids (params=0x9cc1e98, storageids=0xbfea6488) at ptp2/ptp.c:606
 storage_info_func (fs=0x9c93430, sinfos=0xbfea69d8, nrofsinfos=0xbfea69e0, data=0x9c92730, context=0x9c947b0) at ptp2/library.c:5004

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 gvfs (Ubuntu):
importance: Undecided → Medium
summary: - gvfs-gphoto2-volume-monitor crashed with SIGSEGV in
- gp_camera_get_storageinfo()
+ gvfs-gphoto2-volume-monitor crashed with SIGSEGV in dtoh32ap()
tags: removed: need-i386-retrace
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gvfs (Ubuntu):
status: New → Confirmed
visibility: private → public
Changed in gvfs (Ubuntu):
importance: Medium → High
Changed in gvfs (Ubuntu Precise):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
Martin Pitt (pitti)
affects: gvfs (Ubuntu Precise) → libgphoto2 (Ubuntu Precise)
Revision history for this message
Martin Pitt (pitti) wrote :

I analyzed the stack trace and send two proposals to the upstream bug. Unfortunately I don't have a device which reproduces this; is there anyone amongst the reporters who can reproduce this and would be willing to test some patches and/or a package from a PPA?

Changed in libgphoto2 (Ubuntu Precise):
assignee: Canonical Desktop Team (canonical-desktop-team) → Martin Pitt (pitti)
status: Confirmed → Triaged
Revision history for this message
durilka (durilka) wrote :

Ppa is an option, yep.

Revision history for this message
Martin Pitt (pitti) wrote :
Changed in libgphoto2 (Ubuntu Precise):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libgphoto2 - 2.4.13-1ubuntu1

---------------
libgphoto2 (2.4.13-1ubuntu1) precise; urgency=low

  * Add 00svn_empty_SID_list.patch: Fix crash when device returns a
    zero-length SID list. Patch taken from upstream SVN head. (LP: #955036)
 -- Martin Pitt <email address hidden> Thu, 29 Mar 2012 14:44:18 +0200

Changed in libgphoto2 (Ubuntu Precise):
status: Fix Committed → Fix Released
Revision history for this message
fmo (fmo) wrote :

The problem seems to have gone away with this morning's update for me as well.

Thank you for fixing this problem!

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.