ext3grep assert failure: ext3grep: restore.cc:127: void restore_file(const std::string&): Assertion `outfile[0] != '/'' failed.

Bug #540881 reported by arifulin
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ext3grep (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: ext3grep

do not works well

ProblemType: Crash
Architecture: amd64
AssertionMessage: ext3grep: restore.cc:127: void restore_file(const std::string&): Assertion `outfile[0] != '/'' failed.
Date: Thu Mar 18 18:13:02 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/ext3grep
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
Package: ext3grep 0.10.1-3
ProcCmdline: ext3grep /dev/sda6 --restore-file /home/artyom/Ubuntu\ One/omegasoft-files-2/
ProcEnviron:
 PATH=(custom, no user)
 LANG=ru_RU.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
Signal: 6
SourcePackage: ext3grep
StacktraceTop:
 raise () from /lib/libc.so.6
 abort () from /lib/libc.so.6
 __assert_fail () from /lib/libc.so.6
 ?? ()
 ?? ()
Title: ext3grep assert failure: ext3grep: restore.cc:127: void restore_file(const std::string&): Assertion `outfile[0] != '/'' failed.
Uname: Linux 2.6.32-16-generic x86_64
UserGroups: adm admin audio cdrom dialout dip fax fuse lpadmin netdev plugdev root sambashare tape video

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

StacktraceTop:
 *__GI_raise (sig=<value optimized out>)
 *__GI_abort () at abort.c:92
 *__GI___assert_fail (
 restore_file (outfile=@0x76f540) at restore.cc:127
 run_program () at ext3grep.cc:491

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 ext3grep (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
security vulnerability: yes → no
visibility: private → public
Revision history for this message
Matt Ihnen (matt-ihnen) wrote :

The problem is that in the command you entered /home in the directory path to the file to be recovered. If you read the documentation for ext3grep it notes that since the filesystem has no idea where the partition is mounted you need to skip adding the mount point so try something like:

ext3grep /dev/sda6 --restore-file artyom/Ubuntu\ One/omegasoft-files-2/

this should work and not crash.

Luca Bruno (lucab)
Changed in ext3grep (Ubuntu):
status: New → Invalid
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.