[Bug 113] New: assertion failures in _svmh_new_native_local()
[email protected] Sun, 20 Mar 2005 23:50:35 -0500
| Newsgroups | gmane.comp.java.vm.sablevm.bugs |
|---|---|
| Message-ID | <[email protected]> |
http://sablevm.org/bugs/show_bug.cgi?id=113
Summary: assertion failures in _svmh_new_native_local()
Product: SableVM
Version: staging
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: default
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
separate bug to fix problems in this one function.
SableVM version trunk+3765
- compile date and time: 2005-03-21 05:07:27 UTC
- gcc version: 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)
- 'real life brokenness' features enabled
- debugging checks enabled
- copying garbage collection
- bidirectional object layout
- switch threaded interpreter
intermittently, but reproducably, i get the following two assertion failures:
sablevm-trunk-debug: local_refs.c:71: _svmh_new_native_local: Assertion
`env->native_locals.free_list->previous == native_local' failed.
sablevm-trunk-debug: local_refs.c:111: _svmh_new_native_local: Assertion
`native_local->previous == ((void *)0)' failed.
this is on magic.cs.mcgill.ca, 4-way opteron (x86_64).
Same SMP testcase as before:
public class ThreadStarter {
public ThreadStarter() {
}
public static void main(String[] argv) {
Runnable myRunnable;
Thread myThread;
/* way 1 */
myRunnable = new IncrementRunnable();
myThread = new Thread(myRunnable);
myThread.start();
/* way 2 */
myRunnable = new IncrementRunnable();
myRunnable.run();
}
}
class IncrementRunnable implements Runnable {
private int k = 0;
public IncrementRunnable() {
}
public void run() {
for(int i=0;i<100;i++) {
k++;
}
}
}
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.