bugzilla-daemon at freedesktop.org
2009-Jun-12 11:49 UTC
[Nouveau] [Bug 22253] New: KMS Nouveau - wfb crash
http://bugs.freedesktop.org/show_bug.cgi?id=22253
Summary: KMS Nouveau - wfb crash
Product: xorg
Version: unspecified
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: Driver/nouveau
AssignedTo: nouveau at lists.freedesktop.org
ReportedBy: d.okias at gmail.com
QAContact: xorg-team at lists.x.org
If is runned Xorg server with EXAPixmaps, then is activated too wfb, which
cause X hang, when I try (for example) run Konsole. DMESG is clear, appearing
Xorg.
HW: 9600M GT
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jun-12 11:50 UTC
[Nouveau] [Bug 22253] KMS Nouveau - wfb crash
http://bugs.freedesktop.org/show_bug.cgi?id=22253 --- Comment #1 from okias <d.okias at gmail.com> 2009-06-12 04:50:11 PST --- Created an attachment (id=26713) --> (http://bugs.freedesktop.org/attachment.cgi?id=26713) Xorg.log -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jun-23 21:05 UTC
[Nouveau] [Bug 22253] KMS Nouveau - wfb crash
http://bugs.freedesktop.org/show_bug.cgi?id=22253 --- Comment #2 from okias <d.okias at gmail.com> 2009-06-23 14:05:45 PST --- Created an attachment (id=27058) --> (http://bugs.freedesktop.org/attachment.cgi?id=27058) Xorg.log from lastest Xorg with debug -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jun-24 01:44 UTC
[Nouveau] [Bug 22253] KMS Nouveau - wfb crash
http://bugs.freedesktop.org/show_bug.cgi?id=22253 --- Comment #3 from Maarten Maathuis <madman2003 at gmail.com> 2009-06-23 18:44:47 PST --- gdb is your friend, because this log isn't saying much. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jun-24 11:01 UTC
[Nouveau] [Bug 22253] KMS Nouveau - wfb crash
http://bugs.freedesktop.org/show_bug.cgi?id=22253 --- Comment #4 from okias <d.okias at gmail.com> 2009-06-24 04:01:37 PST --- Question is how, x.org wiki didn't help, cause everytime when I try assign gdb to X process, Xorg stop, until gdb ends... nothing worked for me. #nouveau, okias -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jun-24 11:25 UTC
[Nouveau] [Bug 22253] KMS Nouveau - wfb crash
http://bugs.freedesktop.org/show_bug.cgi?id=22253 --- Comment #5 from Maarten Maathuis <madman2003 at gmail.com> 2009-06-24 04:25:51 PST --- After attaching you need to "continue", this can only be done if you are running gdb over ssh. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jun-24 12:00 UTC
[Nouveau] [Bug 22253] KMS Nouveau - wfb crash
http://bugs.freedesktop.org/show_bug.cgi?id=22253 --- Comment #6 from okias <d.okias at gmail.com> 2009-06-24 05:00:14 PST --- That's already this case... even with ssh it stop work, until I quit gdb :-( -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jun-24 12:12 UTC
[Nouveau] [Bug 22253] KMS Nouveau - wfb crash
http://bugs.freedesktop.org/show_bug.cgi?id=22253 --- Comment #7 from Maarten Maathuis <madman2003 at gmail.com> 2009-06-24 05:12:29 PST --- So if you break it again (ctrl-c), and backtrace, where is it stuck? -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jun-24 12:23 UTC
[Nouveau] [Bug 22253] KMS Nouveau - wfb crash
http://bugs.freedesktop.org/show_bug.cgi?id=22253 --- Comment #8 from okias <d.okias at gmail.com> 2009-06-24 05:23:47 PST --- 1) I start X server, log in. 2) do gdb /usr/bin/X [pid] 3) server freeze 4) do in gdb: quit and 'y' 5) server is back unfroozen -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jun-24 13:03 UTC
[Nouveau] [Bug 22253] KMS Nouveau - wfb crash
http://bugs.freedesktop.org/show_bug.cgi?id=22253 --- Comment #9 from Maarten Maathuis <madman2003 at gmail.com> 2009-06-24 06:03:58 PST --- After step 3, enter: continue -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jun-24 13:13 UTC
[Nouveau] [Bug 22253] KMS Nouveau - wfb crash
http://bugs.freedesktop.org/show_bug.cgi?id=22253 --- Comment #10 from Ben Skeggs <skeggsb at gmail.com> 2009-06-24 06:13:14 PST --- On Wed, 2009-06-24 at 05:23 -0700, bugzilla-daemon at freedesktop.org wrote:> http://bugs.freedesktop.org/show_bug.cgi?id=22253 > > > > > > --- Comment #8 from okias <d.okias at gmail.com> 2009-06-24 05:23:47 PST --- > 1) I start X server, log in. > 2) do gdb /usr/bin/X [pid] > 3) server freeze > 4) do in gdb: quit and 'y'4.5) 'c' or 'continue' in gdb..> 5) server is back unfroozen > >-- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jun-24 14:37 UTC
[Nouveau] [Bug 22253] KMS Nouveau - wfb crash
http://bugs.freedesktop.org/show_bug.cgi?id=22253
--- Comment #11 from okias <d.okias at gmail.com> 2009-06-24 07:37:13 PST
---
Thanks a lot! :-)
Here is output:
(gdb) continue
Continuing.
Program received signal SIGSEGV, Segmentation fault.
nouveau_wfb_setup_wrap (pRead=0x7f1a7ca535d8, pWrite=0x7f1a7ca535d0,
pDraw=<value optimized out>) at nouveau_wfb.c:153
153 nouveau_wfb.c: No such file or directory.
in nouveau_wfb.c
(gdb) quit
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jun-24 14:38 UTC
[Nouveau] [Bug 22253] KMS Nouveau - wfb crash
http://bugs.freedesktop.org/show_bug.cgi?id=22253 --- Comment #12 from okias <d.okias at gmail.com> 2009-06-24 07:38:54 PST --- Moment, I forgot backtrace :-D sorry -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jun-24 14:42 UTC
[Nouveau] [Bug 22253] KMS Nouveau - wfb crash
http://bugs.freedesktop.org/show_bug.cgi?id=22253 --- Comment #13 from Maarten Maathuis <madman2003 at gmail.com> 2009-06-24 07:41:59 PST --- nouveau_wfb_finish_wrap is broken It ignores index: struct wfb_pixmap *wfb = &wfb_pixmap[0]; Later it loops over all 6, but still uses 0. Eventually you pollute all 6 of your wfb entries and boom. I'll let Ben fix it :-) -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jun-24 14:46 UTC
[Nouveau] [Bug 22253] KMS Nouveau - wfb crash
http://bugs.freedesktop.org/show_bug.cgi?id=22253
--- Comment #14 from okias <d.okias at gmail.com> 2009-06-24 07:46:20 PST
---
Here is complete bt :-)
(gdb) continue
Continuing.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f96211626f0 (LWP 7427)]
nouveau_wfb_setup_wrap (pRead=0x7f961bc715d8, pWrite=0x7f961bc715d0,
pDraw=<value optimized out>) at nouveau_wfb.c:153
153 nouveau_wfb.c: No such file or directory.
in nouveau_wfb.c
(gdb) continue
Continuing.
Program received signal SIGABRT, Aborted.
0x00007f961e5f1285 in raise () from /lib/libc.so.6
(gdb) bt
#0 0x00007f961e5f1285 in raise () from /lib/libc.so.6
#1 0x00007f961e5f2642 in abort () from /lib/libc.so.6
#2 0x000000000046540f in ddxGiveUp () at xf86Init.c:1396
#3 0x00000000004654c9 in AbortDDX () at xf86Init.c:1441
#4 0x0000000000455fb3 in AbortServer () at log.c:404
#5 0x000000000045658c in FatalError (
f=0x55a608 "Caught signal %d (%s). Server aborting\n") at
log.c:529
#6 0x000000000045998b in OsSigHandler (signo=11, sip=0x7f961d4fa1b0,
unused=<value optimized out>) at osinit.c:152
#7 <signal handler called>
#8 nouveau_wfb_setup_wrap (pRead=0x7f961bc715d8, pWrite=0x7f961bc715d0,
pDraw=<value optimized out>) at nouveau_wfb.c:153
#9 0x00007f961ba63131 in wfbFill (pDrawable=0x1ce20d0, pGC=0x1ce1f70, x=26,
y=26, width=192, height=17) at fbfill.c:116
#10 0x00007f961ba63497 in wfbPolyFillRect (pDrawable=0x1ce20d0, pGC=0x1ce1f70,
nrect=<value optimized out>, prect=0x1d0c954) at fbfillrect.c:77
#11 0x00007f961b625040 in ExaCheckPolyFillRect (pDrawable=0x1ce20d0,
pGC=0x1ce1f70, nrect=1, prect=0x1d0c954) at exa_unaccel.c:249
#12 0x00007f961b61d74d in exaPolyFillRect (pDrawable=0x1ce20d0, pGC=0x1ce1f70,
nrect=1, prect=0x1d0c954) at exa_accel.c:816
#13 0x00000000004b8604 in damagePolyFillRect (pDrawable=0x1ce20d0,
---Type <return> to continue, or q <return> to quit---
pGC=0x1ce1f70, nRects=1, pRects=0x1d0c954) at damage.c:1404
#14 0x0000000000444330 in ProcPolyFillRectangle (client=0x1c4f830)
at dispatch.c:1925
#15 0x00000000004462c4 in Dispatch () at dispatch.c:426
#16 0x0000000000425ed2 in main (argc=10, argv=0x7fff970d9f98,
envp=<value optimized out>) at main.c:283
(gdb) quit
The program is running. Quit anyway (and detach it)? (y or n) y
Detaching from program: /usr/bin/X, process 7427
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jun-24 20:10 UTC
[Nouveau] [Bug 22253] KMS Nouveau - wfb crash
http://bugs.freedesktop.org/show_bug.cgi?id=22253 --- Comment #15 from okias <d.okias at gmail.com> 2009-06-24 13:10:00 PST --- Thanks for help! I posted my first nouveau patch/bugfix to mailing list ;-) -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jun-24 21:08 UTC
[Nouveau] [Bug 22253] KMS Nouveau - wfb crash
http://bugs.freedesktop.org/show_bug.cgi?id=22253 --- Comment #16 from Ben Skeggs <skeggsb at gmail.com> 2009-06-24 14:08:42 PST --- Created an attachment (id=27095) --> (http://bugs.freedesktop.org/attachment.cgi?id=27095) fix stupid thinko + extra safety -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2009-Jun-24 21:17 UTC
[Nouveau] [Bug 22253] KMS Nouveau - wfb crash
http://bugs.freedesktop.org/show_bug.cgi?id=22253
okias <d.okias at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #17 from okias <d.okias at gmail.com> 2009-06-24 14:17:37 PST
---
fixed. thanks :-)
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Possibly Parallel Threads
- [Bug 55980] New: X Segfault on second screen resize
- [Bug 37398] New: some applications (like wine) crash nouveau and leave it in an unworkable state
- [PATCH xf86-video-nouveau 0/4] Compiler warnings series
- [Bug 20780] New: nouveau corrupts and crashes on 7800gt when NoAccel= false after a few drawing operations
- [PATCH 1/2] exa: Pre-G80 tiling support.