Debian Bug report logs -
#17717
libc6-dbg: programs compiled with -lc_g crash?
Reported by: <tbittih@pal.xgw.fi>
Date: Sun, 1 Feb 1998 16:18:00 UTC
Severity: normal
Found in version 2.0.6-3
Done: unknown
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Dale Scheetz <dwarf@polaris.net>
:
Bug#17717
; Package libc6-dbg
.
(full text, mbox, link).
Acknowledgement sent to <tbittih@pal.xgw.fi>
:
New bug report received and forwarded. Copy sent to Dale Scheetz <dwarf@polaris.net>
.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: libc6-dbg
Version: 2.0.6-3
$ cat libc6-dbg_bug.c
int main(void)
{
return 0;
}
$ gcc -Wall -g -lc_g -o libc6-dbg_bug libc6-dbg_bug.c
$ gdb ./libc6-dbg_bug
GDB is free software and you are welcome to 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.
GDB 4.16.patched (i586-debian-linux), Copyright 1996 Free Software Foundation, Inc...
(gdb) run
Starting program: /usr/home/tbittih/src/./libc6-dbg_bug
Program received signal SIGSEGV, Segmentation fault.
0x804fc67 in __getopt_clean_environment () at getopt_init.c:66
getopt_init.c:66: No such file or directory.
(gdb) where
#0 0x804fc67 in __getopt_clean_environment () at getopt_init.c:66
#1 0x804b8fe in init (argc=1, argv=0xbffffcb3, envp=0x0)
at ../sysdeps/unix/sysv/linux/init-first.c:77
#2 0x804b961 in __libc_init_first (arg=0x1) at ../sysdeps/unix/sysv/linux/init-first.c:95
(gdb) quit
-- System Information
Debian Release: 1.3
Kernel Version: Linux bx1 2.1.75 #92-bx1-exp Tue Dec 23 09:39:45 EET 1997 i586 unknown
Versions of the packages libc6-dbg depends on:
libc6-dev Version: 2.0.6-3
Information forwarded to debian-bugs-dist@lists.debian.org
:
Bug#17717
; Package libc6-dbg
.
(full text, mbox, link).
Acknowledgement sent to Dale Scheetz <dwarf@polaris.net>
:
Extra info received and forwarded to list.
(full text, mbox, link).
Message #10 received at 17717@bugs.debian.org (full text, mbox, reply):
I recieved this explanation from David Engel:
At the current time, libc_g can only be used when linking statically,
i.e. when -static is used.
Does this resolve the problem for you? Can we close the bug report?
On Sun, 1 Feb 1998 tbittih@pal.xgw.fi wrote:
> Package: libc6-dbg
> Version: 2.0.6-3
>
> $ cat libc6-dbg_bug.c
> int main(void)
> {
> return 0;
> }
> $ gcc -Wall -g -lc_g -o libc6-dbg_bug libc6-dbg_bug.c
> $ gdb ./libc6-dbg_bug
> GDB is free software and you are welcome to 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.
> GDB 4.16.patched (i586-debian-linux), Copyright 1996 Free Software Foundation, Inc...
> (gdb) run
> Starting program: /usr/home/tbittih/src/./libc6-dbg_bug
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x804fc67 in __getopt_clean_environment () at getopt_init.c:66
> getopt_init.c:66: No such file or directory.
> (gdb) where
> #0 0x804fc67 in __getopt_clean_environment () at getopt_init.c:66
> #1 0x804b8fe in init (argc=1, argv=0xbffffcb3, envp=0x0)
> at ../sysdeps/unix/sysv/linux/init-first.c:77
> #2 0x804b961 in __libc_init_first (arg=0x1) at ../sysdeps/unix/sysv/linux/init-first.c:95
> (gdb) quit
>
> -- System Information
> Debian Release: 1.3
> Kernel Version: Linux bx1 2.1.75 #92-bx1-exp Tue Dec 23 09:39:45 EET 1997 i586 unknown
>
> Versions of the packages libc6-dbg depends on:
> libc6-dev Version: 2.0.6-3
>
>
Dwarf
--
_-_-_-_-_-_- Author of "The Debian User's Guide" _-_-_-_-_-_-_-
aka Dale Scheetz Phone: 1 (904) 656-9769
Flexible Software 11000 McCrackin Road
e-mail: dwarf@polaris.net Tallahassee, FL 32308
_-_-_-_-_-_- If you don't see what you want, just ask _-_-_-_-_-_-_-
Information forwarded to debian-bugs-dist@lists.debian.org, Dale Scheetz <dwarf@polaris.net>
:
Bug#17717
; Package libc6-dbg
.
(full text, mbox, link).
Acknowledgement sent to Tuomas Heino <tbittih@xgw.fi>
:
Extra info received and forwarded to list. Copy sent to Dale Scheetz <dwarf@polaris.net>
.
(full text, mbox, link).
Message #15 received at 17717@bugs.debian.org (full text, mbox, reply):
On Mon, 2 Feb 1998, Dale Scheetz wrote:
> I recieved this explanation from David Engel:
>
> At the current time, libc_g can only be used when linking statically,
> i.e. when -static is used.
>
> Does this resolve the problem for you? Can we close the bug report?
Maybe... looks like we need to bug ncurses3.4 instead... (ncurses progs
don't compile with -static...)
> On Sun, 1 Feb 1998 tbittih@pal.xgw.fi wrote:
>
> > Package: libc6-dbg
> > Version: 2.0.6-3
> >
> > $ cat libc6-dbg_bug.c
> > int main(void)
> > {
> > return 0;
> > }
> > $ gcc -Wall -g -lc_g -o libc6-dbg_bug libc6-dbg_bug.c
> > $ gdb ./libc6-dbg_bug
> > GDB is free software and you are welcome to 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.
> > GDB 4.16.patched (i586-debian-linux), Copyright 1996 Free Software Foundation, Inc...
> > (gdb) run
> > Starting program: /usr/home/tbittih/src/./libc6-dbg_bug
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x804fc67 in __getopt_clean_environment () at getopt_init.c:66
> > getopt_init.c:66: No such file or directory.
> > (gdb) where
> > #0 0x804fc67 in __getopt_clean_environment () at getopt_init.c:66
> > #1 0x804b8fe in init (argc=1, argv=0xbffffcb3, envp=0x0)
> > at ../sysdeps/unix/sysv/linux/init-first.c:77
> > #2 0x804b961 in __libc_init_first (arg=0x1) at ../sysdeps/unix/sysv/linux/init-first.c:95
> > (gdb) quit
> >
> > -- System Information
> > Debian Release: 1.3
> > Kernel Version: Linux bx1 2.1.75 #92-bx1-exp Tue Dec 23 09:39:45 EET 1997 i586 unknown
> >
> > Versions of the packages libc6-dbg depends on:
> > libc6-dev Version: 2.0.6-3
>
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun May 12 23:53:24 2024;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.