ScanImg.exe from WinSANE0.9 fails under WinNT and Win98

John Profic (profic@ddd.kursknet.ru)
Sat, 24 Apr 1999 13:32:32 +0300

Hello Sane-devel,

I think that this happends with help of bad configs but I do all ehat was
written in saned.1 and sane-net.5 but it fails

this is the drwtsn32.log:

Microsoft(R) Windows NT(TM) Версия 4.00 DrWtsn32
(C) 1985-1996 Microsoft Corp. Все права защищены.

Исключение в приложении:
Прил.: Debug/scanimg.exe (pid=68)
Время: 4/24/1999 @ 13:0:38.70
Номер: c0000005 (нарушение прав доступа)

*----> Сведения о системе <----*
Имя компьютера: TOMA
Имя пользователя: Администратор
Число процессоров: 1
Тип процессора: x86 Family 6 Model 5 Stepping 2
Версия Windows: 4.0
Текущая сборка: 1381
Текущий тип: Uniprocessor Free
Зарегистрированная организация: DDD
Зарегистрированный пользователь: John U. Profic

*----> Список задач <----*
0 Idle.exe
2 System.exe
20 smss.exe
24 csrss.exe
34 winlogon.exe
40 services.exe
43 lsass.exe
67 spoolss.exe
78 RpcSs.exe
82 tapisrv.exe
93 WinProxy.exe
97 rasman.exe
122 inetinfo.exe
156 nddeagnt.exe
139 Explorer.exe
58 SysTray.exe
160 internat.exe
163 STARTPG.exe
165 RASMON.exe
167 TASKMGR.exe
174 Far.exe
56 cmd.exe
68 scanimg.exe
182 drwtsn32.exe
0 _Total.exe

(00400000 - 00427000) Debug/scanimg.exe
(77f60000 - 77fbd000) dll\ntdll.dbg
(77f00000 - 77f5f000) dll\kernel32.dbg
(10000000 - 1002b000) Debug/sanedll.dll
(776c0000 - 776c8000) dll\wsock32.dbg
(776a0000 - 776b2000) dll\ws2_32.dbg
(78000000 - 78048000) msvcrt.dbg
(77e70000 - 77ec4000) dll\user32.dbg
(77ed0000 - 77efc000) dll\gdi32.dbg
(77dc0000 - 77dfe000) dll\advapi32.dbg
(77e10000 - 77e62000) dll\rpcrt4.dbg
(77690000 - 77696000) dll\ws2help.dbg
(74680000 - 7468c000) dll\rnr20.dbg
(749f0000 - 749f7000) dll\rasadhlp.dbg
(77650000 - 7765e000) dll\msafd.dbg
(77680000 - 77689000) dll\wshtcpip.dbg

Копия памяти для потока 0x68

eax=00cc1558 ebx=7ffdf000 ecx=3ffff156 edx=00000000 esi=00cc5000 edi=00cc4ffc
eip=10006f33 esp=0012fd30 ebp=0012fd38 iopl=0 nv up ei pl nz na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000202

функция: <nosymbols>
10006f14 3bfe cmp edi,esi
10006f16 7608 jbe 10006f20
10006f18 3bf8 cmp edi,eax
10006f1a 0f8278010000 jb 10007098
10006f20 f7c703000000 test edi,0x3
10006f26 7514 jnz 10006f3c
10006f28 c1e902 shr ecx,0x2
10006f2b 83e203 and edx,0x3
10006f2e 83f908 cmp ecx,0x8
10006f31 7229 jb 10006f5c
СБОЙ -> 10006f33 f3a5 rep movsd ds:00cc5000=???????? es:00cc4ffc=00000000
10006f35 ff249548700010 jmp dword ptr [10007048+edx*4] ds:00000000=????????
10006f3c 8bc7 mov eax,edi
10006f3e ba03000000 mov edx,0x3
10006f43 83e904 sub ecx,0x4
10006f46 720c jb 10006f54
10006f48 83e003 and eax,0x3
10006f4b 03c8 add ecx,eax
10006f4d ff2485606f0010 jmp dword ptr [10006f60+eax*4] ds:00cc1558=10000000
10006f54 ff248d58700010 jmp dword ptr [10007058+ecx*4] ds:3ffff156=????????
10006f5b 90 nop
10006f5c ff248ddc6f0010 jmp dword ptr [10006fdc+ecx*4] ds:3ffff156=????????

