[PATCH] ion-3rc-20070608 crash

Nedko Arnaudov <[email protected]>
Newsgroups gmane.comp.window-managers.ion.general
Message-ID <[email protected]>
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.


-- 
Nedko Arnaudov <GnuPG KeyID: DE1716B0>
ion-3rc-20070608-crash-fix.patch (text/x-patch, 578 B)
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);
signature.asc (application/pgp-signature, 188 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBGdouB6bb4v94XFrARAlWPAJ95yrwxSX10Ru62/6iVYoHeBIPNBgCfXCcH
obtacv61CEqr6jAJT0xRShs=
=X2wE
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.