Nedko Arnaudov <[EMAIL PROTECTED]> writes:

> I get ion crashing after I upgraded. I managed to get a screenshot:
>
> http://nedko.arnaudov.name/tmp/ion-3rc-20070608-crash.jpg
>
> Sun strats to fall when dockapp (not sure if any such but I'd assume
> that) starts. I have a multi-head system here. I could do additional
> tests if needed. As can be seen from the screenshot, I was launching
> wmclock - this is the first dockapp being launched during normal
> xsession login.

With help of deryni (Etan Reisner) I found the problem. Attached patch
fixes it here.

diff -ru ion-3rc-20070608/ioncore/property.c ion-3rc-20070608.fixed/ioncore/property.c
--- ion-3rc-20070608/ioncore/property.c	2007-06-08 19:56:51.000000000 +0300
+++ ion-3rc-20070608.fixed/ioncore/property.c	2007-06-18 16:32:11.000000000 +0300
@@ -213,7 +213,7 @@
     Status st;
 
     if(!ioncore_g.use_mb){
-        st=XStringListToTextProperty((char **)&ptr, n, &prop);
+        st=XStringListToTextProperty((char **)ptr, n, &prop);
     }else{
         st=XmbTextListToTextProperty(ioncore_g.dpy, (char **)ptr, n,
                                      XTextStyle, &prop);
-- 
Nedko Arnaudov <GnuPG KeyID: DE1716B0>

Attachment: pgpAXVa7cijFk.pgp
Description: PGP signature

Reply via email to