From: douglas@dekalb.DC.PeachNet.EDU (Douglas Jones)
Subject: exception system: exiting due to....
Date: 8 Apr 1994 12:31:59 -0400 [thread overview]
Message-ID: <2o40tv$g3c@dekalb.DC.PeachNet.EDU> (raw)
I have a program that gives the following error message:
--------------
exception system: exiting due to internal error: runtime function entry or
table not found
--------------
when I run dbx on it and tell it to stop in exit(), I get the following:
--------------
(dbx) stop in exit
[2] stop in exit
(dbx) r
.....................program output deleted...................
[2] stopped at [exit:132 ,0x3ff80102304] Source not available
(dbx) where
> 0 exit(0x0, 0x1, 0x140037930, 0x140037950, 0x0)
["../../../../../src/usr/ccs/
lib/libc/exit.c":132, 0x3ff80102304]
1 main(argc = 4, argv = 0x11ffffbc8) ["pwr.c":144, 0x120004394]
(dbx) step
[exit:138 ,0x3ff80102334] Source not available
(dbx) where
> 0 exit(0x0, 0x1, 0x140037930, 0x140037950, 0x0)
["../../../../../src/usr/ccs/
lib/libc/exit.c":138, 0x3ff80102334]
1 main(argc = 4, argv = 0x11ffffbc8) ["pwr.c":144, 0x120004394]
(dbx) step
exception system: exiting due to internal error: runtime function entry or
table not found
[exit:139 ,0x3ff80102344] Source not available
(dbx) step
[exit:140 ,0x3ff80102354] Source not available
(dbx) step
Program exited with code 1
(dbx)
--------------
Notice that program exited with code 1, but my call on 144 of main is:
--------------
%cat -n program.c|tail -2
144 exit(0);
145 }
--------------
I call exit() via "exit(0);". Any ideas? My guess is that I have somehow
copied over memory into the exit routine, but dbx did not appear to pick
it up.
Here it is again, doing "(dbx) trace in exit":
---------------
(dbx) trace in exit
[2] trace exit in exit
(dbx) r
.....................program output deleted...................
[exit:132 ,0x3ff80102304]: exit =
void type -- no value to print
(dbx) where
> 0 exit(0x0, 0x1, 0x140037930, 0x140037950, 0x0)
["../../../../../src/usr/ccs/
lib/libc/exit.c":132, 0x3ff80102304]
1 main(argc = 4, argv = 0x11ffffbc8) ["pwr.c":144, 0x120004394]
(dbx) step
[exit:138 ,0x3ff80102334] Source not available
(dbx) step
exception system: exiting due to internal error: runtime function entry or
table
not found
[exit:139 ,0x3ff80102344] Source not available
(dbx) step
[exit:140 ,0x3ff80102354] Source not available
(dbx) step
Program exited with code 1
(dbx)
---------------
Thanks,
Douglas
reply other threads:[~1994-04-08 16:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox