hugin crashes on login 'An assertion failed'

Bug #1439005 reported by Colin Macdonald
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hugin
Invalid
Undecided
Unassigned

Bug Description

Hugin version: 2014.0.0+dfsg-1ubuntu1~trusty
Operating system: ubuntu 14.04
Memory: 3.7 GiB
OS Type: 64 bit

Error message on loading Hugin: An assertion failed
ASSERT INFO:
/usr/include/wx-3.0/wx/object.h(160): assert "wxDynamicCast(ptr, T)" failed in wxCheckCast(): wxStaticCast() used incorrectly

BACKTRACE:
[1] GLPreviewFrame::SetGuiLevel(GuiLevel)
[2] MainFrame::SetGuiLevel(GuiLevel)
[3] MainFrame::MainFrame(wxWindow*, PT::Panorama&)
[4] huginApp::OnInit()
[5] wxEntry(int&, wchar_t**)
[6] main
[7] __libc_start_main
[8] _start

If I click on 'Continue', Hugin exits immediately.

Revision history for this message
tmodes (tmodes) wrote :

I can't reproduce the issue.
Are there more information in the dialog than you have written?

Revision history for this message
Colin Macdonald (colinm) wrote : Re: [Bug 1439005] Re: hugin crashes on login 'An assertion failed'

No, there's no more dialog.

Hugin was working as recently as February 2015, but soon after that the
fault appeared and I haven't been able to use it from Linux since. I'm
not aware of any changes that I've made that might influence the fault.

I've removed and reinstalled hugin---same behaviour.

May I say that I've used Hugin heavily and I'm delighted by and grateful
for the results

Thanks for looking into this problem

On 02/04/15 03:37, tmodes wrote:
> I can't reproduce the issue.
> Are there more information in the dialog than you have written?
>

Revision history for this message
tmodes (tmodes) wrote :

Some more comments:

* Check that the packages matches (hugin and hugin-data package should both the same version). Maybe there is something mixed.
* packages.ubuntu.com lists for Ubuntu 14.04 only the 2013.0 version. And this version is compiled and linked with wxWidgets 2.8. Your assertion mentions wxWidgets 3.0. Maybe during the update there is something mixed up with the different wxWidgets versions? Just guessing.

Revision history for this message
Colin Macdonald (colinm) wrote :

Mea culpa! I had left
http://ppa.launchpad.net/hugin/hugin-builds/ubuntu trusty
repository enabled.

Many thanks for pointing out the mismatch of the wxWidgets versions:
knowing that started me looking in the right direction

On 03/04/15 18:58, tmodes wrote:
> Some more comments:
>
> * Check that the packages matches (hugin and hugin-data package should both the same version). Maybe there is something mixed.
> * packages.ubuntu.com lists for Ubuntu 14.04 only the 2013.0 version. And this version is compiled and linked with wxWidgets 2.8. Your assertion mentions wxWidgets 3.0. Maybe during the update there is something mixed up with the different wxWidgets versions? Just guessing.
>

Revision history for this message
tmodes (tmodes) wrote :

Does it mean it works now again?

Revision history for this message
Colin Macdonald (colinm) wrote :

Yes, back to normal thanks

On 06/04/15 01:43, tmodes wrote:
> Does it mean it works now again?
>

Revision history for this message
tmodes (tmodes) wrote :

Thanks for answer. So closing here.

Changed in hugin:
status: New → Invalid
Revision history for this message
Raffaele Bolliger (ruf) wrote :

I have the same issue. In my case, no packages versions conflicts.

Changed in hugin:
status: Invalid → Confirmed
Revision history for this message
Raffaele Bolliger (ruf) wrote :

See the backtrace in the screenshot, as well as the hugin version.

Revision history for this message
tmodes (tmodes) wrote :

Please test 2015.0 rc1.

Revision history for this message
Raffaele Bolliger (ruf) wrote :

Unfortunately, same issue

Revision history for this message
tmodes (tmodes) wrote :

I have no further idea what could be the cause for the problem.
Please check your installation first. Deinstall hugin (all packages, especially hugin-data). Then check /usr/share/hugin(/xrc) and /usr/local/share/hugin(/xrc). These folder should not exists after deinstallation or should be empty. If not clean up the folder. Then reinstall again.

Revision history for this message
Raffaele Bolliger (ruf) wrote :

Hello tmodes, thank you very much for your suggestions!

In addition, I also deleted the following folder:
~/.hugin

Now hugin 2015.0 rc1 works!

Revision history for this message
tmodes (tmodes) wrote :

Thanks for feedback.
When it works again I'm closing here.

Changed in hugin:
status: Confirmed → Invalid
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.