Re: Problem with ORBit2 Client connecting to Jacorb Name Server



Finally found the source of this problem in my makefile i was linking in 
an older version of ORBit and also had -l glib .
As soon as I changed those two it worked perfectly (until my untested 
program crashed somewhere else, I blame user error).

Thanks for your help
          Greg

Michael Meeks wrote:

>Hi Greg,
>
>On Mon, 2004-01-19 at 11:47, Greg Amer wrote:
>  
>
>>handling reply
>>
>>Program received signal SIGSEGV, Segmentation fault.
>>[Switching to Thread 1078821728 (LWP 5816)]
>>0x40231803 in g_list_delete_link () from /usr/lib/libglib-2.0.so.0
>>(gdb) bt
>>#0  0x40231803 in g_list_delete_link () from /usr/lib/libglib-2.0.so.0
>>#1  0x4017e9d5 in handle_reply (buf=0x8059bd0) at
>>    
>>
>giop-recv-buffer.c:1079
>
>	Ok - there is no bug there - it looks like someone is doing something
>daft with glist usage; Quite possibly somewhere we're doing a
>g_list_free on something that we continue to use as a list node or a
>g_list_delete_link on something that we then go and maniupulate - or
>somesuch. That makes it one of those really hard to find 'somewhere
>else' bugs.
>
>	Greg - can you compile valgrind and try running that on the code with
>--alignment=8.
>
>	Thanks,
>
>		Michael.
>
>  
>




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