You are not logged in.

> The forum rules have been updated. Please take a moment to read them.


#1 2011-12-19 20:57:31

Marmotte06
Member
From: St Laurent du Var, France
Registered: 2009-05-30
Posts: 50

[APG 2.6.0 GA win 7 x64]Crash when saving HDR file

Hello, I eventually installed the GA (i.e. final) version of APG 2.6 to check whether it would be able to generate the HDR panos that previous versions of APG failed to generate (see my previous posts).
Well, this version made progress, for sure, but it crashed when attempting to save the .hdr file.
In the output directory there is no .hdr file, but instead a dark .jpg file which I didn't ask for.

I followed step by step the APG online documentation "LDR / HDR - Workflow cas E"
My computer: Win 7 x64 sp1 - core i7 2700K - 8 Mb RAM - AMD firepro 5800 - SSD+1Tb disk with 700 Go available.

My images: 6x3 (bracketed) jpg from a Canon 5D2

I am of course available to upload the images wherever it can help Kolor to fix the problem.

Olivier Casile
Nice, France


Uploaded Images

Offline

 

#2 2011-12-20 08:42:13

AlexandreJ
Kolor CEO
From: Francin, France
Registered: 2005-11-14
Posts: 7917
Website

Re: [APG 2.6.0 GA win 7 x64]Crash when saving HDR file

Issue 1090 opened

Update : I used all my HDR output cases here in hdr rendering mode. All of them worked without any crash.
My feeling is that it's not related to HDR file format. I would be happy to get the images and .pano associated to this issue.
Our ftp is here for that : http://www.kolor.com/forum/t766-ftp-server

Online

 

#3 2011-12-20 20:12:10

Marmotte06
Member
From: St Laurent du Var, France
Registered: 2009-05-30
Posts: 50

Re: [APG 2.6.0 GA win 7 x64]Crash when saving HDR file

I made 4 new tests this evening with the same set of pictures and the same exact parameters. APG crashed once again, but normally terminated the three other runs.
The crash happened just after APG saved the HDR file, without letting me the time to save the .pano file.
There is another anomaly: in the first test of the series, APG produced a .hdr file which is completely different from the others. When looked in Phonomatix, it appears very clear (exactly like the least exposed of the braketed images), and is actually unexploitable. The two other .hdr files I obtained seem correct when opened in Photomatix.

The net is that I couldn't identify a particular pattern that causes APG to crash. It seems to happen randomly (2 times out of 5 runs), and always when the .hdr is being filed, or just after it is filed. And, considering the .hdr files seems to be incorect from time to time, my humble opinion is that there is something wrong with the generation and writing of .hdr files.

I'll make further tests tomorrow.

Edit: I just uploaded my picture and details of my four runs in a "Olivier Marmotte06 - Crash APG.zip" file on your FTP server.
There is a readme file explaining what I did.
Hope that can help

Olivier

Last edited by Marmotte06 (2011-12-20 22:17:28)

Offline

 

#4 2011-12-21 11:54:11

AlexandreJ
Kolor CEO
From: Francin, France
Registered: 2005-11-14
Posts: 7917
Website

Re: [APG 2.6.0 GA win 7 x64]Crash when saving HDR file

Oh ! Found the reason, it seems to be the same as in this thread.
Could you check the solution there ?
http://www.kolor.com/forum/p92453-today-11-53-20#p92453

Online

 

#5 2011-12-21 21:21:45

Marmotte06
Member
From: St Laurent du Var, France
Registered: 2009-05-30
Posts: 50

Re: [APG 2.6.0 GA win 7 x64]Crash when saving HDR file

So far it works, I will make bigger HDR panos tomorrow to stress this version, and let you know the results.

Thanks for the quick fix, and Best Regards

Olivier

Offline

 

#6 2011-12-22 14:21:41

Marmotte06
Member
From: St Laurent du Var, France
Registered: 2009-05-30
Posts: 50

Re: [APG 2.6.0 GA win 7 x64]Crash when saving HDR file

I have a good news and a bad news:
- The good news is that you have located the problem, it is around the file dialog box, or accessing directories.
- The bad news is that the problem is still there, even with the updated QT you sent me.

My APG build 19/12/2011 just crashed, almost imediately after loading the images and pressing the "..." button of the "Repertoire" field of the "Parametres de Group" dialog box.
I let Windows kill APG, re-started it, re-tried, and crashed again. So it is pretty solid.

New test, event worse:
Open APG, click the "Fichier->Selectionner des Images" menu item: immediate crash !

New test:
This time I could load images, pass the detection step, but APG crashed immediately when I clicked the image on the right panel to bring the editor up.

