No subject
Jeremy C. McDermond
mcdermj at Xenotropic.COM
Sat Nov 8 19:53:09 PST 1997
>Submitter-Id: kaffe-user
>Originator: Jeremy C. McDermond
>Organization: Xenotropic Imaging Systems
>Confidential: no
>Synopsis: Thread Implementation Causes Segfault on NetBSD-i386
>Severity: critical
>Priority: medium
>Category:
>Class: sw-bug
>Release: Kaffe 0.9.2
>Environment:
System: NetBSD Xanadu.HNL.Xenotropic.COM 1.3_ALPHA NetBSD 1.3_ALPHA (XANADU) #3: Mon Nov 3 00:55:37 PST 1997 root at Xanadu.HNL.Xenotropic.COM:/usr/local/src/sys/arch/i386/compile/XANADU i386
Architecture: NetBSD
Machine: i386
>Description:
When running Kaffe, program goes into infinite loop causing an
"Illegal Instruction" fault. When run under the debugger (gdb),
the debugger shows that the program is getting a SEGV signal. This
SYSSEGV seems to be because of a line in thread-internal.c trying to
switch threads and not resetting the context correctly.
The variable "b" gets corrupted after line 497 of file
thread-internal.c in function reschedule(). This causes the if
statement on line 512 to throw the SIGSEGV.
>How-To-Repeat:
Compile and run Kaffe v0.9.2 on NetBSD-i386 with any input.
>Fix:
More information about the kaffe
mailing list