Hugin 2013.0 doesn't open my document at launch so it doesn't crash. Is
this a bug or a solution?

Hugin still crashes most of the time if:
Hugin is already running, the Fast Preview window is the front window.
I double click my document in the Finder, one of the files can't be found.
Hugin crashes after I select the file or click on the Cancel button of the Open 
dialog.

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000048
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libhugin_base-2013.0.dylib          0x00000001008a2522 
HuginBase::ImageCache::postEvent(boost::shared_ptr<HuginBase::ImageCache::Request>,
 boost::shared_ptr<HuginBase::ImageCache::Entry>) + 260
1   net.sourceforge.hugin.Hugin         0x0000000100097284 
huginApp::relayImageLoaded(ImageReadyEvent&) + 82
2   ..._osx_cocoau-2.9.5.0.0.dylib      0x000000010141e775 
wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, 
wxEvtHandler*, wxEvent&) + 93
3   ..._osx_cocoau-2.9.5.0.0.dylib      0x0000000101421f2b 
wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 241
4   ..._osx_cocoau-2.9.5.0.0.dylib      0x0000000101421fcc 
wxEvtHandler::TryHereOnly(wxEvent&) + 152
5   ..._osx_cocoau-2.9.5.0.0.dylib      0x000000010142202a 
wxEvtHandler::ProcessEventLocally(wxEvent&) + 46
6   ..._osx_cocoau-2.9.5.0.0.dylib      0x0000000101421534 
wxEvtHandler::ProcessEvent(wxEvent&) + 142
7   ..._osx_cocoau-2.9.5.0.0.dylib      0x0000000101421101 
wxEvtHandler::ProcessPendingEvents() + 243
8   ..._osx_cocoau-2.9.5.0.0.dylib      0x000000010135a987 
wxAppConsoleBase::ProcessPendingEvents() + 105
9   ..._osx_cocoau-2.9.5.0.0.dylib      0x00000001014058c6 
wxCFEventLoop::CommonModeObserverCallBack(__CFRunLoopObserver*, int) + 48
10  com.apple.CoreFoundation            0x00007fff854f5b07 
__CFRunLoopDoObservers + 519
11  com.apple.CoreFoundation            0x00007fff854d1434 __CFRunLoopRun + 468
12  com.apple.CoreFoundation            0x00007fff854d0d8f CFRunLoopRunSpecific 
+ 575
13  com.apple.HIToolbox                 0x00007fff895d37ee 
RunCurrentEventLoopInMode + 333
14  com.apple.HIToolbox                 0x00007fff895d3551 
ReceiveNextEventCommon + 148
15  com.apple.HIToolbox                 0x00007fff895d34ac 
BlockUntilNextEventMatchingListInMode + 59
16  com.apple.AppKit                    0x00007fff84aa9eb2 _DPSNextEvent + 708
17  com.apple.AppKit                    0x00007fff84aa9801 -[NSApplication 
nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
18  com.apple.AppKit                    0x00007fff84a6f68f -[NSApplication run] 
+ 395
19  ..._osx_cocoau-2.9.5.0.0.dylib      0x00000001014d4f24 
wxGUIEventLoop::OSXDoRun() + 108
20  ..._osx_cocoau-2.9.5.0.0.dylib      0x0000000101405d94 
wxCFEventLoop::DoRun() + 50
21  ..._osx_cocoau-2.9.5.0.0.dylib      0x000000010137fe77 
wxEventLoopBase::Run() + 83
22  ..._osx_cocoau-2.9.5.0.0.dylib      0x000000010135a0df 
wxAppConsoleBase::MainLoop() + 109
23  ..._osx_cocoau-2.9.5.0.0.dylib      0x000000010147f55b wxApp::OnRun() + 29
24  ..._osx_cocoau-2.9.5.0.0.dylib      0x00000001013a9cb6 wxEntry(int&, 
wchar_t**) + 102
25  net.sourceforge.hugin.Hugin         0x000000010009cf14 main + 20
26  net.sourceforge.hugin.Hugin         0x0000000100001c74 start + 52


I used file name "Schermafbeelding2" but it also crashes.
It looks like the Fast Preview window is too fast and uses a file before it is 
opened. This can be provoked by renaming a file but could also happen if all 
files exist (in version 2011.4.0).

I'm still using OS X 10.6.8
iMac7,1, Intel Core 2 Duo, 2.4 GHz, 4 GB
I usually use TIFF images, 16 bit gray and tried different image formats like 8 
bit gray, 32 bit color and jpeg.

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

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

Title:
  Hugin crashes on opening pto file (OS X)

Status in Hugin - Panorama Tools GUI:
  New

Bug description:
  
  Hugin crashes from time to time on opening a pto file. It seems to hapen more 
often when other programs are open in the background.
  The same pto file can open 10 times without a problem and then 4 times cause 
Hugin to crash.

  Hugin 2011.4.0 (Mac)
  OS X 10.6.8
  iMac7,1, Intel Core 2 Duo, 2.4 GHz, 4 GB
  Activity monitor: page-outs: 0 bytes, free memory 1.95 GB
  pto file with 2 or 4 TIFF images, 16 bit gray, 717 x 2706, 3.9 MB

  
  Exception Type:  EXC_CRASH (SIGABRT)
  Exception Codes: 0x0000000000000000, 0x0000000000000000
  Crashed Thread:  0  Dispatch queue: com.apple.main-thread

  Application Specific Information:
  abort() called

  Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
  0   libSystem.B.dylib                 0x922a4c5a __kill + 10
  1   libSystem.B.dylib                 0x922a4c4c kill$UNIX2003 + 32
  2   libSystem.B.dylib                 0x923375a5 raise + 26
  3   libSystem.B.dylib                 0x9234d6e4 abort + 93
  4   net.sourceforge.hugin.Hugin       0x001b877d celeste::SafeAbs(int) + 125
  5   net.sourceforge.hugin.Hugin       0x00039428 
boost::shared_ptr<HuginBase::ImageCache::Entry>::operator->() const + 56
  6   net.sourceforge.hugin.base_wx     0x011650a7 
HuginBase::ImageCache::postEvent(boost::shared_ptr<HuginBase::ImageCache::Request>,
 boost::shared_ptr<HuginBase::ImageCache::Entry>) + 183
  7   net.sourceforge.hugin.Hugin       0x0000fa95 
huginApp::relayImageLoaded(ImageReadyEvent&) + 85
  8   libwx_macu-2.8.0.7.0.dylib        0x005dbbb2 
wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, 
wxEvtHandler*, wxEvent&) + 114

  In Console:
  12-10-12 03:00:00     [0x0-0x90090].net.sourceforge.hugin.Hugin[958]  
