Thanks for the reply. Sorry
for the incomplete info. First the wine version wine --version
Wine 20050419
I started the autopano.exe tool from an xterminal with wine autopano.exe. It dumped with a lot of errors. then I did "echo quit | WINEDEBUG=+process,+exec,+loaddll
wine autpano.exe >& debug.txt;"
This gives me
a debug list of:
------------------------------------------------
trace:process:init_current_directory
starting in L"C:\\Program Files\\PTGui\\autopano\\" 0x10
trace:process:find_exe_file looking for L"autopano.exe" trace:process:find_exe_file Trying native exe L"C:\\Program Files\\PTGui\\autopano\\autopano.exe" trace:process:__wine_kernel_init starting process name=L"C:\\Program Files\\PTGui\\autopano\\autopano.exe" file=0x14 argv[0]="autopano.exe" trace:process:__wine_kernel_init starting Win32 binary L"C:\\Program Files\\PTGui\\autopano\\autopano.exe" trace:loaddll:MODULE_LoadModule16 Loaded module "krnl386.exe" : builtin trace:loaddll:MODULE_LoadModule16 Loaded module "system.drv" : builtin wine: Unhandled exception (thread 0009), starting debugger... trace:process:CreateProcessW app (null) cmdline L"winedbg --auto 8 36" trace:process:find_exe_file looking for L"winedbg" trace:process:find_exe_file Trying built-in exe L"c:\\windows\\system\\winedbg.exe" trace:process:CreateProcessW starting L"c:\\windows\\system\\winedbg.exe" as Winelib app trace:process:init_current_directory starting in L"C:\\Program Files\\PTGui\\autopano\\" 0x10 trace:process:__wine_kernel_init starting process name=L"C:\\windows\\system\\winedbg.exe" file=(nil) argv[0]="winedbg" trace:process:__wine_kernel_init starting Winelib app L"C:\\windows\\system\\winedbg.exe" trace:loaddll:load_dll Loaded module L"c:\\windows\\system\\psapi.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\\windows\\system\\dbghelp.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\\windows\\system\\advapi32.dll" : builtin trace:loaddll:MODULE_LoadModule16 Loaded module "krnl386.exe" : builtin trace:loaddll:MODULE_LoadModule16 Loaded module "system.drv" : builtin WineDbg starting on pid 0x8 Unhandled exception: divide by zero in 32-bit code (0x00469ceb). In 32 bit mode. Register dump: CS:0023 SS:002b DS:002b ES:002b FS:1007 GS:0000 EIP:00469ceb ESP:4067fab8 EBP:004b3240 EFLAGS:00010246( - 00 -RIZP1) EAX:00000000 EBX:00000000 ECX:00000000 EDX:00000000 ESI:004b3230 EDI:00000000 Stack dump: 0x4067fab8: 00000000 004b3230 00000001 0041afae 0x4067fac8: 304a38d2 00000000 00000000 00000000 0x4067fad8: 004b0048 004b0038 4067fe48 40532c80 0x4067fae8: 1908b140 00000000 3f3e3d3c 000022c6 0x4067faf8: c93276c1 00000827 c93276c1 00000827 0x4067fb08: 001234de 00000000 5f5e5d5c 004b3230 0200: sel=1007 base=40017000 limit=00001f97 32-bit rw- Backtrace: =>1 0x00469ceb in autopano (+0x69ceb) (0x004b3240) 2 0x40791cd0 (0x00000000) 0x00469ceb: divl %ecx,%eax Modules: Module Address Debug info Name (16 modules) PE 0x00400000-004b5000 Export autopano ELF 0x40000000-40017000 Deferred ld-linux.so.2 ELF 0x40019000-40022000 Deferred libnss_compat.so.2 ELF 0x40022000-4002c000 Deferred libnss_nis.so.2 ELF 0x4002d000-40046000 Deferred libwine.so.1 ELF 0x40046000-40163000 Deferred libc.so.6 ELF 0x40164000-40168000 Deferred libdl.so.2 ELF 0x40168000-401db000 Deferred ntdll<elf> \-PE 0x40180000-401db000 \ ntdll ELF 0x401db000-402d0000 Deferred libwine_unicode.so.1 ELF 0x402d0000-402f3000 Deferred libm.so.6 ELF 0x40309000-4031f000 Deferred libnsl.so.1 ELF 0x4031f000-40329000 Deferred libnss_files.so.2 ELF 0x40440000-4054b000 Deferred kernel32<elf> \-PE 0x40470000-4054b000 \ kernel32 ELF 0x77f00000-77f07000 Deferred <wine-loader> Threads: process tid prio (all id:s are in hex) 00000008 (D) C:\Program Files\PTGui\autopano\autopano.exe 00000009 0 <== WineDbg terminated on pid 0x8 ------------------------------------------------
Maybe a uselees attempt, but in my (wine beginners) eyes the only dll I could "override" was advapi32.dll, so I created a config for Wine (only) containing ----- WINE REGISTRY Version 2 [AppDefaults\\autopano.exe\\DllOverrides] "advapi32.dll" = "native,builtin" ----- However, the dump gave the exact same results. The PTgui program is shareware and can be obtained from http://www.ptgui.com including the necessary panotools (these seem to work. I will do some further testing).. The autopano program is freeware and can be obtained from http://autopano.kolor.com/ The enblend program is also freeware and can be obtained from http://enblend.sourceforge.net/ Do you have a clue ? thanks, Harry van der wolf Rein Klazes wrote: _______________________________________________ wine-users mailing list wine-users@xxxxxxxxxx http://www.winehq.org/mailman/listinfo/wine-usersOn Thu, 19 May 2005 11:56:01 +0200 (MEST), in gmane.comp.emulators.wine.user you wrote:Hi all, Being a little (completely) fed-up with windows, I'd like to make a complete switch to Linux, which I already use for about 90%. I still use a specific panorama photo stiching program within WinXP called PTGui. The PTGui program runs fine within Wine. However, PTgui knows/uses two "helper" programs called autopano(.exe) and enblend(.exe). Both are console based executables doing calculations for ptgui. PTGui has the option to call them from within PTGui. After the (external) program (for example autopano) has run, the output is somehow picked up and used within ptgui. The same works for enblend. This combination of programs doesn't work in wine. I don't even think they get started as normally (in windows) a textbased cmd windows pops up and shows the "activity". When finished the text based cmd window closes and the output is returned to PTGui. So in short: how can I start a second windows (text based) program from the first (GUI) program in Wine ?This kind of arrangement works with some other applications. If you want to find out why it does not for yours, it must be debugged. First: - You did not specify the wine version. Make sure you have the latest wine; - if you start wine from a terminal, are there any messages when trying to run a helper prog? - did you try to use ps to find if the helper prog was started? ( "ps -ax|grep wine" ) If that does not give any clues, as a next step I would do a: WINEDEBUG=+process,+exec wine PTgui.exe and see if that gives further insights.Note: I also tried to use the linux ports/versions of the autopano tool and enblend tool, but that did not succeed either. Maybe because I'm to new to the subject. If anyone of you know how I can combine these versions instead of the windows versions, I would be very happy too.Is there a (demo) version of that program somewhere available? Rein. |