I stop, this version is totally unusable on Win 7 x64.

Olivier


Uploaded Images

Last edited by Marmotte06 (2011-12-22 14:32:59)

Offline

 

#7 2011-12-22 14:44:09

AlexandreJ
Kolor CEO
From: Francin, France
Registered: 2005-11-14
Posts: 7917
Website

Re: [APG 2.6.0 GA win 7 x64]Crash when saving HDR file

Do you have avast antivirus ?

Online

 

#8 2011-12-22 15:17:19

Marmotte06
Member
From: St Laurent du Var, France
Registered: 2009-05-30
Posts: 50

Re: [APG 2.6.0 GA win 7 x64]Crash when saving HDR file

Yes, latest version: 6.0.1367

I try to deactivate it momentarily to see what happens...

Update: I deactivated the Avast resident protection, and ran APG. It went a little further in the image editor, but crashed again.

I am not really willing to uninstall Avast to test APG without it...

Olivier

Last edited by Marmotte06 (2011-12-22 15:32:53)

Offline

 

#9 2011-12-22 15:36:23

AlexandreJ
Kolor CEO
From: Francin, France
Registered: 2005-11-14
Posts: 7917
Website

Re: [APG 2.6.0 GA win 7 x64]Crash when saving HDR file

I totally agree with you and didn't ask that.

Online

 

#10 2011-12-22 16:20:50

Marmotte06
Member
From: St Laurent du Var, France
Registered: 2009-05-30
Posts: 50

Re: [APG 2.6.0 GA win 7 x64]Crash when saving HDR file

If that can help to reproduce the problem on your side, here is my configuration:

Olivier


Uploaded Images

Offline

 

#11 2011-12-22 18:00:00

Marmotte06
Member
From: St Laurent du Var, France
Registered: 2009-05-30
Posts: 50

Re: [APG 2.6.0 GA win 7 x64]Crash when saving HDR file

Ok, new tests: I think there might be two different problems....

First, I went to the APG general parameters (main menu), and I noticed that, by defaut, the GPU option was actuvated (I don't remember setting it myself). I desactivated it and... All the crahes I reported in my latest posts, i.e. since I got the APG with the new QT, disapeared.
I could assemble a small HDR pano without any problem.

I then tried a bigger one (96 jpegs), and I could properly assemble it end-to-end. APG produced a .hdr which is exploitable in Photomatix, but... eventually crashed on the "Save as" dialog box when trying to save the .pano file afterwards.

So, I believe there are two distinct problems:
1) The GPU option in the editor, that causes a lot of crashes.
2) The File dialog boxes, that happen to crah time to time (not always).

Regarding the GPU, I have an AMD Firepro 5800 graphic card, with the latest device driver available from AMD.com (version FirePro_8.85.7.2_Win7x64_125182), my screen is a NEC PA 241W (1920x1200 resolution) connected to the card by DisplayPort, but I am still in 8 bit/pixel color depth (not 10).

Olivier

Offline

 

#12 2012-01-03 15:44:30

AlexandreJ
Kolor CEO
From: Francin, France
Registered: 2005-11-14
Posts: 7917
Website

Re: [APG 2.6.0 GA win 7 x64]Crash when saving HDR file

In your case, there seems to be 2 issues :
- The file dialog box is beeing studied here. We didn't reproduced it yet because it seems really depending on the computer and OS installation. So hard to catch.
- GPU should influence at all any functionnaly in the software except the editor. I cannot understand how unchecking gpu would in any way reduce the number of crash. The only influence would be in color correction calculation : we use gpu power to make it faster. In this case, we would need that test case to be able to reproduce the crash here to solve it.
Could you share it ?

Online

 

#13 2012-01-05 08:28:36

Marmotte06
Member
From: St Laurent du Var, France
Registered: 2009-05-30
Posts: 50

Re: [APG 2.6.0 GA win 7 x64]Crash when saving HDR file

Hi Alexandre,

As mentioned in my previous message dated "2011-12-20 20:12:10", I have already uploaded my pictures in a "Olivier Marmotte06 - Crash APG.zip" file on your FTP server.

Let me know whether you need more info.

I understand your thoughts regarding the GPU option, but the reality is that when this option is anabled APG is a plain disaster, crashing at any time as soon at the editor is active, and that disabling the GPU option makes it workable, at least until saving the final files.
And, BTW, I saw on the forum another post mentioning exactly the same behavior with the GPU option, which should certainly not be enabled by defaut. (I don't care about this option, I don't see what it brings to me).

