Thunar crashed with SIGSEGV in fast_validate()

Bug #913041 reported by Sergey
156
This bug affects 34 people
Affects Status Importance Assigned to Milestone
Thunar File Manager
Unknown
Unknown
thunar (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

thunar crashed when mounting NTFS

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: thunar 1.2.3-2build1
ProcVersionSignature: Ubuntu 3.2.0-8.14-generic 3.2.0
Uname: Linux 3.2.0-8-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.90-0ubuntu1
Architecture: amd64
CrashCounter: 1
Date: Sat Jan 7 14:42:58 2012
ExecutablePath: /usr/bin/Thunar
InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcCmdline: thunar
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=ru_RU.UTF-8
SegvAnalysis:
 Segfault happened at: 0x7f1cd6a6b738 <g_utf8_validate+488>: movzbl (%rdi),%r8d
 PC (0x7f1cd6a6b738) ok
 source "(%rdi)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%r8d" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: thunar
StacktraceTop:
 g_utf8_validate () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 g_filename_display_name () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 ?? ()
 ?? ()
 ?? ()
Title: Thunar crashed with SIGSEGV in g_utf8_validate()
UpgradeStatus: Upgraded to precise on 2011-12-12 (25 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Sergey (stopkin-sergey) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 fast_validate (str=<optimized out>) at /build/buildd/glib2.0-2.31.6/./glib/gutf8.c:1459
 g_utf8_validate (str=0x0, max_len=-1, end=0x0) at /build/buildd/glib2.0-2.31.6/./glib/gutf8.c:1627
 g_filename_display_name (filename=0x0) at /build/buildd/glib2.0-2.31.6/./glib/gconvert.c:2223
 thunar_file_load (file=0x7f1cdb51e240, cancellable=<optimized out>, error=0x7fff2a9c7018) at thunar-file.c:887
 thunar_file_get (gfile=0x0, error=0x7fff2a9c7018) at thunar-file.c:631

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 thunar (Ubuntu):
importance: Undecided → Medium
summary: - Thunar crashed with SIGSEGV in g_utf8_validate()
+ Thunar crashed with SIGSEGV in fast_validate()
tags: removed: need-amd64-retrace
Changed in thunar (Ubuntu):
status: New → Triaged
visibility: private → public
tags: added: bugpattern-needed
Revision history for this message
Miś Uszatek (mis.uszatek) wrote :

When mounting the partition (lvm2) thunar crashes.

$gdb thunar
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/thunar...Reading symbols from /usr/lib/debug/.build-id/65/b897609290d2d3c487583e9b2456ea7ddd2ba9.debug...done.
done.
(gdb) r
Starting program: /usr/bin/thunar
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[New Thread 0xae1a2b40 (LWP 32219)]

(thunar:32216): GLib-GIO-CRITICAL **: g_mount_get_root: assertion `G_IS_MOUNT (mount)' failed

(thunar:32216): GLib-GIO-CRITICAL **: g_file_hash: assertion `G_IS_FILE (file)' failed

(thunar:32216): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(thunar:32216): GLib-GIO-CRITICAL **: g_file_query_info: assertion `G_IS_FILE (file)' failed

(thunar:32216): GLib-GIO-CRITICAL **: g_file_info_get_file_type: assertion `G_IS_FILE_INFO (info)' failed

(thunar:32216): GLib-GIO-CRITICAL **: g_file_get_basename: assertion `G_IS_FILE (file)' failed

(thunar:32216): GLib-GIO-CRITICAL **: g_file_has_prefix: assertion `G_IS_FILE (file)' failed

(thunar:32216): GLib-GIO-CRITICAL **: g_file_is_native: assertion `G_IS_FILE (file)' failed

(thunar:32216): GLib-GIO-CRITICAL **: g_file_get_uri: assertion `G_IS_FILE (file)' failed

Program received signal SIGSEGV, Segmentation fault.
0xb75fa8b0 in g_utf8_validate () from /lib/i386-linux-gnu/libglib-2.0.so.0
(gdb) q
A debugging session is active.

 Inferior 1 [process 32216] will be killed.

Quit anyway? (y or n) y

tags: added: fixed-in-master
tags: added: cherry-pick
Changed in thunar (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package thunar - 1.6.0-0ubuntu1

---------------
thunar (1.6.0-0ubuntu1) raring; urgency=low

  * Upload to raring.
  * Remaining Ubuntu change:
    - debian/control: recommend udisks2 for mounting devices. lp: #1014632
  * Drop obsolete Ubuntu changes:
    - debian/patches/02_guard-for-no-supported-vfs-schemas.patch,
      debian/patches/xubuntu_fix-duplicate-volumes.patch: included upstream.
  * Bugs fixed:
    - "Thunar: sendto_printer broken" lp: #1061846
    - "segfault when a specific html file is selected" lp: #751739
    - "can't book mark remote shares" lp: #778268
    - "Thunar crashed with SIGSEGV in thunarx_menu_provider_get_file_actions()
      thinking a directory was a file" lp: #852410
    - "Left or right-clicking on 3MB or bigger svg file is unresponsive"
      lp: #893330
    - "Thunar crashed with SIGSEGV in fast_validate()" lp: #913041
    - "Thunar crashed with SIGSEGV in thunar_file_get_display_name()"
      lp: #931101
    - "Thunar crashed with SIGSEGV in sort_by_mime_type()" lp: #931842
    - "Thunar crashed with SIGSEGV in thunar_util_parse_parent()" lp: #969222
    - "thunar crashed with SIGSEGV in thunar_standard_view_cancel_thumbnailing()"
      lp: #1059397
    - "Does not unmount USB drive when you try first time" lp: #1059997
    - "regression: thunar no longer shows all unmounted, but mountable, volumes
      in sidepane" lp: #1068947
    - "Thunar shows folder sizes wrong" lp: #59235
    - "Right-click "Open With" list not refreshing" lp: #107392
    - "no thunar contextmenu with GTK setting "gtk-menu-popup-delay = 0""
      lp: #127372
    - "rename folder, still active but answers not on 'Enter'" lp: #479975
    - "Thunar hangs on first launch of each session" lp: #775117
    - "emblems disappear on rename" lp: #877755
    - "Remote Deleted file in Thunar remains visible until resfresh" lp: #999824
    - "Incorrect alphabetical sort order in thunar with non-latin (eg. cyrillic)
      file names" lp: #684317
    - "Thunar does not display current folder name" lp: #875193
    - "Thunar crashed with SIGSEGV in g_file_equal()" lp: #900306
    - "Hard to see, if volume is mounted or not" lp: #838917

thunar (1.6.0-1) UNRELEASED; urgency=low

  [ Lionel Le Folgoc ]
  * Drop the "Send to printer" action, xfprint4 is obsolete.
  * debian/control:
    - dropped libtdb-dev from b-deps, emblems have been moved to gvfs.
    - bumped minimum required exo version to 0.10.0 for the new symbol.

  [ Yves-Alexis Perez ]
  * New upstream release.
 -- Lionel Le Folgoc <email address hidden> Mon, 03 Dec 2012 13:13:58 +0100

Changed in thunar (Ubuntu):
status: Fix Committed → Fix Released
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/913041

tags: added: iso-testing
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.