MainFrame::RestoreLayoutOnNextResize()
  12-10-12 03:00:54     [0x0-0x90090].net.sourceforge.hugin.Hugin[958]  Number 
of images 4
  12-10-12 03:00:54     [0x0-0x90090].net.sourceforge.hugin.Hugin[958]  
ContractViolation: 
  12-10-12 03:00:54     [0x0-0x90090].net.sourceforge.hugin.Hugin[958]  
Precondition violation!
  12-10-12 03:00:54     [0x0-0x90090].net.sourceforge.hugin.Hugin[958]  Unable 
to open file ''.
  12-10-12 03:00:54     [0x0-0x90090].net.sourceforge.hugin.Hugin[958]  
(/Users/Shared/development/hugin_related/hugin-2011.4.0/mac/../src/foreign/vigra/vigra_impex/codecman:206)
  12-10-12 03:00:54     [0x0-0x90090].net.sourceforge.hugin.Hugin[958]  ERROR: 
03:00:54.104600 
(/Users/Shared/development/hugin_related/hugin-2011.4.0/mac/../src/hugin_base/huginapp/ImageCache.cpp:658)
 loadImageSafely(): Error during image reading: 
  12-10-12 03:00:54     [0x0-0x90090].net.sourceforge.hugin.Hugin[958]  
Precondition violation!
  12-10-12 03:00:54     [0x0-0x90090].net.sourceforge.hugin.Hugin[958]  Unable 
to open file ''.
  12-10-12 03:00:54     [0x0-0x90090].net.sourceforge.hugin.Hugin[958]  
(/Users/Shared/development/hugin_related/hugin-2011.4.0/mac/../src/foreign/vigra/vigra_impex/codecman:206)
  12-10-12 03:00:54     [0x0-0x90090].net.sourceforge.hugin.Hugin[958]  
/Users/Shared/development/hugin_related/ExternalPrograms/3way-repository/include/boost/smart_ptr/shared_ptr.hpp:418:
 failed assertion `px != 0'
  12-10-12 03:00:54     com.apple.launchd.peruser.502[100]      
([0x0-0x90090].net.sourceforge.hugin.Hugin[958]) Job appears to have crashed: 
Abort trap
  12-10-12 03:00:55     ReportCrash[966]        Saved crash report for 
Hugin[958] version 2011.4.0 (cf9be9344356) to 
/Users/Willeke/Library/Logs/DiagnosticReports/Hugin_2012-10-12-030055_imac-van-willeke.crash

  Also from Console, another attempt, didn't crash:
  12-10-12 01:24:45     [0x0-0x3a03a].net.sourceforge.hugin.Hugin[410]  ERROR: 
01:24:45.271502 
(/Users/Shared/development/hugin_related/hugin-2011.4.0/mac/../src/hugin_base/huginapp/ImageCache.cpp:934)
 loadSafely(): Please set 
HuginBase::ImageCache::getInstance().asyncLoadCompleteSignal to handle 
asynchronous image loads.

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

_______________________________________________
Mailing list: https://launchpad.net/~hugin-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~hugin-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to