Re: Help with core dump
- From: Bowie Owens <bowie owens csiro au>
- To: Nick Glencross <nickg glencros demon co uk>
- Cc: Richard Andrews <bbmaj7 yahoo com au>, orbitcpp-list gnome org
- Subject: Re: Help with core dump
- Date: Mon, 20 Dec 2004 16:29:04 +1100
Nick Glencross wrote:
I shall give that a go in the morning. I have been experimenting with
simpler examples, and it looks like as soon as I start submitting the
Object pointer to a thread through a queue that things break. I am
attaching the example for anyone that would like to see what I've been
doing.
What I've done (perhaps incorrectly) is have a method spawn the thread
which waits for a task to be submitted (where the task is simply
another Object pointer, which is duplicated as I believe that it
should be). The thread then simply invokes 'ping' on this Object,
which is where it dies.
As far as I can tell, when the ping method is being called from within
the new thread the ORB decides to drop out of its run loop. The main
function then continues on its way destructing the ORB and servant. I
don't understand why the ORB is exiting its run loop. But I'm pretty
sure it means a bug somewhere.
--
Bowie Owens
CSIRO Mathematical & Information Sciences
phone : +61 3 9545 8055
fax : +61 3 9545 8080
mobile : 0425 729 875
email : Bowie Owens csiro au
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]