https://bugs.winehq.org/show_bug.cgi?id=39790
Bug ID: 39790 Summary: brainexplorer2 crashes when run w/o WINEDEBUG=warn+heap Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: alois.schloegl@gmail.com Distribution: ---
Created attachment 53085 --> https://bugs.winehq.org/attachment.cgi?id=53085 backtrace when WineExplorer crashes.
BrainExplorer2 can be installed, and can be started.
The first thing it will ask you is to download up to for atlases of size 30-110 MB. For testing, it is sufficient to download the smallest.
When the atlas is downloaded, and should be loaded, the BrainExplorer2 crashes (see attached backtrace). The crash can be avoided when starting BrainExplorer2 is prefixed with
WINEDEBUG=warn+heap
This is reproducible and happens when any of the 4 atlases is selected. It happens also on different wine versions (1.6.2, 1.8-rc3) and also when WINEARCH="win32" is set.
I'm surprised by this "hack", because I thought WINEDEBUG would only affect the debugging, and not the memory management itself.
https://bugs.winehq.org/show_bug.cgi?id=39790
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alois.schloegl@gmail.com, | |winetest@luukku.com
--- Comment #1 from winetest@luukku.com --- Can you provide me a download? I would like to test this bug from time to time until its get marked fixed? Also you should set your version field to match the wine version (wine --version) you originally reported the bug).
https://bugs.winehq.org/show_bug.cgi?id=39790
--- Comment #2 from Alois Schlögl alois.schloegl@gmail.com --- The download is available from here:
http://mouse.brain-map.org/static/brainexplorer -> "Download for Windows"
and here:
http://www.brain-map.org/BrainExplorer2/BrainExplorer2.msi
I just repeated the test with wine 1.8.5. on Debian 8 (x86_64), it works with
WINEDEBUG=warn+heap "$WINE" "$EXE"
and crashes when started without the prefix,
WINEDEBUG=warn+heap
with the following error:
wine: Unhandled page fault on write access to 0x61657267 at address 0x7bc4f10e (thread 0009), starting debugger... Unhandled exception: page fault on write access to 0x61657267 in 32-bit code (0x7bc4f10e). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:006b GS:0063 EIP:7bc4f10e ESP:0032f050 EBP:0032f064 EFLAGS:00010202( R- -- I - - - ) EAX:00110014 EBX:7bcd0cdc ECX:001fa728 EDX:001fa598 ESI:61657263 EDI:635f6574 Stack dump: 0x0032f050: 00000002 00110000 7bcd0cdc 00110014 0x0032f060: 001fa598 0032f098 7bc4f30a 00000190 0x0032f070: 00000190 001fa728 0032f0e8 7a5f1f00 0x0032f080: 001fa720 001fa728 7bc4f23d 7bcd0cdc 0x0032f090: 001fa720 001fa728 0032f0e8 7bc4fac1 0x0032f0a0: 00110060 001fa5a0 0032f0f8 00110060 Backtrace: =>0 0x7bc4f10e (0x0032f064) 1 0x7bc4f30a (0x0032f098) 2 0x7bc4fac1 (0x0032f0e8) 3 0x0069e13e in brainexplorer2 (+0x29e13d) (0x0032f108) 4 0x0043a920 in brainexplorer2 (+0x3a91f) (0x0032f164) 5 0x004a3345 in brainexplorer2 (+0xa3344) (0x0032f2e8) 6 0x004a172a in brainexplorer2 (+0xa1729) (0x0032f620) 7 0x0049c89d in brainexplorer2 (+0x9c89c) (0x0032f720) 8 0x005925e3 in brainexplorer2 (+0x1925e2) (0x0032f73c) 9 0x004949ba in brainexplorer2 (+0x949b9) (0x0032f8c0) 10 0x00494aba in brainexplorer2 (+0x94ab9) (0x0032f8f0) 11 0x0058cbd3 in brainexplorer2 (+0x18cbd2) (0x0032f904) 12 0x005a4d02 in brainexplorer2 (+0x1a4d01) (0x0032f9cc) 13 0x0057d3ca in brainexplorer2 (+0x17d3c9) (0x0032f9dc) 14 0x0057d218 in brainexplorer2 (+0x17d217) (0x0032fa0c) 15 0x0048b876 in brainexplorer2 (+0x8b875) (0x0032fdf0) 16 0x006e47c2 in brainexplorer2 (+0x2e47c1) (0x0032fe04) 17 0x0069d757 in brainexplorer2 (+0x29d756) (0x0032fe50) 18 0x7b85f1fc in kernel32 (+0x4f1fb) (0x0032fe68) 19 0x7b86024a in kernel32 (+0x50249) (0x0032fe98) 20 0x7bc7e420 (0x0032feb8) 21 0x7bc8140f (0x0032ffa8) 22 0x7bc7e3fe (0x0032ffc8) 23 0x7bc526e7 (0x0032ffe8) 0x7bc4f10e: movl %edi,0x4(%esi) Modules: Module Address Debug info Name (30 modules) PE 400000- 82c000 Export brainexplorer2 PE 7a820000-7a824000 Deferred opengl32 PE 7b810000-7b9b0000 Export kernel32 PE 7bc10000-7bc14000 Deferred ntdll PE 7e1b0000-7e1df000 Deferred comctl32 PE 7e340000-7e343000 Deferred usp10 PE 7e440000-7e444000 Deferred winex11 PE 7ecd0000-7ecd9000 Deferred msacm32 PE 7ecf0000-7ed68000 Deferred winmm PE 7edb0000-7edba000 Deferred mpr PE 7edf0000-7ee08000 Deferred wininet PE 7ee70000-7ee85000 Deferred oleacc PE 7eee0000-7eee4000 Deferred gdiplus PE 7ef90000-7ef94000 Deferred imm32 PE 7efb0000-7efb4000 Deferred iphlpapi PE 7efe0000-7efe4000 Deferred ws2_32 PE 7f010000-7f014000 Deferred wsock32 PE 7f040000-7f048000 Deferred oleaut32 PE 7f170000-7f174000 Deferred rpcrt4 PE 7f1f0000-7f1f8000 Deferred ole32 PE 7f320000-7f324000 Deferred uxtheme PE 7f360000-7f368000 Deferred shlwapi PE 7f3d0000-7f52f000 Deferred shell32 PE 7f610000-7f61a000 Deferred winspool PE 7f660000-7f69b000 Deferred user32 PE 7fbf0000-7fbf3000 Deferred msimg32 PE 7fc00000-7fc04000 Deferred version PE 7fc20000-7fc24000 Deferred advapi32 PE 7fca0000-7fca7000 Deferred gdi32 PE 7ffd0000-7ffd3000 Deferred glu32 Threads: process tid prio (all id:s are in hex) 00000008 (D) C:\Program Files\Allen Institute\Brain Explorer 2\BrainExplorer2.exe 00000009 0 <== 0000000e services.exe 0000001e 0 0000001d 0 00000014 0 00000010 0 0000000f 0 00000012 winedevice.exe 0000001c 0 00000019 0 00000018 0 00000013 0 0000001a plugplay.exe 00000020 0 0000001f 0 0000001b 0 00000021 explorer.exe 00000025 0 00000024 0 00000023 0 00000022 0 System information: Wine build: wine-1.8.5 (Debian 1.8.5-1~bpo8+1) Platform: i386 Version: Windows XP Host system: Linux Host version: 3.16.0-4-amd64
https://bugs.winehq.org/show_bug.cgi?id=39790
Alois Schlögl alois.schloegl@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.8.5
https://bugs.winehq.org/show_bug.cgi?id=39790
Alois Schlögl alois.schloegl@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.8.5 |1.6.2
https://bugs.winehq.org/show_bug.cgi?id=39790
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED
--- Comment #3 from Dmitry Timoshkov dmitry@baikal.ru --- Duplicate.
A workaround is MESA_EXTENSION_MAX_YEAR=1999 wine BrainExplorer2.exe
*** This bug has been marked as a duplicate of bug 25362 ***
https://bugs.winehq.org/show_bug.cgi?id=39790
--- Comment #4 from Alois Schlögl alois.schloegl@gmail.com --- Created attachment 56285 --> https://bugs.winehq.org/attachment.cgi?id=56285 Backtrace when brainexplorer2 is started with prefix "MESA_EXTENSION_MAX_YEAR=1999"
https://bugs.winehq.org/show_bug.cgi?id=39790
--- Comment #5 from Alois Schlögl alois.schloegl@gmail.com --- I tested this, but wine still crashes when run with
MESA_EXTENSION_MAX_YEAR=1999 wine BrainExplorer2.exe wine BrainExplorer2.exe
It does not crash with WINEDEBUG=warn+heap wine BrainExplorer2.exe
That means the
MESA_EXTENSION_MAX_YEAR=1999
is not a working around, at least not for BrainExplorer2 on wine1.8.5 on Debian 8.
https://bugs.winehq.org/show_bug.cgi?id=39790
--- Comment #6 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Alois Schlögl from comment #5)
I tested this, but wine still crashes when run with
MESA_EXTENSION_MAX_YEAR=1999 wine BrainExplorer2.exe wine BrainExplorer2.exe
It does not crash with WINEDEBUG=warn+heap wine BrainExplorer2.exe
That means the
MESA_EXTENSION_MAX_YEAR=1999
is not a working around, at least not for BrainExplorer2 on wine1.8.5 on Debian 8.
What graphics hardware do you have and which driver are you using? Does using a lower MESA_EXTENSION_MAX_YEAR=1998 or 1997,1996... year help?
https://bugs.winehq.org/show_bug.cgi?id=39790
--- Comment #7 from Alois Schlögl alois.schloegl@gmail.com --- lspci shows:
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS880 [Radeon HD 4250] (prog-if 00 [VGA controller])
I had to go back to MESA_EXTENSION_MAX_YEAR=1995 then, indeed it does work.
MESA_EXTENSION_MAX_YEAR=1996 results in a seg-fault.
https://bugs.winehq.org/show_bug.cgi?id=39790
--- Comment #8 from Alois Schlögl alois.schloegl@gmail.com --- I tested this also on another machine (running Debian 8 as well), which has this graphic card:
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10) (prog-if 00 [VGA controller]) Subsystem: Foxconn International, Inc. Device 0ded Flags: bus master, fast devsel, latency 0, IRQ 43 Memory at fdf00000 (32-bit, non-prefetchable) [size=512K] I/O ports at ff00 [size=8] Memory at d0000000 (32-bit, prefetchable) [size=256M] Memory at fda00000 (32-bit, non-prefetchable) [size=1M] Expansion ROM at <unassigned> [disabled] Capabilities: <access denied> Kernel driver in use: i915
And I had to go back as well to MESA_EXTENSION_MAX_YEAR=1995
https://bugs.winehq.org/show_bug.cgi?id=39790
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Bruno Jesus 00cpxxx@gmail.com --- Closing duplicate bugs.