Bug 4716

Summary: Не работает QIP в Ubuntu 9.10 и Wine Network
Product: WINE@Etersoft Reporter: Devaev Maxim <mdevaev>
Component: Запуск ; Отладка ; ИсключенияAssignee: BUGS@Etersoft <bugs>
Status: DEFERRED --- QA Contact: Devaev Maxim <mdevaev>
Severity: normal    
Priority: P4 CC: lav
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:
Заявки RT: 12126 Связано с:
Дата напоминания:
Bug Depends on:    
Bug Blocks: 3000    

Description Devaev Maxim 2009-12-25 15:03:30 MSK
После установки wine network из last и запуска winecfg, пытаемся установить qip 8095.
Установка проходит нормально, если убрать все галочки касательно создания ярлыков и запуска программы.

При попытке запуска установленного квипа получаем кучу исключений вида:
-----------------------------------------
guest@ubuntu-9-10:~$ wine .wine/dosdevices/c\:/Program\ Files/QIP/qip.exe 
err:ntlm:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path.
err:ntlm:SECUR32_initNTLMSP Usually, you can find it in the winbind package of your distribution.
wine: Unhandled page fault on read access to 0x00000040 at address 0x0000:0x0043ac78 (thread 0023), starting debugger...
First chance exception: page fault on read access to 0x00000040 in 32-bit code (0x0043ac78).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:0043ac78 ESP:00a2ee64 EBP:00a2eee4 EFLAGS:00010246(   - 00      -RIZP1)
 EAX:00000000 EBX:00000001 ECX:0065d8a4 EDX:00000000
 ESI:00b58b48 EDI:00b58b48
Stack dump:
0x00a2ee64:  0065e695 00b4a44c 00b4d2e0 00425f15
0x00a2ee74:  00b4a44c 00b4d0b4 00b4a44c 00425d1c
0x00a2ee84:  006a1580 00b4d0b4 00000080 00466b44
0x00a2ee94:  00403ef9 00000001 00404301 00429897
0x00a2eea4:  00b4a44c 00b4d0b4 00000080 00469ffa
0x00a2eeb4:  00a2fd9c 00b4a44c 00000080 0047f911
Backtrace:
=>0 0x0043ac78 in qip (+0x3ac78) (0x00a2eee4)
  1 0x004042ed in qip (+0x42ed) (0x00a2fec4)
  2 0x00487b48 in qip (+0x87b48) (0x00a2fee8)
  3 0x00693e15 in qip (+0x293e15) (0x00a2ff08)
  4 0x60442640 in kernel32 (+0x52640) (0x00a2ffe8)
  5 0x60024bc7 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)
0x0043ac78: cmpb	0x40(%eax),%dl
Modules:
Module	Address			Debug info	Name (122 modules)
PE	  400000-  728000	Export          qip
ELF	60000000-6001d000	Deferred        ld-linux.so.2
ELF	6001d000-60159000	Export          libwine.so.1
ELF	60159000-60172000	Deferred        libpthread.so.0
ELF	60172000-602b6000	Deferred        libc.so.6
ELF	602b6000-602ba000	Deferred        libdl.so.2
ELF	602ba000-6037e000	Deferred        ntdll<elf>
  \-PE	602d0000-6037e000	\               ntdll
ELF	6037e000-603a4000	Deferred        libm.so.6
ELF	603a4000-603bb000	Deferred        libnsl.so.1
ELF	603bb000-603c6000	Deferred        libnss_nis.so.2
ELF	603c6000-603d2000	Deferred        libnss_files.so.2
ELF	603d2000-60505000	Export          kernel32<elf>
  \-PE	603f0000-60505000	\               kernel32
ELF	60505000-60571000	Deferred        libwine-etersoft.so.1
ELF	60571000-605bb000	Deferred        libssl.so.0.9.8
ELF	605bb000-605d1000	Deferred        libz.so.1
ELF	605d1000-60708000	Deferred        user32<elf>
  \-PE	605f0000-60708000	\               user32
ELF	60708000-6079e000	Deferred        gdi32<elf>
  \-PE	60720000-6079e000	\               gdi32
