[Live-devel] segfault in DelayQueue::removeEntry()
Paolo Prete
p4olo_prete at yahoo.it
Tue Jun 10 03:12:05 PDT 2008
Hi,
i'm "stressing" my application playing and stopping streams continously. After a lot of these actions i've got this segfault:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1224886592 (LWP 2385)]
0x080bde2d in DelayQueue::removeEntry (this=0x81b6274, entry=0xacd0fb60)
at DelayQueue.cpp:152
152 entry->fPrev->fNext = entry->fNext;
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;
Paolo Prete
___________________________________
Scopri il Blog di Yahoo! Mail: trucchi, novità, consigli... e la tua opinione!
http://www.ymailblogit.com/blog/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20080610/83acf6b6/attachment-0001.html>
More information about the live-devel
mailing list