http://bugs.winehq.org/show_bug.cgi?id=59236 --- Comment #5 from sldev <sldev@free.fr> --- (In reply to Louis Lenders from comment #4)
Hi, your log contains a bunch of serious errors that I guess you first need to fix:
0564:err:winediag:NtCreateFile Too many open files, ulimit -n probably needs to be increased 087c:err:module:import_dll Loading library IPHLPAPI.DLL (which is needed by L"D:\\.wine\\drive_c\\Program Files\\SecondLifeViewer\\llplugin\\libcef.dll") failed (error c000011f).
- Have you tried increase it? These errors really should be fixed first I guess.
CEF is only used as a (web) plugin by the viewer (it is ran from an independent "SLPlugin.exe" program, and when a plugin crashes, it does not crash the viewer itself which keeps happily chugging along). And yes, CEF has a lot of issues under Wine, and not only with the SL viewer: some CEF-based games (e.g. the ones made with RPG Maker) are also screwed up, with crashes or bad display, depending on the Wine version I am using, the "best" version so far for me being 10.2, with which CEF works fine (no display quirks) and does not crash too often (it does with the SL viewer, sometimes, at launch, indeed likely because of that ulimit issue). For the posted Wine log, I did see that warning on my first try and consequently retried with an increased ulimit for max opened files from 1000 to 2000 (the max I can get for a non-privileged user, but it's apparently not enough), and even to 1000000 for root (which solves this issue), and I'm still getting crashes nonetheless (even though, in the 'root' case, there's no more any such warning).
-Also it might be worth (if it still crashes) to try disable EGL and see if that changes anything (Create the registry key HKEY_CURRENT_USER\Software\Wine\X11 Driver\UseEGL and set it to "N")
Creating and setting this registry key indeed removes the EGL warnings but does not solve the crashes I'm seeing (tested with root too, to avoid the ulimit issue): I'm attaching below the corresponding backtrace + stderr output as "SLviewerNoEGL.zip". Oh, I should also mention that all my Linux systems use vanilla X11 (and no compositor), with (X)Wayland not even installed. Wine (personal builds since my distro only provides an antique Wine version) is itself built without Wayland support (i.e. configured with 'configure --prefix=/usr --enable-win64 --with-dbus --without-wayland'). Note that older SL official viewer versions, and some Third Party Viewers (TPVs) Windows builds do (more or less) work under Wine (still very crashy, but at least you can run a reasonably long session), so there must be some recent change in the SL viewer that is causing this crash at login under Wine (no problem seen under bare metal Windows)... -- 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.