[Bug 35041] Multiple applications crash with heap corruption or live-lock in libX11 (Garmin Express Fit v2.0, 64-bit SMPlayer 0.8.6)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Dec 8 14:12:04 CST 2013


http://bugs.winehq.org/show_bug.cgi?id=35041

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Garmin Express Fit v2.0     |Multiple applications crash
                   |crashes with heap           |with heap corruption or
                   |corruption in libX11        |live-lock in libX11 (Garmin
                   |                            |Express Fit v2.0, 64-bit
                   |                            |SMPlayer 0.8.6)

--- Comment #5 from Anastasius Focht <focht at gmx.net> 2013-12-08 14:12:04 CST ---
Hello folks,

this is also observed with 64-bit SMPlayer 0.8.6

Running it once with 'taskset -c 0' works around and fixes it permanently.
Most likely a race with some 'run-once' stuff happening the first time the
application is run (opening website
http://smplayer.sourceforge.net/first-steps.php for example).

Once it starts fine you need to reinstall it to reproduce.

--- snip ---
...
Backtrace:
=>0 0x0000003c95e359e9 gsignal+0x39() in libc.so.6 (0x00000000011e7b20)
  1 0x0000003c95e370f8 abort+0x147() in libc.so.6 (0x00000000011e7b20)
  2 0x0000003c95e75d17 __libc_message+0x376() in libc.so.6 (0x00000000011e7b20)
  3 0x0000003c95e7d0b8 _int_free+0x6a7() in libc.so.6 (0x0000003c961ba780)
  4 0x0000003c9a251daa _XlcDestroyLocaleDataBase+0x89() in libx11.so.6
(0x0000000000000000)
  5 0x0000003c9a256512 in libx11.so.6 (+0x56511) (0x000000007d34f760)
  6 0x0000003c9a25d5cd _XCloseLC+0x6c() in libx11.so.6 (0x0000003c9a53aaf8)
  7 0x0000003c9a25d60c _XlcCurrentLC+0x1b() in libx11.so.6 (0x00000000011e7e50)
  8 0x0000003c9a256aa5 _Xlcmbstowcs+0xc4() in libx11.so.6 (0x00000000011e7e50)
  9 0x0000003c9a26a53e in libx11.so.6 (+0x6a53d) (0x00007fdbb809a350)
  10 0x0000003c9a2689c5 _XimLocalOpenIM+0x3d4() in libx11.so.6
(0x00007fdbb8010990)
  11 0x0000003c9a267028 _XimOpenIM+0xf7() in libx11.so.6 (0x0000000000000000)
  12 0x00007fdbc717bb5b open_xim+0x43(display=0x7fdbb80008c0)
[/home/focht/projects/wine/wine-git/dlls/winex11.drv/xim.c:343] in winex11
(0x00000000011ea440)
  13 0x00007fdbc717c509 X11DRV_SetupXIM+0x1c()
[/home/focht/projects/wine/wine-git/dlls/winex11.drv/xim.c:462] in winex11
(0x00000000011ea460)
  14 0x00007fdbc7176f3a x11drv_init_thread_data+0x1e9()
[/home/focht/projects/wine/wine-git/dlls/winex11.drv/x11drv_main.c:676] in
winex11 (0x00000000011ea4c0)
  15 0x00007fdbc71681a3 thread_init_display+0x8()
[/home/focht/projects/wine/wine-git/dlls/winex11.drv/x11drv.h:351] in winex11
(0x00000000011ea4d0)
  16 0x00007fdbc716d8d1 X11DRV_create_win_data+0x99(hwnd=0x20038,
window_rect=0x11eaa90, client_rect=0x11eaa90)
[/home/focht/projects/wine/wine-git/dlls/winex11.drv/window.c:1786] in winex11
(0x00000000011ea560)
  17 0x00007fdbc716eaf2 X11DRV_WindowPosChanging+0x98(hwnd=0x20038,
insert_after=(nil), swp_flags=0x14, window_rect=0x11eaa90,
client_rect=0x11eaa90, visible_rect=0x11ea7e0, surface=0x11ea7b8)
[/home/focht/projects/wine/wine-git/dlls/winex11.drv/window.c:2149] in winex11
(0x00000000011ea680)
  18 0x00007fdbc99e30b9 set_window_pos+0xf5(hwnd=0x20038, insert_after=(nil),
swp_flags=0x14, window_rect=0x11eaa90, client_rect=0x11eaa90,
valid_rects=(nil))
[/home/focht/projects/wine/wine-git/dlls/user32/winpos.c:2050] in user32
(0x00000000011ea840)
  19 0x00007fdbc99d519f WIN_CreateWindowEx+0xfdc(cs=0x11eabe0,
className="QEventDispatcherWin32_Internal_Widget1781862288", module=0x400000,
unicode=0x1) [/home/focht/projects/wine/wine-git/dlls/user32/win.c:1581] in
user32 (0x00000000011eabd0)
  20 0x00007fdbc99d5b85 CreateWindowExW+0xe9(exStyle=0,
className="QEventDispatcherWin32_Internal_Widget1781862288",
windowName="QEventDispatcherWin32_Internal_Widget1781862288", style=0, x=0,
y=0, width=0, height=0, parent=(nil), menu=(nil), instance=0x400000,
data=0x0(nil)) [/home/focht/projects/wine/wine-git/dlls/user32/win.c:1751] in
user32 (0x00000000011eace0)
  21 0x000000006a353739 in qtcore4 (+0x193738) (0x00000000011ee650)
  22 0x000000006a354fd6 in qtcore4 (+0x194fd5) (0x00000000011ee650)
...
0x0000003c95e359e9 gsignal+0x39 in libc.so.6: cmpq    $fffff000,%eax
Modules:
Module    Address                    Debug info    Name (100 modules)
PE              400000-          7b0000    Deferred        smplayer
...
Threads:
process  tid      prio (all id:s are in hex)
...
00000023 (D) C:\Program Files\SMPlayer\smplayer.exe
    0000002b    0 <==
    0000002a    0
    00000029   15
    00000024    0
--- snip ---

One time I got an application livelock on startup (multiple threads eating 100%
cpu). Sadly winedbg was unable to attach at this point nor 'bt all' from
outside worked. This is probably the other manifestation of this X11 issue.

Download: http://www.fosshub.com/download/smplayer-0.8.6-x64.exe

$ sha1sum smplayer-0.8.6-x64.exe 
49ab5358fe8b19c82805e765250ad2d61e896a55  smplayer-0.8.6-x64.exe

$ du -sh smplayer-0.8.6-x64.exe 
18M    smplayer-0.8.6-x64.exe

$ wine --version
wine-1.7.8-128-g37460b6

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list