Re: libsoup-CRITICAL **: soup_session_real_requeue_message: assertion 'item != NULL' failed
- From: Graham Leggett <minfrin sharp fm>
- To: libsoup-list gnome org
- Subject: Re: libsoup-CRITICAL **: soup_session_real_requeue_message: assertion 'item != NULL' failed
- Date: Fri, 9 Oct 2015 14:31:59 +0200
On 09 Oct 2015, at 12:23 PM, Graham Leggett <minfrin sharp fm> wrote:
Picking this apart some more, and stepping through the code, I see that during
soup_session_requeue_message() there is an attempt to find the message in the queue using
soup_message_queue_lookup(), and soup_message_queue_lookup() returns NULL, causing the assertion failure.
Picking apart soup_message_queue_lookup(), the message is in fact there in the queue, but marked as
“removed”, and so the message is ignored, thus returning NULL.
According to the docs at
https://developer.gnome.org/libsoup/stable/SoupSession.html#soup-session-requeue-message we’re told "This
causes msg to be placed back on the queue to be attempted again.”, however this doesn’t seem to happen in
this case, and the docs are silent on the circumstances where this call won’t work, or what the
prerequisites are for using the call.
Can anyone shed any light on the soup_session_requeue_message() and how it is supposed to work?
Confirming that libsoup’s retry functionality does appear to be broken:
https://bugzilla.gnome.org/show_bug.cgi?id=646835
I’ve raised another bug requesting that the docs be fixed in the meantime:
https://bugzilla.gnome.org/show_bug.cgi?id=756285
Regards,
Graham
—
[
Date Prev][Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]