When I try to run testdisk on any of my disk it segfaults Steps to reproduce: 1. run testdisk /dev/sda 2. choose proceed 3. se the segfault info
Seems to work here, doesn't segfault. Please post the backtrace.
Keywords: (none) => NEEDINFO
(gdb) bt #0 0x00007ffff71ecff5 in raise () from /lib64/libc.so.6 #1 0x00007ffff71ee786 in abort () from /lib64/libc.so.6 #2 0x00007ffff72272cb in __libc_message () from /lib64/libc.so.6 #3 0x00007ffff72aab27 in __fortify_fail () from /lib64/libc.so.6 #4 0x00007ffff72a8a80 in __chk_fail () from /lib64/libc.so.6 #5 0x00007ffff72a79d7 in __strcat_chk () from /lib64/libc.so.6 #6 0x00000000004152c2 in strcat (sb=<value optimized out>, partition=0x67c1f0, verbose=0) at /usr/include/bits/string3.h:146 #7 set_MD_info (sb=<value optimized out>, partition=0x67c1f0, verbose=0) at md.c:291 #8 0x0000000000416159 in check_MD (disk_car=0x678890, partition=0x67c1f0, verbose=0) at md.c:81 #9 0x0000000000408c3a in check_part_i386 (disk_car=0x678890, verbose=0, partition=0x67c1f0, saveheader=0) at parti386.c:1541 #10 0x00000000004093ac in i386_entry2partition (disk_car=0x678890, offset=<value optimized out>, partition=0x67c1f0, p=<value optimized out>, status=<value optimized out>, order=<value optimized out>, verbose=0, saveheader=0) at parti386.c:1084 #11 0x00000000004097b3 in get_ext_data_i386 (disk_car=0x678890, list_part=0x678fd0, verbose=0, saveheader=0) at parti386.c:584 #12 0x0000000000409d24 in read_part_i386 (disk_car=0x678890, verbose=0, saveheader=0) at parti386.c:413 #13 0x000000000040eeea in autodetect_arch (disk=0x678890) at partauto.c:78 #14 0x00000000004355bb in testdisk_disk_selection_ncurses (verbose=1, dump_ind=0, list_disk=0x6774c0, saveheader=0, cmd_device=<value optimized out>, current_cmd=0x7fffffffd508) at tdisksel.c:192 #15 do_curses_testdisk (verbose=1, dump_ind=0, list_disk=0x6774c0, saveheader=0, cmd_device=<value optimized out>, current_cmd=0x7fffffffd508) at tdisksel.c:262 #16 0x0000000000435d25 in main (argc=1, argv=<value optimized out>) at testdisk.c:392
Please report the issue upstream; it seems they don't have a bugzilla and ask for bugs to be reported on their development ML http://mailman.global-sp.net/mailman/listinfo/testdisk-dev
no other news, so closing
Keywords: NEEDINFO => UPSTREAMStatus: NEW => RESOLVEDResolution: (none) => OLD