From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Brett Viren Newsgroups: gmane.lisp.guile.user Subject: Re: C++ application linked with guile dos not quite Date: Wed, 19 Jun 2002 10:09:51 -0400 Sender: guile-user-admin@gnu.org Message-ID: <15632.37039.828555.748426@minos.phy.bnl.gov> References: <1024320297.17552.141.camel@tice> <1024388708.23129.28.camel@tice> <15631.14600.194325.589914@minos.phy.bnl.gov> <87u1o08plp.fsf@zagadka.ping.de> <1024473732.20137.40.camel@tice> <87k7ovh658.fsf@zagadka.ping.de> <1024492741.20140.120.camel@tice> Reply-To: Brett Viren NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1024495987 6554 127.0.0.1 (19 Jun 2002 14:13:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 19 Jun 2002 14:13:07 +0000 (UTC) Cc: Guile user Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17KgCp-0001hb-00 for ; Wed, 19 Jun 2002 16:13:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17KgBw-0008Lk-00; Wed, 19 Jun 2002 10:12:12 -0400 Original-Received: from smtpgw.bnl.gov ([130.199.3.16]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Kg9w-0008Av-00 for ; Wed, 19 Jun 2002 10:10:08 -0400 Original-Received: from bnl.gov ([130.199.128.163]) by smtpgw.bnl.gov with esmtp (Exim 3.35 #1 ) id 17Kg9k-0007Bw-00; Wed, 19 Jun 2002 10:09:56 -0400 Original-Received: from minos (minos.phy.bnl.gov [130.199.36.108]) by bnl.gov (8.9.2/1.0.0-BNL) with ESMTP id KAA01027; Wed, 19 Jun 2002 10:09:51 -0400 (EDT) Original-Received: from bviren by minos with local (Exim 3.34 #1 (Debian)) id 17Kg9f-0004sT-00; Wed, 19 Jun 2002 10:09:51 -0400 Original-To: CDDP 40 - TICE In-Reply-To: <1024492741.20140.120.camel@tice> X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:620 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:620 CDDP 40 - TICE writes: > I found another place where it hangs, I never notice it. It apppear also > when the user close a figure without leaving drgenius. I have been able > to trace back: > > Program received signal SIGINT, Interrupt. > [Switching to Thread 1024 (LWP 27923)] > 0x40802b90 in poll () from /lib/libc.so.6 > (gdb) backt > #0 0x40802b90 in poll () from /lib/libc.so.6 > #1 0x40622f09 in g_main_is_running () from /usr/lib/libglib-1.2.so.0 > #2 0x406228bd in g_get_current_time () from /usr/lib/libglib-1.2.so.0 > #3 0x40622c6c in g_main_run () from /usr/lib/libglib-1.2.so.0 > #4 0x4035c7f7 in gtk_main () from /usr/lib/libgtk-1.2.so.0 > #5 0x0805ae30 in main_prog (argc=1, argv=0xbffffc64) at > drgenius_main.c:124 > #6 0x406632d1 in gh_call3 () from /usr/lib/libguile.so.9 > #7 0x40666a38 in scm_boot_guile () from /usr/lib/libguile.so.9 > #8 0x4068aa13 in scm_internal_lazy_catch () from /usr/lib/libguile.so.9 > #9 0x406669e6 in scm_boot_guile () from /usr/lib/libguile.so.9 > #10 0x406666e4 in scm_boot_guile () from /usr/lib/libguile.so.9 > #11 0x40663304 in gh_enter () from /usr/lib/libguile.so.9 > #12 0x0805ae5d in main (argc=1, argv=0xbffffc64) at drgenius_main.c:130 Are you saying that you want the act of closing the window to cause the application to quit? If so, it sounds to me like you simply didn't connect to the window's delete_event. Eg: your_window_object.delete_event.connect(Gtk::Main::quit.slot()); (this is for gtkmm 1.2, 2.0 has slightly different syntax). -Brett. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user