Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* exception system: exiting due to....
@ 1994-04-08 16:31 Douglas Jones
  0 siblings, 0 replies; only message in thread
From: Douglas Jones @ 1994-04-08 16:31 UTC (permalink / 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-04-08 16:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-04-08 16:31 exception system: exiting due to Douglas Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox