SIGSEGV in call_in_idle_cb (gdbusconnection.c)

Vinoth V v.vinoth3e at gmail.com
Sun Oct 28 23:06:36 PDT 2012


Hi all,

I am trying to establish communication between two processes. Processes are
stable until the Dbus call is made.

When a dbus communication gets established, i am get a sigsegv signal
(segmentation fault ) my system starts rebooting. :(... which not
desirable.

i used a tool to find the trace and following is the trace.

Stack calltrace#FunctionArgs
Local variables1)0x75ce4318 (call_in_idle_cb+0xb8 gdbusconnection.c:0)* -
value optimized out or variable not in scope cannot find fde for
75ce4318 (call_in_idle_cb+0xb8
gdbusconnection.c:0) ;no return address; cannot unwind further
------------------------------

Diagnostics Failure Report - Failing PID 947

PTV Emulation Failure Report, PID 947
DIAG 0x0b: PowerTV Diagnostic Report: 2.0 (Linux)
DIAG 0x0b: Cause: 0x0b - SIGSEGV: Segmentation violation
DIAG 0x0b: Reason: code 0x1, Unmapped address, fault address: 0x00000000
DIAG 0x0b: Thread: 983 - "0x76efee20"
DIAG 0x0b: Backtrace:
75ce4318 (call_in_idle_cb+0xb8 gdbusconnection.c:0)
76ed5020 (g_main_context_dispatch+0x22c ??:0)
76ed5664 (g_main_context_iterate.clone.6+0x43c gmain.c:0)
DIAG 0x0b: RF MAC: a4:a2:4a:cc:2d:dc
DIAG 0x0b: Version: IMAGE; Reference Platform Image File; 1.0.0.0 ; Mon Sep
24 2012, 12:21:55 PM GMT
DIAG 0x0b: Version: UNDEFINED; Universal Logging Library; 1.0.1.0d; Mon Sep
24 2012, 12:06:23 PM GMT
DIAG 0x0b: Version: UNDEFINED; CPERP Library; 2.5.1.9303 ; Mon Sep 24 2012,
12:21:52 PM GMT
DIAG 0x0b: Version: UNDEFINED; dhcpc; 3.1.0.1d; Mon Sep 24 2012, 12:39:07
PM GMT
DIAG 0x0b: Version: UNDEFINED; dlss; 3.1.0.1d; Mon Sep 24 2012, 12:39:07 PM
GMT
DIAG 0x0b: Version: UNDEFINED; comc; 3.1.0.1d; Mon Sep 24 2012, 12:39:07 PM
GMT
DIAG 0x0b: Version: UNDEFINED; Linux; 2.9.0.0 ; Mon Sep 24 2012, 10:25:17
PM GMT
DIAG 0x0b: HW MODEL: 9865, HW VER: 18, BL VER: 0.20
DIAG 0x0b: LD MAP: No downloaded modules
DIAG 0x0b: Boot Time: Wed Dec 31 19:00:00 1969 GMT
DIAG 0x0b: Fail Time: Fri Jan 2 04:59:30 1970 GMT
DIAG 0x0b: Up Time: 1d:9h:59m:30s
DIAG 0x0b:
PC: 75ce4318 (call_in_idle_cb+0xb8 gdbusconnection.c:0) RA: 75ce4320
(call_in_idle_cb+0xc0
gdbusconnection.c:0)
r00 - r07: 00000000 10008701 00000000 00000000 31159fcc 00000081 00000001
00000000
r08 - r15: 00000000 80000008 8008f23c 00000004 72572d78 00000000 00000000
0000a0a1
r16 - r23: 31159fcc 00000000 00000000 76fa72f0 ( ??:0) 73c32f84 76fa86a0 (
??:0) 29a3dfec ffffffef
r24 - r31: 76d18060 ( ??:0) 75cfbce8 (g_dbus_method_invocation_get_connection
??:0) 00000000 00000000 75d551a0 72572dc8 00000000 75ce4320
(call_in_idle_cb+0xc0
gdbusconnection.c:0)
INST 75ce42c8: (call_in_idle_cb+0x68 gdbusconnection.c:0) 8f999ba4 24a59c44
0320f809 00409021 (DvrInfo_GetStartTime+0xc1
./DVR/VZPAL_DvrInfo.c:760) 8fbc0020
02002021 8f999d18 0320f809
INST 75ce42e8: (call_in_idle_cb+0x88 gdbusconnection.c:0) afa20030 8fbc0020
00402021 ( ??:0) 8f8282d8 8fa60030 245938c8 0411e971 02402821
INST 75ce4308: (call_in_idle_cb+0xa8 gdbusconnection.c:0) 1440003b 8fbc0020
8f999d18 02002021 0320f809 8e310000 8fbc0020 02002021
SP: 72572dc8
Stack dump from 0x72572dc0 to 0x725731c8
72572dc0: 00000000 75ce4308 (call_in_idle_cb+0xa8 gdbusconnection.c:0) 0000000f
72572e10 000003d7 73ef8fe4 76d1f370 000003d7
72572de0: 72572de8 76fa1000 75d551a0 76ed0acc (get_dispatch+0x2c
gmain.c:0) 77e8c6c0
000003d7 00000000 76d1f370
72572e00: 29c73fc8 00000000 72b0eff4 76fa72f0 ( ??:0) 73c32f84
76ed5020 (g_main_context_dispatch+0x22c
??:0) 73ef8fe4 76d1f370
72572e20: 00000000 73c32f84 76faf460 (configureSyslog+0x65c
user/libulog/ulog_test.c:870) 76ed4c10 (g_main_context_check+0x308 ??:0)
 31159fcc 75ce4260 (call_in_idle_cb gdbusconnection.c:0) 29c73fc8 00000000
