Re: Aieee! Need help with gmodule!
- From: Todd Graham Lewis <tlewis mindspring net>
- To: Michael Lausch <mla gams co at>
- cc: gnome-list gnome org
- Subject: Re: Aieee! Need help with gmodule!
- Date: Thu, 3 Dec 1998 10:15:40 -0500 (EST)
On Thu, 3 Dec 1998, Michael Lausch wrote:
> Using the source code you posted in your second mail, it works for me.
> I'm using gcc 2.7.2.3 and ld GNU ld 2.9.1, glibc 2.0.7
>
> could you set a breakpoint at _exit() and exit() and look where the
> program exits? I don't think it gets a signal.
(gdb) b exit
Breakpoint 1 at 0x804851c
(gdb) b _exit
Function "_exit" not defined.
(gdb) b main
Breakpoint 2 at 0x80485c6: file min2.c, line 7.
(gdb) r
Starting program: /home/tlewis/dents/development/module/min2
(...)
67 handle = dlopen (file_name, RTLD_GLOBAL | (bind_lazy ? RTLD_LAZY : RTLD_NOW));
(gdb) s
68 if (!handle)
(gdb) s
104 }
(gdb) s
Breakpoint 1, exit (status=134519184) at exit.c:40
exit.c:40: No such file or directory.
(gdb) backtrace
#0 exit (status=134519184) at exit.c:40
(gdb) s
exit.c:42: No such file or directory.
(gdb)
exit.c:44: No such file or directory.
(gdb)
exit.c:46: No such file or directory.
(gdb)
exit.c:55: No such file or directory.
(gdb)
exit.c:58: No such file or directory.
(...)
dl-fini.c:34: No such file or directory.
(gdb)
dl-fini.c:27: No such file or directory.
(gdb)
dl-fini.c:36: No such file or directory.
(gdb)
exit (status=134519184) at exit.c:58
exit.c:58: No such file or directory.
(gdb)
exit.c:40: No such file or directory.
(gdb)
exit.c:62: No such file or directory.
(gdb)
_IO_cleanup () at genops.c:634
genops.c:634: No such file or directory.
(gdb)
genops.c:643: No such file or directory.
(gdb)
genops.c:644: No such file or directory.
(gdb)
exit (status=134519184) at exit.c:70
exit.c:70: No such file or directory.
(gdb)
Program exited with code 0220.
(gdb)
% rpm -qa|grep glibc
glibc-devel-2.0.7-13
glibc-debug-2.0.7-13
glibc-profile-2.0.7-13
glibc-2.0.7-13
Is there anything I should poke here while in exit.c, dl-fini.c,
or genops.c?
--
Todd Graham Lewis tlewis@mindspring.net (800) 719-4664, x2804
"It's still ludicrous that nobody's ever made a run at us by making UNIX
a popular platform on PCs. It's almost too late now." -- Steve Balmer
"It is too late." -- Bill Gates _Newsweek_, 6/23/97, p. 82
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]