← Back to team overview

hugin-devs team mailing list archive

[Bug 679362] Re: Hugin crashes with Segfault

 

Hello,

please re-open this report. It has appeared again in
<http://bugs.debian.org/71199>.

The system in question is using intel graphics, probably with a broken configuration. However the fact that hugin simply crashes instead of handling the error is clearly a bug. More info below:
--------------------

-------### Started program, loaded image, clicked Layout tab, segfault.
$ hugin
/usr/share/hugin/data/plugins/shooting_pattern.py
   CAT:initial distribution
   NAM:6-1-1 Shooting Pattern
/usr/share/hugin/data/plugins/woa.py
   CAT:Control Points
   NAM:Warped Overlap Analysis
/usr/share/hugin/data/plugins/crop_cp.py
   CAT:Control Points
   NAM:Crop Control Points
/usr/share/hugin/data/plugins/top_five.py
   CAT:Control Points
   NAM:keep 5 CPs per image pair
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Segmentation fault
-------------

    > [:~]$ glxgears -info
    > Xlib:  extension "GLX" missing on display ":0.0".
    > Error: couldn't get an RGB, Double-buffered visual
    > [:~]$

    And at this point it simply exits?


Yes.
 

    Do you have libgl1-mesa-dri or libgl1-mesa-swx11 installed?


Looks like libgl1-mesa-dri is installed. libgl1-mesa-swx11 is not installed.

[:~]$ dpkg -l | grep libgl1-mesa
ii  libgl1-mesa-dri:amd64                 8.0.5-6                            amd64        free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-glx:amd64                 8.0.5-6                            amd64        free implementation of the OpenGL API -- GLX runtime
[:~]$ 

    Could enter bt at this point?


As you wish!

Program received signal SIGSEGV, Segmentation fault.
0x00000000005b9183 in PreviewIdentifyTool::setConstantOn(bool) ()
(gdb) bt
#0  0x00000000005b9183 in PreviewIdentifyTool::setConstantOn(bool) ()
#1  0x000000000056040f in GLPreviewFrame::SetMode(int) ()
#2  0x00007ffff53aa3f6 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#3  0x00007ffff53aa564 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#4  0x00007ffff53aa887 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#5  0x00007ffff4f963d9 in wxWindowBase::TryParent(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
#6  0x00007ffff4f963d9 in wxWindowBase::TryParent(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
#7  0x00007ffff4f79f2b in wxNotebookBase::SendPageChangedEvent(int, int) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
#8  0x00007fffef05c620 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9  0x00007fffef06dfde in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007fffef075cd1 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007fffef075f82 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007ffff0779ef0 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#13 0x00007ffff0758f19 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#14 0x00007fffef05c620 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007fffef06db1b in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007fffef075972 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007fffef075f82 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007ffff0870e9e in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#19 0x00007ffff0757284 in gtk_propagate_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#20 0x00007ffff07575eb in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#21 0x00007ffff03cd80c in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#22 0x00007fffeeb96f25 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fffeeb97268 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fffeeb976da in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007ffff07565e7 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#26 0x00007ffff4ebc268 in wxEventLoop::Run() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
#27 0x00007ffff4f2e33c in wxAppBase::MainLoop() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
#28 0x00007ffff535c4e5 in wxEntry(int&, wchar_t**) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#29 0x00000000004c2dc2 in main ()
(gdb) 
-------------


** Bug watch added: Debian Bug tracker #71199
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=71199

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/679362

Title:
  Hugin crashes with Segfault

Status in Hugin - Panorama Tools GUI:
  Fix Released

Bug description:
  As soon as Hugin is opened, it crashes; in fact just after closing the
  tips popup.

  -------------------------------
  sh-4.0$ export LANG=C
  sh-4.0$ hugin
  Xlib:  extension "GLX" missing on display ":0.0".
  Xlib:  extension "GLX" missing on display ":0.0".
  MainFrame::RestoreLayoutOnNextResize()
  Segmentation fault
  sh-4.0$
  -------------------------------

  I join the backtrace

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/679362/+subscriptions