Hi Kris,

* [30.01.09 03:46]:
> You're right, libixp should certainly not try to call methods that aren't 
> implemented. But, you haven't attached a patch.
I'm sorry, it's getting late ;-). Find the patch attached now.

>> 3) When writing "Fullscreen toggle" to /client/sel/ctl, something (probably
>>   9pfs) produces a hard-lockup (sound freezes, X11 freezes, nothing possible
>>   no more, just reboot). This may be related to 2). I'm not sure how to
>>   further debug this.
>
> I don't know how wmii could cause this. It could certainly freeze X11, 
> and so probably any badly written audio player (e.g., xmms), but 
I'm using cmus, which does not seem to be written so badly ;-).

> certainly not lock up your computer. Can you ssh in? Are you using 9pfs? 
> That *could* certainly lock up your computer, but it shouldn't.
SSHing in is not possible. Yes, I'm using 9pfs. I think it could be wstat not
being implemented or something like this causing an endless loop in 9pfs or 
similar?

Best regards,
Michael
diff -r 0311806ee3f0 libixp/request.c
--- a/libixp/request.c  Sun Sep 21 11:39:51 2008 +0800
+++ b/libixp/request.c  Fri Jan 30 03:47:56 2009 +0100
@@ -335,7 +335,11 @@
                        respond(r, "wstat on DMDIR bit");
                        return;
                }
-               pc->srv->wstat(r);
+               if(!srv->wstat) {
+                       respond(r, nil);
+                       return;
+               }
+               srv->wstat(r);
                break;
        /* Still to be implemented: auth */
        }

Attachment: pgp9EKR8LdqkQ.pgp
Description: PGP signature

Reply via email to