Testdisk 1.4 aborts abruptly

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
lorchel
Posts: 4
Joined: 23 Apr 2012, 17:43

Testdisk 1.4 aborts abruptly

#1 Post by lorchel »

Dear developers,

I tried the new testdisk 1.4 beta version of your great program (linux static).

When I wanted to look at the files of the first partition testdisk aborts. With version 1.3 this was still possible. Because I dont know how to file a bug to the git repository I post it here. Please see my log file.

Best, Tom

Code: Select all

Tue Apr 24 20:22:59 2012
Command line: TestDisk

TestDisk 6.14-WIP, Data Recovery Utility, April 2012
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Linux, kernel 3.2.13-pmagic (#1 SMP Sat Mar 24 08:16:47 CDT 2012) i686
Compiler: GCC 4.4
Compilation date: 2012-04-21T15:12:07
ext2fs lib: 1.41.9, ntfs lib: libntfs-3g, reiserfs lib: 0.3.1-rc8, ewf lib: 20100226
/dev/sda: LBA, HPA, LBA48, DCO support
/dev/sda: size       976773168 sectors
/dev/sda: user_max   976773168 sectors
/dev/sda: native_max 976773168 sectors
/dev/sda: dco        976773168 sectors
Warning: can't get size for Disk /dev/mapper/control - 0 B - CHS 1 1 1, sector size=512
Hard disk list
Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63, sector size=512 - WDC WD5000BEVT-00A0RT0, S/N:WD-WXB1C10T5424, FW:01.01A01
Disk /dev/sdb - 4009 MB / 3824 MiB - CHS 1018 124 62, sector size=512 - General USB Flash Disk, FW:1100

Partition table type (auto): Intel
Disk /dev/sda - 500 GB / 465 GiB - WDC WD5000BEVT-00A0RT0
Partition table type: Intel

Analyse Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63
Geometry from i386 MBR: head=255 sector=63
NTFS at 0/1/1
Info: size boot_sector 41929577, partition 41929587
FAT32 at 60670/1/1
Info: size boot_sector 1900611, partition 1900611
FAT1 : 42-1896
FAT2 : 1897-3751
start_rootdir : 3752 root cluster : 2
Data : 3752-1900607
sectors : 1900611
cluster_size : 8
no_of_cluster : 237107 (2 - 237108)
fat_length 1855 calculated 1853
get_geometry_from_list_part_aux head=255 nbr=14
get_geometry_from_list_part_aux head=8 nbr=3
get_geometry_from_list_part_aux head=16 nbr=2
get_geometry_from_list_part_aux head=32 nbr=1
get_geometry_from_list_part_aux head=64 nbr=1
get_geometry_from_list_part_aux head=128 nbr=1
get_geometry_from_list_part_aux head=240 nbr=1
get_geometry_from_list_part_aux head=255 nbr=14
Current partition structure:
 1 * HPFS - NTFS              0   1  1  2609 254 63   41929587 [windoof]
 2 E extended              2610 254 62 60800 254 63  934822352
 5 L Linux                 2611   0  1  4568 254 63   31455270 [root]
   X extended              4569   0  1 60016 254 63  890772120
 6 L Linux                 4569   1  1 60016 254 63  890772057 [home]
   X extended             60017   0  1 60669 254 63   10490445
 7 L Linux Swap           60017   1  1 60669 254 63   10490382
   X extended             60670   0  1 60788  79 27    1900674
 8 L FAT32                60670   1  1 60788  79 27    1900611 [fat]
   X extended             60788  79 28 60800 237 45     202752
 9 L Linux                60788 111 60 60800 237 45     200704 [grub2]
testdisk_static: ../sysdeps/unix/sysv/linux/getpagesize.c:32: __getpagesize: Assertion `_rtld_global_ro._dl_pagesize != 0' failed.

User avatar
Fiona
Posts: 2835
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: Testdisk 1.4 aborts abruptly

#2 Post by Fiona »

Thanks for your info.
I'll forward your message!

Fiona

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Testdisk 1.4 aborts abruptly

#3 Post by cgrenier »

Can you run as root

Code: Select all

gdb ./testdisk_static
? Type "run" and "bt full" after the crash, please post the result.

lorchel
Posts: 4
Joined: 23 Apr 2012, 17:43

Re: Testdisk 1.4 aborts abruptly

#4 Post by lorchel »

At the moment I am running tesdisk from a Parted Magic Live Distribution. It looks like gdb is not installed. But I keep it in mind and when I am back on a full system I try to reproduce the error and post the output of gdb here.

Locked