After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 673905 - paused messages are leaked when aborting a session
paused messages are leaked when aborting a session
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: Misc
2.38.x
Other Linux
: Normal major
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
: 673829 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-04-11 12:58 UTC by Sven Neumann
Modified: 2012-04-11 15:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sven Neumann 2012-04-11 12:58:25 UTC
As described on the mailing-list, messages that are in paused state won't be removed from the queue when soup_session_abort() is called. As a consequence the messages are leaked and soup_message_queue_destroy() hits an assertion:

 soup_message_queue_destroy: assertion `queue->head == NULL' failed

This appears to be caused by commit 5cb220971a, which was done to fix bug #651146. This commit introduced code in process_queue_item() that skips paused messages. Due to this code paused messages that are cancelled won't be removed from the queue.
Comment 1 Dan Winship 2012-04-11 13:58:38 UTC
fixed in master / 2.38.1
Comment 2 Sebastian Dröge (slomo) 2012-04-11 15:13:06 UTC
*** Bug 673829 has been marked as a duplicate of this bug. ***