← Back to team overview

hugin-devs team mailing list archive

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

 

The problem stopped as soon as I'am disabled Overview (Menu->View->Overview).
It crashes each time when I load more then one photos.


Process:               Hugin [2234]
Path:                  /Users/USER/*/Hugin.app/Contents/MacOS/Hugin
Identifier:            net.sourceforge.hugin.Hugin
Version:               2014.0.0 (483c40467492)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Hugin [2234]
User ID:               501

Date/Time:             2015-05-31 22:14:19.184 +0200
OS Version:            Mac OS X 10.10.3 (14D136)
Report Version:        11
Anonymous UUID:        355FF23F-066D-60D7-4364-7D59C3DC7FA6

Sleep/Wake UUID:       3FF2FFDB-12D5-408E-8A8B-83EF2248DB1B

Time Awake Since Boot: 12000 seconds
Time Since Wake:       900 seconds

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x000000010f700000

VM Regions Near 0x10f700000:
    MALLOC_LARGE           000000010f400000-000000010f700000 [ 3072K] rw-/rwx SM=PRV  
--> 
    MALLOC_TINY            000000010fb00000-000000010fc00000 [ 1024K] rw-/rwx SM=PRV  

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libGLU.dylib                  	0x00007fff938a5512 halveImage_ubyte(int, unsigned int, unsigned int, unsigned char*, unsigned char*, int, int, int) + 146
1   libGLU.dylib                  	0x00007fff9389c2f7 gluBuild2DMipmapsCTXCore(_CGLContextObject*, unsigned int, int, int, int, int, int, unsigned int, unsigned int, int, int, int, void const*) + 3673
2   libGLU.dylib                  	0x00007fff938a8c2e gluBuild2DMipmapsCTX + 300
3   libGLU.dylib                  	0x00007fff938a8c71 gluBuild2DMipmaps + 52
4   net.sourceforge.hugin.Hugin   	0x00000001001b13f3 TextureManager::TextureInfo::DefineLevels(int, int, bool, HuginBase::PanoramaOptions const&, HuginBase::SrcPanoImage const&) + 3603
5   libhugin_base-2014.0.dylib    	0x0000000101e064d8 boost::function3<void, boost::shared_ptr<HuginBase::ImageCache::Entry>, std::string, bool>::operator()(boost::shared_ptr<HuginBase::ImageCache::Entry>, std::string, bool) const + 104
6   libhugin_base-2014.0.dylib    	0x0000000101e0636b boost::signals2::detail::signal3_impl<void, boost::shared_ptr<HuginBase::ImageCache::Entry>, std::string, bool, boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void (boost::shared_ptr<HuginBase::ImageCache::Entry>, std::string, bool)>, boost::function<void (boost::signals2::connection const&, boost::shared_ptr<HuginBase::ImageCache::Entry>, std::string, bool)>, boost::signals2::mutex>::slot_invoker::m_invoke(boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot3<void, boost::shared_ptr<HuginBase::ImageCache::Entry>, std::string, bool, boost::function<void (boost::shared_ptr<HuginBase::ImageCache::Entry>, std::string, bool)> >, boost::signals2::mutex> > const&, boost::signals2::detail::void_type const*) const + 91
7   libhugin_base-2014.0.dylib    	0x0000000101e062a8 boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::signal3_impl<void, boost::shared_ptr<HuginBase::ImageCache::Entry>, std::string, bool, boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void (boost::shared_ptr<HuginBase::ImageCache::Entry>, std::string, bool)>, boost::function<void (boost::signals2::connection const&, boost::shared_ptr<HuginBase::ImageCache::Entry>, std::string, bool)>, boost::signals2::mutex>::slot_invoker, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot3<void, boost::shared_ptr<HuginBase::ImageCache::Entry>, std::string, bool, boost::function<void (boost::shared_ptr<HuginBase::ImageCache::Entry>, std::string, bool)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot3<void, boost::shared_ptr<HuginBase::ImageCache::Entry>, std::string, bool, boost::function<void (boost::shared_ptr<HuginBase::ImageCache::Entry>, std::string, bool)> >, boost::signals2::mutex> >::dereference() const + 40
8   libhugin_base-2014.0.dylib    	0x0000000101e03d38 boost::signals2::detail::signal3_impl<void, boost::shared_ptr<HuginBase::ImageCache::Entry>, std::string, bool, boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void (boost::shared_ptr<HuginBase::ImageCache::Entry>, std::string, bool)>, boost::function<void (boost::signals2::connection const&, boost::shared_ptr<HuginBase::ImageCache::Entry>, std::string, bool)>, boost::signals2::mutex>::operator()(boost::shared_ptr<HuginBase::ImageCache::Entry>, std::string, bool) + 536
9   libhugin_base-2014.0.dylib    	0x0000000101e02851 boost::signals2::signal3<void, boost::shared_ptr<HuginBase::ImageCache::Entry>, std::string, bool, boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void (boost::shared_ptr<HuginBase::ImageCache::Entry>, std::string, bool)>, boost::function<void (boost::signals2::connection const&, boost::shared_ptr<HuginBase::ImageCache::Entry>, std::string, bool)>, boost::signals2::mutex>::operator()(boost::shared_ptr<HuginBase::ImageCache::Entry>, std::string, bool) + 81
10  libhugin_base-2014.0.dylib    	0x0000000101dfce7c HuginBase::ImageCache::postEvent(boost::shared_ptr<HuginBase::ImageCache::Request>, boost::shared_ptr<HuginBase::ImageCache::Entry>) + 1372
11  net.sourceforge.hugin.Hugin   	0x000000010009ae75 huginApp::relayImageLoaded(ImageReadyEvent&) + 101
12  libwx_osx_cocoau-3.0.0.1.0.dylib	0x0000000100574e24 wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 468
13  libwx_osx_cocoau-3.0.0.1.0.dylib	0x00000001005762ad wxEvtHandler::ProcessEventLocally(wxEvent&) + 93
14  libwx_osx_cocoau-3.0.0.1.0.dylib	0x000000010057619e wxEvtHandler::ProcessEvent(wxEvent&) + 190
15  libwx_osx_cocoau-3.0.0.1.0.dylib	0x0000000100575d3a wxEvtHandler::ProcessPendingEvents() + 330
16  libwx_osx_cocoau-3.0.0.1.0.dylib	0x000000010043705f wxAppConsoleBase::ProcessPendingEvents() + 303
17  libwx_osx_cocoau-3.0.0.1.0.dylib	0x0000000100541092 wxCFEventLoop::OSXCommonModeObserverCallBack(__CFRunLoopObserver*, int, void*) + 66
18  com.apple.CoreFoundation      	0x00007fff8ca4b127 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
19  com.apple.CoreFoundation      	0x00007fff8ca4b080 __CFRunLoopDoObservers + 368
20  com.apple.CoreFoundation      	0x00007fff8ca3d188 __CFRunLoopRun + 872
21  com.apple.CoreFoundation      	0x00007fff8ca3cbd8 CFRunLoopRunSpecific + 296
22  com.apple.HIToolbox           	0x00007fff8af1a56f RunCurrentEventLoopInMode + 235
23  com.apple.HIToolbox           	0x00007fff8af1a1ee ReceiveNextEventCommon + 179
24  com.apple.HIToolbox           	0x00007fff8af1a12b _BlockUntilNextEventMatchingListInModeWithFilter + 71
25  com.apple.AppKit              	0x00007fff8a0029bb _DPSNextEvent + 978
26  com.apple.AppKit              	0x00007fff8a001f68 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
27  com.apple.AppKit              	0x00007fff89ff7bf3 -[NSApplication run] + 594
28  libwx_osx_cocoau-3.0.0.1.0.dylib	0x000000010065eeee wxGUIEventLoop::OSXDoRun() + 110
29  libwx_osx_cocoau-3.0.0.1.0.dylib	0x00000001005419d4 wxCFEventLoop::DoRun() + 52
30  libwx_osx_cocoau-3.0.0.1.0.dylib	0x00000001004716c5 wxEventLoopBase::Run() + 165
31  libwx_osx_cocoau-3.0.0.1.0.dylib	0x00000001004364f1 wxAppConsoleBase::MainLoop() + 209
32  libwx_osx_cocoau-3.0.0.1.0.dylib	0x00000001005f1b7a wxApp::OnRun() + 26
33  libwx_osx_cocoau-3.0.0.1.0.dylib	0x00000001004b7aa7 wxEntry(int&, wchar_t**) + 71
34  net.sourceforge.hugin.Hugin   	0x000000010009afb4 main + 20
35  net.sourceforge.hugin.Hugin   	0x0000000100001e94 start + 52

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib        	0x00007fff89f3d232 kevent64 + 10
1   libdispatch.dylib             	0x00007fff8e39ba6a _dispatch_mgr_thread + 52

Thread 2:
0   libsystem_kernel.dylib        	0x00007fff89f374de mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff89f3664f mach_msg + 55
2   com.apple.CoreFoundation      	0x00007fff8ca3deb4 __CFRunLoopServiceMachPort + 212
3   com.apple.CoreFoundation      	0x00007fff8ca3d37b __CFRunLoopRun + 1371
4   com.apple.CoreFoundation      	0x00007fff8ca3cbd8 CFRunLoopRunSpecific + 296
5   com.apple.AppKit              	0x00007fff8a0ca66b _NSEventThread + 137
6   libsystem_pthread.dylib       	0x00007fff8aaf6268 _pthread_body + 131
7   libsystem_pthread.dylib       	0x00007fff8aaf61e5 _pthread_start + 176
8   libsystem_pthread.dylib       	0x00007fff8aaf441d thread_start + 13

Thread 3:
0   libsystem_kernel.dylib        	0x00007fff89f3c94a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff8aaf440d start_wqthread + 13

Thread 4:
0   libsystem_kernel.dylib        	0x00007fff89f3c94a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff8aaf440d start_wqthread + 13

Thread 5:
0   libsystem_kernel.dylib        	0x00007fff89f3c94a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff8aaf440d start_wqthread + 13

Thread 6:
0   libsystem_kernel.dylib        	0x00007fff89f3c94a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff8aaf440d start_wqthread + 13

Thread 7:
0   libsystem_kernel.dylib        	0x00007fff89f3c94a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff8aaf440d start_wqthread + 13

Thread 8:
0   libsystem_kernel.dylib        	0x00007fff89f3c94a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff8aaf440d start_wqthread + 13

Thread 9:
0   libsystem_kernel.dylib        	0x00007fff89f3c94a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff8aaf440d start_wqthread + 13

Thread 10:
0   libsystem_kernel.dylib        	0x00007fff89f3c94a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff8aaf440d start_wqthread + 13

Thread 11:
0   libsystem_kernel.dylib        	0x00007fff89f3c94a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff8aaf440d start_wqthread + 13

Thread 12:
0   libsystem_kernel.dylib        	0x00007fff89f3c94a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff8aaf440d start_wqthread + 13

Thread 13:
0   libsystem_kernel.dylib        	0x00007fff89f3c94a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff8aaf440d start_wqthread + 13

Thread 14:
0   libsystem_kernel.dylib        	0x00007fff89f3c94a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff8aaf440d start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000001  rbx: 0x0000000000001404  rcx: 0x000000010f6febff  rdx: 0x000000010f6fec02
  rdi: 0x000000010eb91f40  rsi: 0x0000000000000003  rbp: 0x00007fff5fbf8370  rsp: 0x00007fff5fbf8348
   r8: 0x000000010eb91f40   r9: 0x000000000000008e  r10: 0x0000000000000003  r11: 0x000000000000008d
  r12: 0x00000000000001c0  r13: 0x0000000000001401  r14: 0x00000000000000af  r15: 0x00000000000000b5
  rip: 0x00007fff938a5512  rfl: 0x0000000000010206  cr2: 0x000000010f700000
  
Logical CPU:     1
Error Code:      0x00000004
Trap Number:     14

-- 
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/

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


References