ELF	6079e000-6081d000	Deferred        libfreetype.so.6
ELF	6081d000-6084a000	Deferred        libfontconfig.so.1
ELF	6084a000-60871000	Deferred        libexpat.so.1
ELF	60871000-60946000	Deferred        oleaut32<elf>
  \-PE	60890000-60946000	\               oleaut32
ELF	60946000-60a28000	Deferred        ole32<elf>
  \-PE	60960000-60a28000	\               ole32
ELF	60a28000-60a42000	Deferred        version<elf>
  \-PE	60a30000-60a42000	\               version
ELF	60a42000-60a56000	Deferred        lz32<elf>
  \-PE	60a50000-60a56000	\               lz32
ELF	60a56000-60b0a000	Deferred        comctl32<elf>
  \-PE	60a60000-60b0a000	\               comctl32
ELF	60b0a000-60b29000	Deferred        imm32<elf>
  \-PE	60b10000-60b29000	\               imm32
ELF	60b29000-60b5b000	Deferred        winspool<elf>
  \-PE	60b30000-60b5b000	\               winspool
ELF	60b5b000-60cdc000	Deferred        shell32<elf>
  \-PE	60b70000-60cdc000	\               shell32
ELF	60cdc000-60d33000	Deferred        shlwapi<elf>
  \-PE	60cf0000-60d33000	\               shlwapi
ELF	60d33000-60dde000	Deferred        comdlg32<elf>
  \-PE	60d40000-60dde000	\               comdlg32
ELF	60dde000-60e6c000	Deferred        winmm<elf>
  \-PE	60df0000-60e6c000	\               winmm
ELF	60e6c000-60f00000	Deferred        winex11<elf>
  \-PE	60e80000-60f00000	\               winex11
ELF	60f00000-60f09000	Deferred        libsm.so.6
ELF	60f09000-60f24000	Deferred        libice.so.6
ELF	60f24000-60f34000	Deferred        libxext.so.6
ELF	60f34000-61063000	Deferred        libx11.so.6
ELF	61063000-61068000	Deferred        libuuid.so.1
ELF	61068000-6106c000	Deferred        libxau.so.6
ELF	6106c000-6108a000	Deferred        libxcb.so.1
ELF	6108a000-6108f000	Deferred        libxdmcp.so.6
ELF	6108f000-61092000	Deferred        libxinerama.so.1
ELF	61092000-61098000	Deferred        libxxf86vm.so.1
ELF	61098000-610a2000	Deferred        libxrender.so.1
ELF	610a2000-610ab000	Deferred        libxrandr.so.2
ELF	610ab000-610af000	Deferred        libxcomposite.so.1
ELF	610af000-610ba000	Deferred        libxcursor.so.1
ELF	610ba000-610ff000	Deferred        libcups.so.2
ELF	610ff000-611a7000	Deferred        libgnutls.so.26
ELF	611a7000-611b3000	Deferred        libavahi-common.so.3
ELF	611b3000-611c4000	Deferred        libavahi-client.so.3
ELF	611c4000-61276000	Deferred        libkrb5.so.3
ELF	61276000-6127a000	Deferred        libcom_err.so.2
ELF	6127a000-61283000	Deferred        libkrb5support.so.0
ELF	61283000-61295000	Deferred        libtasn1.so.3
ELF	61295000-612ce000	Deferred        libdbus-1.so.3
ELF	612ce000-612d3000	Deferred        libgpg-error.so.0
ELF	612d3000-61307000	Deferred        winealsa<elf>
  \-PE	612e0000-61307000	\               winealsa
ELF	61307000-613ce000	Deferred        libasound.so.2
ELF	613d1000-61411000	Deferred        libpulse.so.0
ELF	61411000-6145b000	Deferred        libpulsecommon-0.9.19.so
ELF	6145b000-61461000	Deferred        libxtst.so.6
ELF	61461000-614cd000	Deferred        libsndfile.so.1
ELF	614cd000-6151d000	Deferred        libflac.so.8
ELF	6151d000-61619000	Deferred        libvorbisenc.so.2
ELF	61619000-61642000	Deferred        libvorbis.so.0
ELF	61642000-61649000	Deferred        libogg.so.0
ELF	61649000-61650000	Deferred        libasound_module_pcm_pulse.so
ELF	61e51000-61e69000	Deferred        msacm32<elf>
  \-PE	61e60000-61e69000	\               msacm32
