Bug 1139 - testdisk crashes when I try to analyze disks
Summary: testdisk crashes when I try to analyze disks
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2011-05-04 21:53 CEST by MichaÅ Walenciak
Modified: 2011-10-01 01:09 CEST (History)
0 users

See Also:
Source RPM: testdisk-6.11-4.mga1.src.rpm
CVE:
Status comment:


Attachments

Description MichaÅ Walenciak 2011-05-04 21:53:23 CEST
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
Comment 1 Ahmad Samir 2011-05-11 22:23:00 CEST
Seems to work here, doesn't segfault.

Please post the backtrace.

Keywords: (none) => NEEDINFO

Comment 2 MichaÅ Walenciak 2011-05-21 18:06:34 CEST
(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
Comment 3 Ahmad Samir 2011-05-21 20:59:15 CEST
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
Comment 4 Manuel Hiebel 2011-10-01 01:09:31 CEST
no other news, so closing

Keywords: NEEDINFO => UPSTREAM
Status: NEW => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.