bug-parted
[Top][All Lists]
Advanced

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

Re: compile error with parted-1.4.17


From: Ahmed El-Mahmoudy
Subject: Re: compile error with parted-1.4.17
Date: Sat, 18 Aug 2001 18:19:25 +0300 (EEST)

On Sun, 12 Aug 2001, Andrew Clausen wrote:
> Could you compile it like this:
>
>       $ CFLAGS=-g ./configure && make clean && make
>       $ cd parted
>       $ libtool gdb parted
>       (gdb) run
>
>       ... watch parted crash
>
>       (gdb) bt
>
> send us the output of this command
>
>       (gdb) quit
>
> Thanks!
> Andrew
>
ok, I compiled 'parted' with the '-g' flag  (btw, I had to do
'export CFLAGS=-g ; ./configure; make')

now for the debugger:

'libtool gdb parted' results:

(gdb) r
Starting program: /usr2/src2/parted-1.4.17/parted/.libs/lt-parted
Cannot access memory at address 0x40017dd8


'cd .libs; gdb parted' results:
(gdb) r
Starting program: /usr2/src2/parted-1.4.17/parted/.libs/parted
GNU Parted 1.4.17
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.

Using /dev/hda
Warning: The operating system thinks the geometry on /dev/hda is 523/255/63.
You should check that this matches the BIOS geometry before using this program.

Program received signal SIGSEGV, Segmentation fault.
0x4013a44c in _IO_fflush (fp=0x401df2c0) at iofflush.c:41
41      iofflush.c: No such file or directory.
(gdb) bt
#0  0x4013a44c in _IO_fflush (fp=0x401df2c0) at iofflush.c:41
#1  0x40033738 in rl_prep_terminal () from /usr/lib/libreadline.so.3
#2  0x4002e2af in readline () from /usr/lib/libreadline.so.3
#3  0x804d611 in _readline (prompt=0x804f65b "(parted) ") at ui.c:112
#4  0x804e43f in interactive_mode (dev=0x8060578, cmd_list=0x8050760)
    at ui.c:587
#5  0x804ca21 in main (argc=0, argv=0xbffff6a0) at parted.c:1309
#6  0x400f0f60 in __libc_start_main (main=0x804c9c0 <main>, argc=1,
    ubp_av=0xbffff69c, init=0x8049708 <_init>, fini=0x804e5fc <_fini>,
    rtld_fini=0x4000d200 <_dl_fini>, stack_end=0xbffff694)
    at ../sysdeps/generic/libc-start.c:111



Regards,

 Ahmed El-Mahmoudy




reply via email to

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