Hugin crash-on-start in GLPreviewFrame.cpp /

50 views
Skip to first unread message

Erik Keever

unread,
Aug 10, 2015, 8:45:06 PM8/10/15
to hugin-ptx
Hello,

I've recently pushed through a large number of updates to my system. Hugin now crashes upon start; Rebuilding hugin, or the libraries involved (wkGTK?), helps not an iota.

I recompiled v.2015 with debug and it's nice enough to give me a convenient trace/report without me having to do all the digging myself.

This seems to not be the first time wxWindow::DoSetSize has been a problem:
After attaching GDB to the crash-handler here's the backtrace:

(gdb) bt
#0  0x00007f7537d4aee3 in poll () from /lib64/libc.so.6
#1  0x00007f753a0560f7 in ?? () from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#2  0x00007f7534ac8cdc in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f7534ac9072 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f753586140f in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
#5  0x00007f753a06a858 in wxEventLoop::Run() () from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#6  0x00007f753a0b6fdf in wxDialog::ShowModal() () from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#7  0x00007f7535f9bb1b in wxDebugReportPreviewStd::Show(wxDebugReport&) const () from /usr/lib64/libwx_gtk2u_qa-2.8.so.0
#8  0x00007f753ad41688 in GenerateReport (ctx=wxDebugReport::Context_Exception) at /home/erik-k/downloads/hugin-2015.0.0/src/hugin1/base_wx/platform.cpp:483
#9  0x00000000005d3a08 in huginApp::OnFatalException (this=0x1d8df60) at /home/erik-k/downloads/hugin-2015.0.0/src/hugin1/hugin/huginApp.cpp:569
#10 0x00007f753a58a37c in wxFatalSignalHandler () from /usr/lib64/libwx_baseu-2.8.so.0
#11 <signal handler called>
#12 0x00007f753a07b264 in wxWindow::DoSetSize(int, int, int, int, int) () from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#13 0x00007f753a151765 in wxBoxSizer::RecalcSizes() () from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#14 0x00007f753a165490 in wxWindowBase::Layout() () from /usr/lib64/libwx_gtk2u_core-2.8.so.0
#15 0x00000000006b088b in GLPreviewFrame::SetGuiLevel (this=0x23f7860, newLevel=GUI_SIMPLE) at /home/erik-k/downloads/hugin-2015.0.0/src/hugin1/hugin/GLPreviewFrame.cpp:3066
#16 0x000000000069fb73 in GLPreviewFrame::GLPreviewFrame (this=0x23f7860, frame=0x1eb5500, pano=...) at /home/erik-k/downloads/hugin-2015.0.0/src/hugin1/hugin/GLPreviewFrame.cpp:664
#17 0x00000000005e0e47 in MainFrame::MainFrame (this=0x1eb5500, parent=0x0, pano=...) at /home/erik-k/downloads/hugin-2015.0.0/src/hugin1/hugin/MainFrame.cpp:481
#18 0x00000000005d1851 in huginApp::OnInit (this=0x1d8df60) at /home/erik-k/downloads/hugin-2015.0.0/src/hugin1/hugin/huginApp.cpp:315
#19 0x00000000005d4a07 in wxAppConsole::CallOnInit (this=0x1d8df60) at /usr/include/wx-2.8/wx/app.h:76
#20 0x00007f753a530fcc in wxEntry(int&, wchar_t**) () from /usr/lib64/libwx_baseu-2.8.so.0
#21 0x00000000005d03cf in main (argc=1, argv=0x7fffe0aa3608) at /home/erik-k/downloads/hugin-2015.0.0/src/hugin1/hugin/huginApp.cpp:118

Anybody know if there's some dumb library version problem that makes this simple to solve? Hoping for a quick solution,

-- Erik

hugin.zip

Stefan Peter

unread,
Aug 11, 2015, 2:48:33 AM8/11/15
to hugi...@googlegroups.com
Am 11.08.2015 um 02:45 schrieb Erik Keever:
> Hello,
>
> I've recently pushed through a large number of updates to my system.
> Hugin now crashes upon start; Rebuilding hugin, or the libraries
> involved (wkGTK?), helps not an iota.

Have you tried with wxWindows 3.0?

With kind regards

Stefan Peter

Erik Keever

unread,
Aug 11, 2015, 4:09:01 AM8/11/15
to hugin-ptx
I have not; portage currently marks 3.x as not-available. The question appears moot though:

Holding ctrl (bringing up the 'left control was pressed, disable GL preview?') immediately and disabling it was, in this case, able to bypass the crash. Not surprising since it occurs during the GL window init. Following that, I attempted to build a panorama. PTBatcher-2015 also crashed in this version, on the same window init call. Using my previous hugin-2014 build's ptbatcher, started the pano, and then it, too, failed because nona couldn't access my GPU via glut.

At this point (two GL window crashes, a glut GLX error, and the previous bug's driver issue resolution), I began to suspect that something has trod upon my nVidia driver's files. Rebuild drivers, yay Hugin works again, problem solved.

Mentally mark this [Resolved, PEBKAC] and hand me the dunce hat, I deserve it tonight :)


Stefan Peter

--
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
---
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hugin-ptx+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/55C99AB7.8000500%40swissonline.ch.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages