Hi all,<div><br></div><div>I am trying to establish communication between two processes. Processes are stable until the Dbus call is made.</div><div><br></div><div>When a dbus communication gets established, i am get a sigsegv signal (segmentation fault ) my system starts rebooting. :(... which not desirable. </div>
<div><br></div><div>i used a tool to find the trace and following is the trace.</div><div><br></div><div><h3 style="font-family:'DejaVu Sans Mono','Lucida Sans Typewriter','Lucida Console',monospace">
Stack calltrace</h3><table id="bt_tbl" style="font-size:0.9em;font-family:'DejaVu Sans Mono','Lucida Sans Typewriter','Lucida Console',monospace;border-collapse:collapse;border-spacing:0px;vertical-align:top;width:1415px">
<tbody><tr><th style="background-color:rgb(245,222,179)">#</th><th style="background-color:rgb(245,222,179)">Function</th><th style="background-color:rgb(245,222,179)"><span class="arg_head" style="color:navy;font-size:1em">Args</span><br>
<span class="var_head" style="color:rgb(165,42,42);font-size:1em">Local variables</span></th></tr><tr class="reg_row_border" style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(0,0,255)"><td style="color:rgb(255,0,0);float:left">
1)</td><td width="40%"><span id="75ce4318" title="call_in_idle_cb+0xb8" class="bin1" style="color:blue">0x75ce4318</span><span class="addr2line" style="color:green;font-style:oblique"> (call_in_idle_cb+0xb8 gdbusconnection.c:0)</span></td>
<td width="60%"></td></tr><tr class="bt_foot" style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(0,0,255);border-top-width:1px;border-top-style:solid;border-top-color:rgb(0,0,255);background-color:rgb(255,255,238);font-size:0.8em;font-style:italic">
<td style="color:rgb(255,0,0);float:left"></td><td>* - value optimized out or variable not in scope</td><td> </td></tr><tr><td style="color:rgb(255,0,0);float:left"></td><td colspan="2">cannot find fde for <span id="75ce4318" title="call_in_idle_cb+0xb8" class="bin1" style="color:blue">75ce4318</span><span class="addr2line" style="color:green;font-style:oblique"> (call_in_idle_cb+0xb8 gdbusconnection.c:0)</span> ;no return address; cannot unwind further</td>
</tr></tbody></table><hr style="font-family:'DejaVu Sans Mono','Lucida Sans Typewriter','Lucida Console',monospace;font-size:14px"><pre></pre><table style="font-size:0.9em;font-family:'DejaVu Sans Mono','Lucida Sans Typewriter','Lucida Console',monospace;border-collapse:collapse;border-spacing:0px;vertical-align:top;width:1415px">
<tbody><tr><td>Diagnostics Failure Report - Failing PID 947<br><br>PTV Emulation Failure Report, PID 947<br>DIAG 0x0b: PowerTV Diagnostic Report: 2.0 (Linux)<br>DIAG 0x0b: Cause: 0x0b - SIGSEGV: Segmentation violation<br>
DIAG 0x0b: Reason: code 0x1, Unmapped address, fault address: 0x00000000<br>DIAG 0x0b: Thread: 983 - "0x76efee20"<br>DIAG 0x0b: Backtrace: <br><span id="75ce4318" title="call_in_idle_cb+0xb8" class="bin1" style="color:blue">75ce4318</span><span class="addr2line" style="color:green;font-style:oblique"> (call_in_idle_cb+0xb8 gdbusconnection.c:0)</span> <br>
<span id="76ed5020" title="g_main_context_dispatch+0x22c" class="bin0" style="color:red">76ed5020</span><span class="addr2line" style="color:green;font-style:oblique"> (g_main_context_dispatch+0x22c ??:0)</span> <br><span id="76ed5664" title="g_main_context_iterate.clone.6+0x43c" class="bin0" style="color:red">76ed5664</span><span class="addr2line" style="color:green;font-style:oblique"> (g_main_context_iterate.clone.6+0x43c gmain.c:0)</span><br>
DIAG 0x0b: RF MAC: a4:a2:4a:cc:2d:dc<br>DIAG 0x0b: Version: IMAGE; Reference Platform Image File; 1.0.0.0 ; Mon Sep 24 2012, 12:21:55 PM GMT<br>DIAG 0x0b: Version: UNDEFINED; Universal Logging Library; 1.0.1.0d; Mon Sep 24 2012, 12:06:23 PM GMT<br>
DIAG 0x0b: Version: UNDEFINED; CPERP Library; 2.5.1.9303 ; Mon Sep 24 2012, 12:21:52 PM GMT<br>DIAG 0x0b: Version: UNDEFINED; dhcpc; 3.1.0.1d; Mon Sep 24 2012, 12:39:07 PM GMT<br>DIAG 0x0b: Version: UNDEFINED; dlss; 3.1.0.1d; Mon Sep 24 2012, 12:39:07 PM GMT<br>
DIAG 0x0b: Version: UNDEFINED; comc; 3.1.0.1d; Mon Sep 24 2012, 12:39:07 PM GMT<br>DIAG 0x0b: Version: UNDEFINED; Linux; 2.9.0.0 ; Mon Sep 24 2012, 10:25:17 PM GMT<br>DIAG 0x0b: HW MODEL: 9865, HW VER: 18, BL VER: 0.20<br>
DIAG 0x0b: LD MAP: No downloaded modules<br>DIAG 0x0b: Boot Time: Wed Dec 31 19:00:00 1969 GMT<br>DIAG 0x0b: Fail Time: Fri Jan 2 04:59:30 1970 GMT<br>DIAG 0x0b: Up Time: 1d:9h:59m:30s<br>DIAG 0x0b: <br>PC: <span id="75ce4318" title="call_in_idle_cb+0xb8" class="bin1" style="color:blue">75ce4318</span><span class="addr2line" style="color:green;font-style:oblique"> (call_in_idle_cb+0xb8 gdbusconnection.c:0)</span> RA: <span id="75ce4320" title="call_in_idle_cb+0xc0" class="bin1" style="color:blue">75ce4320</span><span class="addr2line" style="color:green;font-style:oblique"> (call_in_idle_cb+0xc0 gdbusconnection.c:0)</span><br>
r00 - r07: 00000000 10008701 00000000 00000000 31159fcc 00000081 00000001 00000000 <br>r08 - r15: 00000000 80000008 8008f23c 00000004 72572d78 00000000 00000000 0000a0a1 <br>r16 - r23: 31159fcc 00000000 00000000 <span id="76fa72f0" title="" class="bin0" style="color:red">76fa72f0</span><span class="addr2line" style="color:green;font-style:oblique"> ( ??:0)</span> 73c32f84 <span id="76fa86a0" title="" class="bin0" style="color:red">76fa86a0</span><span class="addr2line" style="color:green;font-style:oblique"> ( ??:0)</span> 29a3dfec ffffffef <br>
r24 - r31: <span id="76d18060" title="" class="bin5" style="color:teal">76d18060</span><span class="addr2line" style="color:green;font-style:oblique"> ( ??:0)</span> <span id="75cfbce8" title="g_dbus_method_invocation_get_connection" class="bin1" style="color:blue">75cfbce8</span><span class="addr2line" style="color:green;font-style:oblique"> (g_dbus_method_invocation_get_connection ??:0)</span> 00000000 00000000 75d551a0 72572dc8 00000000 <span id="75ce4320" title="call_in_idle_cb+0xc0" class="bin1" style="color:blue">75ce4320</span><span class="addr2line" style="color:green;font-style:oblique"> (call_in_idle_cb+0xc0 gdbusconnection.c:0)</span> <br>
INST <span id="75ce42c8" title="call_in_idle_cb+0x68" class="bin1" style="color:blue">75ce42c8:</span><span class="addr2line" style="color:green;font-style:oblique"> (call_in_idle_cb+0x68 gdbusconnection.c:0)</span> 8f999ba4 24a59c44 0320f809 <span id="00409021" title="DvrInfo_GetStartTime+0xc1" class="bin3" style="color:gray">00409021</span><span class="addr2line" style="color:green;font-style:oblique"> (DvrInfo_GetStartTime+0xc1 ./DVR/VZPAL_DvrInfo.c:760)</span> 8fbc0020 02002021 8f999d18 0320f809 <br>
INST <span id="75ce42e8" title="call_in_idle_cb+0x88" class="bin1" style="color:blue">75ce42e8:</span><span class="addr2line" style="color:green;font-style:oblique"> (call_in_idle_cb+0x88 gdbusconnection.c:0)</span> afa20030 8fbc0020 <span id="00402021" title="" class="bin3" style="color:gray">00402021</span><span class="addr2line" style="color:green;font-style:oblique"> ( ??:0)</span> 8f8282d8 8fa60030 245938c8 0411e971 02402821 <br>
INST <span id="75ce4308" title="call_in_idle_cb+0xa8" class="bin1" style="color:blue">75ce4308:</span><span class="addr2line" style="color:green;font-style:oblique"> (call_in_idle_cb+0xa8 gdbusconnection.c:0)</span> 1440003b 8fbc0020 8f999d18 02002021 0320f809 8e310000 8fbc0020 02002021 <br>
SP: 72572dc8<br>Stack dump from 0x72572dc0 to 0x725731c8<br>72572dc0: 00000000 <span id="75ce4308" title="call_in_idle_cb+0xa8" class="bin1" style="color:blue">75ce4308</span><span class="addr2line" style="color:green;font-style:oblique"> (call_in_idle_cb+0xa8 gdbusconnection.c:0)</span> 0000000f 72572e10 000003d7 73ef8fe4 76d1f370 000003d7 <br>
72572de0: 72572de8 76fa1000 75d551a0 <span id="76ed0acc" title="get_dispatch+0x2c" class="bin0" style="color:red">76ed0acc</span><span class="addr2line" style="color:green;font-style:oblique"> (get_dispatch+0x2c gmain.c:0)</span> 77e8c6c0 000003d7 00000000 76d1f370 <br>
72572e00: 29c73fc8 00000000 72b0eff4 <span id="76fa72f0" title="" class="bin0" style="color:red">76fa72f0</span><span class="addr2line" style="color:green;font-style:oblique"> ( ??:0)</span> 73c32f84 <span id="76ed5020" title="g_main_context_dispatch+0x22c" class="bin0" style="color:red">76ed5020</span><span class="addr2line" style="color:green;font-style:oblique"> (g_main_context_dispatch+0x22c ??:0)</span> 73ef8fe4 76d1f370 <br>
72572e20: 00000000 73c32f84 <span id="76faf460" title="configureSyslog+0x65c" class="bin7" style="color:rgb(0,255,255)">76faf460</span><span class="addr2line" style="color:green;font-style:oblique"> (configureSyslog+0x65c user/libulog/ulog_test.c:870)</span> <span id="76ed4c10" title="g_main_context_check+0x308" class="bin0" style="color:red">76ed4c10</span><span class="addr2line" style="color:green;font-style:oblique"> (g_main_context_check+0x308 ??:0)</span> 31159fcc <span id="75ce4260" title="call_in_idle_cb" class="bin1" style="color:blue">75ce4260</span><span class="addr2line" style="color:green;font-style:oblique"> (call_in_idle_cb gdbusconnection.c:0)</span> 29c73fc8 00000000 <br>
72572e40: <span id="76ecfd88" title="g_idle_dispatch" class="bin0" style="color:red">76ecfd88</span><span class="addr2line" style="color:green;font-style:oblique"> (g_idle_dispatch gmain.c:0)</span> 72572e38 72572e34 72572e30 00000000 00000000 00000001 73c32f84 <br>
72572e60: 73f02ff4 <span id="76ee58f0" title="g_poll" class="bin0" style="color:red">76ee58f0</span><span class="addr2line" style="color:green;font-style:oblique"> (g_poll ??:0)</span> <span id="76fa86a0" title="" class="bin0" style="color:red">76fa86a0</span><span class="addr2line" style="color:green;font-style:oblique"> ( ??:0)</span> <span id="77e71510" title="pthread_mutex_unlock" class="bin2" style="color:green">77e71510</span><span class="addr2line" style="color:green;font-style:oblique"> (pthread_mutex_unlock ./src/ptdmutex.cpp:548)</span> <span id="76efed50" title="g_static_mutex_get_mutex_impl" class="bin0" style="color:red">76efed50</span><span class="addr2line" style="color:green;font-style:oblique"> (g_static_mutex_get_mutex_impl ??:0)</span> 00000001 00000001 <span id="76ed5664" title="g_main_context_iterate.clone.6+0x43c" class="bin0" style="color:red">76ed5664</span><span class="addr2line" style="color:green;font-style:oblique"> (g_main_context_iterate.clone.6+0x43c gmain.c:0)</span> <br>
72572e80: 73ef8fe4 76d1f370 00000000 76d1f370 00000001 73c32f84 <span id="76faf460" title="configureSyslog+0x65c" class="bin7" style="color:rgb(0,255,255)">76faf460</span><span class="addr2line" style="color:green;font-style:oblique"> (configureSyslog+0x65c user/libulog/ulog_test.c:870)</span> 73ef8fe4 <br>
72572ea0: 7fffffff ffffffff ffffffff 00000000 73c3eff0 <span id="76ed5228" title="g_main_context_iterate.clone.6" class="bin0" style="color:red">76ed5228</span><span class="addr2line" style="color:green;font-style:oblique"> (g_main_context_iterate.clone.6 gmain.c:0)</span> <span id="76fa86a0" title="" class="bin0" style="color:red">76fa86a0</span><span class="addr2line" style="color:green;font-style:oblique"> ( ??:0)</span> <span id="76efed50" title="g_static_mutex_get_mutex_impl" class="bin0" style="color:red">76efed50</span><span class="addr2line" style="color:green;font-style:oblique"> (g_static_mutex_get_mutex_impl ??:0)</span> <br>
72572ec0: <span id="77e71228" title="pthread_mutex_lock" class="bin2" style="color:green">77e71228</span><span class="addr2line" style="color:green;font-style:oblique"> (pthread_mutex_lock ./src/ptdmutex.cpp:423)</span> 00000000 00080000 <span class="bin9" style="color:olive">7faab254</span> 72572f10 <span id="76ed5d40" title="g_main_loop_run+0x1d0" class="bin0" style="color:red">76ed5d40</span><span class="addr2line" style="color:green;font-style:oblique"> (g_main_loop_run+0x1d0 ??:0)</span> 73ef8fe4 00000000 <br>
72572ee0: 72572f10 <span id="77e8b7e8" title="_dl_runtime_resolve+0x48" class="bin6" style="color:rgb(255,0,255)">77e8b7e8</span><span class="addr2line" style="color:green;font-style:oblique"> (_dl_runtime_resolve+0x48 ldso/mips/resolve.S:54)</span> <span id="76faf460" title="configureSyslog+0x65c" class="bin7" style="color:rgb(0,255,255)">76faf460</span><span class="addr2line" style="color:green;font-style:oblique"> (configureSyslog+0x65c user/libulog/ulog_test.c:870)</span> 00000003 <span id="0041dfa4" title="on_bus_acquired" class="bin3" style="color:gray">0041dfa4</span><span class="addr2line" style="color:green;font-style:oblique"> (on_bus_acquired TestCode/../IPC-DbusServerGlue.c:478)</span> 00000000 73c3eff0 73c1afd4 <br>
72572f00: <span id="77e71510" title="pthread_mutex_unlock" class="bin2" style="color:green">77e71510</span><span class="addr2line" style="color:green;font-style:oblique"> (pthread_mutex_unlock ./src/ptdmutex.cpp:548)</span> <span id="76fa73c4" title="" class="bin0" style="color:red">76fa73c4</span><span class="addr2line" style="color:green;font-style:oblique"> ( ??:0)</span> 76fa1000 <span id="0041e504" title="MainLoopMonitor+0xe0" class="bin3" style="color:gray">0041e504</span><span class="addr2line" style="color:green;font-style:oblique"> (MainLoopMonitor+0xe0 TestCode/../IPC-DbusServerGlue.c:561)</span> 72572f18<span id="77e71374" title="pthread_mutex_lock+0x14c" class="bin2" style="color:green">77e71374</span><span class="addr2line" style="color:green;font-style:oblique"> (pthread_mutex_lock+0x14c ./src/ptdmutex.cpp:456)</span> 00000000 00000000 <br>
72572f20: <span id="0041e35c" title="on_name_acquired" class="bin3" style="color:gray">0041e35c</span><span class="addr2line" style="color:green;font-style:oblique"> (on_name_acquired TestCode/../IPC-DbusServerGlue.c:520)</span> <span id="0041e3c0" title="on_name_lost" class="bin3" style="color:gray">0041e3c0</span><span class="addr2line" style="color:green;font-style:oblique"> (on_name_lost TestCode/../IPC-DbusServerGlue.c:532)</span> 73c3eff0 00000000 00461670 76d1e8e0 00000001 73c1afd4 <br>
72572f40: 72572f80 <span id="76efee70" title="g_thread_create_proxy+0x50" class="bin0" style="color:red">76efee70</span><span class="addr2line" style="color:green;font-style:oblique"> (g_thread_create_proxy+0x50 gthread.c:0)</span> 00000000 <span id="77e6a020" title="__evoke_link_warning_pthread_attr_getstackaddr+0x20" class="bin4" style="color:orange">77e6a020</span><span class="addr2line" style="color:green;font-style:oblique"> (__evoke_link_warning_pthread_attr_getstackaddr+0x20 ??:0)</span> 77e8c6c0 <span id="76cf9b08" title="mem_DeletePointer+0x60" class="bin5" style="color:teal">76cf9b08</span><span class="addr2line" style="color:green;font-style:oblique">(mem_DeletePointer+0x60 src/umm/memfunc.c:1680)</span> <span id="76faf460" title="configureSyslog+0x65c" class="bin7" style="color:rgb(0,255,255)">76faf460</span><span class="addr2line" style="color:green;font-style:oblique"> (configureSyslog+0x65c user/libulog/ulog_test.c:870)</span> 724ecffc <br>
72572f60: 00002000 00000001 725734f0 00000000 <span id="77e6a020" title="__evoke_link_warning_pthread_attr_getstackaddr+0x20" class="bin4" style="color:orange">77e6a020</span><span class="addr2line" style="color:green;font-style:oblique"> (__evoke_link_warning_pthread_attr_getstackaddr+0x20 ??:0)</span> 00000000 00000000 <span id="77e706a4" title="wrapperThread+0x144" class="bin2" style="color:green">77e706a4</span><span class="addr2line" style="color:green;font-style:oblique"> (wrapperThread+0x144 ./src/ptdthread.cpp:281)</span> <br>
72572f80: 00000000 00000000 00000000 00000000 00000000 00000000 77e8c6c0 00000000 <br>72572fa0: 737cea3c <span id="76efee20" title="g_thread_create_proxy" class="bin0" style="color:red">76efee20</span><span class="addr2line" style="color:green;font-style:oblique"> (g_thread_create_proxy gthread.c:0)</span> 73c1afd4 737cea3c 72572fb8 <span id="77e53758" title="start_thread+0x198" class="bin4" style="color:orange">77e53758</span><span class="addr2line" style="color:green;font-style:oblique"> (start_thread+0x198 libpthread/nptl/pthread_create.c:297)</span> 73c1cff0 00000000 <br>
72572fc0: 00000000 00000000 <span id="77e72030" title="pthread_rwlock_timedrdlock+0xc0" class="bin2" style="color:green">77e72030</span><span class="addr2line" style="color:green;font-style:oblique"> (pthread_rwlock_timedrdlock+0xc0 ./src/ptdrwlock.cpp:499)</span> 00000000 00000000 00000000 00000000 00000000 <br>
72572fe0: <span id="77e5367c" title="start_thread+0xbc" class="bin4" style="color:orange">77e5367c</span><span class="addr2line" style="color:green;font-style:oblique"> (start_thread+0xbc libpthread/nptl/pthread_create.c:275)</span> 72572fb8 725734f0 <span class="bin9" style="color:olive">7faab254</span> <span id="77e6a020" title="__evoke_link_warning_pthread_attr_getstackaddr+0x20" class="bin4" style="color:orange">77e6a020</span><span class="addr2line" style="color:green;font-style:oblique"> (__evoke_link_warning_pthread_attr_getstackaddr+0x20 ??:0)</span>00000000 00000000 00000000 <br>
72573000: 00080000 <span class="bin9" style="color:olive">7faab254</span> 72572fb8 <span id="75b08490" title="" class="bin8" style="color:rgb(165,42,42)">75b08490</span><span class="addr2line" style="color:green;font-style:oblique"> ( ??:0)</span> 00000000 00000000 ffffffff ffffffff <br>
72573020: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff <br>72573040: ffffffff ffffffff 00000000 00000000 00000000 00000000 00000000 00000000 <br>72573060: 725734f0 00000000 00000000 725734f0 <span class="bin9" style="color:olive">7faab254</span> <span id="77e6a020" title="__evoke_link_warning_pthread_attr_getstackaddr+0x20" class="bin4" style="color:orange">77e6a020</span><span class="addr2line" style="color:green;font-style:oblique"> (__evoke_link_warning_pthread_attr_getstackaddr+0x20 ??:0)</span> <span id="77e70560" title="wrapperThread" class="bin2" style="color:green">77e70560</span><span class="addr2line" style="color:green;font-style:oblique"> (wrapperThread ./src/ptdthread.cpp:248)</span><span id="77e4c050" title="__thread_start+0x24" class="bin4" style="color:orange">77e4c050</span><span class="addr2line" style="color:green;font-style:oblique"> (__thread_start+0x24 linux/mips/clone.S:146)</span> <br>
72573080: 725734f0 725734f0 003d0f00 00000000 00000000 00000000 00000000 <span id="77e72030" title="pthread_rwlock_timedrdlock+0xc0" class="bin2" style="color:green">77e72030</span><span class="addr2line" style="color:green;font-style:oblique"> (pthread_rwlock_timedrdlock+0xc0 ./src/ptdrwlock.cpp:499)</span> <br>
725730a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 <br>725730c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 <br>725730e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 <br>
72573100: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 <br>72573120: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 <br>72573140: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 <br>
72573160: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 <br>72573180: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 <br>725731a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 <br>
725731c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 <br>MMAP: Linux Process Memory Load Map PID:947 (elixir_ipc)<br>MMAP: start end perm offset ver inode image</td></tr></tbody></table></div>
<div><br></div><div>I am using dbus-1.4.7 and glib-2.30. </div><div><br></div><div>Its very urgent, i am running short of time, kindly help.</div><div><br></div><div>Regards</div><div>Vinoth</div><div><br></div><div><br></div>
<div>Trace</div><div><br></div><div><br></div><div><br></div>