Results for Ryan Sleevi SVN 0,8,0,3980

19 views
Skip to first unread message

hbl

unread,
Jul 6, 2009, 2:09:52 PM7/6/09
to hugin and other free panoramic software
Test results for http://ryan.sleevi.com/files/hugin-0.8.0-3980.exe

The application is halted by DEP the moment the Fast Panorama Preview
window opens (thread 0x1574). Diagnostic data follows:

============================================================

Product
hugin.exe

Problem
Stopped working

Date
7/6/2009 12:50 PM

Status
Report Sent

Problem signature
Problem Event Name: BEX
Application Name: hugin.exe
Application Version: 0.0.0.0
Application Timestamp: 4a4c2d02
Fault Module Name: StackHash_d34b
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Offset: 06c50840
Exception Code: c0000005
Exception Data: 00000008
OS Version: 6.0.6002.2.2.0.768.3
Locale ID: 1033
Additional Information 1: d34b
Additional Information 2: 20752c25712bf3f7bc825928e900516d
Additional Information 3: cec3
Additional Information 4: 8f23bb82232ba5bb3e019c420185df34

Extra information about the problem
Bucket ID: 635354591

=========================================================
'hugin.exe': Loaded 'C:\Program Files\Hugin\bin\hugin.exe'
'hugin.exe': Loaded 'C:\Windows\System32\ntdll.dll'
'hugin.exe': Loaded 'C:\Windows\System32\kernel32.dll'
'hugin.exe': Loaded 'C:\Windows\System32\user32.dll'
'hugin.exe': Loaded 'C:\Windows\System32\gdi32.dll'
'hugin.exe': Loaded 'C:\Windows\System32\advapi32.dll'
'hugin.exe': Loaded 'C:\Windows\System32\rpcrt4.dll'
'hugin.exe': Loaded 'C:\Windows\System32\opengl32.dll'
'hugin.exe': Loaded 'C:\Windows\System32\msvcrt.dll'
'hugin.exe': Loaded 'C:\Windows\System32\glu32.dll'
'hugin.exe': Loaded 'C:\Windows\System32\ddraw.dll'
'hugin.exe': Loaded 'C:\Windows\System32\dciman32.dll'
'hugin.exe': Loaded 'C:\Windows\System32\setupapi.dll'
'hugin.exe': Loaded 'C:\Windows\System32\oleaut32.dll'
'hugin.exe': Loaded 'C:\Windows\System32\ole32.dll'
'hugin.exe': Loaded 'C:\Windows\System32\dwmapi.dll'
'hugin.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.windows.common-
controls_6595b64144ccf1df_6.0.6002.18005_none_5cb72f96088b0de0\comctl32.dll'
'hugin.exe': Loaded 'C:\Windows\System32\shlwapi.dll'
'hugin.exe': Loaded 'C:\Windows\System32\shell32.dll'
'hugin.exe': Loaded 'C:\Windows\System32\comdlg32.dll'
'hugin.exe': Loaded 'C:\Windows\System32\imm32.dll'
'hugin.exe': Loaded 'C:\Windows\System32\msctf.dll'
'hugin.exe': Loaded 'C:\Windows\System32\lpk.dll'
'hugin.exe': Loaded 'C:\Windows\System32\usp10.dll'
'hugin.exe': Loaded 'C:\Windows\System32\ws2_32.dll'
'hugin.exe': Loaded 'C:\Windows\System32\nsi.dll'
'hugin.exe': Loaded 'C:\Windows\System32\ntmarta.dll'
'hugin.exe': Loaded 'C:\Windows\System32\Wldap32.dll'
'hugin.exe': Loaded 'C:\Windows\System32\psapi.dll'
'hugin.exe': Loaded 'C:\Windows\System32\samlib.dll'
'hugin.exe': Loaded 'C:\Windows\System32\uxtheme.dll'
'hugin.exe': Loaded 'C:\Windows\System32\BtMmHook.dll'
'hugin.exe': Loaded 'C:\Windows\System32\msimg32.dll'
'hugin.exe': Loaded 'C:\Windows\System32\atioglxx.dll'
'hugin.exe': Loaded 'C:\Windows\System32\rsaenh.dll'
The thread 'Win32 Thread' (0xbcc) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x1574) has exited with code -1073741819
(0xc0000005).
The thread 'Win32 Thread' (0x1744) has exited with code 255 (0xff).
The program '[4944] hugin.exe: Native' has exited with code 255
(0xff).

Ryan Sleevi

unread,
Jul 6, 2009, 2:54:09 PM7/6/09
to hugi...@googlegroups.com
Howard,

Can you e-mail me off-list with a dump created by following the
steps in http://support.microsoft.com/kb/931673 ?

The output you pasted looks to be the result of the standard
Vista/Microsoft mini-dump submission. When that dialog is up, you should
still have hugin.exe running, so you should be able to follow the directions
per that KB article to create a user-mode process dump (prior to responding
to that dialog). That will include the full stack-trace, threads, etc. It
should output the dump file in C:\Users\(Username)\AppData\Local\Temp

Alternatively, you can look at the directions here,
http://support.microsoft.com/kb/828222 , which are a bit more convoluted and
requires a bit more installation. You follow the directions up to (but not
including) the step "Configure the Orphan Worker Process settings". When
Hugin crashes, run the batch file with the argument of the path to your
hugin executable (eg, if using "Action.cmd" as they did, you'd run
'C:\action.cmd "C:\Program Files\Hugin\bin\hugin.exe" ' assuming that is the
path to the executable). If I recall correctly, this should result in a file
being placed in C:\Program Files\Hugin\bin named either hugin.exe.dump or
hugin.dump. Or it might be in C:\ as hugin.dump.