At last, please note that I am using a Firepro professional graphic card, which has a different Catalyst device driver than the regular AMD/ATI graphic cards. Did you test that the APG GPU option works fine on such a setup ? You'll never be able to test all the configs on the market, this is why you should let the GPU option disabled by default, like in previous versions of APG. You are taking risks for nothing.

Olivier

Last edited by Marmotte06 (2012-01-05 08:30:47)

Offline

 

#14 2012-01-06 09:18:54

AlexandreJ
Kolor CEO
From: Francin, France
Registered: 2005-11-14
Posts: 7917
Website

Re: [APG 2.6.0 GA win 7 x64]Crash when saving HDR file

Marmotte06 wrote:

As mentioned in my previous message dated "2011-12-20 20:12:10", I have already uploaded my pictures in a "Olivier Marmotte06 - Crash APG.zip" file on your FTP server.

Yes, I analysed this package without any luck. I did step by step instructions and everything worked great. Produced HDR were good too.
So, it's something else. It could be related to another issue posted in some other thread : issues on Windows 7, 64bits.
This bug happens regularly when using system dialog box ( file open, file save, folder browse, etc ). It hangs during those operation and sometimes crash.

Marmotte06 wrote:

I understand your thoughts regarding the GPU option, but the reality is that when this option is anabled APG is a plain disaster, crashing at any time as soon at the editor is active, and that disabling the GPU option makes it workable, at least until saving the final files.
And, BTW, I saw on the forum another post mentioning exactly the same behavior with the GPU option, which should certainly not be enabled by defaut. (I don't care about this option, I don't see what it brings to me).

It is really helping edition of the panorama. You have for example realtime panorama move mode that is only enabled in this mode.
Note : I guess, you have the latest catalyst drivers for your GPU installed, right ?

Marmotte06 wrote:

At last, please note that I am using a Firepro professional graphic card, which has a different Catalyst device driver than the regular AMD/ATI graphic cards. Did you test that the APG GPU option works fine on such a setup ? You'll never be able to test all the configs on the market, this is why you should let the GPU option disabled by default, like in previous versions of APG. You are taking risks for nothing.

We use really standard OpenGL codes when using GPU, so every card that are less than 3 years old does support really well what we are doing ( an exception for mobile GPU on laptops that are less supported by marker and so more prone to issue with GPU ). So with your desktop computer, it's supported, no problem. One note : with Nvidia, we have access to their testing labs, so we can run some scripted tests on many computer at the same time. It allows us to validate our software on a full range of GPU directly. Without that, we couldn't do it ourselves, owning a lot of GPU, drivers version, etc. For ATI, we don't have such facilities, so the option was here to buy several differents GPU for every kolor people. So we have internally a huge variety of GPU to stress a little the code. We don't have any firepro, right, but we used some on our booth in Photokina 2010, and it was working straightforward in GPU mode ( was autopano 2.5 series ).

Anyway. We will prepare a process that will allow us to analyse coredumps on windows. This will be good to find the real reason behind some crash.
Should be quite easy for you to use, it will create a .dmp file that you will just need to send to us for analysis. With that, we'll find the real reason behind some of the crash.

Online

 

#15 2012-01-06 09:58:46

Marmotte06
Member
From: St Laurent du Var, France
Registered: 2009-05-30
Posts: 50

Re: [APG 2.6.0 GA win 7 x64]Crash when saving HDR file

AlexandreJ wrote:

So, it's something else. It could be related to another issue posted in some other thread : issues on Windows 7, 64bits.
This bug happens regularly when using system dialog box ( file open, file save, folder browse, etc ). It hangs during those operation and sometimes crash.

Note : I guess, you have the latest catalyst drivers for your GPU installed, right ?

Well, I saw your other post regarding forums where users complain about crashes in file system dialogbox. Bear in mind that I (and others) have been using Win 7 x64 for a while now, opening and saving thouthands of files with several other apps (32 bits and 64 bits) without problem. So, if there is really a problem with these dialog box, it's rather a problem regarding how some applications use (or mis-use) it...

I was going to answer you that I use the latest driver for my Firepro card, but I just checked on the AMD site and they published a new version late december. I will install it tonight and check. The Firepro V5800 card is based on the HD5770 GPU.
That being said, I didn't realize you were using OpenGL. I checked the AMD release note for the Firepro driver, it supports Open GL 4.1 for my V5800 card, but I see there is a more recent version of Open GL (4.2) supported by the latest cards. Is OpenGL 4.1 ok for you ?

Olivier

Offline

 

#16 2012-01-06 10:42:51

AlexandreJ
Kolor CEO
From: Francin, France
Registered: 2005-11-14
Posts: 7917
Website

