|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: R: Re: Help troubleshooting segmentation faultHi,
Assuming you're using JamVM 1.5.3, add --disable-tls to ./configure... If you're using JamVM 1.5.2, you'll need to manually edit src/config.h and remove the HAVE_TLS line. Then do make clean; make The problem is configure is detecting that gcc supports thread local storage (it does it by compiling and linking a test program), but it doesn't actually work, probably because you're using uClibc. Looks like I'm going to have to put in a hack to not use TLS with uClibc, even if configure detects it, which is crap. And yes, I've thought about changing the configure check to try to run the test program as well as compile and link it, but this obviously won't work when cross-compiling, which is exactly when you're going to be using uClibc. Rob. 2009/5/18 <roberto.riggio@...>: > Hi, > > using gdb i've discovered that the segfault is produced at thread.c:341: > > #ifdef HAVE_TLS > self-thread; > #else > > I'm also attaching the strace output > > strace jamvm Hello > > > execve("/usr/bin/jamvm", ["jamvm", "Hello"], [/* 8 vars */]) = 0 > mmap2(NULL, 20, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fec000 > stat("/etc/ld.so.cache", 0xbfaf05e0) = -1 ENOENT (No such file or directory) > open("/home/wing/src/wing/kamikaze/staging/kamikaze-x86-nightly/staging_dir/target-i386_uClibc-0.9.29/usr/lib/libffi.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib/libffi.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib/libffi.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/lib/libffi.so.5", O_RDONLY) = 3 > fstat(3, {st_mode=S_IFREG|0755, st_size=21060, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7feb000 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\20\0\0004\0\0\0\0"..., 4096) = 4096 > mmap2(NULL, 28672, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fe4000 > mmap2(0xb7fe4000, 20532, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xb7fe4000 > mmap2(0xb7fea000, 580, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x5) = 0xb7fea000 > close(3) = 0 > munmap(0xb7feb000, 4096) = 0 > open("/home/wing/src/wing/kamikaze/staging/kamikaze-x86-nightly/staging_dir/target-i386_uClibc-0.9.29/usr/lib/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/lib/libz.so.1", O_RDONLY) = 3 > fstat(3, {st_mode=S_IFREG|0755, st_size=67929, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7feb000 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\26\0\0004\0\0\0\0"..., 4096) = 4096 > mmap2(NULL, 73728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fd2000 > mmap2(0xb7fd2000, 67204, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xb7fd2000 > mmap2(0xb7fe3000, 2393, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x10) = 0xb7fe3000 > close(3) = 0 > munmap(0xb7feb000, 4096) = 0 > open("/home/wing/src/wing/kamikaze/staging/kamikaze-x86-nightly/staging_dir/target-i386_uClibc-0.9.29/usr/lib/libdl.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib/libdl.so.0", O_RDONLY) = 3 > fstat(3, {st_mode=S_IFREG|0644, st_size=8238, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7feb000 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0,\7\0\0004\0\0\0\0"..., 4096) = 4096 > mmap2(NULL, 16384, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fce000 > mmap2(0xb7fce000, 4666, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xb7fce000 > mmap2(0xb7fd0000, 4142, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1) = 0xb7fd0000 > close(3) = 0 > munmap(0xb7feb000, 4096) = 0 > open("/home/wing/src/wing/kamikaze/staging/kamikaze-x86-nightly/staging_dir/target-i386_uClibc-0.9.29/usr/lib/libm.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib/libm.so.0", O_RDONLY) = 3 > fstat(3, {st_mode=S_IFREG|0644, st_size=45084, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7feb000 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\21\0\0004\0\0\0\0"..., 4096) = 4096 > mmap2(NULL, 53248, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fc1000 > mmap2(0xb7fc1000, 41092, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xb7fc1000 > mmap2(0xb7fcc000, 4124, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xa) = 0xb7fcc000 > close(3) = 0 > munmap(0xb7feb000, 4096) = 0 > open("/home/wing/src/wing/kamikaze/staging/kamikaze-x86-nightly/staging_dir/target-i386_uClibc-0.9.29/usr/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib/libpthread.so.0", O_RDONLY) = 3 > fstat(3, {st_mode=S_IFREG|0644, st_size=48292, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7feb000 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\344D\0\0004\0\0\0\0"..., 4096) = 4096 > mmap2(NULL, 77824, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fae000 > mmap2(0xb7fae000, 41608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xb7fae000 > mmap2(0xb7fb9000, 7332, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xa) = 0xb7fb9000 > mmap2(0xb7fbb000, 23936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7fbb000 > close(3) = 0 > munmap(0xb7feb000, 4096) = 0 > open("/home/wing/src/wing/kamikaze/staging/kamikaze-x86-nightly/staging_dir/target-i386_uClibc-0.9.29/usr/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib/libgcc_s.so.1", O_RDONLY) = 3 > fstat(3, {st_mode=S_IFREG|0644, st_size=32634, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7feb000 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0T\24\0\0004\0\0\0\0"..., 4096) = 4096 > mmap2(NULL, 36864, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fa5000 > mmap2(0xb7fa5000, 32252, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xb7fa5000 > mmap2(0xb7fad000, 3962, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x7) = 0xb7fad000 > close(3) = 0 > munmap(0xb7feb000, 4096) = 0 > open("/home/wing/src/wing/kamikaze/staging/kamikaze-x86-nightly/staging_dir/target-i386_uClibc-0.9.29/usr/lib/libc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/lib/libc.so.0", O_RDONLY) = 3 > fstat(3, {st_mode=S_IFREG|0644, st_size=279741, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7feb000 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\252\0\0004\0\0\0\0"..., 4096) = 4096 > mmap2(NULL, 307200, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f5a000 > mmap2(0xb7f5a000, 275424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xb7f5a000 > mmap2(0xb7f9e000, 5309, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x43) = 0xb7f9e000 > mmap2(0xb7fa0000, 16988, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7fa0000 > close(3) = 0 > munmap(0xb7feb000, 4096) = 0 > open("/lib/libgcc_s.so.1", O_RDONLY) = 3 > fstat(3, {st_mode=S_IFREG|0644, st_size=32634, ...}) = 0 > close(3) = 0 > open("/lib/libc.so.0", O_RDONLY) = 3 > fstat(3, {st_mode=S_IFREG|0644, st_size=279741, ...}) = 0 > close(3) = 0 > open("/lib/libc.so.0", O_RDONLY) = 3 > fstat(3, {st_mode=S_IFREG|0644, st_size=279741, ...}) = 0 > close(3) = 0 > open("/lib/libgcc_s.so.1", O_RDONLY) = 3 > fstat(3, {st_mode=S_IFREG|0644, st_size=32634, ...}) = 0 > close(3) = 0 > open("/lib/libc.so.0", O_RDONLY) = 3 > fstat(3, {st_mode=S_IFREG|0644, st_size=279741, ...}) = 0 > close(3) = 0 > open("/lib/libc.so.0", O_RDONLY) = 3 > fstat(3, {st_mode=S_IFREG|0644, st_size=279741, ...}) = 0 > close(3) = 0 > open("/lib/libc.so.0", O_RDONLY) = 3 > fstat(3, {st_mode=S_IFREG|0644, st_size=279741, ...}) = 0 > close(3) = 0 > open("/lib/libc.so.0", O_RDONLY) = 3 > fstat(3, {st_mode=S_IFREG|0644, st_size=279741, ...}) = 0 > close(3) = 0 > stat("/lib/ld-uClibc.so.0", {st_mode=S_IFREG|0755, st_size=16390, ...}) = 0 > mprotect(0xb7fd0000, 4096, PROT_READ) = 0 > mprotect(0xb7fcc000, 4096, PROT_READ) = 0 > mprotect(0xb7fb9000, 4096, PROT_READ) = 0 > mprotect(0xb7f9e000, 4096, PROT_READ) = 0 > mprotect(0xb7ff1000, 4096, PROT_READ) = 0 > ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 > ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 > getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 > setrlimit(RLIMIT_STACK, {rlim_cur=2044*1024, rlim_max=RLIM_INFINITY}) = 0 > getpid() = 9981 > rt_sigaction(SIGRTMIN, {0xb7fb4914, [], SA_RESTORER, 0xb7f64a88}, NULL, 8) = 0 > rt_sigaction(SIGRT_1, {0xb7fb42dc, [RTMIN], SA_RESTORER, 0xb7f64a88}, NULL, 8) = 0 > rt_sigaction(SIGRT_2, {0xb7fb3ddb, [], SA_RESTORER, 0xb7f64a88}, NULL, 8) = 0 > rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0 > rt_sigprocmask(SIG_UNBLOCK, [RT_1], NULL, 8) = 0 > brk(0) = 0x8dc2000 > brk(0x8dc3000) = 0x8dc3000 > _sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbfaf0190, 33, (nil), 0}) = 0 > old_mmap(NULL, 134217728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0x8060062b7eee228) = 0xaff5a000 > old_mmap(NULL, 528384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0x8060062b7eee228) = 0xafed9000 > old_mmap(NULL, 132, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0x8060062b7eee228) = 0xafed8000 > old_mmap(NULL, 8196, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0x8060062b7eee228) = 0xafed5000 > old_mmap(NULL, 132, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0x8060062b7eee228) = 0xafed4000 > old_mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0x8060062b7eee228) = 0xafe93000 > --- SIGSEGV (Segmentation fault) @ 0 (0) --- > +++ killed by SIGSEGV +++ > > > > > ----- "Robert Dodier" <robert@...> ha scritto: > >> On Mon, May 18, 2009 at 9:00 AM, <roberto.riggio@...> >> wrote: >> >> > jamvm[10362] general protection ip:805fe81 sp:bfa5b9a0 error:0 in >> jamvm[8048000] >> > Segmentation fault >> >> Try running jamvm from strace, e.g. >> strace jamvm .... >> >> That should produce a very voluminous output, and, perhaps, show >> what it was doing when it crashed. >> >> Another idea is to run jamvm within gdb. >> Hmm, now that I think of it, probably you should try gdb first, then >> strace. >> >> Hope this helps, >> >> Robert Dodier > > > -- > -------------------------------------------------------- > Roberto Riggio, PhD > CREATE-NET, Pervasive > Researcher > Via alla Cascata 56/D - 38100 Povo Trento (Italy) > e-mail: roberto.riggio@... > Tel: (+39) 0461 408400 - interno/extension 708 > Fax: (+39) 0461 421157 > http://www.create-net.org/ > -------------------------------------------------------- > > Le informazioni contenute in questo messaggio email e negli allegati sono > strettamente riservate. Il loro utilizzo e' consentito esclusivamente al > destinatario del messaggio, per le finalita' indicate nello stesso. > > The information transmitted is intended only for the person/entity whom it is > addressed to, and may contain confidential material. Any review, retransmission, > dissemination or other use of this information by persons/entities other than > the intended recipient is prohibited as per Italian Law 196/2003. If you > received this in error, contact the sender and delete it from any pc. > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Jamvm-general mailing list > Jamvm-general@... > https://lists.sourceforge.net/lists/listinfo/jamvm-general > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Jamvm-general mailing list Jamvm-general@... https://lists.sourceforge.net/lists/listinfo/jamvm-general |
|
|
R: Re: R: Re: Help troubleshooting segmentation faultHi,
thanks, problem solved. I have another issue with classpath, but i will post it a separate thread. R. ----- "Robert Lougher" <rob.lougher@...> ha scritto: > Hi, > > Assuming you're using JamVM 1.5.3, add --disable-tls to > ./configure... > If you're using JamVM 1.5.2, you'll need to manually edit > src/config.h and remove the HAVE_TLS line. Then do make clean; make > > The problem is configure is detecting that gcc supports thread local > storage (it does it by compiling and linking a test program), but it > doesn't actually work, probably because you're using uClibc. > > Looks like I'm going to have to put in a hack to not use TLS with > uClibc, even if configure detects it, which is crap. And yes, I've > thought about changing the configure check to try to run the test > program as well as compile and link it, but this obviously won't work > when cross-compiling, which is exactly when you're going to be using > uClibc. > > Rob. > > 2009/5/18 <roberto.riggio@...>: > > Hi, > > > > using gdb i've discovered that the segfault is produced at > thread.c:341: > > > > #ifdef HAVE_TLS > > self-thread; > > #else > > > > I'm also attaching the strace output > > > > strace jamvm Hello > > > > > > execve("/usr/bin/jamvm", ["jamvm", "Hello"], [/* 8 vars */]) = 0 > > mmap2(NULL, 20, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0xb7fec000 > > stat("/etc/ld.so.cache", 0xbfaf05e0) = -1 ENOENT (No such file or > directory) > > > open("/home/wing/src/wing/kamikaze/staging/kamikaze-x86-nightly/staging_dir/target-i386_uClibc-0.9.29/usr/lib/libffi.so.5", > O_RDONLY) = -1 ENOENT (No such file or directory) > > open("/lib/libffi.so.5", O_RDONLY) = -1 ENOENT (No such file or > directory) > > open("/lib/libffi.so.5", O_RDONLY) = -1 ENOENT (No such file or > directory) > > open("/usr/lib/libffi.so.5", O_RDONLY) = 3 > > fstat(3, {st_mode=S_IFREG|0755, st_size=21060, ...}) = 0 > > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > -1, 0) = 0xb7feb000 > > read(3, > "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\20\0\0004\0\0\0\0"..., > 4096) = 4096 > > mmap2(NULL, 28672, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = > 0xb7fe4000 > > mmap2(0xb7fe4000, 20532, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, > 3, 0) = 0xb7fe4000 > > mmap2(0xb7fea000, 580, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, > 3, 0x5) = 0xb7fea000 > > close(3) = 0 > > munmap(0xb7feb000, 4096) = 0 > > > open("/home/wing/src/wing/kamikaze/staging/kamikaze-x86-nightly/staging_dir/target-i386_uClibc-0.9.29/usr/lib/libz.so.1", > O_RDONLY) = -1 ENOENT (No such file or directory) > > open("/lib/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or > directory) > > open("/lib/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or > directory) > > open("/usr/lib/libz.so.1", O_RDONLY) = 3 > > fstat(3, {st_mode=S_IFREG|0755, st_size=67929, ...}) = 0 > > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > -1, 0) = 0xb7feb000 > > read(3, > "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\26\0\0004\0\0\0\0"..., > 4096) = 4096 > > mmap2(NULL, 73728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = > 0xb7fd2000 > > mmap2(0xb7fd2000, 67204, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, > 3, 0) = 0xb7fd2000 > > mmap2(0xb7fe3000, 2393, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, > 3, 0x10) = 0xb7fe3000 > > close(3) = 0 > > munmap(0xb7feb000, 4096) = 0 > > > open("/home/wing/src/wing/kamikaze/staging/kamikaze-x86-nightly/staging_dir/target-i386_uClibc-0.9.29/usr/lib/libdl.so.0", > O_RDONLY) = -1 ENOENT (No such file or directory) > > open("/lib/libdl.so.0", O_RDONLY) = 3 > > fstat(3, {st_mode=S_IFREG|0644, st_size=8238, ...}) = 0 > > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > -1, 0) = 0xb7feb000 > > read(3, > "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0,\7\0\0004\0\0\0\0"..., > 4096) = 4096 > > mmap2(NULL, 16384, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = > 0xb7fce000 > > mmap2(0xb7fce000, 4666, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, > 3, 0) = 0xb7fce000 > > mmap2(0xb7fd0000, 4142, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, > 3, 0x1) = 0xb7fd0000 > > close(3) = 0 > > munmap(0xb7feb000, 4096) = 0 > > > open("/home/wing/src/wing/kamikaze/staging/kamikaze-x86-nightly/staging_dir/target-i386_uClibc-0.9.29/usr/lib/libm.so.0", > O_RDONLY) = -1 ENOENT (No such file or directory) > > open("/lib/libm.so.0", O_RDONLY) = 3 > > fstat(3, {st_mode=S_IFREG|0644, st_size=45084, ...}) = 0 > > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > -1, 0) = 0xb7feb000 > > read(3, > "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\21\0\0004\0\0\0\0"..., > 4096) = 4096 > > mmap2(NULL, 53248, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = > 0xb7fc1000 > > mmap2(0xb7fc1000, 41092, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, > 3, 0) = 0xb7fc1000 > > mmap2(0xb7fcc000, 4124, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, > 3, 0xa) = 0xb7fcc000 > > close(3) = 0 > > munmap(0xb7feb000, 4096) = 0 > > > open("/home/wing/src/wing/kamikaze/staging/kamikaze-x86-nightly/staging_dir/target-i386_uClibc-0.9.29/usr/lib/libpthread.so.0", > O_RDONLY) = -1 ENOENT (No such file or directory) > > open("/lib/libpthread.so.0", O_RDONLY) = 3 > > fstat(3, {st_mode=S_IFREG|0644, st_size=48292, ...}) = 0 > > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > -1, 0) = 0xb7feb000 > > read(3, > "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\344D\0\0004\0\0\0\0"..., > 4096) = 4096 > > mmap2(NULL, 77824, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = > 0xb7fae000 > > mmap2(0xb7fae000, 41608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, > 3, 0) = 0xb7fae000 > > mmap2(0xb7fb9000, 7332, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, > 3, 0xa) = 0xb7fb9000 > > mmap2(0xb7fbb000, 23936, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7fbb000 > > close(3) = 0 > > munmap(0xb7feb000, 4096) = 0 > > > open("/home/wing/src/wing/kamikaze/staging/kamikaze-x86-nightly/staging_dir/target-i386_uClibc-0.9.29/usr/lib/libgcc_s.so.1", > O_RDONLY) = -1 ENOENT (No such file or directory) > > open("/lib/libgcc_s.so.1", O_RDONLY) = 3 > > fstat(3, {st_mode=S_IFREG|0644, st_size=32634, ...}) = 0 > > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > -1, 0) = 0xb7feb000 > > read(3, > "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0T\24\0\0004\0\0\0\0"..., > 4096) = 4096 > > mmap2(NULL, 36864, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = > 0xb7fa5000 > > mmap2(0xb7fa5000, 32252, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, > 3, 0) = 0xb7fa5000 > > mmap2(0xb7fad000, 3962, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, > 3, 0x7) = 0xb7fad000 > > close(3) = 0 > > munmap(0xb7feb000, 4096) = 0 > > > open("/home/wing/src/wing/kamikaze/staging/kamikaze-x86-nightly/staging_dir/target-i386_uClibc-0.9.29/usr/lib/libc.so.0", > O_RDONLY) = -1 ENOENT (No such file or directory) > > open("/lib/libc.so.0", O_RDONLY) = 3 > > fstat(3, {st_mode=S_IFREG|0644, st_size=279741, ...}) = 0 > > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > -1, 0) = 0xb7feb000 > > read(3, > "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\252\0\0004\0\0\0\0"..., > 4096) = 4096 > > mmap2(NULL, 307200, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = > 0xb7f5a000 > > mmap2(0xb7f5a000, 275424, PROT_READ|PROT_EXEC, > MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xb7f5a000 > > mmap2(0xb7f9e000, 5309, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, > 3, 0x43) = 0xb7f9e000 > > mmap2(0xb7fa0000, 16988, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7fa0000 > > close(3) = 0 > > munmap(0xb7feb000, 4096) = 0 > > open("/lib/libgcc_s.so.1", O_RDONLY) = 3 > > fstat(3, {st_mode=S_IFREG|0644, st_size=32634, ...}) = 0 > > close(3) = 0 > > open("/lib/libc.so.0", O_RDONLY) = 3 > > fstat(3, {st_mode=S_IFREG|0644, st_size=279741, ...}) = 0 > > close(3) = 0 > > open("/lib/libc.so.0", O_RDONLY) = 3 > > fstat(3, {st_mode=S_IFREG|0644, st_size=279741, ...}) = 0 > > close(3) = 0 > > open("/lib/libgcc_s.so.1", O_RDONLY) = 3 > > fstat(3, {st_mode=S_IFREG|0644, st_size=32634, ...}) = 0 > > close(3) = 0 > > open("/lib/libc.so.0", O_RDONLY) = 3 > > fstat(3, {st_mode=S_IFREG|0644, st_size=279741, ...}) = 0 > > close(3) = 0 > > open("/lib/libc.so.0", O_RDONLY) = 3 > > fstat(3, {st_mode=S_IFREG|0644, st_size=279741, ...}) = 0 > > close(3) = 0 > > open("/lib/libc.so.0", O_RDONLY) = 3 > > fstat(3, {st_mode=S_IFREG|0644, st_size=279741, ...}) = 0 > > close(3) = 0 > > open("/lib/libc.so.0", O_RDONLY) = 3 > > fstat(3, {st_mode=S_IFREG|0644, st_size=279741, ...}) = 0 > > close(3) = 0 > > stat("/lib/ld-uClibc.so.0", {st_mode=S_IFREG|0755, st_size=16390, > ...}) = 0 > > mprotect(0xb7fd0000, 4096, PROT_READ) = 0 > > mprotect(0xb7fcc000, 4096, PROT_READ) = 0 > > mprotect(0xb7fb9000, 4096, PROT_READ) = 0 > > mprotect(0xb7f9e000, 4096, PROT_READ) = 0 > > mprotect(0xb7ff1000, 4096, PROT_READ) = 0 > > ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon > echo ...}) = 0 > > ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon > echo ...}) = 0 > > getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, > rlim_max=RLIM_INFINITY}) = 0 > > setrlimit(RLIMIT_STACK, {rlim_cur=2044*1024, > rlim_max=RLIM_INFINITY}) = 0 > > getpid() = 9981 > > rt_sigaction(SIGRTMIN, {0xb7fb4914, [], SA_RESTORER, 0xb7f64a88}, > NULL, 8) = 0 > > rt_sigaction(SIGRT_1, {0xb7fb42dc, [RTMIN], SA_RESTORER, > 0xb7f64a88}, NULL, 8) = 0 > > rt_sigaction(SIGRT_2, {0xb7fb3ddb, [], SA_RESTORER, 0xb7f64a88}, > NULL, 8) = 0 > > rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0 > > rt_sigprocmask(SIG_UNBLOCK, [RT_1], NULL, 8) = 0 > > brk(0) = 0x8dc2000 > > brk(0x8dc3000) = 0x8dc3000 > > _sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbfaf0190, 33, (nil), 0}) = > 0 > > old_mmap(NULL, 134217728, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_ANONYMOUS, -1, 0x8060062b7eee228) = 0xaff5a000 > > old_mmap(NULL, 528384, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_ANONYMOUS, 0, 0x8060062b7eee228) = 0xafed9000 > > old_mmap(NULL, 132, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > -1, 0x8060062b7eee228) = 0xafed8000 > > old_mmap(NULL, 8196, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_ANONYMOUS, -1, 0x8060062b7eee228) = 0xafed5000 > > old_mmap(NULL, 132, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > -1, 0x8060062b7eee228) = 0xafed4000 > > old_mmap(NULL, 266240, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_ANONYMOUS, 0, 0x8060062b7eee228) = 0xafe93000 > > --- SIGSEGV (Segmentation fault) @ 0 (0) --- > > +++ killed by SIGSEGV +++ > > > > > > > > > > ----- "Robert Dodier" <robert@...> ha scritto: > > > >> On Mon, May 18, 2009 at 9:00 AM, <roberto.riggio@...> > >> wrote: > >> > >> > jamvm[10362] general protection ip:805fe81 sp:bfa5b9a0 error:0 > in > >> jamvm[8048000] > >> > Segmentation fault > >> > >> Try running jamvm from strace, e.g. > >> strace jamvm .... > >> > >> That should produce a very voluminous output, and, perhaps, show > >> what it was doing when it crashed. > >> > >> Another idea is to run jamvm within gdb. > >> Hmm, now that I think of it, probably you should try gdb first, > then > >> strace. > >> > >> Hope this helps, > >> > >> Robert Dodier > > > > > > -- > > -------------------------------------------------------- > > Roberto Riggio, PhD > > CREATE-NET, Pervasive > > Researcher > > Via alla Cascata 56/D - 38100 Povo Trento (Italy) > > e-mail: roberto.riggio@... > > Tel: (+39) 0461 408400 - interno/extension 708 > > Fax: (+39) 0461 421157 > > http://www.create-net.org/ > > -------------------------------------------------------- > > > > Le informazioni contenute in questo messaggio email e negli allegati > sono > > strettamente riservate. Il loro utilizzo e' consentito > esclusivamente al > > destinatario del messaggio, per le finalita' indicate nello stesso. > > > > The information transmitted is intended only for the person/entity > whom it is > > addressed to, and may contain confidential material. Any review, > retransmission, > > dissemination or other use of this information by persons/entities > other than > > the intended recipient is prohibited as per Italian Law 196/2003. If > you > > received this in error, contact the sender and delete it from any > pc. > > > > > ------------------------------------------------------------------------------ > > Crystal Reports - New Free Runtime and 30 Day Trial > > Check out the new simplified licensing option that enables > > unlimited royalty-free distribution of the report engine > > for externally facing server and web deployment. > > http://p.sf.net/sfu/businessobjects > > _______________________________________________ > > Jamvm-general mailing list > > Jamvm-general@... > > https://lists.sourceforge.net/lists/listinfo/jamvm-general > > -- -------------------------------------------------------- Roberto Riggio, PhD CREATE-NET, Pervasive Researcher Via alla Cascata 56/D - 38100 Povo Trento (Italy) e-mail: roberto.riggio@... Tel: (+39) 0461 408400 - interno/extension 708 Fax: (+39) 0461 421157 http://www.create-net.org/ -------------------------------------------------------- Le informazioni contenute in questo messaggio email e negli allegati sono strettamente riservate. Il loro utilizzo e' consentito esclusivamente al destinatario del messaggio, per le finalita' indicate nello stesso. The information transmitted is intended only for the person/entity whom it is addressed to, and may contain confidential material. Any review, retransmission, dissemination or other use of this information by persons/entities other than the intended recipient is prohibited as per Italian Law 196/2003. If you received this in error, contact the sender and delete it from any pc. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Jamvm-general mailing list Jamvm-general@... https://lists.sourceforge.net/lists/listinfo/jamvm-general |
| Free embeddable forum powered by Nabble | Forum Help |