ELF	61e69000-61e7d000	Deferred        olepro32<elf>
  \-PE	61e70000-61e7d000	\               olepro32
ELF	61e7d000-61ec4000	Deferred        dsound<elf>
  \-PE	61e80000-61ec4000	\               dsound
ELF	61ec4000-61eec000	Deferred        secur32<elf>
  \-PE	61ed0000-61eec000	\               secur32
ELF	61eec000-61f0a000	Deferred        iphlpapi<elf>
  \-PE	61ef0000-61f0a000	\               iphlpapi
ELF	61f0a000-61f35000	Deferred        ws2_32<elf>
  \-PE	61f10000-61f35000	\               ws2_32
ELF	61f35000-61f53000	Deferred        libgcc_s.so.1
ELF	63743000-637a8000	Deferred        rpcrt4<elf>
  \-PE	63750000-637a8000	\               rpcrt4
ELF	660f8000-66123000	Deferred        libk5crypto.so.3
ELF	68368000-68371000	Deferred        libwrap.so.0
ELF	687cc000-687d2000	Deferred        libxfixes.so.3
ELF	68bfb000-68c4a000	Deferred        advapi32<elf>
  \-PE	68c10000-68c4a000	\               advapi32
ELF	6b2f4000-6b370000	Deferred        libgcrypt.so.11
ELF	6dc63000-6dc67000	Deferred        libkeyutils.so.1
ELF	6e23b000-6e26c000	Deferred        uxtheme<elf>
  \-PE	6e240000-6e26c000	\               uxtheme
ELF	703ef000-70413000	Deferred        msacm32<elf>
  \-PE	70400000-70413000	\               msacm32
ELF	73b06000-73b2c000	Deferred        netapi32<elf>
  \-PE	73b10000-73b2c000	\               netapi32
ELF	73d60000-73d74000	Deferred        libresolv.so.2
ELF	7478d000-74796000	Deferred        librt.so.1
ELF	77d9b000-77daf000	Deferred        security<elf>
  \-PE	77da0000-77daf000	\               security
ELF	77e45000-77e5a000	Deferred        midimap<elf>
  \-PE	77e50000-77e5a000	\               midimap
ELF	79e75000-79e7d000	Deferred        libnss_compat.so.2
ELF	79ee0000-79f0d000	Deferred        libgssapi_krb5.so.2
ELF	7bf00000-7bf05000	Deferred        <wine-loader>
ELF	7da2d000-7db95000	Deferred        libcrypto.so.0.9.8
Threads:
process  tid      prio (all id:s are in hex)
0000000e 
	00000010    0
	0000000f    0
00000013 
	00000027    0
	00000015    0
	00000014    0
00000024 
	00000029    0
	00000026    0
	00000025    0
0000002a 
	0000002d    0
	0000002c    0
	0000002b    0
00000017 (D) D:\.wine\dosdevices\c:\Program Files\QIP\qip.exe
	00000030    0
	00000023    0 <==
0000002e 
	0000002f    0
Backtrace:
=>0 0x0043ac78 in qip (+0x3ac78) (0x00a2eee4)
  1 0x004042ed in qip (+0x42ed) (0x00a2fec4)
  2 0x00487b48 in qip (+0x87b48) (0x00a2fee8)
  3 0x00693e15 in qip (+0x293e15) (0x00a2ff08)
  4 0x60442640 in kernel32 (+0x52640) (0x00a2ffe8)
  5 0x60024bc7 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)
-----------------------------------------

Затем сносим каталог ~/.wine, снова запускаем winecfg и после инициализации ставим IE командой yes|ieinstall.
Снова пытаемся запустить квип и получаем уже другую ошибку:
-----------------------------------------
guest@ubuntu-9-10:~$ wine .wine/dosdevices/c\:/Program\ Files/QIP/qip.exe 
mmap() failed: Cannot allocate memory
mmap() failed: Cannot allocate memory
mmap() failed: Cannot allocate memory
mmap() failed: Cannot allocate memory
mmap() failed: Cannot allocate memory
mmap() failed: Cannot allocate memory
mmap() failed: Cannot allocate memory
mmap() failed: Cannot allocate memory
mmap() failed: Cannot allocate memory
mmap() failed: Cannot allocate memory
err:ntlm:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path.
err:ntlm:SECUR32_initNTLMSP Usually, you can find it in the winbind package of your distribution.
wine: Unhandled page fault on read access to 0x00000040 at address 0x0000:0x0043ac78 (thread 003a), starting debugger...
WineDbg starting on pid 0028
First chance exception: page fault on read access to 0x00000040 in 32-bit code (0x0043ac78).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:0043ac78 ESP:00a2ee64 EBP:00a2eee4 EFLAGS:00210246(   - 00      -RIZP1)
 EAX:00000000 EBX:00000001 ECX:0065d8a4 EDX:00000000
 ESI:00c68b48 EDI:00c68b48
