9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] ape strtod crash
@ 2009-07-30  8:40 roger peppe
  2009-07-30 11:29 ` erik quanstrom
  0 siblings, 1 reply; 5+ messages in thread
From: roger peppe @ 2009-07-30  8:40 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

this ape program gives a floating point exception error:

#include <stdlib.h>
void
main(){
	strtod("421567849e316", 0);
}

this made awk crash when i was running dumpvacroots.
it dies at /sys/src/ape/lib/ap/stdio/strtod.c:473
but it looks a bit involved for me to dive into right now,
i'm afraid.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-07-30 13:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-30  8:40 [9fans] ape strtod crash roger peppe
2009-07-30 11:29 ` erik quanstrom
2009-07-30 12:16   ` roger peppe
2009-07-30 13:25     ` erik quanstrom
2009-07-30 13:30       ` erik quanstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).