72572e40: 76ecfd88 (g_idle_dispatch gmain.c:0) 72572e38 72572e34 72572e30
00000000 00000000 00000001 73c32f84
72572e60: 73f02ff4 76ee58f0 (g_poll ??:0) 76fa86a0 ( ??:0) 77e71510
(pthread_mutex_unlock
./src/ptdmutex.cpp:548) 76efed50 (g_static_mutex_get_mutex_impl ??:0) 00000001
00000001 76ed5664 (g_main_context_iterate.clone.6+0x43c gmain.c:0)
72572e80: 73ef8fe4 76d1f370 00000000 76d1f370 00000001 73c32f84
76faf460 (configureSyslog+0x65c
user/libulog/ulog_test.c:870) 73ef8fe4
72572ea0: 7fffffff ffffffff ffffffff 00000000 73c3eff0 76ed5228
(g_main_context_iterate.clone.6
gmain.c:0) 76fa86a0 ( ??:0) 76efed50 (g_static_mutex_get_mutex_impl ??:0)
72572ec0: 77e71228 (pthread_mutex_lock ./src/ptdmutex.cpp:423) 00000000
00080000 7faab254 72572f10 76ed5d40 (g_main_loop_run+0x1d0 ??:0) 73ef8fe4
00000000
72572ee0: 72572f10 77e8b7e8 (_dl_runtime_resolve+0x48
ldso/mips/resolve.S:54) 76faf460 (configureSyslog+0x65c
user/libulog/ulog_test.c:870) 00000003 0041dfa4 (on_bus_acquired
TestCode/../IPC-DbusServerGlue.c:478) 00000000 73c3eff0 73c1afd4
72572f00: 77e71510 (pthread_mutex_unlock ./src/ptdmutex.cpp:548) 76fa73c4 (
??:0) 76fa1000 0041e504 (MainLoopMonitor+0xe0
TestCode/../IPC-DbusServerGlue.c:561) 72572f1877e71374
(pthread_mutex_lock+0x14c
./src/ptdmutex.cpp:456) 00000000 00000000
72572f20: 0041e35c (on_name_acquired TestCode/../IPC-DbusServerGlue.c:520)
0041e3c0 (on_name_lost TestCode/../IPC-DbusServerGlue.c:532) 73c3eff0
00000000 00461670 76d1e8e0 00000001 73c1afd4
72572f40: 72572f80 76efee70 (g_thread_create_proxy+0x50 gthread.c:0)
 00000000 77e6a020 (__evoke_link_warning_pthread_attr_getstackaddr+0x20
??:0) 77e8c6c0 76cf9b08(mem_DeletePointer+0x60 src/umm/memfunc.c:1680)
76faf460 (configureSyslog+0x65c user/libulog/ulog_test.c:870) 724ecffc
72572f60: 00002000 00000001 725734f0 00000000 77e6a020
(__evoke_link_warning_pthread_attr_getstackaddr+0x20
??:0) 00000000 00000000 77e706a4 (wrapperThread+0x144
./src/ptdthread.cpp:281)
72572f80: 00000000 00000000 00000000 00000000 00000000 00000000 77e8c6c0
00000000
72572fa0: 737cea3c 76efee20 (g_thread_create_proxy gthread.c:0) 73c1afd4
737cea3c 72572fb8 77e53758 (start_thread+0x198
libpthread/nptl/pthread_create.c:297) 73c1cff0 00000000
72572fc0: 00000000 00000000 77e72030 (pthread_rwlock_timedrdlock+0xc0
./src/ptdrwlock.cpp:499) 00000000 00000000 00000000 00000000 00000000
72572fe0: 77e5367c (start_thread+0xbc
libpthread/nptl/pthread_create.c:275) 72572fb8
725734f0 7faab254 77e6a020 (__evoke_link_warning_pthread_attr_getstackaddr+0x20
??:0)00000000 00000000 00000000
72573000: 00080000 7faab254 72572fb8 75b08490 ( ??:0) 00000000 00000000
ffffffff ffffffff
72573020: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
ffffffff
72573040: ffffffff ffffffff 00000000 00000000 00000000 00000000 00000000
00000000
72573060: 725734f0 00000000 00000000 725734f0 7faab254 77e6a020
(__evoke_link_warning_pthread_attr_getstackaddr+0x20
??:0) 77e70560 (wrapperThread ./src/ptdthread.cpp:248)77e4c050
(__thread_start+0x24
linux/mips/clone.S:146)
72573080: 725734f0 725734f0 003d0f00 00000000 00000000 00000000 00000000
77e72030 (pthread_rwlock_timedrdlock+0xc0 ./src/ptdrwlock.cpp:499)
725730a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
725730c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
725730e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
72573100: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
72573120: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
72573140: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
72573160: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
72573180: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
725731a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
725731c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
MMAP: Linux Process Memory Load Map PID:947 (elixir_ipc)
MMAP: start end perm offset ver inode image

I am using dbus-1.4.7 and glib-2.30.

Its very urgent, i am running short of time, kindly help.

Regards
Vinoth


Trace
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20121029/b8f99fc3/attachment-0001.html>


More information about the dbus mailing list