http://bugs.winehq.org/show_bug.cgi?id=28773
Bug #: 28773 Summary: Kindle for PC exposes some heap corruption in msvcp90 Product: Wine Version: 1.3.30 Platform: x86 URL: http://www.amazon.com/gp/feature.html/ref=kcp_pc_mkt_l nd?docId=1000426311 OS/Version: Linux Status: NEW Keywords: download, Installer Severity: normal Priority: P2 Component: msvcp AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com CC: piotr.caban@gmail.com Classification: Unclassified
wine: Unhandled page fault on read access to 0x01833fc8 at address 0x7bc479a5 (thread 0036), starting debugger... Unhandled exception: page fault on read access to 0x01833fc8 in 32-bit code (0x7bc479a5). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:7bc479a5 ESP:0033f87c EBP:0033f894 EFLAGS:00210283( R- -- I S - - -C) EAX:01614000 EBX:7bca4ff4 ECX:000dfbf8 EDX:017543d0 ESI:01764000 EDI:01834000 Stack dump: 0x0033f87c: 01833fc8 00000002 017543e0 7bca4ff4 0x0033f88c: 017541b8 00000210 0033f8a8 7bc47b56 0x0033f89c: 000dfbf8 017541b8 00000002 0033f908 0x0033f8ac: 7bc488ac 00000210 7bca4ff4 01753c38 0x0033f8bc: 00000000 01614000 7bc47f53 00110060 0x0033f8cc: 7bc487db 00000210 00000000 00000000 Backtrace: =>0 0x7bc479a5 HEAP_CreateFreeBlock+0x55(subheap=0x1614000, ptr=0x17543d0, size=0xdfbf8) [/home/austin/wine-git/dlls/ntdll/heap.c:583] in ntdll (0x0033f894) 1 0x7bc47b56 HEAP_ShrinkBlock+0x45(subheap=0x1614000, pArena=0x17541b8, size=0x210) [/home/austin/wine-git/dlls/ntdll/heap.c:685] in ntdll (0x0033f8a8) 2 0x7bc488ac RtlAllocateHeap+0xdb(heap=0x110000, flags=0x2, size=0x210) [/home/austin/wine-git/dlls/ntdll/heap.c:1699] in ntdll (0x0033f908) 3 0x7e1ac844 MSVCRT_operator_new+0x33(size=0x210) [/home/austin/wine-git/dlls/msvcrt/heap.c:62] in msvcrt (0x0033f958) 4 0x7e248ca0 MSVCP_allocator_char_allocate+0x1f(this=0x1134634, count=0x210) [/home/austin/wine-git/dlls/msvcp90/memory.c:83] in msvcp90 (0x0033f978) 5 0x7e24c73b basic_string_char_grow+0x6a(this=0x33fb34, new_size=0x161, trim=0) [/home/austin/wine-git/dlls/msvcp90/string.c:606] in msvcp90 (0x0033f9c8) 6 0x7e24f1c9 MSVCP_basic_string_char_append_substr+0x68(this=0x33fb34, append=0x33fa84, offset=0, count=0x1) [/home/austin/wine-git/dlls/msvcp90/string.c:1068] in msvcp90 (0x0033fa18) 7 0x7e24f2e4 MSVCP_basic_string_char_append+0x33(this=0x33fb34, append=0x33fa84) [/home/austin/wine-git/dlls/msvcp90/string.c:1085] in msvcp90 (0x0033fa38) 0x7bc479a5 HEAP_CreateFreeBlock+0x55 [/home/austin/wine-git/dlls/ntdll/heap.c:583] in ntdll: testb $0x1,0x0(%edx,%ecx,1) 583 (*(DWORD *)((char *)ptr + size) & ARENA_FLAG_FREE))
Using: a227c4e2d818a7f1c903f39ed551f2f1b0b5efd0 KindleForPC-installer.exe
wine-1.3.30-205-g472a8f7
winetricks -q vcrun2008 works around it.
http://bugs.winehq.org/show_bug.cgi?id=28773
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|Installer |
--- Comment #1 from Austin English austinenglish@gmail.com 2011-10-17 17:17:48 CDT --- Actually, problem isn't in installer, but on application start.
http://bugs.winehq.org/show_bug.cgi?id=28773
--- Comment #2 from Austin English austinenglish@gmail.com 2011-10-17 17:32:40 CDT --- Created attachment 36964 --> http://bugs.winehq.org/attachment.cgi?id=36964 WINEDEBUG=seh,tid,msvcp90,msvcrt
Had to trim +relay, it was too big with, even compressed.
Kindle itself is 24MB, so not too big. If you need more targeted logs, let me know.
http://bugs.winehq.org/show_bug.cgi?id=28773
--- Comment #3 from Travis Wenks travis.wenks@gmail.com 2011-10-17 18:01:53 CDT --- Created attachment 36965 --> http://bugs.winehq.org/attachment.cgi?id=36965 kindle install terminal output
this is when i installed, i tried to get as much info as i could. hope it is useful :)
http://bugs.winehq.org/show_bug.cgi?id=28773
--- Comment #4 from Travis Wenks travis.wenks@gmail.com 2011-10-17 18:02:52 CDT --- Created attachment 36966 --> http://bugs.winehq.org/attachment.cgi?id=36966 kindle launch terminal output
when launching using the desktop shortcut command
http://bugs.winehq.org/show_bug.cgi?id=28773
--- Comment #5 from Travis Wenks travis.wenks@gmail.com 2011-10-17 18:05:13 CDT --- Created attachment 36967 --> http://bugs.winehq.org/attachment.cgi?id=36967 strace of launch
compressed output
http://bugs.winehq.org/show_bug.cgi?id=28773
Travis Wenks travis.wenks@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |travis.wenks@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=28773
--- Comment #6 from Piotr Caban piotr.caban@gmail.com 2011-10-18 04:21:17 CDT --- I've sent patches to fix this bug: http://source.winehq.org/patches/data/80073 http://source.winehq.org/patches/data/80074
Next problem related to this application is: Unimplemented function msvcp90.dll.??0?$basic_ifstream@DU?$char_traits@D@std@@@std@@QAE@PB_WHH@Z
http://bugs.winehq.org/show_bug.cgi?id=28773
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |59514c463a6498a7a0b871a1ef1 | |93e40c1b6843f Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #7 from Austin English austinenglish@gmail.com 2011-10-18 13:55:25 CDT --- (In reply to comment #6)
I've sent patches to fix this bug: http://source.winehq.org/patches/data/80073 http://source.winehq.org/patches/data/80074
Next problem related to this application is: Unimplemented function msvcp90.dll.??0?$basic_ifstream@DU?$char_traits@D@std@@@std@@QAE@PB_WHH@Z
http://source.winehq.org/git/wine.git/commitdiff/59514c463a6498a7a0b871a1ef1...
http://source.winehq.org/git/wine.git/commitdiff/f73522698881696905e5b03c115...
Thanks!
http://bugs.winehq.org/show_bug.cgi?id=28773
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org 2011-10-21 13:49:14 CDT --- Closing bugs fixed in 1.3.31.