From harven at free.fr Mon Dec 3 17:34:14 2012 From: harven at free.fr (harven at free.fr) Date: Mon, 03 Dec 2012 18:34:14 +0100 Subject: [cl-gtk2-devel] windows unresponsive Message-ID: <87txs3qbu1.fsf@ergodik.univ-brest.fr> Hi, I am new to cl-gtk2, I just installed it today. Unfortunately I run into a weird behavior that makes it unusable. I installed cl-gtk2 from quicklisp. I am using sbcl together with emacs and slime. CL-USER> (ql:quickload :cl-gtk2-gtk) ... (:CL-GTK2-GTK) CL-USER> (gtk-demo:demo) At that point, the demo window opens with a list of links. I can click on the links and the demo starts. But if at any moment, the mouse cursor leaves the window, or if I click on some button (say maximize), or if I move the window, all windows spanned by the demo, and the demo window itself, freeze. They become unresponsive, I can't even close them and I must force-quit to get rid of them (and that kills the lisp process). Same behavior with the examples on the website. Any attempt at moving, resizing or closing a window, or just moving the cursor outside the window, results in a freeze. And there seems to be no way to get debugging information. How can I fix this behavior? Here are the versions I use sbcl 1.0.55 emacs 24.1.1 cl-gtk2-20120520-git (from quicklisp) slime 2012-08-04 Sincerely, -- harven From mathrick at gmail.com Mon Dec 3 21:08:00 2012 From: mathrick at gmail.com (Maciej Katafiasz) Date: Mon, 3 Dec 2012 22:08:00 +0100 Subject: [cl-gtk2-devel] windows unresponsive In-Reply-To: <87txs3qbu1.fsf@ergodik.univ-brest.fr> References: <87txs3qbu1.fsf@ergodik.univ-brest.fr> Message-ID: On Dec 3, 2012 6:54 PM, wrote: > Here are the versions I use > sbcl 1.0.55 > emacs 24.1.1 > cl-gtk2-20120520-git (from quicklisp) > slime 2012-08-04 I don't know what the problem is, but what OS (and CPU arch) and GTK+ versions are you running, and in case it's Windows, is it the official SBCL from sbcl.org? Cheers*,* Maciej -------------- next part -------------- An HTML attachment was scrubbed... URL: From harven at free.fr Tue Dec 4 12:50:59 2012 From: harven at free.fr (harven at free.fr) Date: Tue, 4 Dec 2012 13:50:59 +0100 (CET) Subject: [cl-gtk2-devel] windows unresponsive In-Reply-To: Message-ID: <898154603.269716594.1354625459280.JavaMail.root@zimbra20-e3.priv.proxad.net> > On Dec 3, 2012 6:54 PM, > > Here are the versions I use > > sbcl 1.0.55 > > emacs 24.1.1 > > cl-gtk2-20120520-git (from quicklisp) > > slime 2012-08-04 > > I don't know what the problem is, but what OS (and CPU arch) and GTK+ versions are you running, and in case it's Windows, is it the official SBCL from sbcl.org ? > > Cheers , > Maciej I am using debian squeeze (stable 6.0.6, with kernel linux 2.6.32-5-686 (i686), which is shipping libgtk2 version 2.20-1-2 and gnome 2.30.2. on a laptop PC with an intel Core2 Duo CPU P8600. I installed sbcl from the official website roughly 6 months ago. I should say that the freeze occurs both from emacs/slime and from the command line. Thanks for your help, Harven From eric at boese-wolf.eu Tue Dec 4 18:57:05 2012 From: eric at boese-wolf.eu (Eric Wolf) Date: Tue, 04 Dec 2012 19:57:05 +0100 Subject: [cl-gtk2-devel] windows unresponsive In-Reply-To: <898154603.269716594.1354625459280.JavaMail.root@zimbra20-e3.priv.proxad.net> (harven@free.fr's message of "Tue, 4 Dec 2012 13:50:59 +0100 (CET)") References: <898154603.269716594.1354625459280.JavaMail.root@zimbra20-e3.priv.proxad.net> Message-ID: harven at free.fr writes: >> On Dec 3, 2012 6:54 PM, >> > Here are the versions I use >> > sbcl 1.0.55 >> > emacs 24.1.1 >> > cl-gtk2-20120520-git (from quicklisp) >> > slime 2012-08-04 >> >> I don't know what the problem is, but what OS (and CPU arch) and >> GTK+ versions are you running, and in case it's Windows, is it the >> official SBCL from sbcl.org ? >> >> Cheers , >> Maciej > > I am using debian squeeze (stable 6.0.6, with kernel linux 2.6.32-5-686 (i686), > which is shipping libgtk2 version 2.20-1-2 and gnome 2.30.2. > on a laptop PC with an intel Core2 Duo CPU P8600. > > I installed sbcl from the official website roughly 6 months ago. > I should say that the freeze occurs both from emacs/slime and from the command line. Did you check your slime buffer, maybe there is a signalled condition? Cheers, Eric > Thanks for your help, > Harven > > > _______________________________________________ > cl-gtk2-devel mailing list > cl-gtk2-devel at common-lisp.net > http://lists.common-lisp.net/cgi-bin/mailman/listinfo/cl-gtk2-devel From harven at free.fr Tue Dec 4 22:09:08 2012 From: harven at free.fr (harven at free.fr) Date: Tue, 4 Dec 2012 23:09:08 +0100 (CET) Subject: [cl-gtk2-devel] windows unresponsive In-Reply-To: Message-ID: <2123539787.270904526.1354658948733.JavaMail.root@zimbra20-e3.priv.proxad.net> > Did you check your slime buffer, maybe there is a signalled condition? I have seen nothing in the slime buffers, that may be connected to the problem. I upgraded sbcl and quicklisp to the latest version, changed the window manager from metacity to compiz, but the problem remains the same, windows spanned by cl-gtk freeze if the window is moved, or the cursor leaves the window etc. If I load cl-gtk2-gtk with asdf instead of quicklisp, I get the following warnings (but no errors): __________________Start___________________________ * (asdf:load-system :cl-gtk2-gtk) WARNING: GType GdkWindow is not known to GObject WARNING: GType GdkWindow is not known to GObject WARNING: Declared GType name 'GdkWindow' for class 'GDK-WINDOW' is invalid (g_type_name returned 0) WARNING: GType GtkFileChooserEmbed is not known to GObject WARNING: GType GtkFileChooserEmbed is not known to GObject WARNING: Declared GType name 'GtkFileChooserEmbed' for class 'FILE-CHOOSER-EMBED' is invalid (g_type_name returned 0) WARNING: GType LispArrayListStore is not known to GObject WARNING: GType LispArrayListStore is not known to GObject WARNING: Declared GType name 'LispArrayListStore' for class 'ARRAY-LIST-STORE' is invalid (g_type_name returned 0) WARNING: GType LispTreeStore is not known to GObject WARNING: GType LispTreeStore is not known to GObject WARNING: Declared GType name 'LispTreeStore' for class 'TREE-LISP-STORE' is invalid (g_type_name returned 0) CL-USER> __________________End___________________________ I also downloaded ccl to see if I get the same problem. I never used ccl before so I hope I don't have botched the installation. Anyway, everything seems to work fine and I ran a few programs from the command line without problem. So I tried cl-gtk2 with ccl and the gtk-demo does not run, the demo window does not appear. I get dropped in the debugger, here is the session: ____________________Start_____________________ ? (ql:quickload :cl-gtk2-gtk) To load "cl-gtk2-gtk": Load 1 ASDF system: cl-gtk2-gtk ; Loading "cl-gtk2-gtk" .................................................. ................................... (:CL-GTK2-GTK) ? (gtk-demo:demo) ? (:5073): GLib-GObject-CRITICAL **: g_param_spec_pool_lookup: assertion `param_name != NULL' failed (:5073): GLib-GObject-WARNING **: IA__g_object_newv: object class `GtkWindow' has no property named `(null)' (:5073): GLib-GObject-CRITICAL **: g_param_spec_pool_lookup: assertion `param_name != NULL' failed (:5073): GLib-GObject-WARNING **: IA__g_object_newv: object class `GtkWindow' has no property named `(null)' (:5073): GLib-GObject-WARNING **: IA__g_object_newv: object class `GtkWindow' has no property named `\u0002' Unhandled exception 11 at 0xb6f68b97, context->regs at #xb5cae878 Exception occurred while executing foreign code at g_type_check_value + 119 received signal 11; faulting address: 0xc381ffff address not mapped to object ? for help [5073] Clozure CL kernel debugger: __________________End___________________________ Finally, if I try loading cl-gtk2 under ccl with asdf, I get warnings close to the ones provided by sbcl, as follows, and then gtk-demo fails with the same error as above. __________________Start_________________________ * (asdf:load-system :cl-gtk2-gtk) ; Warning: GType GdkWindow is not known to GObject ; While executing: GOBJECT.FFI::WARN-UNKNOWN-GTYPE, in process listener(1). ; Warning: GType GdkWindow is not known to GObject ; While executing: GOBJECT.FFI::WARN-UNKNOWN-GTYPE, in process listener(1). ; Warning: Declared GType name 'GdkWindow' for class 'GDK-WINDOW' is invalid (g_type_name returned 0) ; While executing: GOBJECT::INITIALIZE-GOBJECT-CLASS-G-TYPE, in process listener(1). ; Warning: GType GtkFileChooserEmbed is not known to GObject ; While executing: GOBJECT.FFI::WARN-UNKNOWN-GTYPE, in process listener(1). ; Warning: GType GtkFileChooserEmbed is not known to GObject ; While executing: GOBJECT.FFI::WARN-UNKNOWN-GTYPE, in process listener(1). ; Warning: Declared GType name 'GtkFileChooserEmbed' for class 'FILE-CHOOSER-EMBED' is invalid (g_type_name returned 0) ; While executing: GOBJECT::INITIALIZE-GOBJECT-CLASS-G-TYPE, in process listener(1). ; Warning: GType LispArrayListStore is not known to GObject ; While executing: GOBJECT.FFI::WARN-UNKNOWN-GTYPE, in process listener(1). ; Warning: GType LispArrayListStore is not known to GObject ; While executing: GOBJECT.FFI::WARN-UNKNOWN-GTYPE, in process listener(1). ; Warning: Declared GType name 'LispArrayListStore' for class 'ARRAY-LIST-STORE' is invalid (g_type_name returned 0) ; While executing: GOBJECT::INITIALIZE-GOBJECT-CLASS-G-TYPE, in process listener(1). ; Warning: GType LispTreeStore is not known to GObject ; While executing: GOBJECT.FFI::WARN-UNKNOWN-GTYPE, in process listener(1). ; Warning: GType LispTreeStore is not known to GObject ; While executing: GOBJECT.FFI::WARN-UNKNOWN-GTYPE, in process listener(1). ; Warning: Declared GType name 'LispTreeStore' for class 'TREE-LISP-STORE' is invalid (g_type_name returned 0) ; While executing: GOBJECT::INITIALIZE-GOBJECT-CLASS-G-TYPE, in process listener(1). ? ______________End_____________________ Unfortunately I don't understand what's going on in these reports. Sincerely, Harven.