[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
Ok, here is some more information. I removed the nightly and instead added the official hugin/next repository from launchpad. Everything that I write now refers to this version. To retrieve the backtrace I did the following: $ sudo apt-get build-dep hugin $ apt-get source hugin $ cd hugin-2012.0.0~beta1+dfsg $ geany debian/rules and comment the line dh_strip around line 162 to build it with debugging symbols $ dpkg-buildpackage -us -uc -nc Build it and create .deb packages $ sudo dpkg -i ../hugin*.deb Install them $ gdb hugin (gdb) run provole the crash (just open the fast preview and if it does not yert crash on its own then enable the Overview, this will surely crash it) (gdb) backtrace Program received signal SIGSEGV, Segmentation fault. 0x in ?? () (gdb) backtrace #0 0x in ?? () #1 0x081e91ac in OverviewOutlinesTool::draw (this=0x8c198a8) at /home/bernd/hugin-2012.0.0~beta1+dfsg/src/hugin1/hugin/OverviewOutlinesTool.cpp:194 #2 0x081e348b in PanosphereOverviewToolHelper::AfterDrawImagesBack (this=0x91d6e10) at /home/bernd/hugin-2012.0.0~beta1+dfsg/src/hugin1/hugin/ToolHelper.cpp:706 #3 0x081876e9 in GLPanosphereOverviewRenderer::Redraw (this=0x8ffe7c0) at /home/bernd/hugin-2012.0.0~beta1+dfsg/src/hugin1/hugin/GLRenderer.cpp:312 OverviewOutlinesTool.cpp:194 looks like this: glBlendEquation(GL_FUNC_ADD); comment it (because GL_FUNC_ADD is the default anyways) // glBlendEquation(GL_FUNC_ADD); now I built the package with this modification (I have no idea how to convince dpkg-buildpackage to just recompile what was modified, I can either clean everything with -Tclean and rebuild from scratch or it won't compile anything at all, probably just a file I would need to touch but I don't know which one) The patched version works like a charm, it will not crash and I can even *use* the Overview globe (which I have seen for the first time today and which is a very nice feature), everything is working perfectly well! Developers: I can reproduce the crash everytime and I have now set up the environment to build from source (based on this launchpad source package) and If you want me to insert debugging code to catch this exception and log various stuff of interest on my system to investigate what exactly is going on then please tell me, send me a patch (post it here) and I will apply and test and report back. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Fix Released Bug description: EDIT (August 6, 2011): summarized known information *WORKAROUND FOR USERS*: disable the Overview 1- start Hugin 2- load a project 3- go to the Fast Preview Window. don't touch anything else but described below as this could trigger the bug 4- hit the button Show/Hide to hide the Overview 5- quit Hugin Now Hugin should perform well. *AFFECTED SYSTEMS* - CPU: all systems with more than one thread, that is multi-core CPUs as well as single-core CPUs with hyperthreading. - Operating Systems: due to the different implementations of threading and OpenGL on different platform, some systems are more prone to error than others. Mac OS X seems to be the least affected. Windows seems to be the most affected. *AFFECTED VERSIONS* - All versions of Hugin since the introduction of the Overview in the Fast Preview are affected. That is, all versions after revision 4808:8c577b320714 2011-01-09 12:21:18 - This includes the final releases of 2011.0.0 as well as all beta/candidate releases of 2011.2.0 *SUMMARY FOR DEVELOPERS / BUG HUNTERS* This is most likely a threading issue. Lukáš' hypothesis: a race condition in OpenGL calls, when OGL is called by separate threads from both overview and fast preview. The reason is that OpenGL is not thread-safe and it can cause various problems when used within multi- threaded application. Run 'valgrind --tool=helgrind hugin' and try to reproduce the error to produce a useful backtrace like https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2253077/+files /valgrind-out.txt *ORIGINAL BUG REPORT BELOW FOR COMPLETION:* Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list:
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
btw: how is this bug status fix released when it is not fixed yet, not even in nightly builds? -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Fix Released Bug description: EDIT (August 6, 2011): summarized known information *WORKAROUND FOR USERS*: disable the Overview 1- start Hugin 2- load a project 3- go to the Fast Preview Window. don't touch anything else but described below as this could trigger the bug 4- hit the button Show/Hide to hide the Overview 5- quit Hugin Now Hugin should perform well. *AFFECTED SYSTEMS* - CPU: all systems with more than one thread, that is multi-core CPUs as well as single-core CPUs with hyperthreading. - Operating Systems: due to the different implementations of threading and OpenGL on different platform, some systems are more prone to error than others. Mac OS X seems to be the least affected. Windows seems to be the most affected. *AFFECTED VERSIONS* - All versions of Hugin since the introduction of the Overview in the Fast Preview are affected. That is, all versions after revision 4808:8c577b320714 2011-01-09 12:21:18 - This includes the final releases of 2011.0.0 as well as all beta/candidate releases of 2011.2.0 *SUMMARY FOR DEVELOPERS / BUG HUNTERS* This is most likely a threading issue. Lukáš' hypothesis: a race condition in OpenGL calls, when OGL is called by separate threads from both overview and fast preview. The reason is that OpenGL is not thread-safe and it can cause various problems when used within multi- threaded application. Run 'valgrind --tool=helgrind hugin' and try to reproduce the error to produce a useful backtrace like https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2253077/+files /valgrind-out.txt *ORIGINAL BUG REPORT BELOW FOR COMPLETION:* Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
Damn. CnP error. The version I'm using and seeing the fault with is the latest release... 2011.4.0.cf9be9344356 built by Matthew Petroff -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Fix Released Bug description: EDIT (August 6, 2011): summarized known information *WORKAROUND FOR USERS*: disable the Overview 1- start Hugin 2- load a project 3- go to the Fast Preview Window. don't touch anything else but described below as this could trigger the bug 4- hit the button Show/Hide to hide the Overview 5- quit Hugin Now Hugin should perform well. *AFFECTED SYSTEMS* - CPU: all systems with more than one thread, that is multi-core CPUs as well as single-core CPUs with hyperthreading. - Operating Systems: due to the different implementations of threading and OpenGL on different platform, some systems are more prone to error than others. Mac OS X seems to be the least affected. Windows seems to be the most affected. *AFFECTED VERSIONS* - All versions of Hugin since the introduction of the Overview in the Fast Preview are affected. That is, all versions after revision 4808:8c577b320714 2011-01-09 12:21:18 - This includes the final releases of 2011.0.0 as well as all beta/candidate releases of 2011.2.0 *SUMMARY FOR DEVELOPERS / BUG HUNTERS* This is most likely a threading issue. Lukáš' hypothesis: a race condition in OpenGL calls, when OGL is called by separate threads from both overview and fast preview. The reason is that OpenGL is not thread-safe and it can cause various problems when used within multi- threaded application. Run 'valgrind --tool=helgrind hugin' and try to reproduce the error to produce a useful backtrace like https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2253077/+files /valgrind-out.txt *ORIGINAL BUG REPORT BELOW FOR COMPLETION:* Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
With 2011.2.0.3d9649aa241a built by Matthew Petroff, this still happens on my Win7/x64 Core i7 system. This did *NOT* happen until a recent upgrade to my NVidia GT240 drivers (Driver version 296.10) The workaround half works. It stops the hang, but the preview display is corrupt until the overview panel is displayed. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Fix Released Bug description: EDIT (August 6, 2011): summarized known information *WORKAROUND FOR USERS*: disable the Overview 1- start Hugin 2- load a project 3- go to the Fast Preview Window. don't touch anything else but described below as this could trigger the bug 4- hit the button Show/Hide to hide the Overview 5- quit Hugin Now Hugin should perform well. *AFFECTED SYSTEMS* - CPU: all systems with more than one thread, that is multi-core CPUs as well as single-core CPUs with hyperthreading. - Operating Systems: due to the different implementations of threading and OpenGL on different platform, some systems are more prone to error than others. Mac OS X seems to be the least affected. Windows seems to be the most affected. *AFFECTED VERSIONS* - All versions of Hugin since the introduction of the Overview in the Fast Preview are affected. That is, all versions after revision 4808:8c577b320714 2011-01-09 12:21:18 - This includes the final releases of 2011.0.0 as well as all beta/candidate releases of 2011.2.0 *SUMMARY FOR DEVELOPERS / BUG HUNTERS* This is most likely a threading issue. Lukáš' hypothesis: a race condition in OpenGL calls, when OGL is called by separate threads from both overview and fast preview. The reason is that OpenGL is not thread-safe and it can cause various problems when used within multi- threaded application. Run 'valgrind --tool=helgrind hugin' and try to reproduce the error to produce a useful backtrace like https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2253077/+files /valgrind-out.txt *ORIGINAL BUG REPORT BELOW FOR COMPLETION:* Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
Re: [Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
Trying with 5584:9d07d4165d4 improves the situation dramatically. On a machine where hugin was freezing immediately when opening the FPW, it seems to be very stable now. I have been able to crash it only ones by clicking the FPW icon quickly after startup when it segfaulted. Have not been able to reproduce. There is one strange behaviour which I have not noticed yet: The overview only shows a black sphere when photometric correction is enabled. Disabling this AND clicking and dragging in the overview window updates the display and the panorama is visible again. Should I file as a new bug? -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: EDIT (August 6, 2011): summarized known information *WORKAROUND FOR USERS*: disable the Overview 1- start Hugin 2- load a project 3- go to the Fast Preview Window. don't touch anything else but described below as this could trigger the bug 4- hit the button Show/Hide to hide the Overview 5- quit Hugin Now Hugin should perform well. *AFFECTED SYSTEMS* - CPU: all systems with more than one thread, that is multi-core CPUs as well as single-core CPUs with hyperthreading. - Operating Systems: due to the different implementations of threading and OpenGL on different platform, some systems are more prone to error than others. Mac OS X seems to be the least affected. Windows seems to be the most affected. *AFFECTED VERSIONS* - All versions of Hugin since the introduction of the Overview in the Fast Preview are affected. That is, all versions after revision 4808:8c577b320714 2011-01-09 12:21:18 - This includes the final releases of 2011.0.0 as well as all beta/candidate releases of 2011.2.0 *SUMMARY FOR DEVELOPERS / BUG HUNTERS* This is most likely a threading issue. Lukáš' hypothesis: a race condition in OpenGL calls, when OGL is called by separate threads from both overview and fast preview. The reason is that OpenGL is not thread-safe and it can cause various problems when used within multi- threaded application. Run 'valgrind --tool=helgrind hugin' and try to reproduce the error to produce a useful backtrace like https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2253077/+files /valgrind-out.txt *ORIGINAL BUG REPORT BELOW FOR COMPLETION:* Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
Hi Felix, thanks for report. That sound promising. For the other issue, please open new ticket. I observed also a similar behaviour, but had not yet the time to track it down. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: EDIT (August 6, 2011): summarized known information *WORKAROUND FOR USERS*: disable the Overview 1- start Hugin 2- load a project 3- go to the Fast Preview Window. don't touch anything else but described below as this could trigger the bug 4- hit the button Show/Hide to hide the Overview 5- quit Hugin Now Hugin should perform well. *AFFECTED SYSTEMS* - CPU: all systems with more than one thread, that is multi-core CPUs as well as single-core CPUs with hyperthreading. - Operating Systems: due to the different implementations of threading and OpenGL on different platform, some systems are more prone to error than others. Mac OS X seems to be the least affected. Windows seems to be the most affected. *AFFECTED VERSIONS* - All versions of Hugin since the introduction of the Overview in the Fast Preview are affected. That is, all versions after revision 4808:8c577b320714 2011-01-09 12:21:18 - This includes the final releases of 2011.0.0 as well as all beta/candidate releases of 2011.2.0 *SUMMARY FOR DEVELOPERS / BUG HUNTERS* This is most likely a threading issue. Lukáš' hypothesis: a race condition in OpenGL calls, when OGL is called by separate threads from both overview and fast preview. The reason is that OpenGL is not thread-safe and it can cause various problems when used within multi- threaded application. Run 'valgrind --tool=helgrind hugin' and try to reproduce the error to produce a useful backtrace like https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2253077/+files /valgrind-out.txt *ORIGINAL BUG REPORT BELOW FOR COMPLETION:* Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
No sign of it thus far, with 2011.0.3-5578:9e51e7ef8fc7, which is a good sign. My system had been quite sensitive to it, and this version has not shown any problems. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: EDIT (August 6, 2011): summarized known information *WORKAROUND FOR USERS*: disable the Overview 1- start Hugin 2- load a project 3- go to the Fast Preview Window. don't touch anything else but described below as this could trigger the bug 4- hit the button Show/Hide to hide the Overview 5- quit Hugin Now Hugin should perform well. *AFFECTED SYSTEMS* - CPU: all systems with more than one thread, that is multi-core CPUs as well as single-core CPUs with hyperthreading. - Operating Systems: due to the different implementations of threading and OpenGL on different platform, some systems are more prone to error than others. Mac OS X seems to be the least affected. Windows seems to be the most affected. *AFFECTED VERSIONS* - All versions of Hugin since the introduction of the Overview in the Fast Preview are affected. That is, all versions after revision 4808:8c577b320714 2011-01-09 12:21:18 - This includes the final releases of 2011.0.0 as well as all beta/candidate releases of 2011.2.0 *SUMMARY FOR DEVELOPERS / BUG HUNTERS* This is most likely a threading issue. Lukáš' hypothesis: a race condition in OpenGL calls, when OGL is called by separate threads from both overview and fast preview. The reason is that OpenGL is not thread-safe and it can cause various problems when used within multi- threaded application. Run 'valgrind --tool=helgrind hugin' and try to reproduce the error to produce a useful backtrace like https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2253077/+files /valgrind-out.txt *ORIGINAL BUG REPORT BELOW FOR COMPLETION:* Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
Please test changeset b9bbb678382d: initialize some variables. I hope, that this prevents the calling of the transformation with such big values. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: EDIT (August 6, 2011): summarized known information *WORKAROUND FOR USERS*: disable the Overview 1- start Hugin 2- load a project 3- go to the Fast Preview Window. don't touch anything else but described below as this could trigger the bug 4- hit the button Show/Hide to hide the Overview 5- quit Hugin Now Hugin should perform well. *AFFECTED SYSTEMS* - CPU: all systems with more than one thread, that is multi-core CPUs as well as single-core CPUs with hyperthreading. - Operating Systems: due to the different implementations of threading and OpenGL on different platform, some systems are more prone to error than others. Mac OS X seems to be the least affected. Windows seems to be the most affected. *AFFECTED VERSIONS* - All versions of Hugin since the introduction of the Overview in the Fast Preview are affected. That is, all versions after revision 4808:8c577b320714 2011-01-09 12:21:18 - This includes the final releases of 2011.0.0 as well as all beta/candidate releases of 2011.2.0 *SUMMARY FOR DEVELOPERS / BUG HUNTERS* This is most likely a threading issue. Lukáš' hypothesis: a race condition in OpenGL calls, when OGL is called by separate threads from both overview and fast preview. The reason is that OpenGL is not thread-safe and it can cause various problems when used within multi- threaded application. Run 'valgrind --tool=helgrind hugin' and try to reproduce the error to produce a useful backtrace like https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2253077/+files /valgrind-out.txt *ORIGINAL BUG REPORT BELOW FOR COMPLETION:* Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
The workaround described in the current description of the bug doesn't work for me (Windows XP SP3, netbook with dual Atom processors/cores). I was able to switch off the overview window by editing the Registry. Workaround for Windows users: 1. Open the Registry Editor 2. Open HKEY_CURRENT_USER\Software\hugin\GLPreviewFrame 3. Change the value of the overview_hidden key to 1 4. Change the value of the showPreviewGrid key to 0 (you don't need the grid and you can't turn it off when the overview window is hidden) By the way, there are three different naming schemes used in that settings (showPreviewGrid but ShowProjectionPoints and overview_hidden). Consistency is usually a nice thing. :) -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: EDIT (August 6, 2011): summarized known information *WORKAROUND FOR USERS*: disable the Overview 1- start Hugin 2- load a project 3- go to the Fast Preview Window. don't touch anything else but described below as this could trigger the bug 4- hit the button Show/Hide to hide the Overview 5- quit Hugin Now Hugin should perform well. *AFFECTED SYSTEMS* - CPU: all systems with more than one thread, that is multi-core CPUs as well as single-core CPUs with hyperthreading. - Operating Systems: due to the different implementations of threading and OpenGL on different platform, some systems are more prone to error than others. Mac OS X seems to be the least affected. Windows seems to be the most affected. *AFFECTED VERSIONS* - All versions of Hugin since the introduction of the Overview in the Fast Preview are affected. That is, all versions after revision 4808:8c577b320714 2011-01-09 12:21:18 - This includes the final releases of 2011.0.0 as well as all beta/candidate releases of 2011.2.0 *SUMMARY FOR DEVELOPERS / BUG HUNTERS* This is most likely a threading issue. Lukáš' hypothesis: a race condition in OpenGL calls, when OGL is called by separate threads from both overview and fast preview. The reason is that OpenGL is not thread-safe and it can cause various problems when used within multi- threaded application. Run 'valgrind --tool=helgrind hugin' and try to reproduce the error to produce a useful backtrace like https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2253077/+files /valgrind-out.txt *ORIGINAL BUG REPORT BELOW FOR COMPLETION:* Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
Re: [Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat 20-Aug-2011 at 09:43 -, Lukas Jirkovsky wrote: A first one is a hang in libpano math.c, line 297: while( *x_src var0 ) *x_src -= 2 * var0; because *x_src = 2.17213129256892e+98 and var0 = 13652.608695652176. If my computations are correct, *x_src never changes because of the underflow. I'm able to reproduce this problem with one panorama in approximately one quarter of tests. I don't see this bug in action even though it is clearly asking for trouble. Could it only appear on a particular architecture? or maybe there is something in the default fedora gcc flags that prevents the underflow. Can you provide a patch for libpano13? -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFOZoJ0FqOhwCjyCLoRAh1RAKCbgqX76YW/qjAS6C7LsjMaLJl0SQCguDf1 8d/0Ku+qbc+FCAkD9EtWTKU= =76/c -END PGP SIGNATURE- -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: EDIT (August 6, 2011): summarized known information *WORKAROUND FOR USERS*: disable the Overview 1- start Hugin 2- load a project 3- go to the Fast Preview Window. don't touch anything else but described below as this could trigger the bug 4- hit the button Show/Hide to hide the Overview 5- quit Hugin Now Hugin should perform well. *AFFECTED SYSTEMS* - CPU: all systems with more than one thread, that is multi-core CPUs as well as single-core CPUs with hyperthreading. - Operating Systems: due to the different implementations of threading and OpenGL on different platform, some systems are more prone to error than others. Mac OS X seems to be the least affected. Windows seems to be the most affected. *AFFECTED VERSIONS* - All versions of Hugin since the introduction of the Overview in the Fast Preview are affected. That is, all versions after revision 4808:8c577b320714 2011-01-09 12:21:18 - This includes the final releases of 2011.0.0 as well as all beta/candidate releases of 2011.2.0 *SUMMARY FOR DEVELOPERS / BUG HUNTERS* This is most likely a threading issue. Lukáš' hypothesis: a race condition in OpenGL calls, when OGL is called by separate threads from both overview and fast preview. The reason is that OpenGL is not thread-safe and it can cause various problems when used within multi- threaded application. Run 'valgrind --tool=helgrind hugin' and try to reproduce the error to produce a useful backtrace like https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2253077/+files /valgrind-out.txt *ORIGINAL BUG REPORT BELOW FOR COMPLETION:* Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
I was able to identify two bugs plaguing the fast preview. A first one is a hang in libpano math.c, line 297: while( *x_src var0 ) *x_src -= 2 * var0; because *x_src = 2.17213129256892e+98 and var0 = 13652.608695652176. If my computations are correct, *x_src never changes because of the underflow. I'm able to reproduce this problem with one panorama in approximately one quarter of tests. The other one is the same crash for which Terry already provided backtrace using hellgrind. I was able to reproduce it twice, but after adding some debug statements I was not able to reproduce it so far. Atached is the gdb backtrace for both issues. ** Attachment added: gdb https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2294159/+files/gdb -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: EDIT (August 6, 2011): summarized known information *WORKAROUND FOR USERS*: disable the Overview 1- start Hugin 2- load a project 3- go to the Fast Preview Window. don't touch anything else but described below as this could trigger the bug 4- hit the button Show/Hide to hide the Overview 5- quit Hugin Now Hugin should perform well. *AFFECTED SYSTEMS* - CPU: all systems with more than one thread, that is multi-core CPUs as well as single-core CPUs with hyperthreading. - Operating Systems: due to the different implementations of threading and OpenGL on different platform, some systems are more prone to error than others. Mac OS X seems to be the least affected. Windows seems to be the most affected. *AFFECTED VERSIONS* - All versions of Hugin since the introduction of the Overview in the Fast Preview are affected. That is, all versions after revision 4808:8c577b320714 2011-01-09 12:21:18 - This includes the final releases of 2011.0.0 as well as all beta/candidate releases of 2011.2.0 *SUMMARY FOR DEVELOPERS / BUG HUNTERS* This is most likely a threading issue. Lukáš' hypothesis: a race condition in OpenGL calls, when OGL is called by separate threads from both overview and fast preview. The reason is that OpenGL is not thread-safe and it can cause various problems when used within multi- threaded application. Run 'valgrind --tool=helgrind hugin' and try to reproduce the error to produce a useful backtrace like https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2253077/+files /valgrind-out.txt *ORIGINAL BUG REPORT BELOW FOR COMPLETION:* Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
Re: [Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
On August 12, 2011 01:48:57 am Daniel wrote: Just wanted to add that setting the CPU affinity worked around the problem for me. Hope that helps some people out. Thank you! Yes this helps a lot. It confirms that the issue is one of threading, probably expiring cache. And there are ways for the program itself to request affinity. I suspect that somebody at Apple though about this and affinity is ON by default - would explain why Apple is so unaffected. I did not research links to substantiate my hypothesis. Windows systems tend to have more threads running around (antivirus!) which would explain why the cache expires/corrupts more often. On Linux we can use something like * http://www.ibm.com/developerworks/linux/library/l-affinity/index.html * http://www.linuxjournal.com/article/6799 And on Windows something like * http://msdn.microsoft.com/en-us/library/ms686223%28v=vs.85%29.aspx For the short term: * Linux http://www.linuxcommand.org/man_pages/taskset1.html * Windows http://www.addictivetips.com/windows-tips/how-to-set-processor- affinity-to-an-application-in-windows/ Performance trade-off: * https://lanvu.wordpress.com/tag/setprocessaffinitymask/ Now it is a matter of time to implement and test... -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: EDIT (August 6, 2011): summarized known information *WORKAROUND FOR USERS*: disable the Overview 1- start Hugin 2- load a project 3- go to the Fast Preview Window. don't touch anything else but described below as this could trigger the bug 4- hit the button Show/Hide to hide the Overview 5- quit Hugin Now Hugin should perform well. *AFFECTED SYSTEMS* - CPU: all systems with more than one thread, that is multi-core CPUs as well as single-core CPUs with hyperthreading. - Operating Systems: due to the different implementations of threading and OpenGL on different platform, some systems are more prone to error than others. Mac OS X seems to be the least affected. Windows seems to be the most affected. *AFFECTED VERSIONS* - All versions of Hugin since the introduction of the Overview in the Fast Preview are affected. That is, all versions after revision 4808:8c577b320714 2011-01-09 12:21:18 - This includes the final releases of 2011.0.0 as well as all beta/candidate releases of 2011.2.0 *SUMMARY FOR DEVELOPERS / BUG HUNTERS* This is most likely a threading issue. Lukáš' hypothesis: a race condition in OpenGL calls, when OGL is called by separate threads from both overview and fast preview. The reason is that OpenGL is not thread-safe and it can cause various problems when used within multi- threaded application. Run 'valgrind --tool=helgrind hugin' and try to reproduce the error to produce a useful backtrace like https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2253077/+files /valgrind-out.txt *ORIGINAL BUG REPORT BELOW FOR COMPLETION:* Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
Still about possible duplicate #803080 bugs.launchpad.net/hugin/+bug/803080 Suggested workaround does not fix this issue. Behaviour of the preview is maybe slightly improved but remains largely unusable. Ubuntu 10.04 Proprietary ATI drivers. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: EDIT (August 6, 2011): summarized known information *WORKAROUND FOR USERS*: disable the Overview 1- start Hugin 2- load a project 3- go to the Fast Preview Window. don't touch anything else but described below as this could trigger the bug 4- hit the button Show/Hide to hide the Overview 5- quit Hugin Now Hugin should perform well. *AFFECTED SYSTEMS* - CPU: all systems with more than one thread, that is multi-core CPUs as well as single-core CPUs with hyperthreading. - Operating Systems: due to the different implementations of threading and OpenGL on different platform, some systems are more prone to error than others. Mac OS X seems to be the least affected. Windows seems to be the most affected. *AFFECTED VERSIONS* - All versions of Hugin since the introduction of the Overview in the Fast Preview are affected. That is, all versions after revision 4808:8c577b320714 2011-01-09 12:21:18 - This includes the final releases of 2011.0.0 as well as all beta/candidate releases of 2011.2.0 *SUMMARY FOR DEVELOPERS / BUG HUNTERS* This is most likely a threading issue. Lukáš' hypothesis: a race condition in OpenGL calls, when OGL is called by separate threads from both overview and fast preview. The reason is that OpenGL is not thread-safe and it can cause various problems when used within multi- threaded application. Run 'valgrind --tool=helgrind hugin' and try to reproduce the error to produce a useful backtrace like https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2253077/+files /valgrind-out.txt *ORIGINAL BUG REPORT BELOW FOR COMPLETION:* Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
Just wanted to add that setting the CPU affinity worked around the problem for me. Hope that helps some people out. Program Version: 2011.0.0.0fd3e119979c built by Matthew Petroff Card: nVidia GT 240 Driver version 275.33 OS: Windows 7 CPU: P4 w/HT -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: EDIT (August 6, 2011): summarized known information *WORKAROUND FOR USERS*: disable the Overview 1- start Hugin 2- load a project 3- go to the Fast Preview Window. don't touch anything else but described below as this could trigger the bug 4- hit the button Show/Hide to hide the Overview 5- quit Hugin Now Hugin should perform well. *AFFECTED SYSTEMS* - CPU: all systems with more than one thread, that is multi-core CPUs as well as single-core CPUs with hyperthreading. - Operating Systems: due to the different implementations of threading and OpenGL on different platform, some systems are more prone to error than others. Mac OS X seems to be the least affected. Windows seems to be the most affected. *AFFECTED VERSIONS* - All versions of Hugin since the introduction of the Overview in the Fast Preview are affected. That is, all versions after revision 4808:8c577b320714 2011-01-09 12:21:18 - This includes the final releases of 2011.0.0 as well as all beta/candidate releases of 2011.2.0 *SUMMARY FOR DEVELOPERS / BUG HUNTERS* This is most likely a threading issue. Lukáš' hypothesis: a race condition in OpenGL calls, when OGL is called by separate threads from both overview and fast preview. The reason is that OpenGL is not thread-safe and it can cause various problems when used within multi- threaded application. Run 'valgrind --tool=helgrind hugin' and try to reproduce the error to produce a useful backtrace like https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2253077/+files /valgrind-out.txt *ORIGINAL BUG REPORT BELOW FOR COMPLETION:* Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
The same as previously, see a href=https://bugs.launchpad.net/hugin/+bug/792896/comments/8;#8/a and a href=https://bugs.launchpad.net/hugin/+bug/792896/comments/12;#12/a -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: EDIT (August 6, 2011): summarized known information *WORKAROUND FOR USERS*: disable the Overview 1- start Hugin 2- load a project 3- go to the Fast Preview Window. don't touch anything else but described below as this could trigger the bug 4- hit the button Show/Hide to hide the Overview 5- quit Hugin Now Hugin should perform well. *AFFECTED SYSTEMS* - CPU: all systems with more than one thread, that is multi-core CPUs as well as single-core CPUs with hyperthreading. - Operating Systems: due to the different implementations of threading and OpenGL on different platform, some systems are more prone to error than others. Mac OS X seems to be the least affected. Windows seems to be the most affected. *AFFECTED VERSIONS* - All versions of Hugin since the introduction of the Overview in the Fast Preview are affected. That is, all versions after revision 4808:8c577b320714 2011-01-09 12:21:18 - This includes the final releases of 2011.0.0 as well as all beta/candidate releases of 2011.2.0 *SUMMARY FOR DEVELOPERS / BUG HUNTERS* This is most likely a threading issue. Lukáš' hypothesis: a race condition in OpenGL calls, when OGL is called by separate threads from both overview and fast preview. The reason is that OpenGL is not thread-safe and it can cause various problems when used within multi- threaded application. Run 'valgrind --tool=helgrind hugin' and try to reproduce the error to produce a useful backtrace like https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2253077/+files /valgrind-out.txt *ORIGINAL BUG REPORT BELOW FOR COMPLETION:* Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
Yuv (yuv) wrote on 2011-08-07: 2011.2.0.ca00bb7b3e88 aka 2011.2 RC2 is fraught with other errors - Matthew experimented with a new Windows SDK. Can you please try with an earlier elease candidate or beta of 2011.2 ? Thanks for your hint. I've back to 2011.2.0.cf0eaefbe0dd built by Matthew Petroff (that's prebuilt beta1) and the workflow works ! Can't trigger FPW carsh so far. I'm on Win7_x64/ 14GB RAM/ AMD 965(4 core)/ NVidia 460/ tested with 120 photoes. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: EDIT (August 6, 2011): summarized known information *WORKAROUND FOR USERS*: disable the Overview 1- start Hugin 2- load a project 3- go to the Fast Preview Window. don't touch anything else but described below as this could trigger the bug 4- hit the button Show/Hide to hide the Overview 5- quit Hugin Now Hugin should perform well. *AFFECTED SYSTEMS* - CPU: all systems with more than one thread, that is multi-core CPUs as well as single-core CPUs with hyperthreading. - Operating Systems: due to the different implementations of threading and OpenGL on different platform, some systems are more prone to error than others. Mac OS X seems to be the least affected. Windows seems to be the most affected. *AFFECTED VERSIONS* - All versions of Hugin since the introduction of the Overview in the Fast Preview are affected. That is, all versions after revision 4808:8c577b320714 2011-01-09 12:21:18 - This includes the final releases of 2011.0.0 as well as all beta/candidate releases of 2011.2.0 *SUMMARY FOR DEVELOPERS / BUG HUNTERS* This is most likely a threading issue. Lukáš' hypothesis: a race condition in OpenGL calls, when OGL is called by separate threads from both overview and fast preview. The reason is that OpenGL is not thread-safe and it can cause various problems when used within multi- threaded application. Run 'valgrind --tool=helgrind hugin' and try to reproduce the error to produce a useful backtrace like https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2253077/+files /valgrind-out.txt *ORIGINAL BUG REPORT BELOW FOR COMPLETION:* Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
With 2011.2.0.ca00bb7b3e88 built by Matthew Petroff, win7_x64, AMD 965. The workaround didn't work for me. I start hugin, load a project with two photos and some CPs, no alignment. Then open FPW, uncheck grid box and hide the overview ,close FPW ,close project. Start hugin and load the same project again, hit alignment ,the FPW opened and hugin crashes immediately. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: EDIT (August 6, 2011): summarized known information *WORKAROUND FOR USERS*: disable the Overview 1- start Hugin 2- load a project 3- go to the Fast Preview Window. don't touch anything else but described below as this could trigger the bug 4- hit the button Show/Hide to hide the Overview 5- quit Hugin Now Hugin should perform well. *AFFECTED SYSTEMS* - CPU: all systems with more than one thread, that is multi-core CPUs as well as single-core CPUs with hyperthreading. - Operating Systems: due to the different implementations of threading and OpenGL on different platform, some systems are more prone to error than others. Mac OS X seems to be the least affected. Windows seems to be the most affected. *AFFECTED VERSIONS* - All versions of Hugin since the introduction of the Overview in the Fast Preview are affected. That is, all versions after revision 4808:8c577b320714 2011-01-09 12:21:18 - This includes the final releases of 2011.0.0 as well as all beta/candidate releases of 2011.2.0 *SUMMARY FOR DEVELOPERS / BUG HUNTERS* This is most likely a threading issue. Lukáš' hypothesis: a race condition in OpenGL calls, when OGL is called by separate threads from both overview and fast preview. The reason is that OpenGL is not thread-safe and it can cause various problems when used within multi- threaded application. Run 'valgrind --tool=helgrind hugin' and try to reproduce the error to produce a useful backtrace like https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2253077/+files /valgrind-out.txt *ORIGINAL BUG REPORT BELOW FOR COMPLETION:* Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
Re: [Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
On August 7, 2011 03:15:48 am 蜥蜴 wrote: With 2011.2.0.ca00bb7b3e88 built by Matthew Petroff, win7_x64, AMD 965. The workaround didn't work for me. 2011.2.0.ca00bb7b3e88 aka 2011.2 RC2 is fraught with other errors - Matthew experimented with a new Windows SDK. Can you please try with an earlier release candidate or beta of 2011.2 ? Also, given your comment on bug 813423 I am inclined to think that you are experiencing two different bugs and that actually the workaround worked for you (second project). -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: EDIT (August 6, 2011): summarized known information *WORKAROUND FOR USERS*: disable the Overview 1- start Hugin 2- load a project 3- go to the Fast Preview Window. don't touch anything else but described below as this could trigger the bug 4- hit the button Show/Hide to hide the Overview 5- quit Hugin Now Hugin should perform well. *AFFECTED SYSTEMS* - CPU: all systems with more than one thread, that is multi-core CPUs as well as single-core CPUs with hyperthreading. - Operating Systems: due to the different implementations of threading and OpenGL on different platform, some systems are more prone to error than others. Mac OS X seems to be the least affected. Windows seems to be the most affected. *AFFECTED VERSIONS* - All versions of Hugin since the introduction of the Overview in the Fast Preview are affected. That is, all versions after revision 4808:8c577b320714 2011-01-09 12:21:18 - This includes the final releases of 2011.0.0 as well as all beta/candidate releases of 2011.2.0 *SUMMARY FOR DEVELOPERS / BUG HUNTERS* This is most likely a threading issue. Lukáš' hypothesis: a race condition in OpenGL calls, when OGL is called by separate threads from both overview and fast preview. The reason is that OpenGL is not thread-safe and it can cause various problems when used within multi- threaded application. Run 'valgrind --tool=helgrind hugin' and try to reproduce the error to produce a useful backtrace like https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2253077/+files /valgrind-out.txt *ORIGINAL BUG REPORT BELOW FOR COMPLETION:* Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
Sorry, been awol for some time. to those experiencing the bug: can you please try the workaround and report back attempts to trigger the bug? Tried quickly 3 sets of 5-6 pics each, the workaround did work for me on 2011.0.0.0fd3e119979c built by Matthew Petroff. Though I'm running on a AMD Athlon 3200+, which is a single-core, single-thread issue, so the bug is not confined to multi-threaded processors. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: EDIT (August 6, 2011): summarized known information *WORKAROUND FOR USERS*: disable the Overview 1- start Hugin 2- load a project 3- go to the Fast Preview Window. don't touch anything else but described below as this could trigger the bug 4- hit the button Show/Hide to hide the Overview 5- quit Hugin Now Hugin should perform well. *AFFECTED SYSTEMS* - CPU: all systems with more than one thread, that is multi-core CPUs as well as single-core CPUs with hyperthreading. - Operating Systems: due to the different implementations of threading and OpenGL on different platform, some systems are more prone to error than others. Mac OS X seems to be the least affected. Windows seems to be the most affected. *AFFECTED VERSIONS* - All versions of Hugin since the introduction of the Overview in the Fast Preview are affected. That is, all versions after revision 4808:8c577b320714 2011-01-09 12:21:18 - This includes the final releases of 2011.0.0 as well as all beta/candidate releases of 2011.2.0 *SUMMARY FOR DEVELOPERS / BUG HUNTERS* This is most likely a threading issue. Lukáš' hypothesis: a race condition in OpenGL calls, when OGL is called by separate threads from both overview and fast preview. The reason is that OpenGL is not thread-safe and it can cause various problems when used within multi- threaded application. Run 'valgrind --tool=helgrind hugin' and try to reproduce the error to produce a useful backtrace like https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2253077/+files /valgrind-out.txt *ORIGINAL BUG REPORT BELOW FOR COMPLETION:* Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
Re: [Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
On August 7, 2011 04:13:29 pm MNi wrote: Tried quickly 3 sets of 5-6 pics each, the workaround did work for me on 2011.0.0.0fd3e119979c built by Matthew Petroff. thanks for testing. Though I'm running on a AMD Athlon 3200+, which is a single-core, single-thread issue, so the bug is not confined to multi-threaded processors. You are experiencing the bug on the AMD Athlon 3200+ when the overview is enabled? what video card is on your system? and what driver? -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: EDIT (August 6, 2011): summarized known information *WORKAROUND FOR USERS*: disable the Overview 1- start Hugin 2- load a project 3- go to the Fast Preview Window. don't touch anything else but described below as this could trigger the bug 4- hit the button Show/Hide to hide the Overview 5- quit Hugin Now Hugin should perform well. *AFFECTED SYSTEMS* - CPU: all systems with more than one thread, that is multi-core CPUs as well as single-core CPUs with hyperthreading. - Operating Systems: due to the different implementations of threading and OpenGL on different platform, some systems are more prone to error than others. Mac OS X seems to be the least affected. Windows seems to be the most affected. *AFFECTED VERSIONS* - All versions of Hugin since the introduction of the Overview in the Fast Preview are affected. That is, all versions after revision 4808:8c577b320714 2011-01-09 12:21:18 - This includes the final releases of 2011.0.0 as well as all beta/candidate releases of 2011.2.0 *SUMMARY FOR DEVELOPERS / BUG HUNTERS* This is most likely a threading issue. Lukáš' hypothesis: a race condition in OpenGL calls, when OGL is called by separate threads from both overview and fast preview. The reason is that OpenGL is not thread-safe and it can cause various problems when used within multi- threaded application. Run 'valgrind --tool=helgrind hugin' and try to reproduce the error to produce a useful backtrace like https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2253077/+files /valgrind-out.txt *ORIGINAL BUG REPORT BELOW FOR COMPLETION:* Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
** Description changed: + EDIT (August 6, 2011): summarized known information + + *WORKAROUND FOR USERS*: disable the Overview + + 1- start Hugin + 2- load a project + 3- go to the Fast Preview Window. don't touch anything else but described below as this could trigger the bug + 4- hit the button Show/Hide to hide the Overview + 5- quit Hugin + Now Hugin should perform well. + + + *AFFECTED SYSTEMS* + + - CPU: all systems with more than one thread, that is multi-core CPUs as well as single-core CPUs with hyperthreading. + - Operating Systems: due to the different implementations of threading and OpenGL on different platform, some systems are more prone to error than others. Mac OS X seems to be the least affected. Windows seems to be the most affected. + + + *AFFECTED VERSIONS* + + - All versions of Hugin since the introduction of the Overview in the Fast Preview are affected. That is, all versions after revision 4808:8c577b320714 2011-01-09 12:21:18 + - This includes the final releases of 2011.0.0 as well as all beta/candidate releases of 2011.2.0 + + + *SUMMARY FOR DEVELOPERS / BUG HUNTERS* + + This is most likely a threading issue. Lukáš' hypothesis: a race + condition in OpenGL calls, when OGL is called by separate threads from + both overview and fast preview. The reason is that OpenGL is not thread- + safe and it can cause various problems when used within multi-threaded + application. + + Run 'valgrind --tool=helgrind hugin' and try to reproduce the error to + produce a useful backtrace like + https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2253077/+files + /valgrind-out.txt + + + *ORIGINAL BUG REPORT BELOW FOR COMPLETION:* + Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: EDIT (August 6, 2011): summarized known information *WORKAROUND FOR USERS*: disable the Overview 1- start Hugin 2- load a project 3- go to the Fast Preview Window. don't touch anything else but described below as this could trigger the bug 4- hit the button Show/Hide to hide the Overview 5- quit Hugin Now Hugin should perform well. *AFFECTED SYSTEMS* - CPU: all systems with more than one thread, that is multi-core CPUs as well as single-core CPUs with hyperthreading. - Operating Systems: due to the different implementations of threading and OpenGL on different platform, some systems are more prone to error than others. Mac OS X seems to be the least affected. Windows seems to be the most affected. *AFFECTED VERSIONS* - All versions of Hugin since the introduction of the Overview in the Fast Preview are affected. That is, all versions after revision 4808:8c577b320714 2011-01-09 12:21:18 - This includes the final releases of 2011.0.0 as well as all beta/candidate releases of 2011.2.0 *SUMMARY FOR DEVELOPERS / BUG HUNTERS* This is most likely a threading issue. Lukáš' hypothesis: a race condition in OpenGL calls, when OGL is called by separate threads from both overview and fast preview. The reason is that OpenGL is not thread-safe and it can cause various problems when used within multi- threaded application. Run 'valgrind --tool=helgrind hugin' and try to reproduce the error to produce a useful backtrace like https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2253077/+files /valgrind-out.txt *ORIGINAL BUG REPORT BELOW FOR COMPLETION:* Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
I updated the bug description [0] with a: * Workaround * Affected Systems * Affected Version * Summary for Developers/Bug Hunters to those experiencing the bug: can you please try the workaround and report back attempts to trigger the bug? thanks -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: EDIT (August 6, 2011): summarized known information *WORKAROUND FOR USERS*: disable the Overview 1- start Hugin 2- load a project 3- go to the Fast Preview Window. don't touch anything else but described below as this could trigger the bug 4- hit the button Show/Hide to hide the Overview 5- quit Hugin Now Hugin should perform well. *AFFECTED SYSTEMS* - CPU: all systems with more than one thread, that is multi-core CPUs as well as single-core CPUs with hyperthreading. - Operating Systems: due to the different implementations of threading and OpenGL on different platform, some systems are more prone to error than others. Mac OS X seems to be the least affected. Windows seems to be the most affected. *AFFECTED VERSIONS* - All versions of Hugin since the introduction of the Overview in the Fast Preview are affected. That is, all versions after revision 4808:8c577b320714 2011-01-09 12:21:18 - This includes the final releases of 2011.0.0 as well as all beta/candidate releases of 2011.2.0 *SUMMARY FOR DEVELOPERS / BUG HUNTERS* This is most likely a threading issue. Lukáš' hypothesis: a race condition in OpenGL calls, when OGL is called by separate threads from both overview and fast preview. The reason is that OpenGL is not thread-safe and it can cause various problems when used within multi- threaded application. Run 'valgrind --tool=helgrind hugin' and try to reproduce the error to produce a useful backtrace like https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2253077/+files /valgrind-out.txt *ORIGINAL BUG REPORT BELOW FOR COMPLETION:* Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
Running 2011.3.0.076c3e64f1dc on Fedora 15 x86_64. I can load a project and open FPW, and the overview is hidden, i.e. I haven't had to change the setting, and it is all OK. Then quit hugin and restart, load project and open FPW and it is frozen, quit hugin, restart, load project, open FPW window and all is OK. If the workaround is to prevent the FPW opening with overview shown in the expectation that this will prevent the problem, then that isn't my experience. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: EDIT (August 6, 2011): summarized known information *WORKAROUND FOR USERS*: disable the Overview 1- start Hugin 2- load a project 3- go to the Fast Preview Window. don't touch anything else but described below as this could trigger the bug 4- hit the button Show/Hide to hide the Overview 5- quit Hugin Now Hugin should perform well. *AFFECTED SYSTEMS* - CPU: all systems with more than one thread, that is multi-core CPUs as well as single-core CPUs with hyperthreading. - Operating Systems: due to the different implementations of threading and OpenGL on different platform, some systems are more prone to error than others. Mac OS X seems to be the least affected. Windows seems to be the most affected. *AFFECTED VERSIONS* - All versions of Hugin since the introduction of the Overview in the Fast Preview are affected. That is, all versions after revision 4808:8c577b320714 2011-01-09 12:21:18 - This includes the final releases of 2011.0.0 as well as all beta/candidate releases of 2011.2.0 *SUMMARY FOR DEVELOPERS / BUG HUNTERS* This is most likely a threading issue. Lukáš' hypothesis: a race condition in OpenGL calls, when OGL is called by separate threads from both overview and fast preview. The reason is that OpenGL is not thread-safe and it can cause various problems when used within multi- threaded application. Run 'valgrind --tool=helgrind hugin' and try to reproduce the error to produce a useful backtrace like https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2253077/+files /valgrind-out.txt *ORIGINAL BUG REPORT BELOW FOR COMPLETION:* Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
Just adding my experience: I don't see this bug at all on fedora, though I run Hugin on a single core laptop and a single CPU VM so I wouldn't encounter the bug if it was a threading/multicore issue. I had a chance a couple of days ago to try a recent Windows snapshot on a two-core macbook runnning windows: cpfind crashed randomly, matching two photos was ok, but four photos crashed about 50% of the time. The fast preview crashed Hugin repeatedly. I got it working by launching Hugin with an empty project, and disabling the overview in the fast preview using the Show/Hide button, after this the preview was fine. Note that the overview had to be disabled immediately, just resizing or moving the fast preview window caused a crash. After this it was even possible to create a project then enable and use the overview in the fast preview, however if I closed Hugin with the overview enabled then Hugin was broken again after restarting. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
Running 'valgrind --tool=helgrind hugin' on Fedora 15 x86_64, with hugin-2011.3.0.076c3e64f1dc and with the debuginfo rpm installed, the FPW opened blank and when I tried to resize hugin crashed. The output of the valgrind command is attached as file valgrind-out.txt. I am not experienced in interpreting valgrind output, but there does seem to be a lot of references to 'GLPreviewFrame::panoramaImagesChanged(...' in relation to possible data race during write. Hope this helps track down the little Bugger. Cheers, Terry ** Attachment added: Valgrind output using helgrind https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2253077/+files/valgrind-out.txt -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
Still about possible duplicate #803080 bugs.launchpad.net/hugin/+bug/803080 When the quick preview window is open under the main window and the preview is refreshed for some reason (e.g. in this case Calculate field of view) the preview window update flashes through the main window even though the preview window does not pop up to top. See attached screen shot. So even though this is a quick flicker only it is possible to get a screen shot of the action. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
Sorry, forgot the screen shot attachment for previous post. ** Attachment added: Screenshot-1.png https://bugs.launchpad.net/hugin/+bug/792896/+attachment/2242759/+files/Screenshot-1.png -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
I can confirm this is a problem at 30th July 2011, with ATI latest drivers (Catalyst 11.7), on a Radeon 5850. The problem occurs every time - I am unable to get the fast preview window to load, even after just loading a single JPG or TIFF image (i.e. open hugin, add one image through the assistant OR manually add the image, click fast preview) almost every time. The fast preview window does not fully draw and Hugin locks up. This occurs with both the release version of 2011.0 and 2011.2.0.ca00bb7b3e88 built by Matthew Petroff However, once I got the fast preview open, I disabled (hid) the overview, and it now seems to work fine. As suggested above, this makes it look like the problem is with the overview. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
I'm running on windows XP sp3 32 bits. Unfortunately I can't build Hugin. After a lot of tries had given it up. But I tested it. On my system Hugin crashes only when using the assistant opening the preview. When using generate controlpoints, optimising the FPW gives no crash and I can use it normal. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
Hullo Yuv, Just for the record, when I used your suggested method of applying Bruno's patch to rev prior to 4893... to apply Bruno's patch I do hg export --git 4893 | hg import - just after hg up -r REV I ended with rev 5437 as the tip, ie my hg repo now believes Bruno's patch has been the last revision. Not sure if really matters much, but leaves me a bit confused about the right way to do it and if my result is expected behaviour. Cheers, -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
Lukáš has an hypothesis on the hugin-ptx mailing list. This could be a threading issue. Can those of you experiencing the bug please report how many cores and threads your CPU have? The only machine that could trigger an error here is my netbook. Intel Core i3 380UM, dual core and hyperthreading = four threads. Never seen the error on my two other machines. Both have two threads. My aging workstation has an AMD X2 and my HTPC has an Intel Atom with hyperthreading. So, folks, how many threads does your CPU have? -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
Any Mac OS X user also affected? bug 814301 reports that Hugin 2010.2.0 works well at detecting CPs while 2011.0.1 does not. History of CP detectors: 2010.2.0: technically speaking, Hugin did not detect CP. A third party tool did. Most user used Autopano-SIFT-C. Some users used a lesser known and faster tool, Panomatic. Both tools are encumbered by patents, it is the user's responsibility to make sure that they are allowed to use them in their jurisdiction. 2010.4.0: first release of Hugin's own CP detector, cpfind. 2011.0.0: cpfind improved and AFAIK it is superior to any tool previously used with Hugin. And looking at it from a threading perspective: * Autopano-SIFT-C does not use multi-threading * Panomatic uses zthreads for multi-threading * cpfind uses zthreads for multi-threading could this be another manifestation of this pesky bug? could it be a bug in zthreads? -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
I have been doing a bit of checking on zthread. The version bundled with hugin is 2.3.1 which was released in 08-2003. The current version is 2.3.2, released in 03-2005. Not sure what changes were introduced in 2.3.2. If there is a suspicion that zthread may be involved in this bug, is it worth attempting to use ver. 2.3.2 to see if it makes any difference? Probably useful to see the changes in this version before trying this. Does anyone know if the zthread source is simply used 'as-is' in hugin? -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
I have just started trying to use Hugin (and to play with panoramas), so I am still attempting to differentiate between bug experiences and my naïve understanding of how things should work. I have found though, that if I switch off the default preference “Remove outlying control points by statistical method” then the FPW is more likely not to hang. (found at Preferences\Assistant). Windows XP Pro SP3 – GeForce 9600GT – Drv Nvidia 275.33 Hugin 2011.0.0.0fd3e119979c -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
I have just built and tested rev 4847 and the FPW exhibits the same behaviour as 4921, so we need to look even earlier. Note that if you are now using gcc-4.6.0, attempting to build 4847 (and probably also earlier revs) will require Bruno's patch that was added in changeset 4893 (added stddef.h to src/foreign/vigra/vigra/multi_iterator.hxx). I will now try rev 4814. Cheers, -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
to apply Bruno's patch I do hg export --git 4893 | hg import - just after hg up -r REV for revision 4893. not many revisions left before 4798: hg log -b default -r 4780:4798 --template '{rev}, ' 4781, 4782, 4783, 4784, 4785, 4786, 4787, 4788, 4789, 4790, 4791, 4796, 4797, 4798 Terry, have you tried patching and building 2010.4? Also, has anything changed recently to the PC on which you are experiencing the bug? -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
Hullo Yuv, No I haven't tried 2010.4 yet, that did cross my mind. Having just seen 4798 work OK, may answer your questions. Let me try 4805 of thereabouts and see how I go. It doesn't take me too long. Cheers, -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
Just built and tested 4810, and FPW fails immediately I try to select anything. Looks to me like the problem has been introduced with the overview mode. Cheers, -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
Just built and tested 4805 (just prior to overview branch being merged), and it behaves quite respectably. One can't be 100% sure, but the way hugin has been behaving on my system when it does fail, and the way versions prior to the overview (4805, 4798) behave, it does look like 'something' in the overview mode code is the culprit. How to do we best go about narrowing that down? Cheers, -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
This is a repeat of information that I posted to hugin-ptx. Here on the tracker is the right place to contribute/discuss this bug. This bug is most likely caused by a memory leak and the most difficult part of fixing a memory leak is to identify where it happens. Here is a strategy and a plan. We will need to pull this together if we want to succeed. 1) Strategy In a nutshell: identify the range of revisions that are likely to contain the error and narrow it down with a binary tree search. Split the revision range in two, build and test the version in the middle. If the error is present, we know it is in the earlier revisions range. Else in the later. Take the identified narrower revision range and repeat the process. There is a high likelyhood that after about eight repetitions the source of the error is identified. In detail: Today, we are at revision 5435. It is most likely that the bug was introduced after 2010.4 was released. Revision 4780 is 2010.4 final. So the error is most likely between 4780 and 5435. That would be 656 different versions of Hugin, but it is much less than that: many of these changesets are not on the default branch. 2) The plan List the relevant changesets on the default branch: hg log -b default -r4780:tip --template 'r: {rev}\n' revlist.txt That's 448 changesets to examine. Start from the middle, i.e. the 224th changeset in that list. build that version and try to trigger the error. If the bug is there, it is likely to be in the newer half of the list. If not, in the older half. Rebuild the list, now 224 entries long, and cut it in half again. Repeat. With such a binary strategy, we should zero in on the bug in a maximum of eight iterations. 224, 112, 56, 28, 14, 7, 4, 2, 1 I can produce eight such tarball releases in about 16 hours (takes about two hours per tarball). However I can not move forward until I get feedback on a tarball to tell me whether the subsequent tarball to build is in the earlier or later half. I need your help. Help from builders to turn the tarballs into binaries for their respective platforms so that tester, especially those who have been particularly lucky at triggering the bug, can take those binaries on a test drive and provide feedback as to whether they can trigger the bug or not. Please build binaries and make them available. Instructions at [1]. I am available to the project for another six weeks, after wich I won't have time. That's less than one tarball per week. The process of releasing a tarball is not that difficult and well documented [2]. So are the processes to build binaries for the different platforms [1]. This means that others, (*you*?) could step in. We can only move as fast on this process as the feedback that we get. I have produced the first tarball [3]. I will produce the next one (from the earlier half or the later half) as soon as there are enough test results to make a reasonable guess regarding the bug's presence. If we oil this mechanism fast enough, we can get it done in a few weeks. These are the steps I did, in case somebody wants to step in my shoes. This would be helpful for the continuation of the process after September 5 if necessary. cd hugin.default hg pull hg up hg up -r 5057 hg identify -b -n -i cd .. mkdir hugin-tarball cd hugin-tarball cmake ../hugin.default -DENABLE_LAPACK=YES -DCPACK_BINARY_DEB:BOOL=OFF -DCPACK_BINARY_NSIS:BOOL=OFF \ -DCPACK_BINARY_RPM:BOOL=OFF -DCPACK_BINARY_STGZ:BOOL=OFF -DCPACK_BINARY_TBZ2:BOOL=OFF \ -DCPACK_BINARY_TGZ:BOOL=ON -DCPACK_BINARY_TZ:BOOL=OFF make package_source mv hugin-2011.1.0.tar.bz2 hugin-2011.1.0.5057.tar.bz2 tar xvfj hugin-2011.1.0.5057.tar.bz2 mkdir hugin-tarball-build cd hugin-tarball-build cmake ../hugin-2011.1.0 -DENABLE_LAPACK=YES -DCPACK_BINARY_DEB:BOOL=ON -DCPACK_BINARY_NSIS:BOOL=OFF \ -DCPACK_BINARY_RPM:BOOL=OFF -DCPACK_BINARY_STGZ:BOOL=OFF -DCPACK_BINARY_TBZ2:BOOL=OFF \ -DCPACK_BINARY_TGZ:BOOL=OFF -DCPACK_BINARY_TZ:BOOL=OFF \ -DBUILD_HSI:BOOL=ON -DSWIG_EXECUTABLE=/usr/bin/swig2.0 make package sudo dpkg -i hugin-2011.1.0-Linux.deb cd .. rsync --partial --progress -e ssh hugin-2011.1.0.5057.tar.bz2 yuv,hu...@frs.sourceforge.net:/home/frs/project/h/hu/hugin/hugin/pesky-bug/ The tarball is available for download at [3] now. Please let everybody know where your binaries are available for download / testing. Together we can do it. Thanks Yuv [0] https://bugs.launchpad.net/hugin/+bug/792896 [1] http://wiki.panotools.org/Development_of_Open_Source_tools#Supported_Platforms [2] http://wiki.panotools.org/Development_of_Open_Source_tools#Release_2 [3] https://sourceforge.net/projects/hugin/files/hugin/pesky-bug/hugin-2011.1.0.5057.tar.bz2/download -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
rev 5057 exhibits the bug in Fedora 15 x86_64 -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
thanks, Terry. next cut in the middle of the earlier half, then: hg log -b default -r4780:5057 --template 'r: {rev}\n' that's rev 4921 tarball at https://sourceforge.net/projects/hugin/files/hugin/pesky- bug/hugin-2010.5.0.4921.tar.bz2/download -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
Just built and ran 4921 on Fedora 15 x86_64 with the same project as previously. Following alignment the FPW opens, the pano is displayed (a bit different to the way it normally fails here), but the FPW is non-responsive and very quickly disappears. I think we can say this one has the bug. Cheers, -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
Here is a video documenting what is likely another manifestation of this bug: https://bugs.launchpad.net/hugin/+bug/803080/+attachment/2183861/+files/SDC15688.MP4 It is from bug 803080 which I marked as a duplicate of this bug. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
Re: [Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
On July 21, 2011 12:36:30 AM 蜥蜴 wrote: Hugin works well until this sunday(July 17), after that everything is smashed including FPW,auto align, and clean control point. I even experienced a blue screen crash yesterday. So I decided to looking for changes in the system. I found that Adobe Shockwave Player(11.6.0.626) is the only change since July 16. So I uninstall it and the FPW seems can be open without crash. Can anybody help test that? actually you could. Can you please re-install Adobe Shockwave Player, verify that Hugin crashes properly, and then try different versions of Hugin on that same system? I assume you are currently using Hugin 2011.0.0 from https://sourceforge.net/projects/hugin/files/hugin/ Please try 2010.4.0. If that one crashes as well, go back to earlier versions. At each step, reset the Hugin preferences. You may want to back up your current preferences, it is all in a Windows registry key called Hugin. Sorry, I have been away from Windows for too long to recall the exact key. Search for Hugin with Regedit and export it. Maybe a Windows user reading this ticket can help you with more specific instructions. After testing in the past, please test in the future as well. There is a 2011.2.0-beta1 at the above mentioned location too. Last but not least, repeat the tests without Shockwave Player. I am relatively confident that Shockwave Player is not the culprit, but it only brings this bug to manifest itself on your specific configuration. Another variable you could test: hide the Overview pane in the FPW, restart Hugin, and test. The status of the Overview pane is recorded in the preferences for the next startup, and the Overview pane is the major new feature introduced between 2010.4 and 2011.0. Both the FPW and Shockwave make use of the video card and might clash on its memory handling which would confirm some sort of memory leak. You might have to uninstall Shockwave Player, hide the Overview, close Hugin, reinstall Shockwave Player and test. This is a lot of tedious work, sorry, but it is very important information to collect and can help us identify the exact location in the Hugin codebase and its timeline of the change that introduced the bug. Once we zero in on that change, fixing it becomes easier. Thanks Yuv ** Attachment added: blue screen crash file https://bugs.launchpad.net/hugin/+bug/792896/+attachment/541/+files/cr ash.txt -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
I've tested Hugin 2011.0 official windows build (but now i went back to 2010.4.0.854952d82c8f which is working fine for me), drivers - catalyst 9.3 (Radeon 9600 xt). -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
I got the same problem. Windows XP sp3 pro + hugin 2011.0 + Ati Radeon 9600 -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
AB, developers probably would like to see: 1. exact version of hugin (Help-About) e.g. 2011.0.0.0fd3e119979c built by Matthew Petroff 2. exact version of video driver you're using for the Radeon 9600 -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
I think I found a way that also prevent FPW crash. Originally, it crashes everytime I open it. But if I go to image tab and select one image each time until the thumbnail in the selected image area image shows for all image, FPW can now be opened successfully. -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp
[Hugin-devs] [Bug 792896] Re: Fast Preview Hangs or Crashes since 2011.0
If this helps... After loading a set of pics, both automatic preview via Align button on assistant tab or using Images-Create Control Points + Optimizer-Optimize Now! + Fast preview button very likely (but not 100%, more like 90%) busyloop the preview window. However, when creating control points manually, but before hitting Fast Preview button, save the project, exit Hugin, re-load project and after that Fast Preview works most of the time (again, not 100%). -- You received this bug notification because you are a member of Hugin Developers, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/792896 Title: Fast Preview Hangs or Crashes since 2011.0 Status in Hugin - Panorama Tools GUI: Confirmed Bug description: Upgraded from 2010.4 to 2011.0.0 and it has hung 3 times in about 15 sessions. All three hangs happened while doing the same thing. new session, load images, load a lens profile, set the canvas size (Calculate optimal size), save-as and save profile then click on GL (fast preview) button. Fast preview window comes up, shows anchor image and then hangs. Is not reproducible. Running 2011.0.0.0fd3e119979c built by Matthew Petroff on 64-bit Win7. To manage notifications about this bug go to: https://bugs.launchpad.net/hugin/+bug/792896/+subscriptions ___ Mailing list: https://launchpad.net/~hugin-devs Post to : hugin-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-devs More help : https://help.launchpad.net/ListHelp