vrs-development
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Vrs-development] Re: GW examples - Fix for boot failure.


From: Chris Smith
Subject: [Vrs-development] Re: GW examples - Fix for boot failure.
Date: Thu, 1 Aug 2002 15:56:42 +0100

The initail list told us nothing.
The bit below gave me the function that failed, and I can see that the s_ent 
pointer is NULL - which causes the segv.

I know why this is doing this now.
The workaround is to set <maxdomains>2</maxdomains> in your config (anything 
greater than 2).
I'm fixing it in the current source tree.


I've got the current release built on my laptop, with your configuration so I 
can mirror any problems you might have.

Chris


On Wednesday 31 July 2002 06:43, you wrote:


> (gdb) up
> #1  0x40030fdd in __gw_set_server_state (s_ent=0x0, str=0x400359a4
> ".GCTRLBOOT")
>     at gwapi.c:727
> 727       strncpy( s_ent->bb_sc.state, str, SVC_NM_MAX );
> (gdb) up
> #2  0x40030a49 in __gw_get_request (function=0xbffff8e8,
> service=0xbffff8ec,
>     rdata=0xbffff8f0, flgs=0xbffff8f4) at gwapi.c:443
> 443       __gw_set_server_state( _MyServEntry, req_ctrl.service );
> (gdb) up
> #3  0x400513d3 in main (argc=6, argv=0xbffff964) at gwsrvinit.c:49
> 49          __gw_get_request( &f, &s, &d, &l );
> (gdb) up
> #4  0x4006a1c4 in __libc_start_main () from /lib/libc.so.6
> (gdb) up
> Initial frame selected; you cannot go up.
> ###############################
>
>
> For what it's worth, I've tried rebuilding from scratch -- same
> behavior.  Also, my config file was wrong; it was pointing at the
> wrong exedir.  I fixed that, rebuilt the binary config file and still
> got the same behavior.
>
>
> I didn't understand the initial listing enough to figure out where the
> segfault was occurring.  Please enlighten me...
>
>
> eric

-- 
Chris Smith
  Technical Architect - netFluid Technology Ltd.
  "Internet Technologies, Distributed Systems and Tuxedo Consultancy"
  E: address@hidden  W: http://www.nfluid.co.uk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]