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

Jonas Borgström <[email protected]> 20 Feb 2003 18:38:27 +0100
Newsgroups gmane.network.beep.roadrunner.general
Organization CodeFactory AB
Message-ID <1045762707.14907.68.camel@blinky>
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
-- 
Jonas Borgström                  [email protected]
CodeFactory AB                   http://www.codefactory.se/
Office: +46 (0)90 71 86 14