http://bugs.winehq.org/show_bug.cgi?id=24396
Summary: Winamp crashes on start up Product: Wine Version: 1.3.2 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: t.artem@mailcity.com
Created an attachment (id=30747) --> (http://bugs.winehq.org/attachment.cgi?id=30747) winedbg --gdb winamp.exe
I don't know what happened here, but today Winamp refuses to start, segfaulting on start up even with a new/clean wine profile. A few days ago winamp worked just fine, but I don't remember updating any packages/kernel/etc recently.
I'm running Fedora 13 with all updates installed and vanilla kernel 2.6.35.4 compiled with vanilla GCC 4.5.1.
Error messages logged to the console are very short, so I'm appending them here:
$ wine winamp.exe fixme:msg:ChangeWindowMessageFilter c03f 00000001 fixme:msg:ChangeWindowMessageFilter 323 00000001 fixme:msg:ChangeWindowMessageFilter 326 00000001 fixme:msg:ChangeWindowMessageFilter 111 00000001 fixme:dwmapi:DwmSetWindowAttribute (0x10062, 7, 0x7ac0c8, 4) stub fixme:dwmapi:DwmSetWindowAttribute (0x10062, a, 0x7ac0c8, 4) stub wine: Unhandled page fault on write access to 0x00000065 at address 0x7ef8fb84 (thread 001b), starting debugger... err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7ef8fb84
$ _
I tried debugging wine as suggested by Anastasius Focht in http://bugs.winehq.org/show_bug.cgi?id=23222#c14
http://bugs.winehq.org/show_bug.cgi?id=24396
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
http://bugs.winehq.org/show_bug.cgi?id=24396
--- Comment #1 from Artem S. Tashkinov t.artem@mailcity.com 2010-09-18 17:37:12 CDT --- Anyone?
http://bugs.winehq.org/show_bug.cgi?id=24396
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Winamp crashes on start up |A lot of Windows | |application crash on start | |up in create_alpha_bitmap | |function
http://bugs.winehq.org/show_bug.cgi?id=24396
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|A lot of Windows |A lot of Windows |application crash on start |applications crash on start |up in create_alpha_bitmap |up in create_alpha_bitmap |function |function
--- Comment #2 from Artem S. Tashkinov t.artem@mailcity.com 2010-09-18 19:04:57 CDT --- I have found out that QuickTime Player also cannot start due to this problem:
First chance exception: page fault on write access to 0x003c0000 in 32-bit code (0x7ea7474d). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:7ea7474d ESP:0033f518 EBP:0033f590 EFLAGS:00210a02( R- --O I - - - ) EAX:80808081 EBX:7eb147e0 ECX:00000000 EDX:00000067 ESI:000000ac EDI:003c0000 Stack dump: 0x0033f518: 0000031c 00000000 00000000 00000010 0x0033f528: 00000010 00000000 00000000 00000010 0x0033f538: 00000010 7e456df8 00136970 00000000 0x0033f548: 00cc0020 00000308 00330001 7e9d0001 0x0033f558: 0033f570 0000031c 00137200 00000328 0x0033f568: 00000000 00000000 00000010 00000010 Backtrace: =>0 0x7ea7474d create_alpha_bitmap+0x1cd() in user32 (0x0033f590) 1 0x7ea75225 CURSORICON_CreateIconFromBMI+0x754() in user32 (0x0033f620) 2 0x7ea7533a CreateIconFromResourceEx+0xd9() in user32 (0x0033f670) 3 0x7ea75c3f CURSORICON_Load+0x8ce() in user32 (0x0033f730) 4 0x7ea76000 LoadImageW+0x1cf() in user32 (0x0033f830) 5 0x7ea76fe6 LoadImageA+0x1a5() in user32 (0x0033f920) 6 0x7e364f26 SIC_Initialize+0x1a5() in shell32 (0x0033f970) 7 0x7e36edb2 DllMain+0xb1() in shell32 (0x0033f9b0) 8 0x7ef90e15 call_dll_entry_point+0x14() in ntdll (0x0033f9d0) 9 0x7ef90e15 call_dll_entry_point+0x14() in ntdll (0x0033fb10) 10 0x7ef93ec4 MODULE_InitDLL+0xe3() in ntdll (0x0033fb70) 11 0x7ef947d2 process_attach+0x91() in ntdll (0x0033fbd0) 12 0x7ef97651 LdrLoadDll+0x90() in ntdll (0x0033fc10) 13 0x7edd68d6 load_library+0xd5() in kernel32 (0x0033fc70) 14 0x7edd69e4 LoadLibraryExW+0x43() in kernel32 (0x0033fcb0) 15 0x7edd6abe LoadLibraryW+0x2d() in kernel32 (0x0033fcd0) 16 0x0040119f in quicktimeplayer (+0x119e) (0x0012318e) 17 0x53550000 (0x00180000) 0x7ea7474d create_alpha_bitmap+0x1cd in user32: movb %dl,0x0(%edi,%ecx,4)
http://bugs.winehq.org/show_bug.cgi?id=24396
--- Comment #3 from Artem S. Tashkinov t.artem@mailcity.com 2010-09-18 19:11:14 CDT --- Created an attachment (id=30853) --> (http://bugs.winehq.org/attachment.cgi?id=30853) Backtrace with $BreakOnFirstChance=0
If I set set $BreakOnFirstChance=0 (as advised in http://bugs.winehq.org/show_bug.cgi?id=15520#c14) I get a different backtrace, where the first crashing function is RtlAllocateHeap.
http://bugs.winehq.org/show_bug.cgi?id=24396
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|focht@gmx.net | Summary|A lot of Windows |Some Windows applications |applications crash on start |mysteriously crash on start |up in create_alpha_bitmap |up |function |
--- Comment #4 from Artem S. Tashkinov t.artem@mailcity.com 2010-09-18 19:17:42 CDT --- The funny thing is that winamp works when I start it this way:
WINEDEBUG=+tid,+seh,+relay wine winamp.exe &>log.txt
http://bugs.winehq.org/show_bug.cgi?id=24396
--- Comment #5 from Jeff Zaroyko jeffz@jeffz.name 2010-09-18 19:29:45 CDT --- It's normal, just use set $BreakOnFirstChance=0 to ignore it.
http://bugs.winehq.org/show_bug.cgi?id=24396
--- Comment #6 from Artem S. Tashkinov t.artem@mailcity.com 2010-09-18 19:47:55 CDT --- Something weird goes on here.
With a new .wine, winamp now starts.
With an old .wine I cannot make it start.
set $BreakOnFirstChance=0 doesn't work because winedbg refuses to work:
$ winedbg ./winamp.exe WineDbg starting on pid 001b 0x7edde5b0 start_process+0x50 in kernel32: movl %edi,0x4(%esp) Wine-dbg>set $BreakOnFirstChance=0 Wine-dbg>run fixme:winedbg:dbg_run_debuggee Re-running current program with "\r" as args is broken
with
$ winedbg --gdb ./winamp.exe and set $BreakOnFirstChance=0
I get create_alpha_bitmap
http://bugs.winehq.org/show_bug.cgi?id=24396
--- Comment #7 from Jeff Zaroyko jeffz@jeffz.name 2010-09-18 20:05:26 CDT --- (In reply to comment #6)
Wine-dbg>set $BreakOnFirstChance=0 Wine-dbg>run fixme:winedbg:dbg_run_debuggee Re-running current program with "\r" as args is broken
use 'c' for continue, not 'run', you are already running it.
Why are you running things with winedbg anyway? You should be running programs without windbg.
http://bugs.winehq.org/show_bug.cgi?id=24396
--- Comment #8 from Artem S. Tashkinov t.artem@mailcity.com 2010-09-19 04:41:35 CDT --- WinAMP crashes without any bt:
wine: Unhandled page fault on write access to 0x00000065 at address 0x7ef8fba4 (thread 001b), starting debugger... err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7ef8fba4
so I'm using winedbg.
Anyway, comment 3 is quite actual, I still get the same crash.
http://bugs.winehq.org/show_bug.cgi?id=24396
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Some Windows applications |Winamp crashes on start up |mysteriously crash on start | |up |
--- Comment #9 from Dmitry Timoshkov dmitry@codeweavers.com 2010-09-19 05:57:03 CDT --- Let's make it for Winamp. If there are other applications open separate bug reports.
As Jeff said, never run applications with winedbg unless you know what you are doing.
http://bugs.winehq.org/show_bug.cgi?id=24396
--- Comment #10 from Jeff Zaroyko jeffz@jeffz.name 2010-09-19 07:09:25 CDT --- (In reply to comment #3)
Created an attachment (id=30853)
--> (http://bugs.winehq.org/attachment.cgi?id=30853) [details]
Backtrace with $BreakOnFirstChance=0
Install/compile with debug symbols and attach a new backtrace please.
http://bugs.winehq.org/show_bug.cgi?id=24396
--- Comment #11 from Artem S. Tashkinov t.artem@mailcity.com 2010-09-19 13:42:53 CDT --- Created an attachment (id=30877) --> (http://bugs.winehq.org/attachment.cgi?id=30877) Backtrace with debug symbols with $BreakOnFirstChance=0
http://bugs.winehq.org/show_bug.cgi?id=24396
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |winmm&mci Summary|Winamp crashes on start up |[ALSA driver bug] Windows | |applications crash on start | |up
--- Comment #12 from Artem S. Tashkinov t.artem@mailcity.com 2010-09-23 14:01:59 CDT --- I have changed the sound driver from ASLA to OSS and now all "faulty" applications work just fine.
http://bugs.winehq.org/show_bug.cgi?id=24396
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #13 from Artem S. Tashkinov t.artem@mailcity.com 2010-10-19 11:41:19 CDT --- Already fixed in 1.3.5.
http://bugs.winehq.org/show_bug.cgi?id=24396
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org 2010-10-29 12:58:16 CDT --- Closing bugs fixed in 1.3.6.