[Sablevm-bugs] [ sablevm-Bugs-429958 ] Abortion on Linux 2.4
Brought to you by:
egagnon
From: <no...@so...> - 2002-08-06 05:06:54
|
Bugs item #429958, was opened at 2001-06-04 00:06 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=429958&group_id=5523 Category: Execution Problem Group: SableVM Status: Open >Resolution: Fixed 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: 2002-08-06 01:06 Message: Logged In: YES user_id=15365 The new code fixes this bug and many others. Thanks for your report! ---------------------------------------------------------------------- Comment By: Etienne M. Gagnon (egagnon) Date: 2001-06-08 16: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: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=429958&group_id=5523 |