Compress using your favored compression algorithm (preferably
something that 7-zip supports and not something obscure and esoteric) and
mail to me direct, and I'll see about looking in to it further as well as
posting the stack trace back to the list for those more "in the know".
Either of the methods described in the KB are the preferred method, rather
than sending the diagnostics created by the 'stock' Windows dump tool (more
information is included)

Cheers,
Ryan

Bart van Andel

unread,
Jul 6, 2009, 5:45:54 PM7/6/09
to hugin and other free panoramic software
This is probably not the cause, but in the following block of code (src
\hugin1\hugin\TextureManager.cpp, lines 110-118 with current SVN), the
"count" variable is never updated and will always remain 0. This will
only cause trouble when the scale array contains really large numbers
(scale is computed in lines 90-94).

// double the brightness for colour components until it is
almost
// right, however limit it incase it is really bright.
bool r, g, b;
unsigned short int count = 0;
while (( (r = (scale[0] > 2.0))
|| (g = (scale[1] > 2.0))
|| (b = (scale[2] > 2.0)))
&& count < 9)
{
...
}

A simple "count++;" within the inner block will solve this issue.

Note that I'm not actively bug hunting, this is just something I came
along (no time for even compiling Hugin at the moment, sorry).

Best,
Bart

hbl

unread,
Jul 6, 2009, 7:08:20 PM7/6/09
to hugin and other free panoramic software
Ryan,

It appears the exception is occurring in atioglxx.dll. It's
associated with the ATi Radeon video driver. The purported solution
is to build with /clr property. Currently trying to validate...

On Jul 6, 1:54 pm, "Ryan Sleevi" <ryan+hu...@sleevi.com> wrote:
> Howard,
>
>         Can you e-mail me off-list with a dump created by following the
> steps inhttp://support.microsoft.com/kb/931673?
>
>         The output you pasted looks to be the result of the standard
> Vista/Microsoft mini-dump submission. When that dialog is up, you should
> still have hugin.exe running, so you should be able to follow the directions
> per that KB article to create a user-mode process dump (prior to responding
> to that dialog). That will include the full stack-trace, threads, etc. It
> should output the dump file in C:\Users\(Username)\AppData\Local\Temp
>
>         Alternatively, you can look at the directions here,http://support.microsoft.com/kb/828222, which are a bit more convoluted and
> requires a bit more installation. You follow the directions up to (but not
> including) the step "Configure the Orphan Worker Process settings". When
> Hugin crashes, run the batch file with the argument of the path to your
> hugin executable (eg, if using "Action.cmd" as they did, you'd run
> 'C:\action.cmd "C:\Program Files\Hugin\bin\hugin.exe" ' assuming that is the
> path to the executable). If I recall correctly, this should result in a file
> being placed in C:\Program Files\Hugin\bin named either hugin.exe.dump or
> hugin.dump. Or it might be in C:\ as hugin.dump.
>
>         Compress using your favored compression algorithm (preferably
> something that 7-zip supports and not something obscure and esoteric) and
> mail to me direct, and I'll see about looking in to it further as well as
> posting the stack trace back to the list for those more "in the know".
> Either of the methods described in the KB are the preferred method, rather
> than sending the diagnostics created by the 'stock' Windows dump tool (more
> information is included)
>
> Cheers,
>         Ryan
>
> > -----Original Message-----
> > From: hugi...@googlegroups.com [mailto:hugi...@googlegroups.com]
> > On Behalf Of hbl
> > Sent: Monday, July 06, 2009 2:10 PM
> > To: hugin and other free panoramic software
> > Subject: [hugin-ptx] Results for Ryan Sleevi SVN 0,8,0,3980
>
> > Test results forhttp://ryan.sleevi.com/files/hugin-0.8.0-3980.exe

Ryan Sleevi

unread,
Jul 6, 2009, 7:57:46 PM7/6/09
to hugi...@googlegroups.com
The use of the /clr flag should be unnecessary. /clr is intended for
compiling C++/CLI code (as Managed C++ has gone the way of the dodo...). The
documentation is at http://msdn.microsoft.com/en-us/library/k8d11d4s.aspx ,
so I'm curious what lead you to the /clr option. I do know ATI makes
semi-heavy use of the .NET assemblies in their driver utilities (or at least
did when I had a Radeon in here), but I don't believe the actual driver
itself would be using any .NET-ness.

Either way, it sounds like the DEP error is (like I originally mused)
unrelated to Hugin itself, and more the result of a faulty "something else"
that is getting blamed against Hugin. Which is encouraging for the release
to make it out.

Yuval Levy

unread,
Jul 7, 2009, 11:37:58 AM7/7/09
to hugi...@googlegroups.com
Bart van Andel wrote:
> "count" variable is never updated and will always remain 0. This will
> only cause trouble when the scale array contains really large numbers

applied in SVN4005. thanks for the "patch" :)
Yuv

hbl

unread,
Jul 7, 2009, 4:21:33 PM7/7/09
to hugin and other free panoramic software
Ryan, the remark was made in a MS forum. Based on your comments, I
suspect the topic is now obsolete.
Reply all
Reply to author
Forward
0 new messages