*----> Обратная трассировка стека <----*

FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
0012fd38 10003c8b 00cc1558 00cc155c fffffffc 00000001 sanedll!<nosymbols>
0012fd64 10003021 00cd0b1c 00000004 00cd0b1c 0012fdf0 sanedll!<nosymbols>
0012fd80 10003ec3 00cd0b1c 0012fdf0 0012fda0 1000380f sanedll!<nosymbols>
0012fd90 1000380f 00cd0b1c 0012fdf0 0012fdb0 100043a4 sanedll!<nosymbols>
0012fda0 100043a4 00cd0b1c 0012fdec 0012fe0c 10001dfe sanedll!<nosymbols>
0012fdb0 10001dfe 00cd0b1c 00000002 10001005 0012fe00 sanedll!<nosymbols>
0012fe0c 0040272d 010e026f 004223d0 00000000 00000000 sanedll!<nosymbols>
0012ff80 00409255 00000003 010e0250 010e02b0 00000000 scanimg!<nosymbols>
0012ffc0 77f1b304 00000000 00000018 7ffdf000 c0000005 scanimg!<nosymbols>
0012fff0 00000000 00409150 00000000 00000000 77fa5aa0 kernel32!GetProcessPriorityBoost
00000000 00000000 00000000 00000000 00000000 00000000 scanimg!<nosymbols>

*----> Копия необработанного стека <----*
0012fd30 18 00 00 00 7c ff 12 00 - 64 fd 12 00 8b 3c 00 10 ....|...d....<..
0012fd40 58 15 cc 00 5c 15 cc 00 - fc ff ff ff 01 00 00 00 X...\...........
0012fd50 fc ff ff ff 21 30 00 10 - 1c 0b cd 00 04 00 00 00 ....!0..........
0012fd60 20 00 00 00 80 fd 12 00 - 21 30 00 10 1c 0b cd 00 .......!0......
0012fd70 04 00 00 00 1c 0b cd 00 - f0 fd 12 00 90 fd 12 00 ................
0012fd80 90 fd 12 00 c3 3e 00 10 - 1c 0b cd 00 f0 fd 12 00 .....>..........
0012fd90 a0 fd 12 00 0f 38 00 10 - 1c 0b cd 00 f0 fd 12 00 .....8..........
0012fda0 b0 fd 12 00 a4 43 00 10 - 1c 0b cd 00 ec fd 12 00 .....C..........
0012fdb0 0c fe 12 00 fe 1d 00 10 - 1c 0b cd 00 02 00 00 00 ................
0012fdc0 05 10 00 10 00 fe 12 00 - 6e 10 00 10 ec fd 12 00 ........n.......
0012fdd0 31 39 32 2e 31 36 38 2e - 31 2e 35 00 d0 fd 12 00 192.168.1.5.....
0012fde0 d0 fd 12 00 00 00 00 00 - ee 1e 40 00 02 00 00 00 ..........@.....
0012fdf0 50 02 0e 01 b0 de 41 00 - d0 fd 12 00 64 fe 12 00 P.....A.....d...
0012fe00 7b 02 0e 01 80 ff 12 00 - 00 0b cd 00 80 ff 12 00 {...............
0012fe10 2d 27 40 00 6f 02 0e 01 - d0 23 42 00 00 00 00 00 -'@.o....#B.....
0012fe20 00 00 00 00 18 00 00 00 - 19 00 00 00 2a 00 00 00 ............*...
0012fe30 00 00 f0 77 00 00 00 00 - 18 00 00 00 00 f0 fd 7f ...w............
0012fe40 2c fe 12 00 54 fe 12 00 - 04 ff 12 00 96 fe 12 00 ,...T...........
0012fe50 d8 b4 00 00 ff ff ff ff - 70 fe 12 00 00 00 00 00 ........p.......
0012fe60 14 ff 12 00 4c bc f6 77 - 00 00 f0 77 ff ff ff ff ....L..w...w....

My /etc/hosts have names of all computers in our net.

Best regards,
John mailto:profic@ddd.kursknet.ru

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com