[Bug 747333] New: LLVM crashes in Mesa triggered by Wine games
https://bugzilla.novell.com/show_bug.cgi?id=747333 https://bugzilla.novell.com/show_bug.cgi?id=747333#c0 Summary: LLVM crashes in Mesa triggered by Wine games Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: meissner@suse.com QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- Hi, https://bugs.freedesktop.org/show_bug.cgi?id=41791 is one occurence where a game in Wine crashes within openSUSE / Mesa code in LLVM. The Wine 3D developers made me aware that there are various of such reports, mostly on openSUSE. Are you aware of such problems and perhaps a fix? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=747333
https://bugzilla.novell.com/show_bug.cgi?id=747333#c1
Stefan Dirsch
Are you aware of such problems and perhaps a fix?
2x no. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=747333
https://bugzilla.novell.com/show_bug.cgi?id=747333#c2
--- Comment #2 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=747333
https://bugzilla.novell.com/show_bug.cgi?id=747333#c3
--- Comment #3 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=747333
https://bugzilla.novell.com/show_bug.cgi?id=747333#c4
Rafał Miłecki
https://bugzilla.novell.com/show_bug.cgi?id=747333
https://bugzilla.novell.com/show_bug.cgi?id=747333#c5
--- Comment #5 from Rafał Miłecki
https://bugzilla.novell.com/show_bug.cgi?id=747333
https://bugzilla.novell.com/show_bug.cgi?id=747333#c6
--- Comment #6 from Rafał Miłecki
https://bugzilla.novell.com/show_bug.cgi?id=747333
https://bugzilla.novell.com/show_bug.cgi?id=747333#c7
--- Comment #7 from Rafał Miłecki
llvm-config --version 2.8
and mesa's config displays: llvm: yes llvm-config: /usr/bin/llvm-config llvm-version: 2.8 After downgrading llvm, I've recompiled Mesa (same version and same config as earlier). I installed it and wine started to work! I can finally play Diablo II without DRAW_USE_LLVM=0. I guess we should bisect llvm, unfortunately this project doesn't use git (no "git bisect") and recompiling whole llvm and mesa can take a lot of time. But at least we have something to start with. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=747333
https://bugzilla.novell.com/show_bug.cgi?id=747333#c8
--- Comment #8 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=747333
https://bugzilla.novell.com/show_bug.cgi?id=747333#c9
--- Comment #9 from Rafał Miłecki
mesa uses llvm on buildtime, just swapping llvm out in the system is not going to work ... So you need to rebuild Mesa.
So Rafal, you got the 12.1 Mesa compiled with LLVM 2.8? and this helped?
Yes, I'm recompiling whole mesa: make clean; make distclean; make realclean /autogen.sh --prefix=/usr --with-gallium-drivers=r600 --with-dri-drivers= make -j 4 sudo make install every time I change (upgrade/downgrade) llvm. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=747333
https://bugzilla.novell.com/show_bug.cgi?id=747333#c10
vincent lejeune
https://bugzilla.novell.com/show_bug.cgi?id=747333
https://bugzilla.novell.com/show_bug.cgi?id=747333#c11
--- Comment #11 from Rafał Miłecki
Do you have the bug with Mesa 8.0.1 ?
Please take a look at comment #6 - I'm using Mesa git. I'm quite sure git master contains every patch that landed in 8.0.1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=747333
https://bugzilla.novell.com/show_bug.cgi?id=747333#c12
--- Comment #12 from vincent lejeune
https://bugzilla.novell.com/show_bug.cgi?id=747333
https://bugzilla.novell.com/show_bug.cgi?id=747333#c13
--- Comment #13 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=747333
https://bugzilla.novell.com/show_bug.cgi?id=747333#c14
--- Comment #14 from vincent lejeune
https://bugzilla.novell.com/show_bug.cgi?id=747333
https://bugzilla.novell.com/show_bug.cgi?id=747333#c15
--- Comment #15 from Rafał Miłecki
https://bugzilla.novell.com/show_bug.cgi?id=747333
https://bugzilla.novell.com/show_bug.cgi?id=747333#c16
--- Comment #16 from vincent lejeune
https://bugzilla.novell.com/show_bug.cgi?id=747333
https://bugzilla.novell.com/show_bug.cgi?id=747333#c17
--- Comment #17 from Rafał Miłecki
I rebuilt LLVM removing stage 2 and stage 3 steps, and the bug disappears With stage 2 however, the crash still occurs.
Apparently this is a bug inside clang (stage 1 build llvm using gcc, stage 2 build llvm using newly compiled clang).
Nice, I didn't have any idea about "stages" in LLVM. I was just bisecting whole
LLVM builds.
This led me to the first bad commit:
commit 42634836e999dfcb59f1f5ea50dfd33442be4b9a
Author: Eric Christopher
https://bugzilla.novell.com/show_bug.cgi?id=747333
https://bugzilla.novell.com/show_bug.cgi?id=747333#c18
--- Comment #18 from vincent lejeune
https://bugzilla.novell.com/show_bug.cgi?id=747333
https://bugzilla.novell.com/show_bug.cgi?id=747333#c19
--- Comment #19 from Rafał Miłecki
https://bugzilla.novell.com/show_bug.cgi?id=747333
https://bugzilla.novell.com/show_bug.cgi?id=747333#c20
Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=747333
https://bugzilla.novell.com/show_bug.cgi?id=747333#c
Johannes Obermayr
https://bugzilla.novell.com/show_bug.cgi?id=747333
https://bugzilla.novell.com/show_bug.cgi?id=747333#c21
--- Comment #21 from Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=747333
https://bugzilla.novell.com/show_bug.cgi?id=747333#c22
Ronny Peine
we released a llvm 3.0 and Mesa update for 12.1
can anybody check if it is still a problem?
Hi, the bug is still present on openSUSE 12.1. Tested with various 3D applications. Versions: Mesa-7.11-11.4.2 llvm-3.0-1.8.1 Kind regards. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=747333
https://bugzilla.novell.com/show_bug.cgi?id=747333#c23
Johannes Obermayr
https://bugzilla.novell.com/show_bug.cgi?id=747333
https://bugzilla.novell.com/show_bug.cgi?id=747333#c24
Johannes Obermayr
participants (1)
-
bugzilla_noreply@novell.com