Help - fvwm randomly crashes

I am using fvwm 2.6.5 which I compiled from source. I used the standard compilation options except I disabled bidirectional text support, as it wouldn’t compile otherwise. I was using an older version with no problems previously.

fvwm crashes randomly and dumps something which looks like a memory map to the Linux terminal. Try as I might I cannot redirect this output to a file. I can however get a core file. Here is a backtrace:

(gdb) bt
#0 0xb71a6a67 in raise () from /lib/libc.so.6
#1 0xb71a82e2 in abort () from /lib/libc.so.6
#2 0xb71e505d in __libc_message () from /lib/libc.so.6
#3 0xb71eb5aa in malloc_printerr () from /lib/libc.so.6
#4 0xb71ee503 in _int_free () from /lib/libc.so.6
#5 0xb71f16b0 in free () from /lib/libc.so.6
#6 0xb763330c in XFreeStringList () from /usr/lib/libX11.so.6
#7 0x080c4ef3 in FlocaleFreeNameProperty (ptext=0xb72d9ff4) at Flocale.c:2358
#8 0x0808085f in free_window_names (fw=0x83fd3c8, nukename=0, nukeicon=1)
at add_window.c:3171
#9 0x080c2d2a in EWMH_WMIconName (fw=0x83fd3c8, ev=0x80fcfc0, style=0x0, any=
0) at ewmh_names.c:175
#10 0x080aa726 in EWMH_ProcessPropertyNotify (exc=0x811f9b8)
at ewmh_events.c:1620
#11 0x0806cfeb in HandlePropertyNotify (ea=0xbf82a718) at events.c:3628
#12 0x0806bc1e in dispatch_event (e=0xbf82a750) at events.c:4135
#13 0x0806c339 in HandleEvents () at events.c:4179
#14 0x0808ce6a in main (argc=1, argv=0xbf82aeb4) at fvwm.c:2591

I tried redirecting error messages by running “xinit 2>&1 >.xsession-errors”. The last time it crashed the last lines were

/home/g/.xinitrc: line 5: 2149 Aborted (core dumped) fvwm2

waiting for X server to shut down [2164:2164:1893743176:ERROR:chrome_browser_main_x11.cc(61)] X IO Error detected

I have also received error messages about BadWindows.

It normally happens when I am using Google Chrome although it has happened in Firefox as well.

Any advice would be appreciated.

Hi,

1/ Are you testing some voodoo swallowing with it ? or something unusual ?
2/ what distro are you on ?
3/ possible fix :

firefox: this
chrome: ( you should use chromium :wink: ): this

these are known problems related with hadware acceleration , not sure it has something to do with your problem.

In the version of Chrome I’m using (18.0.1025.113 beta), GPU accelerated compositing is set to be off, and accelerated canvas 2D does not appear in the list. Web page prerendering doesn’t appear, but there is another option “Prerender from omnibox” (“Enables prerendering of suggestions from the Omnibox and predicts appropriate network actions (prerendering, Instant, DNS preconnect) by calculating a confidence value for each Omnibox result.”) That could be part of the problem.

I’ll test this some time and maybe submit a proper bug report. I’ve reverted to using fvwm 2.4.20 for the time being (which was the default for the distribution I’m using, Slackware 13.1.0), which works fine.

I noticed that someone has mentioned having a similar problem on the fvwm mailing list.