Opened 2 years ago

Closed 2 years ago

#13613 closed bug (fixed)

SoftwareUpdater: error after update

Reported by: Giova84 Owned by: perelandra
Priority: normal Milestone: Unscheduled
Component: Applications/SoftwareUpdater Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description

Updating from hrev51278_gcc2h to 51291_gcc2h using SoftwareUpdater (from a Terminal window); after packages downloading and installing, I got:

ERROR - you must Lock a looper before calling Quit(), team=1857, looper=w>SoftwareUpdater

However the update process went fine.

Change History (7)

comment:1 Changed 2 years ago by diver

Do you have debug report for this crash?

comment:2 Changed 2 years ago by axeld

Looking for Quit() in the sources reveal the following in http://cgit.haiku-os.org/haiku/tree/src/apps/softwareupdater/UpdateManager.cpp#n59 UpdateManager.cpp:

UpdateManager::~UpdateManager()
{
	if (fStatusWindow != NULL)
		fStatusWindow->Quit();
	if (fProblemWindow != NULL)
		fProblemWindow->Quit();
}

comment:3 in reply to:  1 Changed 2 years ago by Giova84

Replying to diver:

Do you have debug report for this crash?

When it shows this error message (from the Terminal), unfortunately SoftwareUpdater doesn't show any error/debug window (the one which asks to save a debug report); in facts seems that this error is only displayed if I run SoftwareUpdater from the Terminal.

comment:4 Changed 2 years ago by perelandra

Ah yes I may need to add a call to Lock() in there, I recently changed the way the app quits when i enabled the tab close box.

comment:5 Changed 2 years ago by perelandra

Fix tested and is coming in the next version.

comment:6 Changed 2 years ago by perelandra

Status: newin-progress

comment:7 Changed 2 years ago by perelandra

Resolution: fixed
Status: in-progressclosed

Fixed in hrev51325

Note: See TracTickets for help on using tickets.