Re: [Fwd: tests/rr-server core dumps multi-processor]

Paul Caffrey <[email protected]> Thu, 20 Feb 2003 17:37:55 +0000
Newsgroups gmane.network.beep.roadrunner.general
Message-ID <[email protected]>
Hi Jonas

The following is the server side core.
Paul

  (gdb) bt
#0  0xff2227b8 in g_io_channel_get_buffer_condition (channel=0x43128)
     at giochannel.c:519
#1  0xff2519b0 in g_io_unix_prepare (source=0x439a8, timeout=0xfea0bb1c)
     at giounix.c:123
#2  0xff22bb68 in g_main_context_prepare (context=0x29f40, 
priority=0xfea0bb9c)
     at gmain.c:1965
#3  0xff22c654 in g_main_context_iterate (context=0x29f40, block=1,
     dispatch=1, self=0x22d50) at gmain.c:2258
#4  0xff22d140 in g_main_loop_run (loop=0x24a28) at gmain.c:2498
#5  0xff3580d4 in run_thread (data=0x0) at rr.c:72
#6  0xff246c6c in g_thread_create_proxy (data=0x0) at gthread.c:551


Jonas Borgström wrote:
> On Thu, 2003-02-20 at 18:23, Paul Caffrey wrote:
> 
>>Hi Jonas
>>
>>Got the following client failure on the 4 cpu machine after about 2.5 hours
>>
>>This resulted in the server crashing
> 
> 
> Hi Paul,
> 
> Did you get any traceback from the server?
> 
> 
>>** ERROR **: rr_connection_start failed: disconnect()
>>
>>aborting...
>>
>>** ERROR **: rr_connection_start failed: disconnect()
>>
>>aborting...
>>
>>** ERROR **: rr_channel_close: disconnect()
>>
>>r/lib/libthread.so.1
>>(gdb) bt
>>#0  0xff079794 in __sigprocmask () from /usr/lib/libthread.so.1
>>#1  0xff06e9a8 in _resetsig () from /usr/lib/libthread.so.1
>>#2  0xff06e148 in _sigon () from /usr/lib/libthread.so.1
>>#3  0xff071188 in _thrp_kill () from /usr/lib/libthread.so.1
>>#4  0xfeecb760 in raise () from /usr/lib/libc.so.1
>>#5  0xfeeb5a84 in abort () from /usr/lib/libc.so.1
>>#6  0xff233de8 in g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR,
>>     format=0xfe5016d8 "rr_connection_start failed: disconnect()\n",
>>     args1=0x3d1bc) at gmessages.c:508
>>#7  0xff233e90 in g_log (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR,
>>     format=0x125a8 "rr_connection_start failed: %s\n") at gmessages.c:527
>>#8  0x0001129c in do_tests (connection=0x0) at rr-client.c:31
>>#9  0x000113d0 in my_thread (data=0x2b230) at rr-client.c:55
>>#10 0xff246c6c in g_thread_create_proxy (data=0x0) at gthread.c:551
>>
> 
> 
> This isn't really an error. When rr-client.c detects that the
> rr_channel_close failed (because rr-server crashed), it runs g_error ()
> to print the error message above and then aborts, hence the back trace.
> 
> / Jonas