! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
openbsd/sparc64 3.4-current crashes on subsequent runs
Status:
CLOSED: FIXED
Severity:
critical
Product:
Xfdesktop
Component:
General

Comments

Description jolan 2003-12-08 05:22:54 CET
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.
Comment 1 jolan 2003-12-08 05:24:45 CET
BTW, I am starting xfce4 via startx with this in my .xinitrc:

xfce-mcs-manager
xfwm4 --daemon
xftaskbar4 &
xfdesktop &
exec xfce4-panel
Comment 2 Olivier Fourdan editbugs 2003-12-08 18:28:28 CET
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.
Comment 3 jolan 2003-12-09 03:13:44 CET
I was running 2.5.10, going to try 2.6.2 and some other tricks.
Comment 4 jolan 2003-12-10 06:10:05 CET
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.
Comment 5 Olivier Fourdan editbugs 2003-12-10 20:19:39 CET
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.
Comment 6 jolan 2003-12-10 21:09:55 CET
I didn't install the CVS version, this has all been 4.0.1.
Comment 7 Olivier Fourdan editbugs 2003-12-13 21:55:43 CET
Any update on this?

I would really like to get a backtrace.

Olivier.
Comment 8 Olivier Fourdan editbugs 2003-12-13 22:44:37 CET
Can you try this one:

http://www.xfce.org/archive/test/xfdesktop-4.0.2-beta.tar.gz

TIA
Olivier.
Comment 9 jolan 2003-12-14 23:29:23 CET
Sorry, I have just come back into town. I will have some time 12/15 & 12/16 to
work on this.
Comment 10 jolan 2003-12-15 05:20:53 CET
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.
Comment 11 jolan 2003-12-15 05:54:41 CET
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.
Comment 12 Olivier Fourdan editbugs 2003-12-17 20:26:49 CET
Ok, problem fixed.

Bug #35

Reported by:
jolan
Reported on: 2003-12-08
Last modified on: 2009-07-15

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
0 users

Version

Attachments

Additional information