pantheon-files crashed with SIGSEGV in fm_list_model_get_tree_iter_from_file()

Bug #1017094 reported by zinga
300
This bug affects 49 people
Affects Status Importance Assigned to Milestone
Files
Fix Released
High
Julián Unrrein

Bug Description

Can't remember what I did, sorry...

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: pantheon-files 0.1-0~r855+pkg8~precise1 [origin: LP-PPA-elementary-os-daily]
ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
Uname: Linux 3.2.0-25-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
CrashCounter: 1
CrashDB: pantheon_files
Date: Sun Jun 24 11:30:48 2012
ExecutablePath: /usr/bin/pantheon-files
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
ProcCmdline: pantheon-files
ProcEnviron:
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x7fc04c0ed354 <fm_list_model_get_tree_iter_from_file+20>: callq 0x7fc04c0ec610
 PC (0x7fc04c0ed354) ok
 source "0x7fc04c0ec610" (0x7fc04c0ec610) ok
 destination "(%rsp)" (0x7fff32e25000) not located in a known VMA region (needed writable region)!
 Stack memory exhausted (SP below stack segment)
SegvReason: writing unknown VMA
Signal: 11
SourcePackage: pantheon-files
StacktraceTop:
 fm_list_model_get_tree_iter_from_file () from /usr/lib/libmarlincore.so.0
 fm_list_model_remove_file () from /usr/lib/libmarlincore.so.0
 ?? () from /usr/lib/libmarlincore.so.0
 fm_list_model_remove_file () from /usr/lib/libmarlincore.so.0
 ?? () from /usr/lib/libmarlincore.so.0
SuspiciousXErrors:

Title: pantheon-files crashed with SIGSEGV in fm_list_model_get_tree_iter_from_file()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Related branches

Revision history for this message
zinga (zinga) wrote :
Revision history for this message
zinga (zinga) wrote :

Seems like this could be a duplicate of bug #1017090 which I just reported before...

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

StacktraceTop:
 fm_list_model_get_tree_iter_from_file (model=0xd80320, file=0xf7da20, directory=0x7fc02c012520, iter=0x7fff32e25020) at /build/buildd/pantheon-files-0.1/libcore/fm-list-model.c:513
 fm_list_model_remove_file (model=0xd80320, file=<optimized out>, directory=<optimized out>) at /build/buildd/pantheon-files-0.1/libcore/fm-list-model.c:961
 fm_list_model_remove (model=0xd80320, iter=0x7fff32e250c0) at /build/buildd/pantheon-files-0.1/libcore/fm-list-model.c:888
 fm_list_model_remove_file (model=0xd80320, file=<optimized out>, directory=<optimized out>) at /build/buildd/pantheon-files-0.1/libcore/fm-list-model.c:962
 fm_list_model_remove (model=0xd80320, iter=0x7fff32e25160) at /build/buildd/pantheon-files-0.1/libcore/fm-list-model.c:888

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote : Stacktrace.txt
Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote : ThreadStacktrace.txt
tags: removed: need-amd64-retrace
Revision history for this message
Juan Montoya (th3pr0ph3t) wrote :

I moved a folder and the file manager died.
The files were moved successfully though.

Changed in pantheon-files:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Julián Unrrein (junrrein) wrote :

To reproduce:
Select List Mode
Move a folder from an expanded directory to the current directory.

See attachment.

Revision history for this message
Julián Unrrein (junrrein) wrote :

Notes:
- The destination directory doesn't matter (even dragging to a directory in the sidebar triggers the bug).
- Using Cut and Paste from context menu also triggers this bug.
- The bug doesn't happen if the source directory is collapsed after using Cut.

All of this points towards that the origin of the bug is in trying to remove the moved directory from the list model.

Changed in pantheon-files:
assignee: nobody → Julián Unrrein (junrrein)
status: Confirmed → In Progress
Cody Garver (codygarver)
Changed in pantheon-files:
milestone: none → luna-beta2
Cody Garver (codygarver)
Changed in pantheon-files:
status: In Progress → Fix Released
Revision history for this message
Diego Rodrigues (cc-inc) wrote :

This happened to me while I was moving a folder to the trash bin.

Revision history for this message
Julián Unrrein (junrrein) wrote :

Diego, did you submit a bug report about your problem and it was marked as a duplicate of this one? If not, you should submit a crash report first, so that it can be confirmed whether it is the same bug or not.

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.