[Bug 727486] New: frequent crashes in libdbus-1.so
https://bugzilla.novell.com/show_bug.cgi?id=727486 https://bugzilla.novell.com/show_bug.cgi?id=727486#c0 Summary: frequent crashes in libdbus-1.so Classification: openSUSE Product: openSUSE 12.1 Version: RC 1 Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: rcoe@wi.rr.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 I use davmail to interface my mail client to an exchange server to fetch and send mail. I had no issues with davmail when running opensuse 11.4. I upgraded to opensuse 12.1 this weekend. davmail crashes frequently with a SIGSEGV in libdbus-1.so. davmail uses the swt package from eclipse, which is calling functions into dbus. I upgraded the swt package in davmail from swt-3.7 to swt-3.7.1, and it didn't not help. My next step is to build swt from source to see if that fixes the issue. One example: #6 <signal handler called> #7 0x00007fad3fd8cd73 in ?? () from /lib64/libdbus-1.so.3 #8 0x00007fad3fd8d703 in ?? () from /lib64/libdbus-1.so.3 #9 0x00007fad3fd91dd1 in dbus_message_get_reply_serial () from /lib64/libdbus-1.so.3 #10 0x00007fad3fd85fbe in ?? () from /lib64/libdbus-1.so.3 #11 0x00007fad3fd9d5bb in ?? () from /lib64/libdbus-1.so.3 #12 0x00007fad3fd85e64 in ?? () from /lib64/libdbus-1.so.3 #13 0x00007fad3fd8697e in dbus_connection_get_dispatch_status () from /lib64/libdbus-1.so.3 #14 0x00007fad3f6ef6e3 in ?? () from /usr/lib64/libdbus-glib-1.so.2 #15 0x00007fad4cd28b22 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0 #16 0x00007fad4cd2992d in ?? () from /usr/lib64/libglib-2.0.so.0 #17 0x00007fad4cd29f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #18 0x00007fad4f9d21d0 in Java_org_eclipse_swt_internal_gtk_OS__1g_1main_1context_1iteration () from /usr/local/home/coe/.swt/lib/linux/x86_64/libswt-pi-gtk-3738.so #19 0x00007fad50fdbd6e in ?? () #20 0x0000000000000001 in ?? () #21 0x00000000ebd2a0c8 in ?? () #22 0x0000000000000001 in ?? () #23 0x00007fad4a48d7e8 in ?? () #24 0x0000000000000000 in ?? () When davmail works without crashing, I get messages of the form: (SWT:#####): GConf-WARNING **: The connection to DBus was broken. Can't reinitialize it. GConf Error: No D-BUS daemon running Where #### seems to be a pid (or thread id). I've attempted to debug this with gdb, but the java jvm does not initialize. I get class not found for a class passed in on the java classpath command line. I attempted to use MALLOC_CHECK_= with values of "", 0, and 1. Reproducible: Always I'm running with the sun java jre. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727486 https://bugzilla.novell.com/show_bug.cgi?id=727486#c1 Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |thoenig@novell.com |ovo.novell.com | --- Comment #1 from Andreas Jaeger <aj@suse.com> 2011-11-01 10:42:32 UTC --- Try MALLOC_PERTURB_=0 as well, please. Could you try creating a self-contained test case to see what fails? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727486 https://bugzilla.novell.com/show_bug.cgi?id=727486#c2 --- Comment #2 from Rich Coe <rcoe@wi.rr.com> 2011-11-01 18:14:34 UTC --- After I updated all my packages and got valid debuginfo installed, I'm getting valid debug traceback: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffeb07c700 (LWP 2749)] 0x00007fffe1a5adc3 in _dbus_header_get_byte_order (header=0x40720ce8) at dbus-marshal-header.c:178 178 dbus-marshal-header.c: No such file or directory. in dbus-marshal-header.c (gdb) bt #0 0x00007fffe1a5adc3 in _dbus_header_get_byte_order (header=0x40720ce8) at dbus-marshal-header.c:178 #1 0x00007fffe1a5b753 in _dbus_header_get_field_basic (header=0x40720ce8, field=5, type=117, value= 0x7fffeb07975c) at dbus-marshal-header.c:1357 #2 0x00007fffe1a5fe21 in dbus_message_get_reply_serial (message=<optimized out>) at dbus-message.c:1041 #3 0x00007fffe1a5400e in _dbus_connection_queue_received_message_link (connection=0x40720d30, link=0x4071f4a0) at dbus-connection.c:506 #4 0x00007fffe1a6b60b in _dbus_transport_queue_messages (transport=0x4077c800) at dbus-transport.c:1159 #5 0x00007fffe1a6c004 in do_reading (transport=0x4077c800) at dbus-transport-socket.c:851 #6 0x00007fffe1a6c646 in do_reading (transport=0x4077c800) at dbus-transport-socket.c:706 #7 socket_do_iteration (transport=0x4077c800, flags=6, timeout_milliseconds=<optimized out>) at dbus-transport-socket.c:1162 #8 0x00007fffe1a6b39d in _dbus_transport_do_iteration (transport=0x4077c800, flags=<optimized out>, timeout_milliseconds=<optimized out>) at dbus-transport.c:978 #9 0x00007fffe1a56505 in _dbus_connection_do_iteration_unlocked (connection=0x40720d30, pending=<optimized out>, flags=6, timeout_milliseconds=25000) at dbus-connection.c:1232 #10 0x00007fffe1a57889 in _dbus_connection_block_pending_call (pending=0x40720e50) at dbus-connection.c:2405 #11 0x00007fffe1a56dec in dbus_connection_send_with_reply_and_block (connection=0x40720d30, message= 0x4076f4e0, timeout_milliseconds=-1, error=0x7fffeb0799d0) at dbus-connection.c:3514 #12 0x00007fffe15f9108 in ensure_database (err=0x7fffeb079b68, conf=0x40743270, start_if_not_found=<optimized out>) at gconf-dbus.c:538 #13 ensure_database (conf=0x40743270, start_if_not_found=<optimized out>, err=0x7fffeb079b68) at gconf-dbus.c:488 #14 0x00007fffe15f8e01 in gconf_engine_get_database (conf=0x40743270, err=<optimized out>, start_if_not_found= 1) at gconf-dbus.c:586 #15 0x00007fffe15fa12c in gconf_engine_get_fuller (conf=0x40743270, key= 0x7fffeb5c5720 "/system/http_proxy/use_http_proxy", locale=0x40535e30 "en_US.UTF-8", use_schema_default=1, is_default_p=0x7fffeb079b7c, is_writable_p=0x7fffeb079b78, schema_name_p=0x7fffeb079b70, err= 0x7fffeb079b68) at gconf-dbus.c:1176 #16 0x00007fffe15fa51c in gconf_engine_get_entry (conf=0x40743270, key= 0x7fffeb5c5720 "/system/http_proxy/use_http_proxy", locale=0x40535e30 "en_US.UTF-8", use_schema_default=1, err=0x7fffeb079bf8) at gconf-dbus.c:1284 #17 0x00007fffe15f486e in get (client=0x40727860 [GConfClient], key= 0x7fffeb5c5720 "/system/http_proxy/use_http_proxy", use_default=1, error=0x7fffeb079bf8) at gconf-client.c:1493 #18 0x00007fffe15f6fed in gconf_client_get_full (client=0x40727860 [GConfClient], key=<optimized out>, use_schema_default=<optimized out>, err=0x7fffeb079c38, locale=0x0) at gconf-client.c:1543 #19 0x00007fffe15f75b0 in gconf_client_get_bool (client=0x40727860 [GConfClient], key= 0x7fffeb5c5720 "/system/http_proxy/use_http_proxy", err=0x0) at gconf-client.c:1778 #20 0x00007fffeb5c3245 in Java_sun_net_spi_DefaultProxySelector_getSystemProxy () from /usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre/lib/amd64/libnet.so #21 0x00007ffff2f67d6e in ?? () #22 0x00000000406f90a8 in ?? () #23 0x00000000406f90a8 in ?? () #24 0x00000000406fd000 in ?? () #25 0x00000000406f9098 in ?? () #26 0x00007fffeb07ad00 in ?? () #27 0x00000000be73adf8 in ?? () #28 0x00007fffeb07ad70 in ?? () #29 0x00000000be73b628 in ?? () #30 0x0000000000000000 in ?? () (gdb) x/i $pc => 0x7fffe1a5adc3 <_dbus_header_get_byte_order+3>: movzbl (%rax),%eax (gdb) p/x $rax $1 = 0x60 (gdb) p/x $eax $2 = 0x60 (gdb) x/8i _dbus_header_get_byte_order 0x7fffe1a5adc0 <_dbus_header_get_byte_order>: mov (%rdi),%rax => 0x7fffe1a5adc3 <_dbus_header_get_byte_order+3>: movzbl (%rax),%eax 0x7fffe1a5adc6 <_dbus_header_get_byte_order+6>: retq 0x7fffe1a5adc7: nopw 0x0(%rax,%rax,1) 0x7fffe1a5add0 <find_field_for_modification>: push %r13 0x7fffe1a5add2 <find_field_for_modification+2>: mov %rcx,%r13 0x7fffe1a5add5 <find_field_for_modification+5>: push %r12 0x7fffe1a5add7 <find_field_for_modification+7>: mov %rdi,%r12 (gdb) p/x $rdi $3 = 0x40720ce8 (gdb) x/4x 0x40720ce0 0x40720ce0: 0x00000002 0xbabababa 0x00000060 0x00000000 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=727486 https://bugzilla.novell.com/show_bug.cgi?id=727486#c3 Rich Coe <rcoe@wi.rr.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #3 from Rich Coe <rcoe@wi.rr.com> 2011-11-02 15:54:16 UTC --- What I suspect is happening is something in the java runtime is writing into memory it does not own. On the openSUSE 12.1 release, this memory location happens to be mapped into area used by libdbus. I was running davmail with java-1.6.0_26-sun under openSUSE 11.4 with no issues. I first discovered the issue with the same java version with openSUSE 12.1. I tried using java-1.6.0_29-sun and also using libdbus-1.4.1 from openSUSE 11.4. I tried using java-1.7.0_01-sun, as recommended by davmail devel, and it works. This is not a libdbus issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com