[Top][All Lists]

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

Re: 1.6.5pre1: segmentation fault in disk_sync_part_table

From: Sven Hartrumpf
Subject: Re: 1.6.5pre1: segmentation fault in disk_sync_part_table
Date: Mon, 03 Feb 2003 09:12:09 +0100 (CET)

On 1 Feb 2003, Andrew Clausen <address@hidden> wrote: 
> Could you please configure like this:
>       CFLAGS=-g ./configure --prefix=/programs/free/parted-1.6.5-pre1 \
>                       --enable-all-static
> That way, you get debugging information.
(I am using gcc 3.2.1 and ld

# gdb52 /programs/free/bin/parted
GNU gdb 5.2
Copyright 2002 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) run
Starting program: /programs/linux/parted-1.6.5-pre1/sbin/parted 
GNU Parted 1.6.5-pre1
Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation,
This program is free software, covered by the GNU General Public

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
General Public License for more details.

Using /dev/hde
Information: The operating system thinks the geometry on /dev/hde is
5005/255/63.  Therefore, cylinder 1024 ends at 8032.499M.
                                                                      (parted) p
Disk geometry for /dev/hde: 0.000-39266.718 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031    101.975  primary   ext2        boot
2        101.975   2157.165  extended              
3       2157.166  12401.740  primary   ext2        
4      12401.741  39260.412  primary   ext2        
rm 2

Program received signal SIGSEGV, Segmentation fault.
0x0806f63a in _disk_sync_part_table (disk=0x8148550) at linux.c:1705
1705                    errnums[i] = errno;
(gdb) bt
#0  0x0806f63a in _disk_sync_part_table (disk=0x8148550)
    at linux.c:1705
#1  0x0806f829 in linux_disk_commit (disk=0x8148550) at linux.c:1793
#2  0x08055d4a in ped_disk_commit_to_os (disk=0x8148550)
    at disk.c:334
#3  0x08055f02 in ped_disk_commit (disk=0x8148550) at disk.c:385
#4  0x0804b020 in do_rm (dev=0xbffff178) at parted.c:1190
#5  0x0804848a in command_run (cmd=0x8146db8, dev=0xbffff178)
    at command.c:129
#6  0x0804ee56 in interactive_mode (dev=0xbffff178, 
    cmd_list=0x8107e20) at ui.c:1093
#7  0x0804c322 in main (argc=0, argv=0xbffff1e8) at parted.c:1639
#8  0x080a075c in __libc_start_main (main=0x804c2a4 <main>, argc=1, 
    ubp_av=0xbffff1e4, init=0x80480b4 <_init>, 
    fini=0x80e9fe0 <_fini>, rtld_fini=0, stack_end=0xbffff1dc)
    at ../sysdeps/generic/libc-start.c:129

reply via email to

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