Segmentation fault when calling dbus from java. Need help

Andrejus Chaliapinas a.chaliapinas at
Thu Apr 17 09:47:13 PDT 2008


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  []  strlen+0xb

Stack: [0xbf9b5000,0xbfbb5000),  sp=0xbfbb14d0,  free space=2033k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
C  []  strlen+0xb
C  []
C  []
C  []  dbus_message_iter_append_basic+0x197
C  []  dbus_message_append_args_valist+0x207
C  []  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,

More information about the dbus mailing list