--- Ven 13/6/08, Ross Finlayson <[EMAIL PROTECTED]> ha scritto:
Da: Ross Finlayson <[EMAIL PROTECTED]>
Oggetto: Re: [Live-devel] segfault in DelayQueue::removeEntry()
A: "LIVE555 Streaming Media - development & use" <[EMAIL PROTECTED]>
Data: Venerdì 13 giugno 2008, 07:15
Re: [Live-devel] segfault in
DelayQueue::removeEntry()should the sanity check, at the beginning
of the function, be patched in the following way?
- if (entry == NULL || entry->fNext == NULL) return;
+ if (entry == NULL || entry->fNext == NULL || entry->fPrev == NULL) return;
In principle, this shouldn't be necessary, as it should never be
the case that "entry->fNext" is non-NULL, but
"entry->fPrev" is NULL.
So, I don't understand how your error could have occurred.
I hope you're not doing something dumb like trying to access a queue
from multiple threads?
Puzzling...
--
yes, you're right :-( . I used a thread-unsafe operation (not so dumb, but
unsafe)
thnks
Paolo
___________________________________
Scopri il Blog di Yahoo! Mail: trucchi, novità, consigli... e la tua opinione!
http://www.ymailblogit.com/blog/
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel