New: nouveau segfaults in p_atomic_dec_zero
[Bug 49815] nouveau segfaults in p_atomic_dec_zero
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=49815
--- Comment #1 from Alen Skondro <[email protected]> 2012-05-11 13:10:40 UTC --- Forgot to add the latest commit I'm using...
23c0d469e55b3cb79ad4b2fd0d961562a26234fd
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=49815
Bug #: 49815
Summary: nouveau segfaults in p_atomic_dec_zero
Classification: Unclassified
Product: Mesa
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: Drivers/DRI/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
With latest mesa git (20120511) gnome starts in fallback mode only.
Last known working mesa was from yesterday.
I'm using kernel 3.4rc6 on arch linux.
=============================================================================
Core was generated by `/usr/lib/gnome-session/gnome-session-check-accelerated-helper'. Program terminated with signal 11, Segmentation fault.
#0 0x00007f4a758b1ffa in p_atomic_dec_zero (v=0x100010001) at ../../../../src/gallium/auxiliary/util/u_atomic.h:53
53 __asm__ __volatile__("lock; decl %0; sete %1":"+m"(*v), "=qm"(c)
(gdb) bt
#0 0x00007f4a758b1ffa in p_atomic_dec_zero (v=0x100010001) at ../../../../src/gallium/auxiliary/util/u_atomic.h:53
#1 0x00007f4a758b1f9a in pipe_reference_described (ptr=0x100010001, reference=0x0, get_desc=0x7f4a75c66e90 <debug_describe_resource>)
at ../../../../src/gallium/auxiliary/util/u_inlines.h:88
#2 0x00007f4a758b2065 in pipe_resource_reference (ptr=0xfeeae8, tex=0x0) at ../../../../src/gallium/auxiliary/util/u_inlines.h:121
#3 0x00007f4a758b142b in nv50_set_constant_buffer (pipe=0xfee5d0, shader=3, index=0, cb=0x0) at nv50_state.c:761
#4 0x00007f4a75a97846 in st_destroy_context (st=0x1081550) at state_tracker/st_context.c:291
#5 0x00007f4a75960add in st_context_destroy (stctxi=0x1081550) at state_tracker/st_manager.c:596
#6 0x00007f4a75868a74 in dri_destroy_context (cPriv=0xfee590) at dri_context.c:174
#7 0x00007f4a75861b4b in driDestroyContext (pcp=0xfee590) at ../../../../src/mesa/drivers/dri/common/dri_util.c:301
#8 0x00007f4a791147dd in dri2_destroy_context (context=0xfee3f0) at dri2_glx.c:132
#9 0x00007f4a790cd4b2 in glXDestroyContext (dpy=0xf9a2d0, ctx=0xfee3f0) at glxcmds.c:424
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 49815] nouveau segfaults in p_atomic_dec_zero
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=49815
--- Comment #2 from [email protected] 2012-05-15 20:54:15 PDT --- Looks like I've been bitten by the same bug, or something similar. Everything was working fine until I pulled in the latest mesa from git and recompiled. Then gnome started going only into fallback mode. In dmesg I was getting:
gnome-session-c[3618]: segfault at 100010001 ip 00007f0419ae0570 sp 00007fffd3204870 error 6 in nouveau_dri.so[7f0419a64000+495000]
When in fallback mode, if I ran glxinfo it would also segfault:
glxinfo[3729]: segfault at 100010001 ip 00007ffe31f49570 sp 00007fff22a85df0 error 6 in nouveau_dri.so[7ffe31ecd000+495000]
Going back to commit b328949a37fee7b0f68ed3e068ffc4426c083042 fixed it.
I'm afraid I have no backtrace but if someone can point me to some quick instructions I should be able to try to get one in a few days.
Here is what lspci says my card is:
01:00.0 VGA compatible controller: NVIDIA Corporation G86M [Quadro NVS 135M] (rev a1)
I'm using a very mixed Debian testing/unstable/experimental, kernel 3.2.0-2, amd64, on a Dell Latitude D630 laptop.
(BTW, nouveau works moderately well on my box. I can run Gnome 3 but the zoom animations look like crap, maybe because the card stays in low-power mode. (I used to run the nvidia blob with Compiz, and I had to deactivate power saving to get good animations then.) After about 20-30 hours of use I usually get some kind of memory corruption, or X locks up, and I have to reboot. However, the 2d acceleration rocks, much faster than the blob! Makes it worth it.)
Anyway, thanks to everyone for your great work! Greetings, Andrew
Quoted 7 lines · El 11/05/12 08:10, [email protected] escribió:
https://bugs.freedesktop.org/show_bug.cgi?id=49815
--- Comment #1 from Alen Skondro<[email protected]> 2012-05-11 13:10:40 UTC --- Forgot to add the latest commit I'm using...
23c0d469e55b3cb79ad4b2fd0d961562a26234fd
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Nouveau mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 49815] nouveau segfaults in p_atomic_dec_zero
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=49815
Alen Skondro <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #3 from Alen Skondro <[email protected]> 2012-05-23 02:45:13 PDT --- With latest git, this works for me again.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.