[Sablevm-bugs] [ sablevm-Bugs-429958 ] Abortion on Linux 2.4
Brought to you by:
egagnon
From: <no...@so...> - 2001-06-08 20:11:53
|
Bugs item #429958, was updated on 2001-06-03 21:06 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=429958&group_id=5523 Category: Execution Problem Group: SableVM Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) >Assigned to: Etienne M. Gagnon (egagnon) Summary: Abortion on Linux 2.4 Initial Comment: Thank you for your great VM. SableVM is easier to understand VM architecture. I found a problem of abortion on VM. The abortion takes place on Linux kernel ver. 2.4. The cause is at about line number 97-99 in interpreter.c, following context; locals = (_svmt_stack_value *) (((char *) frame) - method->locals_size); Inspite of the value of 'method' is set NULL, 'locals_size' points c3 on my environment. I can avoid this problem by using if statement, like this, if (method != NULL) { locals = ... stack = ... } -- Hiro ISHIKAWA Graduate School of Science and Engineering, Waseda University ---------------------------------------------------------------------- >Comment By: Etienne M. Gagnon (egagnon) Date: 2001-06-08 13:11 Message: Logged In: YES user_id=15365 This is effectively a bug. method->locals_size doesn't dereference NULL when "method" is NULL, because the offset of locals_size is added to it. We must cause the segmentation fault using a NULL dereference. Will be fixed. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=429958&group_id=5523 |