Segmentation fault when calling dbus from java. Need help

Andrejus Chaliapinas a.chaliapinas at infosana.com
Thu Apr 17 12:18:51 PDT 2008


Same when I close DBusViewer, so it seems persistent on socket close
operation:

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0xb79e1256, pid=4154, tid=2982828944
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_15-b04 mixed mode, sharing)
# Problematic frame:
# V  [libjvm.so+0x1a6256]
#

---------------  T H R E A D  ---------------

Current thread (0x09575f08):  JavaThread "AWT-EventQueue-0" [_thread_in_vm,
id=4165]

siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000000

Registers:
EAX=0x00000000, EBX=0xb7bc834c, ECX=0x095ec144, EDX=0x095785c0
ESP=0xb1ca4b00, EBP=0xb1ca4b34, ESI=0x095ec140, EDI=0x09575f08
EIP=0xb79e1256, CR2=0x00000000, EFLAGS=0x00210286

Top of Stack: (sp=0xb1ca4b00)
0xb1ca4b00:   00000006 b1ca4b24 b7ac20b3 b1ed740d
0xb1ca4b10:   00000023 09575f08 b786f100 b7bc834c
0xb1ca4b20:   095ec140 095ec13c b7bc834c 09575f08
0xb1ca4b30:   09575fc8 b1ca4ba4 b79c1f7a 09575fc8
0xb1ca4b40:   00000000 b1ed7448 b1ed7431 00000000
0xb1ca4b50:   09575f08 00000000 00000000 0082bfac
0xb1ca4b60:   09575f08 00000000 095ec140 09575f08
0xb1ca4b70:   b7b94300 00000169 88a0e8f0 09575f08 

Instructions: (pc=0xb79e1256)
0xb79e1246:   c0 8d 65 f4 5b 5e 5f 5d c3 90 8b 45 0c 83 ec 0c
0xb79e1256:   8b 08 51 e8 62 62 fd ff 83 c4 10 85 c0 74 1b 83 

Stack: [0xb1c25000,0xb1ca6000),  sp=0xb1ca4b00,  free space=510k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
code)
V  [libjvm.so+0x1a6256]
V  [libjvm.so+0x186f7a]
C  [libunix-java.so+0xc01]  handleerrno+0x78
C  [libunix-java.so+0x110f]
Java_cx_ath_matthew_unix_UnixSocket_native_1close+0x4c
j  cx.ath.matthew.unix.UnixSocket.native_close(I)V+0
j  cx.ath.matthew.unix.UnixSocket.close()V+5
j  cx.ath.matthew.unix.USOutputStream.close()V+9
j  org.freedesktop.dbus.MessageWriter.close()V+4
j  org.freedesktop.dbus.Transport.disconnect()V+11
j  org.freedesktop.dbus.AbstractConnection.disconnect()V+70
j  org.freedesktop.dbus.DBusConnection.disconnect()V+204
j
org.freedesktop.dbus.viewer.DBusViewer$1$1.windowClosing(Ljava/awt/event/Win
dowEvent;)V+43
j
java.awt.AWTEventMulticaster.windowClosing(Ljava/awt/event/WindowEvent;)V+8
j  java.awt.Window.processWindowEvent(Ljava/awt/event/WindowEvent;)V+68
j  javax.swing.JFrame.processWindowEvent(Ljava/awt/event/WindowEvent;)V+2
j  java.awt.Window.processEvent(Ljava/awt/AWTEvent;)V+69
j  java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+517
j  java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42
j  java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V+19
j  java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
j  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46
j
java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)
Z+233
j
java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;L
java/awt/Component;)V+26
j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j  java.awt.EventDispatchThread.run()V+9
v  ~StubRoutines::call_stub
V  [libjvm.so+0x17b2bc]
V  [libjvm.so+0x28fed8]
V  [libjvm.so+0x17ab15]
V  [libjvm.so+0x17abae]
V  [libjvm.so+0x1f2b15]
V  [libjvm.so+0x2f9933]
V  [libjvm.so+0x290ae8]
C  [libpthread.so.0+0x550b]



More information about the dbus mailing list