Re: [APG 2.6.0 GA win 7 x64]Crash when saving HDR file

Marmotte06 wrote:

So, if there is really a problem with these dialog box, it's rather a problem regarding how some applications use (or mis-use) it...

Lol. That's exactly what we are looking for. Since we didn't change any of the code in these calls since ages, we have to look for other ideas ... sad

Marmotte06 wrote:

I was going to answer you that I use the latest driver for my Firepro card, but I just checked on the AMD site and they published a new version late december. I will install it tonight and check. The Firepro V5800 card is based on the HD5770 GPU.
That being said, I didn't realize you were using OpenGL. I checked the AMD release note for the Firepro driver, it supports Open GL 4.1 for my V5800 card, but I see there is a more recent version of Open GL (4.2) supported by the latest cards. Is OpenGL 4.1 ok for you ?

Sure it's okay. We don't use anything fanzy : OpenGL v2 and that's it.

Online

 

#17 2012-01-06 21:35:11

Marmotte06
Member
From: St Laurent du Var, France
Registered: 2009-05-30
Posts: 50

Re: [APG 2.6.0 GA win 7 x64]Crash when saving HDR file

Good Evening,

I just installed the latest driver from AMD for my Firepro card (version 8.85.7.3 dated Dec 19th 2011):
- Laugh APG, set the GPU option on, load some braketed images, set a couple of options, lauch detection, open the editor, do a -0.3 degree horizon correction -> instant crash
- Relaunch APG, deactivate the GPU, close
- Relaunch APG, reload the images and so on, the editor doesn't crash anymore. But.... try to close it, it asks whether I want to save the project, I say Yes, -> instant crash !

