Segmentation fault when calling dbus from java. Need help
Andrejus Chaliapinas
a.chaliapinas at infosana.com
Thu Apr 17 09:47:13 PDT 2008
Hi,
I'm playing with Dbus v1.1.2-9.fc8 on FedoraCore8 and when calling some C
code via JNI with JDK jdk_1_5_0_15-linux-i586 I get segmentation fault with
top of calling stack like this:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x4c499b1b, pid=2961, tid=3086564016
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_15-b04 mixed mode, sharing)
# Problematic frame:
# C [libc.so.6+0x69b1b] strlen+0xb
#
Stack: [0xbf9b5000,0xbfbb5000), sp=0xbfbb14d0, free space=2033k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
code)
C [libc.so.6+0x69b1b] strlen+0xb
C [libdbus-1.so.2+0x1cebc]
C [libdbus-1.so.2+0x1cf14]
C [libdbus-1.so.2+0x23b37] dbus_message_iter_append_basic+0x197
C [libdbus-1.so.2+0x23f97] dbus_message_append_args_valist+0x207
C [libdbus-1.so.2+0x253df] dbus_message_append_args+0x6f
...
What should I do with that? Is it possible to find why it crashes? Should I
try to build new released Dbus 1.2.1 instead?
Any help would be appreciated.
Thank you,
Andrejus
More information about the dbus
mailing list