Stack dump:
0x00a2ee64:  0065e695 00c5a44c 00c5d2e0 00425f15
0x00a2ee74:  00c5a44c 00c5d0b4 00c5a44c 00425d1c
0x00a2ee84:  006a1580 00c5d0b4 00000080 00466b44
0x00a2ee94:  00403ef9 00000001 00404301 00429897
0x00a2eea4:  00c5a44c 00c5d0b4 00000080 00469ffa
0x00a2eeb4:  00a2fd9c 00c5a44c 00000080 0047f911
Backtrace:
=>0 0x0043ac78 in qip (+0x3ac78) (0x00a2eee4)
  1 0x004042ed in qip (+0x42ed) (0x00a2fec4)
  2 0x00487b48 in qip (+0x87b48) (0x00a2fee8)
  3 0x00693e15 in qip (+0x293e15) (0x00a2ff08)
  4 0x602e9640 in kernel32 (+0x59640) (0x00a2ffe8)
  5 0x60007bc7 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)
0x0043ac78: cmpb	0x40(%eax),%dl
Wine-dbg>exit
syntax error
Wine-dbg>q
-----------------------------------------

Протестировал ту же версию wine и qip на Сизифе, все работает без нареканий, из коробки. Более подробные скриншоты есть в РТ. Воспроизводится в виртуалка Ubunto 9.10
Comment 1 Денис Баранов 2009-12-26 17:49:27 MSK
В бутылках не воспроизводится?

P.S. 1) Максим, такой большой лог просьба во вложение вкладывать, чтобы не захламлять багу
2) При создании верно указывай Компонент к которому относится бага
3) Не забывай выставлять багу которую блокирует данная ошибка, иначе потеряется ошибка и ее никто не увидит.
3) Исполнителя баги следует выбирать в соответствии с их возможностями и тем, чем они занимаются. (Эту ошибку Виталик явно не будет решать.)
Comment 2 Vitaly Lipatov 2010-02-17 18:22:06 MSK
Не вижу проблемы, кроме нехватки памяти.
Можно $ free перед запуском?
Comment 3 Devaev Maxim 2010-02-17 21:47:42 MSK
Нет, памяти предостаточно.

guest@ubuntu-9-10:~$ free -m
             total       used       free     shared    buffers     cached
Mem:           386        378          8          0         15        156
-/+ buffers/cache:        205        180
Swap:          321          2        318
Comment 4 Vitaly Lipatov 2010-02-18 14:50:50 MSK
(In reply to comment #3)
> Нет, памяти предостаточно.
> 
> guest@ubuntu-9-10:~$ free -m
>              total       used       free     shared    buffers     cached
> Mem:           386        378          8          0         15        156
> -/+ buffers/cache:        205        180
> Swap:          321          2        318
> 

После установки пакета winbind у меня QIP не упал, но выдал

$ wine qip.exe
mmap() failed: Cannot allocate memory
mmap() failed: Cannot allocate memory
mmap() failed: Cannot allocate memory
mmap() failed: Cannot allocate memory
mmap() failed: Cannot allocate memory
mmap() failed: Cannot allocate memory
mmap() failed: Cannot allocate memory
mmap() failed: Cannot allocate memory
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x20056 0x00000000
fixme:win:WINPROC_CallProcAtoW Eterhack: skip EVENT_OBJECT_SHOW message

и завис. 

Увеличил память до 700 Мб, mmap перестал ругаться, но зависание такое же.
Нажал в консоли Ctrl-C, и всё поехало дальше, появилось окно ввода номера/пароля.
Comment 5 Vitaly Lipatov 2012-01-09 18:12:00 MSK
Откладываем, на bugs@lists.etersoft.ru не должно висеть багов.