bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable to align partition properly


From: Gilles Foucault
Subject: Re: Unable to align partition properly
Date: Sun, 21 Oct 2001 12:04:31 +0200
User-agent: Mutt/1.2.5i

I've done the debugging session :

I've recompiled the parted package with the environment variable
CFLAGS="-g" (./configure CFLAGS="-g";make)
and then, I've run the gbd debugger :

#  gdb ./parted/.libs/parted
GNU gdb 19990928
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) set args /dev/hda
(gdb) break exception_handler
Breakpoint 1 at 0x804dea1: file ui.c, line 230.
(gdb) run
Starting program: /home/gilles/packages/parted-1.4.20/./parted/.libs/parted 
/dev/hda
GNU Parted 1.4.20
Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Utilise /dev/hda

Breakpoint 1, exception_handler (ex=0x8071740) at ui.c:230
230             _print_exception_text (ex);
(gdb) bt
#0  exception_handler (ex=0x8071740) at ui.c:230
#1  0x4008f386 in ped_exception_catch () from /lib/libparted-1.4.so.14
#2  0x4008f41c in ped_exception_throw () from /lib/libparted-1.4.so.14
#3  0x4009a008 in ped_disk_msdos_done () from /lib/libparted-1.4.so.14
#4  0x400929f2 in ped_disk_get_max_primary_partition_count ()
   from /lib/libparted-1.4.so.14
#5  0x40094fac in ped_disk_add_partition () from /lib/libparted-1.4.so.14
#6  0x4009848a in ped_disk_msdos_done () from /lib/libparted-1.4.so.14
#7  0x4009835b in ped_disk_msdos_done () from /lib/libparted-1.4.so.14
#8  0x4009835b in ped_disk_msdos_done () from /lib/libparted-1.4.so.14
#9  0x4009835b in ped_disk_msdos_done () from /lib/libparted-1.4.so.14
#10 0x4009835b in ped_disk_msdos_done () from /lib/libparted-1.4.so.14
#11 0x4009835b in ped_disk_msdos_done () from /lib/libparted-1.4.so.14
#12 0x4009835b in ped_disk_msdos_done () from /lib/libparted-1.4.so.14
#13 0x4009835b in ped_disk_msdos_done () from /lib/libparted-1.4.so.14
#14 0x4009835b in ped_disk_msdos_done () from /lib/libparted-1.4.so.14
#15 0x4009835b in ped_disk_msdos_done () from /lib/libparted-1.4.so.14
#16 0x4009835b in ped_disk_msdos_done () from /lib/libparted-1.4.so.14
#17 0x4009835b in ped_disk_msdos_done () from /lib/libparted-1.4.so.14
#18 0x4009835b in ped_disk_msdos_done () from /lib/libparted-1.4.so.14
#19 0x400984bf in ped_disk_msdos_done () from /lib/libparted-1.4.so.14
#20 0x400985ae in ped_disk_msdos_done () from /lib/libparted-1.4.so.14
#21 0x4009714e in ped_disk_msdos_done () from /lib/libparted-1.4.so.14
---Type <return> to continue, or q <return> to quit---
#22 0x400922cc in ped_disk_open () from /lib/libparted-1.4.so.14
#23 0x804e896 in _need_chs_warning (dev=0x8070e20) at ui.c:543
#24 0x804e9ba in _do_chs_check (dev=0x8070e20) at ui.c:581
#25 0x804eb2e in print_using_dev (dev=0x8070e20) at ui.c:627
#26 0x804ebb8 in interactive_mode (dev=0xbffff878, cmd_list=0x8051100)
    at ui.c:645
#27 0x804cea7 in main (argc=0, argv=0xbffff8ec) at parted.c:1357
(gdb) q
The program is running.  Exit anyway? (y or n) 
#

I hope it will help you !

Happy hacking !

Gilles

-- 
Gilles Foucault
8 rue de l'Angélus, 38120 Saint-Egrève, FRANCE
phone: +33 04 76 75 31 46
email: address@hidden or address@hidden
ICQ number: 133206459



reply via email to

[Prev in Thread] Current Thread [Next in Thread]