Just put together a port of xfce4 for OpenBSD. It works great on sparc64 the first time, but on subsequent runs, I see the taskbar pop-up, but then X exits and I see xfce4 component core files in my home directory (varies from 1-4). If I rm -rf .~/.xfce4, then xfce4 starts OK. So I assume this is a problem with loading the configuration files. I diff'ed the generated files against ones generated on i386 and the only differences were due to screen resolution. I searched the archives and only saw references to an endian/64-bit fixed in libxfce4mcs, and a race condition between the window manager and systray. I applied the libxfce4mcs fix, but still have problems. I did: while ( 1 ) startx end to see if it was a race condition, but xfce4 still didn't start. I would try analyzing the cores, but gdb is pretty useless on OpenBSD/sparc64. Are there any patches for me to try, or otherwise useful information I can collect? BTW, xfce4 on OpenBSD/i386 seems to work perfectly so far.
BTW, I am starting xfce4 via startx with this in my .xinitrc: xfce-mcs-manager xfwm4 --daemon xftaskbar4 & xfdesktop & exec xfce4-panel
The endianess problems were in libxfcegui4 and xfwm4 and by no mean were causing crash. A backtrace from gdb would be definitely useful, itherwize we have very little chance to find a fix. It's worth noting that xfce4 is reported to run fine on several 64bit non x86 platforms such as alpha, sparc and mips, so it may or may not be a 64 bit issue (did you try updating libxml2 maybe?) Olivier.
I was running 2.5.10, going to try 2.6.2 and some other tricks.
I've upgraded libxml2 and I'm still having problems. Removing just workspaces.xml is enough to fix things, as opposed to removing all of ~/.xfce4. Any hints? If not, I will attempt to get gdb5.3 or 6.0 working.
Ah... Did you install the CVS HEAD version? If so, you *need* to remove /usr/lib/xfce4/mcs-plugins/workspaces_settings* because that functionality is handled by another plugin.
I didn't install the CVS version, this has all been 4.0.1.
Any update on this? I would really like to get a backtrace. Olivier.
Can you try this one: http://www.xfce.org/archive/test/xfdesktop-4.0.2-beta.tar.gz TIA Olivier.
Sorry, I have just come back into town. I will have some time 12/15 & 12/16 to work on this.
Got some time tonight and tried xfdesktop-4.0.2. It indeed fixes the issue. I had also updated libxml2 to version 2.6.3, so I retried 4.0.1 and it continues to crash, so the fix definitely seems to be fixed by 4.0.2 and not the libxml2 upgrade. Do you have a minimal patch to tide me over? I would like to import xfce 4.0.1 into the OpenBSD ports repository tomorrow rather than wait for 4.0.2 to be released.
Nevermind... Was trying to find what was changed via WebCVS and instead found it by diffing the tarballs. This can be closed as far as I am concerned, thank you very much for your help.
Ok, problem fixed.