Conclusions: the "GPU crash" is very solid, and the "Save dialog box crash" is relatively easy to produce (you don't even need to compute any pano)...

Just a question: in the "Options Editeur->Nombre de Processeurs", I have defined "Multi-cores" with "4" cores, although I have hyperthreading enabled and the defaut option after APG install was "8" cores. Is that a problem ? (I remember reading in this forum that APG was not actually using the virtual cores).

Olivier

Last edited by Marmotte06 (2012-01-06 21:43:00)

Offline

 

#18 2012-01-09 13:18:42

AlexandreJ
Kolor CEO
From: Francin, France
Registered: 2005-11-14
Posts: 7917
Website

Re: [APG 2.6.0 GA win 7 x64]Crash when saving HDR file

Thanks for the report.
So let's resume the bugs and how we'll handle them :
- the GPU bug is very specific to you. We'll probably use the coredump strategy to find the real reason. We will contact you directly to isolate this one.
- the browse bug is more common to some customers. It happens only with windows seven 64bits. We are on this one already.

Online

 

#19 2012-01-12 22:12:14

Marmotte06
Member
From: St Laurent du Var, France
Registered: 2009-05-30
Posts: 50

Re: [APG 2.6.0 GA win 7 x64]Crash when saving HDR file

Hello, I installed the new 2.6.1 RC1
The editor still crashes when the GPU is enabled, but less frequently, I could do some editing without crashing imediately as before.

Also, the 2.6.1 RC1 still crashes on the save dialog box.
I used CCleaner to deactivate Avast loading, with no effect, AGG still crashes when saving the project.
I then deactivated Logitech SetPoint, no effect -> crash
then the Catalyst Control Center, and... so far no crash after many saves, but I need to make more testing to confirm...

I would like to try the "crash dump analysis" version you mention in http://www.kolor.com/forum/t13891-autop … h-analysis , but the link to download it seems down/broken tonight.

Olivier

Last edited by Marmotte06 (2012-01-12 22:58:53)

Offline

 

#20 2012-01-13 08:52:08

AlexandreJ
Kolor CEO
From: Francin, France
Registered: 2005-11-14
Posts: 7917
Website

Re: [APG 2.6.0 GA win 7 x64]Crash when saving HDR file

Hi Olivier,

Sorry for the link, my fault. You can go there and download the modified Autopano for debugging purpose.

BTW : 2 persons confirmed that desinstalling avast did the trick. But we may have a solution without the need of that.

Online

 

#21 2012-01-13 22:36:56

Marmotte06
Member
From: St Laurent du Var, France
Registered: 2009-05-30
Posts: 50

Re: [APG 2.6.0 GA win 7 x64]Crash when saving HDR file

I installed AutopanoQT_x64.exe and tried:

So far I couldn't reproduce the GPU crash with that version. In my past developer carrier, I remember crashes disapearing with debug versions of the code because of multitasking behaving differently in debug versions (because debug versions are usually slower), or because debug versions were compiled with less agressive optimization options, which avoided some compiler bugs when performing complex optimizations. I guess you are using C or C++, and that you are compiling with maximum optimization options. I suspect this could be the cause of some of your problems... Perhaps you could post an executable with no optimization at all, and let us see what happens...

The save dialog box crash is still there, and easy to reproduce. However, I followed your procedure but it my C:\Users\xxxxxxx\AppData\Local\Temp\ directory, the only file I could find before closing the windows crash dialog box is WERA5D0.tmp.WERInternalMetadata.xml , and this file doesn't contain much information. I have never seen the xxxxx.tmp.appcompat.txt and xxxxx.tmp.mdmp files, even transient.

Olivier

Offline

 

#22 2012-01-24 22:18:20

Marmotte06
Member
From: St Laurent du Var, France
Registered: 2009-05-30
Posts: 50

Re: [APG 2.6.0 GA win 7 x64]Crash when saving HDR file

Just downloaded the "final" APG 2.6.1, installed it, and had a try.
It continues to consistently crash everytime I save the .pano file.
I configured Avast to exclude the .pano, .xmp, and .hdr files from resident protection. No effect, APG keeps on crashing.

Frankly, I wonder how Kolor can decide to label "final" a software with such a problem, even though Avast might not be innocent in its cause.
In all the IT industry, this is known as a "severity 1" problem, and a product is not released with such a known problem.
I am bored of APG. I will not renew my license when the 3.0 appears.

Olivier

Last edited by Marmotte06 (2012-01-25 21:16:25)

Offline

 

#23 2012-01-24 22:53:33

klausesser
Member
From: Düsseldorf, Germany
Registered: 2006-05-22
Posts: 6436
Website

Re: [APG 2.6.0 GA win 7 x64]Crash when saving HDR file

Marmotte06 wrote:

Frankly, I wonder how Kolor can decide to label "final" a software with such a problem, even though Avast might not be innocent in its cause.
In all the IT industry, this is known as a "severity 1" problem, and a product is not released with such a known problem.
I am bored of APG. I will not renew my license when the 3.0 appears.

Olivier - i can´t imagine that´s an APG issue. But i´m on Macs . . . so i don´t have this kind of problems (and that´s why i use Macs cool)

The problem you describe would occur with lots of other users if it was an APG issue. Does it? No.

I don´t know what "Avast" is - but if it produces troubles: get rid of it. Correct made softwares don´t crash apps.

best, Klaus


If you want something you´ve never had,
then you´ve got to do something you´ve never done.

Offline

 

#24 2012-01-25 09:09:15

AlexandreJ
Kolor CEO
From: Francin, France
Registered: 2005-11-14
Posts: 7917
Website

Re: [APG 2.6.0 GA win 7 x64]Crash when saving HDR file

Marmotte06 wrote:

Just downloaded the "final" APG 2.6.1, installed it, and had a try.
It continues to consistently crash everytime I save the .pano file.
I configured Avast to exclude the .pano, .xmp, and .hdr files from resident protection. No effect, APG keeps on crashing.

Frankly, I wonder how Kolor can decide to label "final" a software with such a problem, even though Avast might not be innocent in its cause.
In all the IT industry, this is known as a "severity 1" problem, and a product is not released with such a known problem.
I am bored of APG. I will not renew my license when the 3.0 appears.

We know there is an incompatibility issue here, but let me clarify some points :
- It happens only on some computer ( windows 7, 64bits only). I have 5 reports from customer about this crash.
- All have Avast antivir installed.
- We weren't able to reproduce in the same condition ( windows 7 64bits, avast ).
- 3 of them, and some on this forum solved the issue by changing the antivirus software : http://www.kolor.com/forum/t13888-apg-2 … un-dossier
- Avast has been contacted, no respond ...
- We provided a thread here with some solution to test : http://www.kolor.com/forum/t13891-autop … h-analysis

Online

 

#25 2012-01-25 21:16:07

Marmotte06
Member
From: St Laurent du Var, France
Registered: 2009-05-30
Posts: 50

Re: [APG 2.6.0 GA win 7 x64]Crash when saving HDR file

AlexandreJ wrote:

- All have Avast antivir installed.

I confirm that the problem is linked to the presence of Avast. I replaced it with MS Security Essentials (which is not too bad), and APG hasn't crashed anymore.
This doesn't mean Avast is responsible. I do not see why the presence of a particular antivirus should affect your application so badly, unless APG behaves abnormally when accessing directories. Is that your code that manage the dialog boxes, or some GUI framework (e.g. QT) ?

Olivier

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson