[LLVMdev] vmkit segmentation fault revision 107990

Zoe Wolk zoewolk at gmail.com
Fri Jul 9 10:26:43 PDT 2010

Hi Nicolas,

I found a 32bit Lucid machine (but it'd be great if there was a working
version though). Everything was checked out this morning.
I now am able to build vmkit with this configuration:

./configure --with-llvmsrc=/home/zoewolk/RESEARCH/llvm

j3 Hello works

However, when I run this, I get the segfault below.
I compiled Hello.java with
$> javac -version
javac 1.6.0_18

My JDK is openjdk-6-jdk, 6b18-1.8-0ubuntu1


zoewolk at wizards:~/RESEARCH/vmkit$ gdb vmjc
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from
(gdb) run Hello
Starting program: /home/zoewolk/RESEARCH/vmkit/Release+Asserts/bin/vmjc
[Thread debugging using libthread_db enabled]
[New Thread 0x200ffb70 (LWP 12112)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x200ffb70 (LWP 12112)]
0x08947678 in llvm::FunctionPassManager::run(llvm::Function&) ()
(gdb) where
#0  0x08947678 in llvm::FunctionPassManager::run(llvm::Function&) ()
#1  0x08c73730 in ?? ()
#2  0x081b9e0c in j3::JavaLLVMCompiler::parseFunction(j3::JavaMethod*) ()
#3  0x081a3d68 in j3::JavaAOTCompiler::compileClass(j3::Class*) ()
#4  0x081af82c in mainCompilerStart(j3::JavaThread*) ()
#5  0x082281ae in mvm::Thread::internalThreadStart(mvm::Thread*) ()
#6  0x0013396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x00368a4e in clone () from /lib/tls/i686/cmov/libc.so.6

public class Hello {
    public static void main(String args[]) {
        System.err.println("Hello there");
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100709/b65be13c/attachment.html>

More information about the llvm-dev mailing list