Issue1339
Created on 2009-05-05.18:26:38 by cburroughs, last changed 2009-05-07.06:12:22 by otmarhumbel.
msg4636 (view) |
Author: (cburroughs) |
Date: 2009-05-05.18:26:37 |
|
With jython trunk.
$ ant test
....
[exec] test_grp
[exec] #
[exec] # An unexpected error has been detected by Java Runtime
Environment:
[exec] #
[exec] # SIGSEGV (0xb) at pc=0xb7f193a2, pid=23860, tid=3084172176
[exec] #
[exec] # Java VM: Java HotSpot(TM) Server VM (11.0-b15 mixed mode
linux-x86)
[exec] # Problematic frame:
[exec] # C [ld-linux.so.2+0xe3a2]
This happens consistently and occurs with beta3 as well.
|
msg4637 (view) |
Author: Oti Humbel (otmarhumbel) |
Date: 2009-05-05.19:57:48 |
|
It looks like a jna problem.
Probably similar: http://markmail.org/thread/ej2yanxjoaktmc66
This is probably not at all helpful at the moment.
I'll try to reproduce it on Ubuntu.
|
msg4640 (view) |
Author: Kevin Fitch (kfitch42) |
Date: 2009-05-06.04:30:12 |
|
No crash for me.
Ubuntu 8.04 x64
Jython trunk r6300
I tried the following JVM's (all 64bit)
java-1.5.0-sun-1.5.0.16
java-6-sun-1.6.0.07
java-6-openjdk (6b11-2ubuntu2.11)
|
msg4641 (view) |
Author: Oti Humbel (otmarhumbel) |
Date: 2009-05-06.08:38:19 |
|
On my Ubuntu 8.04 (32 bit), i got:
huo@bisonws0135:~/stuff/jython/jython-2.5b4$ ./jython
./Lib/test/test_grp.py
Inconsistency detected by ld.so: dl-open.c: 623: _dl_open: Assertion
`_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!
huo@bisonws0135:~/stuff/jython/jython-2.5b4$
using java 1.6.0_07 from Sun
|
msg4642 (view) |
Author: Oti Humbel (otmarhumbel) |
Date: 2009-05-06.11:55:17 |
|
Now i did the following:
- grab the 3.0.9 jna.jar from https://jna.dev.java.net
- put together a snapshot full-build using this jna.jar
- installed this snapshot on Ubuntu
- ran test_grp.py
This was successful:
huo@bisonws0135:~/stuff/jython/jython-2.5b4-jna$ ./jython
./Lib/test/test_grp.py
test_errors (__main__.GroupDatabaseTestCase) ... ok
test_values (__main__.GroupDatabaseTestCase) ... ok
----------------------------------------------------------------------
Ran 2 tests in 0.085s
OK
huo@bisonws0135:~/stuff/jython/jython-2.5b4-jna$
The snapshot build is here:
http://jython.extreme.st/sharedfiles/jython_installer-2.5b4-jna.jar
|
msg4643 (view) |
Author: Oti Humbel (otmarhumbel) |
Date: 2009-05-06.11:56:29 |
|
The question now is:
Can we simply replace our jna.jar with the latest released one (3.0.9) ?
|
msg4644 (view) |
Author: Frank Wierzbicki (fwierzbicki) |
Date: 2009-05-06.11:59:00 |
|
Oti: upgrading to the latest jna sounds reasonable to me provided the
regrtests run.
|
msg4646 (view) |
Author: (cburroughs) |
Date: 2009-05-06.13:03:53 |
|
No crash for me with jna.jar 3.0.9
|
msg4647 (view) |
Author: Wayne Meissner (wmeissner) |
Date: 2009-05-06.13:10:47 |
|
Just for reference, the jruby and jna bugs relating to this are:
http://jira.codehaus.org/browse/JRUBY-3084
https://jna.dev.java.net/issues/show_bug.cgi?id=93
You should be able to just update jna to 3.0.9, but an update to
jna-posix 1.0.1 probably isn't a bad idea. I did change the library
jna-posix loads from "c" to "libc.so.6" on linux to aid in avoiding this
issue.
|
msg4652 (view) |
Author: Oti Humbel (otmarhumbel) |
Date: 2009-05-07.06:12:21 |
|
cburroughs, Kevin, Wayne - many thanks for testing and helping!
trunk now uses the updated versions of jna and jna-posix, as suggested
in msg4647.
The snapshot build
(http://jython.extreme.st/sharedfiles/jython_installer-2.5b4-jna.jar) is
now up to date, too. It was built from r6315.
Closing as fixed.
|
|
Date |
User |
Action |
Args |
2009-05-07 06:12:22 | otmarhumbel | set | status: open -> closed resolution: fixed messages:
+ msg4652 |
2009-05-06 13:10:47 | wmeissner | set | nosy:
+ wmeissner messages:
+ msg4647 |
2009-05-06 13:03:54 | cburroughs | set | messages:
+ msg4646 |
2009-05-06 11:59:01 | fwierzbicki | set | messages:
+ msg4644 |
2009-05-06 11:56:30 | otmarhumbel | set | messages:
+ msg4643 |
2009-05-06 11:55:18 | otmarhumbel | set | messages:
+ msg4642 |
2009-05-06 08:38:20 | otmarhumbel | set | messages:
+ msg4641 |
2009-05-06 04:30:14 | kfitch42 | set | nosy:
+ kfitch42 messages:
+ msg4640 |
2009-05-05 23:09:09 | fwierzbicki | set | priority: urgent nosy:
+ fwierzbicki |
2009-05-05 19:57:48 | otmarhumbel | set | nosy:
+ otmarhumbel messages:
+ msg4637 |
2009-05-05 18:26:38 | cburroughs | create | |
|