Bug 119439

Summary: WindowMaker crashes regularly
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Andreas Kleen <ak>
Component: X11 3rd PartyAssignee: Vladimir Nadvornik <nadvornik>
Status: RESOLVED FIXED QA Contact: Stefan Dirsch <sndirsch>
Severity: Major    
Priority: P5 - None    
Version: RC 4   
Target Milestone: ---   
Hardware: x86-64   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andreas Kleen 2005-09-29 14:48:19 UTC
WindowMaker crashes regularly and restarts itself (every few hours)
Had the same issue on 9.3, but 10.0 shows it still.

Visible effect is a flicker and that all your Windows suddenly appear on a
single desktop only. I haven't correleated it to a specific action, but it
usually happens after some action on my side (Window change etc.) 

The kernel log shows:

wmaker[6298] general protection rip:465b3a rsp:7fffffc9f040 error:0

The RIP is in WMColorGC and and the crash happens because

205     GC
206     WMColorGC(WMColor *color)
207     {
208         if (!color->gc) {
209             XGCValues gcv;
210             WMScreen *scr = color->screen;
211
(gdb) 
212             gcv.foreground = color->color.pixel;
213             gcv.graphics_exposures = False;
214             color->gc = XCreateGC(scr->display, scr->rcontext->drawable,
                                                    ^^^^^^^^^^^^^
215                                   GCForeground|GCGraphicsExposures, &gcv);
216         }
217
218         return color->gc;
219     }

scr->rcontext contains a bogus pointer (not NULL, but some garbage with
bits set in the uppermost 8 bits, which is not valid in x86-64)
Comment 1 Andreas Kleen 2005-11-17 18:45:22 UTC
Nobody interested? It still happens regularly.
Comment 2 Vladimir Nadvornik 2005-11-23 09:06:55 UTC
I can't reproduce it. Can you please provide backtrace?
Comment 3 Vladimir Nadvornik 2005-11-28 11:32:28 UTC
It could be this bug:
http://article.gmane.org/gmane.compw.window-managers.windowmaker.devel/894

I am going to prepare test package.
Comment 4 Vladimir Nadvornik 2005-11-28 16:06:46 UTC
The fix was submitted into STABLE. Please test.
The package built for STABLE should work on 10.0 too.