02-22-2011 06:21 PM
Hi,
CVI 9.1.0 (427)
Win XP (prof) SP3
DLL (build: Rev0) VC++ 6.0 with SP3
I use Lab Windows CVI ver 9.x, and when I include dll (Rev0)
the software is working only in debug but release crashes
the dr watson give me nothing:
eax=00000000 ebx=05813cb0 ecx=0012fd24 edx=7c90e514 esi=00000000
edi=00000001
eip=00000000 esp=0012fd8c ebp=00406bfe iopl=0 nv up ei pl nz na
pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000
efl=00000202
*** WARNING: Unable to verify checksum for d:\test\test.exe
*** ERROR: Module load completed but symbols could not be loaded for d:\test\test.exe
funkcja: <nosymbols>
No prior disassembly possible
:
00000000 ?? ???
00000002 ?? ???
00000004 ?? ???
00000006 ?? ???
00000008 ?? ???
0000000a ?? ???
0000000c ?? ???
0000000e ?? ???
ERROR ->:
00000000 ?? ???
Error 0x00000001
00000002 ?? ???
00000004 ?? ???
00000006 ?? ???
00000008 ?? ???
0000000a ?? ???
0000000c ?? ???
0000000e ?? ???
00000010 ?? ???
00000012 ?? ???
00000014 ?? ???
*----> <----*
WARNING: Stack unwind information not available. Following frames may be
wrong.
ChildEBP RetAddr Args to Child
0012fd88 00000001 00000007 0000000f 00000000 0x0
*----> <----*
000000000012fd8c 01 00 00 00 07 00 00 00 - 0f 00 00 00 00 00 00 00
................
000000000012fd9c 44 fe 12 00 4c fe 12 00 - 00 fe 12 00 4c 05 c6 00
D...L.......L...
000000000012fdac 20 32 81 05 20 6f 81 05 - 04 fe 12 00 b0 3c 81 05
2.. o.......<..
000000000012fdbc 20 32 81 05 00 00 00 00 - a0 fd 12 00 58 a6 6d 68
2..........X.mh
000000000012fdcc e0 ff 12 00 00 00 00 00 - 30 32 43 56 00 00 00 00
........02CV....
000000000012fddc 00 00 00 00 fc 8e 37 7e - 00 00 00 00 01 00 00 00
......7~........
000000000012fdec 00 00 00 00 00 00 00 00 - 00 00 00 00 20 32 81 05
............ 2..
000000000012fdfc b2 69 40 00 01 00 00 00 - b2 69 40 00 33 ac 6d 68
.i@......i@.3.mh
000000000012fe0c b2 69 40 00 01 00 00 00 - 07 00 00 00 0f 00 00 00
.i@.............
000000000012fe1c 00 00 00 00 44 fe 12 00 - 4c fe 12 00 01 00 00 00
....D...L.......
000000000012fe2c 3c 96 9f 05 00 00 00 00 - e4 31 81 05 ba 5b 68 68
<........1...[hh
000000000012fe3c 3c 96 9f 05 01 00 00 00 - 4b 73 2b 84 d5 38 01 40
<.......Ks+..8.@
000000000012fe4c 00 a0 13 5e 82 53 3f 3f - 06 00 00 00 a3 5f 68 68
...^.S??....._hh
000000000012fe5c 4b 73 2b 84 d5 38 01 40 - e4 31 81 05 01 00 00 00
Ks+..8.@.1......
000000000012fe6c 8c fe 81 05 01 00 00 00 - 01 00 00 00 00 00 00 00
................
000000000012fe7c 4b 73 2b 84 d5 38 01 40 - 6b 60 68 68 3c 96 9f 05
Ks+..8.@k`hh<...
000000000012fe8c 01 00 00 00 e4 31 81 05 - 01 00 00 00 00 00 00 00
.....1..........
000000000012fe9c 00 00 00 00 e3 c1 bc 01 - 00 00 00 00 00 00 00 00
................
000000000012feac 52 b7 76 68 3c 96 9f 05 - d0 78 81 05 33 bd 6d 68
R.vh<....x..3.mh
000000000012febc 01 00 00 00 68 ce 6d 68 - d0 78 81 05 00 00 00 00
....h.mh.x......
any advice?
Best regards
Agnes
02-25-2011 08:27 AM - edited 02-25-2011 08:28 AM
Agnes:
I don't think the Dr. Watson dump is going to help you much. Do you have any clue as to what your code was trying to do when it crashed?
If you search this forum for "debug release crash" or "release version crash" or similar phrases, you'll find that this is a pretty common question. Look through the other posts you find here to see if anything is applicable to you.
The debug version does some things like padding variables so you can sometimes overrun your declared variable space without overwriting the next variable. In the release version, the variables are packed, so if you overrun one, you are overwriting another. Just one possible difference.
You can do some things in your release code to see where things get lost, like temporarily using printf statements at the start and end of different sections of your code to try to identify the failing line of code.
Look through other threads to find other ideas.