apps using glib crash with SIGSEGV in g_file_make_directory_with_parents()

Bug #1035688 reported by Ingo Gerth
166
This bug affects 41 people
Affects Status Importance Assigned to Milestone
GLib
Fix Released
Medium
glib2.0 (Ubuntu)
Fix Released
High
Unassigned

Bug Description

This happens every time I try to import some photos. Runnig Quetazl, and trying to import photos from an external drive.

ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: shotwell 0.12.3-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-9.9-generic 3.5.0
Uname: Linux 3.5.0-9-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.4-0ubuntu6
Architecture: amd64
Date: Sat Aug 11 19:58:00 2012
ExecutablePath: /usr/bin/shotwell
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120811.1)
ProcCmdline: shotwell
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x7fc689917bf4 <g_file_make_directory_with_parents+260>: cmpl $0x1,0x4(%rax)
 PC (0x7fc689917bf4) ok
 source "$0x1" ok
 destination "0x4(%rax)" (0x00000004) not located in a known VMA region (needed writable region)!
 Stack memory exhausted (SP below stack segment)
SegvReason: writing NULL VMA
Signal: 11
SourcePackage: shotwell
StacktraceTop:
 g_file_make_directory_with_parents () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
 library_files_generate_unique_file ()
 library_files_duplicate ()
 ?? ()
 ?? ()
Title: shotwell crashed with SIGSEGV in g_file_make_directory_with_parents()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Ingo Gerth (igerth) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_file_make_directory_with_parents (file=file@entry=0x7fc630013800, cancellable=cancellable@entry=0x0, error=error@entry=0x7fc664f02a58) at /build/buildd/glib2.0-2.33.8/./gio/gfile.c:3383
 library_files_generate_unique_file (basename=0x7fc630003910 "imag0123.jpg", metadata=metadata@entry=0x2da1f80, ts=ts@entry=1344694696, collision=collision@entry=0x7fc664f02ac4, error=error@entry=0x7fc664f02ac8) at /build/buildd/shotwell-0.12.3/src/LibraryFiles.vala:30
 library_files_duplicate (src=0x2cf19a0, progress_callback=progress_callback@entry=0, progress_callback_target=progress_callback_target@entry=0x0, blacklist=blacklist@entry=1, error=error@entry=0x7fc664f02b58) at /build/buildd/shotwell-0.12.3/src/LibraryFiles.vala:74
 prepared_file_import_job_real_execute (base=<optimized out>) at /build/buildd/shotwell-0.12.3/src/BatchImport.vala:1806
 workers_thread_start (self=0x2018340, ignored=<optimized out>) at /build/buildd/shotwell-0.12.3/src/threads/Workers.vala:94

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in shotwell (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Ingo Gerth (igerth) wrote : Re: shotwell crashed with SIGSEGV in g_file_make_directory_with_parents()

Bug on Yorba Redmine (can't add myself for some reason)
http://redmine.yorba.org/issues/5656

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in shotwell (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Shotwell didn't change and we show similar issues coming from e.g gnome-settings-daemon ... glib bug?

visibility: private → public
Changed in shotwell (Ubuntu):
importance: Medium → High
Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Ingo Gerth (igerth) wrote :

Fine by me to go public. Could you link the bug to Yorba?

affects: shotwell (Ubuntu) → glib2.0 (Ubuntu)
Changed in glib2.0 (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Doug McMahon (mc3man) wrote :

Atm this is also preventing file-roller from doing extractions, (or at least some.

Changed in glib:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
gilbert.van.der.veken1@telenet.be (gilbert-van-der-veken1) wrote :

mijn pagina vooral de foto's chrasen na een tijdje worden deze in ( blokjes ) , onleesbaar en helemaal gechrast , het helpt soms als ik op de foto clik maar dan zijn er weer andere gechracht , ook de text wordt onleesbaar .

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1035688

tags: added: iso-testing
summary: - shotwell crashed with SIGSEGV in g_file_make_directory_with_parents()
+ apps using glib crash with SIGSEGV in
+ g_file_make_directory_with_parents()
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed recently:

glib2.0 (2.33.8-1ubuntu1) quantal-proposed; urgency=low

  * Add revert_g_file_make_directory_with_parents_error_propagation.patch:
    This reverts upstream commit b0bce4ad41937dabf7e5c94dcce3caf4e88f3f97
    which caused applications to segfault. The proper fix will be in the next
    glib release, so this patch should be dropped then. (LP: #1035688)

 -- Iain Lane <email address hidden> Thu, 16 Aug 2012 11:48:21 +0100

Changed in glib2.0 (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Ah, sorry, that only went to quantal-proposed.

Changed in glib2.0 (Ubuntu):
status: Fix Released → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package glib2.0 - 2.33.8-1+svn2

---------------
glib2.0 (2.33.8-1+svn2) quantal-proposed; urgency=low

  Upload current Debian svn head.

  [ Iain Lane ]
  * Add revert_g_file_make_directory_with_parents_error_propagation.patch:
    This reverts upstream commit b0bce4ad41937dabf7e5c94dcce3caf4e88f3f97
    which caused applications to segfault. The proper fix will be in the next
    glib release, so this patch should be dropped then. (LP: #1035688)

  [ Martin Pitt ]
  * Add 07_test_method_calls_on_proxy_bump_max_time.patch: On slower
    platforms, the overhead of the 240 D-BUS Sleep calls is larger than
    the current maximum of 6 seconds. Bump maximum time to 8 seconds to be
    more resilient to this.
  * Add 08_disable_gapplication_basic_test.patch: Disable /gapplication/basic
    test. It's full of race conditions and keeps breaking builds.
 -- Martin Pitt <email address hidden> Mon, 20 Aug 2012 09:39:31 +0200

Changed in glib2.0 (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
gilbert.van.der.veken1@telenet.be (gilbert-van-der-veken1) wrote :

heel de pagina wordt onleesbaar , en foto's chrash onherkenbaar met blokjes kleuren lopen door elkaar , als ik daar over een andere pagina zet is deze pag , goed of films deze zijn vrij goed op hoge snelheid ingesteld ! zelfs een film op groot scherm is vrij goed , maar wordt de film gestopt en verklein terug dan kan ook deze pag . chrach . met blokjes . het kan zo slecht worden dat ik de pc moet uitzetten , even wachten ! daarna terug aan zetten , dan is het voor een tijdje beter . herstarten dat helpt niet ! het lijkt er op dat de pc dan niet goed uitgezet wordt .

Changed in glib:
status: Confirmed → Fix Released
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.