Error message at launch: an assertion failed!

Bug #1558250 reported by JeanLucCoulon
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Hugin
Fix Released
Undecided
Unassigned

Bug Description

Hi,

With latest hg version, when I start Hugin, I get a window with the following message:

ASSERT INFO:
../src/common/menucmn.cpp(982): assert "item" failed in Enable(): attempt to enable an item which doesn't exist

BACKTRACE:
[1] wxMenuBarBase::Enable(int, bool)
[2] MainFrame::MainFrame(wxWindow*, HuginBase::Panorama&)
[3] huginApp::OnInit()
[4] wxEntry(int&, wchar_t**)
[5] main
[6] __libc_start_main
[7] _start

If I click [continue], I've the same window once again, with an other backtrace:
ASSERT INFO:
../src/common/menucmn.cpp(982): assert "item" failed in Enable(): attempt to enable an item which doesn't exist

BACKTRACE:
[1] wxMenuBarBase::Enable(int, bool)
[2] MainFrame::panoramaImagesChanged(HuginBase::Panorama&, std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned int> > const&)
[3] HuginBase::Panorama::changeFinished(bool)
[4] PanoCommand::PanoCommand::execute()
[5] PanoCommand::CommandHistory::addCommand(PanoCommand::PanoCommand*, bool)
[6] huginApp::OnInit()
[7] wxEntry(int&, wchar_t**)
[8] main
[9] __libc_start_main
[10] _start

Then, after clicking [continue] it seems to start normally. But it continues to display the same error time to time along the process.

Regards

Jean-Luc

Revision history for this message
JeanLucCoulon (jean-luc-coulon-f) wrote :

BTW, I've reverted to a version from march 14 (2 days ago) and this problem didnt exist.

J-L

Revision history for this message
tmodes (tmodes) wrote :

Should be fixed in repository.

Changed in hugin:
status: New → Fix Committed
tmodes (tmodes)
Changed in hugin:
milestone: none → 2016.2beta1
tmodes (tmodes)
Changed in hugin:
status: Fix Committed → Fix Released
Revision history for this message
Leo Newburn (leokn) wrote :

I am running Hugin 3.0 from the Linux Mint 18 repository via Sftware Manager and can't open the program when I hit the continue button after the error message described here continues ad infinitum

Revision history for this message
JeanLucCoulon (jean-luc-coulon-f) wrote :

Hi,

I think it is related.
I've built the latest hg version (but this is not this one that creates the problem).

I've :
../src/gtk/dcclient.cpp(1520): assert "IsOk()" failed in Clear(): invalid window dc
ASSERT INFO:
../src/gtk/dcclient.cpp(1520): assert "IsOk()" failed in Clear(): invalid window dc

BACKTRACE:
[1] wxWindowDCImpl::Clear()
[2] ImagesTreeCtrl::SetOptimizerMode()
[3] OptimizePanel::Init(HuginBase::Panorama*)
[4] MainFrame::MainFrame(wxWindow*, HuginBase::Panorama&)
[5] huginApp::OnInit()
[6] wxEntry(int&, wchar_t**)
[7] main
[8] __libc_start_main
[9] _start

If I click [continue], I've the same message again.
It is not "qd infinitum" [tm] but I get it 12 times. At the 13th click, I get the interface.
If I uncheck "show this dialog the next time", it starts and run fine...

Jean-Luc

Revision history for this message
Leo Newburn (leokn) wrote :

I uninstalled hg 3.0 on my Linux Mint 18, then just used the OS Software manager to install the offered 2.0
The error message doesn't come up now. Someone mentioned in this thread that the problem was fixed in the repository...are they referring to the Software manager?? Because I don't see a 3.0 even offered.

Revision history for this message
Hans Bull (bullinger) wrote :

Unfortunately I still get one of these it in 2016.3.0.84a397fa5e9a from hugin/next repo in Ubuntu 16.04 on x64.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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