[Bug 27595] HyperCam 2.x crashes on startup

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Nov 9 04:19:32 CST 2014


https://bugs.winehq.org/show_bug.cgi?id=27595

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
            Version|unspecified                 |1.3.24
                URL|                            |http://www.hyperionics.com/
                   |                            |downloads/HC2Setup.exe
           Keywords|                            |download
          Component|-unknown                    |msvfw32
                 CC|                            |focht at gmx.net
     Ever confirmed|0                           |1
            Summary|Screen Recorder             |HyperCam 2.x crashes on
                   |                            |startup

--- Comment #4 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

confirming, the crash still present.

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/HyperCam 2

$ WINEDEBUG=+tid,+seh,+relay,+msvideo wine ./HyCam2.exe >>log.txt 2>&1
...
0023:Call KERNEL32.CreateFileA(005cbfe8 "C:\\users\\focht\\My
Documents\\clip0002.avi",40000000,00000000,00000000,00000002,00000080,00000000)
ret=00459448
0023:Ret  KERNEL32.CreateFileA() retval=00000108 ret=00459448
...
0023:Call msvfw32.ICOpen(63646976,4356534d,00000005) ret=004422e2
0023:trace:msvideo:ICOpen (vidc,MSVC,0x00000005)
0023:Call winmm.OpenDriver(0033d8ac L"vidc.MSVC",7e780940
L"drivers32",0033d888) ret=7e77b58a 
...
0023:Ret  winmm.OpenDriver() retval=001b33b0 ret=7e77b58a
...
0023:trace:msvideo:ICOpen => 0xd
0023:Ret  msvfw32.ICOpen() retval=0000000d ret=004422e2
0023:Call msvfw32.ICSeqCompressFrameStart(0048a010,001814f0) ret=00442365
...
0023:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7e77e668
ip=7e77e668 tid=0023
0023:trace:seh:raise_exception  info[0]=00000000
0023:trace:seh:raise_exception  info[1]=00000014
0023:trace:seh:raise_exception  eax=00000000 ebx=7e784000 ecx=00000000
edx=0048a010 esi=0033d910 edi=0033d918
0023:trace:seh:raise_exception  ebp=0033d8f8 esp=0033d840 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00210206
0023:trace:seh:call_stack_handlers calling handler at 0x468774 code=c0000005
flags=0
0023:trace:seh:call_stack_handlers handler at 0x468774 returned 1 
...
Unhandled exception: page fault on read access to 0x00000014 in 32-bit code
(0x7e77e668).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7e77e668 ESP:0033d840 EBP:0033d8f8 EFLAGS:00210206(  R- --  I   - -P- )
 EAX:00000000 EBX:7e784000 ECX:00000000 EDX:0048a010
 ESI:0033d910 EDI:0033d918
Stack dump:
0x0033d840:  00110000 00000000 00000030 7bc3b2ed
0x0033d850:  7bcedbfb 0033d898 005cc070 00000001
0x0033d860:  0033d898 f752b4cc 7bcd2000 7bc3b3f1
0x0033d870:  7bcedbc8 7bcedc12 00000000 0033d8d4
0x0033d880:  7bcedbc8 0000000f 7bced7c0 0000000f
0x0033d890:  7bcdaf89 f7784000 0033d8c8 f75e6d61
000c: sel=0067 base=00000000 limit=00000000 16-bit r-x
Backtrace:
=>0 0x7e77e668 ICSeqCompressFrameStart+0x1c5(pc=<couldn't compute location>,
lpbiIn=<couldn't compute location>)
[/home/focht/projects/wine/wine.repo/src/dlls/msvfw32/msvideo_main.c:1450] in
msvfw32 (0x0033d8f8)
  1 0x7bc6ddee relay_call+0x39() in ntdll (0x0033d930)
  2 0x7e77249d in msvfw32 (+0x249c) (0x0033dbc0)
  3 0x00442365 in hycam2 (+0x42364) (0x0033dbc0)
  4 0x0044d66c in hycam2 (+0x4d66b) (0x0033dbec)
  5 0x78d15b28 in mfc100 (+0x1b5b27) (0x0033dbf8)
  6 0x78d15d0a in mfc100 (+0x1b5d09) (0x0033dc14)
  7 0x78d49e91 in mfc100 (+0x1e9e90) (0x0033dc38)
  8 0x78d9fc23 in mfc100 (+0x23fc22) (0x0033dc88)
  9 0x0044e478 in hycam2 (+0x4e477) (0x0033de24)
  10 0x78d9f39f in mfc100 (+0x23f39e) (0x0033dee8)
  11 0x78d9f312 in mfc100 (+0x23f311) (0x0033df08)
  12 0x78d9d6ff in mfc100 (+0x23d6fe) (0x0033df80)
  13 0x78d9d98b in mfc100 (+0x23d98a) (0x0033dfa4)
  14 0x78c959bd in mfc100 (+0x1359bc) (0x0033dfe8) 
...
0x7e77e668 ICSeqCompressFrameStart+0x1c5
[/home/focht/projects/wine/wine.repo/src/dlls/msvfw32/msvideo_main.c:1450] in
msvfw32: movl    0x14(%eax),%edx
1450        pc->lpBitsOut = HeapAlloc(GetProcessHeap(), 0,
pc->lpbiOut->bmiHeader.biSizeImage);
Modules:
Module    Address            Debug info    Name (134 modules)
PE      340000-  374000    Deferred        camres2
PE      400000-  4ab000    Export          hycam2
PE    10000000-10007000    Deferred        mclick2
ELF    4743a000-47457000    Deferred        libgcc_s.so.1
PE    78b60000-78f98000    Export          mfc100
ELF    7b800000-7ba64000    Dwarf           kernel32<elf>
  \-PE    7b810000-7ba64000    \               kernel32 
...
Threads:
process  tid      prio (all id:s are in hex) 
...
00000022 (D) C:\Program Files\HyperCam 2\HyCam2.exe
    0000002d    0
    0000002c    0
    0000002b    0
    0000002a    0
    00000029    0
    00000028    0
    00000027    0
    00000026    0
    00000025    0
    00000024    0
    00000023    0 <== 
--- snip ---

Source:
http://source.winehq.org/git/wine.git/blob/95ae71f3ab47c57b6a3af58e787976436b5b3e3e:/dlls/msvfw32/msvideo_main.c#l1423

--- snip ---
1423 BOOL VFWAPI ICSeqCompressFrameStart(PCOMPVARS pc, LPBITMAPINFO lpbiIn)
1424 {
1425     /* I'm ignoring bmiColors as I don't know what to do with it,
1426      * it doesn't appear to be used though
1427      */
1428     DWORD ret;
1429     pc->lpbiIn = HeapAlloc(GetProcessHeap(), 0, sizeof(BITMAPINFO));
1430     if (!pc->lpbiIn)
1431         return FALSE;
...
1450     pc->lpBitsOut = HeapAlloc(GetProcessHeap(), 0,
pc->lpbiOut->bmiHeader.biSizeImage);
1451     if (!pc->lpBitsOut)
1452     {
...
1457     }
--- snip ---

Since 'pc->lpbiOut' is NULL (default, info has to be derived from input) this
can't work here.

Unrelated: the whitespace/tab style is surely messed up in this file. Any
possible combination can be found here :|

$ sha1sum HC2Setup.exe 
9da320859b946939d67f56c04fee650dad788d93  HC2Setup.exe

$ du -sh HC2Setup.exe 
2.7M    HC2Setup.exe

$ wine --version
wine-1.7.30-112-g5d17f9b

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list