]
Jean-Frederic Clere commented on JBWEB-201:
-------------------------------------------
(gdb) up
#8 0x81126c70 in apr_pollset_add (pollset=0x80cddcd0, descriptor=0x805accc0) at
poll/unix/epoll.c:188
(gdb) print pollset
$1 = (apr_pollset_t *) 0x80cddcd0
(gdb) print pollset->epoll_fd
$2 = 190
(gdb) print descriptor->desc.s->socketdes
Cannot access memory at address 0x4
(gdb) print descriptor
$3 = (const apr_pollfd_t *) 0x805accc0
(gdb) print descriptor->desc.s
$4 = (apr_socket_t *) 0x0
crap the socket is 0 :-(
JBoss Web Native causes JVM crash
---------------------------------
Key: JBWEB-201
URL:
https://issues.jboss.org/browse/JBWEB-201
Project: JBoss Web
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Tomcat
Affects Versions: JBossWeb-3.0.0.CR1
Environment: RHEL x64. JBoss AS 6.0.0.Final
Reporter: Phil Haigh
Assignee: Jean-Frederic Clere
Labels: jboss, native
Attachments: hs_err_pid14823.log
Install latest JBoss native (2.0.9) libraries on JBossAS 6.0.0.Final (which uses JBoss
Web 3.0.0.CR1), JDK 1.6.0_26 and JVM crashes out soon after application start.
Snippet from crash report (full file attached):
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00002aaab5b0f468, pid=14823, tid=1191192896
#
# JRE version: 6.0_26-b03
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.1-b02 mixed mode linux-amd64 compressed
oops)
# Problematic frame:
# C [libapr-1.so.0+0x1d468] signed char+0x68
#
# If you would like to submit a bug report, please visit:
#
http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
--------------- T H R E A D ---------------
Current thread (0x00002aaac2d09000): JavaThread "ajp-127.0.0.1-8009-Poller"
daemon [_thread_in_native, id=15006, stack(0x0000000046
f02000,0x0000000047003000)]
siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR),
si_addr=0x0000000000000008
Registers:
RAX=0x0000000000000000, RBX=0x0000000047001ad0, RCX=0x0000000047001a90,
RDX=0x00002aaac453f688
RSP=0x0000000047001a90, RBP=0x00002aaac2d06b38, RSI=0x0000000000000001,
RDI=0x0000000000000259
R8 =0x0000000000000001, R9 =0x00002aaac453f688, R10=0x00002aaaab02eadf,
R11=0x00002ba6c4d23170
R12=0x00002aaac453f688, R13=0x0000000047001a90, R14=0x0000000000000000,
R15=0x00002aaac2d09000
RIP=0x00002aaab5b0f468, EFLAGS=0x0000000000010206, CSGSFS=0x0000000000000033,
ERR=0x0000000000000004
TRAPNO=0x000000000000000e
Top of Stack: (sp=0x0000000047001a90)
0x0000000047001a90: c453f68800000001 00002ba600002aaa
0x0000000047001aa0: 00002aaac4f365f8 0000000047001ad0
0x0000000047001ab0: 0000000000000000 00000007ea4d0e58
0x0000000047001ac0: 0000000047001bb8 00002aaab564c147
0x0000000047001ad0: 0000000000000000 0000000100000001
0x0000000047001ae0: 0000000000000000 00000000514505e8
0x0000000047001af0: 00002aaac2d09000 00000007ea4d0e58
0x0000000047001b00: 0000000047001b78 00002aaaab02eb0c
0x0000000047001b10: 0000000000000001 00000007e002ee78
0x0000000047001b20: 0000000000000000 0000000047001bb8
0x0000000047001b30: 0000000047001b88 0000000047001b38
0x0000000047001b40: 0000000000000000 0000000047001bb8
0x0000000047001b50: 00000007ea4d1788 0000000000000000
0x0000000047001b60: 00000007ea4d0e58 0000000000000000
0x0000000047001b70: 0000000047001b98 0000000047001c00
0x0000000047001b80: 00002aaaab02296e 00000007ea4d16b8
0x0000000047001b90: 00002aaaab02b8d6 0000000000000001
0x0000000047001ba0: 00000000514505e8 00002aaaab022a82
0x0000000047001bb0: 00002aaac4f365f8 000000077bfff118
0x0000000047001bc0: 0000000047001bc0 00000007ea4beb73
0x0000000047001bd0: 0000000047001c38 00000007ea4c2f18
0x0000000047001be0: 0000000000000000 00000007ea4bebf0
0x0000000047001bf0: 0000000047001b98 0000000047001c20
0x0000000047001c00: 0000000047001c90 00002aaaab02285a
0x0000000047001c10: 0000000000000000 00000000ffffffff
0x0000000047001c20: 0000000000000001 00000000514505e8
0x0000000047001c30: 000000077c01bc68 000000077b6059e8
0x0000000047001c40: 0000000000000009 0000000000000000
0x0000000047001c50: 0000000047001c40 00000007ea4bf518
0x0000000047001c60: 0000000047001ce0 00000007ea4c2f18
0x0000000047001c70: 00000007ea74b790 00000007ea4bfac0
0x0000000047001c80: 0000000047001c20 0000000047001ce0
--
This message is automatically generated by JIRA.
For more information on JIRA, see: