← Back to team overview

hugin-devs team mailing list archive

[Bug 718116] Re: Opening Fast Preview Window crashes Hugin

 

Not sure if it is the same case,
2011.0.0.5338677e592c segfaults on me when I open the fast preview after loading a relatively big project.

The output I see in gdb is

$ gdb hugin
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/hugin...done.
(gdb) run
Starting program: /usr/local/bin/hugin 
[Thread debugging using libthread_db enabled]
MainFrame::RestoreLayoutOnNextResize()
Number of images 98
[New Thread 0x7fffe3515700 (LWP 9877)]
[Thread 0x7fffe3515700 (LWP 9877) exited]
[New Thread 0x7fffe3515700 (LWP 9878)]
[Thread 0x7fffe3515700 (LWP 9878) exited]

Program received signal SIGSEGV, Segmentation fault.
PreviewIdentifyTool::ShowImageNumber (this=0x0, image=<value optimized out>)
    at /home/yuv/src/hugin/hugin.hg/src/hugin1/hugin/PreviewIdentifyTool.cpp:476
476         DEBUG_ASSERT(image < helper->GetPanoramaPtr()->getNrOfImages());


** Changed in: hugin
       Status: New => Confirmed

** Changed in: hugin
   Importance: Undecided => Critical

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

Title:
  Opening Fast Preview Window crashes Hugin

Status in Hugin - Panorama Tools GUI:
  Confirmed

Bug description:
  Whenever I open the FPW, Hugin segfaults. I've attached the full
  backtrace of the segfault triggered by manually opening the FPW, but
  here are the top 19 lines (of 62):

  #0  0x00f7eae1 in wxWindow::DoSetSize(int, int, int, int, int) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
  #1  0x01072584 in wxSizerItem::SetDimension(wxPoint const&, wxSize const&) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
  #2  0x01072f6b in wxGridSizer::SetItemBounds(wxSizerItem*, int, int, int, int) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
  #3  0x010740ff in wxFlexGridSizer::RecalcSizes() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
  #4  0x010722d4 in wxSizer::Layout() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
  #5  0x01072409 in wxSizer::SetDimension(int, int, int, int) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
  #6  0x010725c1 in wxSizerItem::SetDimension(wxPoint const&, wxSize const&) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
  #7  0x01073512 in wxBoxSizer::RecalcSizes() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
  #8  0x010722d4 in wxSizer::Layout() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
  #9  0x01072409 in wxSizer::SetDimension(int, int, int, int) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
  #10 0x01084f55 in wxWindowBase::Layout() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
  #11 0x0107ee45 in wxTopLevelWindowBase::DoLayout() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
  #12 0x0107fd2d in wxTopLevelWindowBase::OnSize(wxSizeEvent&) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
  #13 0x00d3dc2f in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const () from /usr/lib/libwx_baseu-2.8.so.0
  #14 0x00ddc089 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
  #15 0x00ddd134 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-2.8.so.0
  #16 0x00ddd233 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
  #17 0x00fcaf65 in wxFrame::GtkOnSize() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
  #18 0x00f73e03 in wxTopLevelWindowGTK::Show(bool) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
  #19 0x080bb5f1 in MainFrame::OnToggleGLPreviewFrame(wxCommandEvent&) ()

  Running Ubuntu Maverick on an Intel DG45ID mobo with the G45 chipset
  and builtin GMA X4500HD GPU

  About→System says:

   Operating System: Linux 2.6.35-25-generic i686
   Architecture: 32 bit
   Free memory: -1738088 kiB

  Hugin
  Version: 2010.4.0.854952d82c8f
  Path to ressources: /usr/share/hugin/xrc/
  Path to data: /usr/share/hugin/data/



References