[Spread-users] Assertion fail when reloading configuration file

Adam Grossman adam.grossman at aepnetworks.com
Fri Aug 12 15:38:37 EDT 2011


i am using version 4.1.0 on fedora 15. i follow these steps:

Machine A & B:  Created a spread config with one segment, machines A and 
B in the segment
Machine A & B: Ran a program which joins a group (both machines join the 
same group) and then in an infinite loop,  sends out a message saying 
"hello from <machine name>" , reads in any incoming messaging, and 
sleeps for 1 second.
Machine A & B: Programs receive all messages
Machine A: Remove Machine B from the configuration, and use spmonitor to 
reload the configuration
Machine A: core dumps with the error: "G_compare_proc_ids_by_conf: 
Assertion `ia > -1' failed"

this only happens if under these exact conditions.  is this a bug, or i 
am handling this incorrectly?  i was hoping that any still incoming 
messages from the removed daemons would just be ignored.  if i am 
handling this incorrectly, would a solution be, any way to resolve 
this?  since spread is a single thread, i can't view it as race 
condition or anything that some simple semaphores/mutexes would solve.

thank you for any help,
-=- adam
This email message has been delivered safely and archived online by Mimecast.
For more information please visit http://www.mimecast.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.spread.org/pipermail/spread-users/attachments/20110812/24cd2012/attachment.html 

More information about the Spread-users mailing list