LottaNZB hangs before lottanzb.core.App.on_quit is called on Ubuntu 10.04

Bug #513960 reported by Severin H
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LottaNZB
Fix Released
High
Severin H
lottanzb (Ubuntu)
Fix Released
Low
Severin H
Nominated for Lucid by Gerry C.

Bug Description

LottaNZB 0.5 doesn't shut down properly on Ubuntu 10.04 (0.6 does). The problem is that the application is somehow stuck between the sys.exit call and the core.App.on_exit call that has been registered using atexit. The application needs to be killed because of that. If running the backend thread is commented out, LottaNZB shuts down properly.

A testcase is attached. Everyone is invited to find a fix for the testcase that can be applied to LottaNZB 0.5.

Tags: lucid
Revision history for this message
Severin H (severinh) wrote :
Revision history for this message
Severin H (severinh) wrote :

It probably waits for the Backend thread to complete, causing "on_exit" (that would actually stop the thread) not to be called.

Revision history for this message
Severin H (severinh) wrote :

A fix has been committed. The solution is far from elegant, but it seems to work well. Testing would be appreciated.

Changed in lottanzb:
status: Triaged → Fix Committed
assignee: LottaNZB Development Team (lottanzb) → Severin Heiniger (lantash)
Changed in ubuntu:
status: New → Confirmed
Severin H (severinh)
affects: ubuntu → lottanzb (Ubuntu)
Changed in lottanzb (Ubuntu):
assignee: nobody → Severin Heiniger (lantash)
importance: Undecided → Low
status: Confirmed → In Progress
Severin H (severinh)
Changed in lottanzb:
status: Fix Committed → Fix Released
Severin H (severinh)
Changed in lottanzb (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.