From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.user Subject: Re: C++ application linked with guile dos not quite Date: 19 Jun 2002 13:14:43 +0200 Sender: guile-user-admin@gnu.org Message-ID: <87k7ovh658.fsf@zagadka.ping.de> 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> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1024485357 15462 127.0.0.1 (19 Jun 2002 11:15:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 19 Jun 2002 11:15:57 +0000 (UTC) Cc: Brett Viren , 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 17KdRN-00041H-00 for ; Wed, 19 Jun 2002 13:15:57 +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 17KdQk-0002wv-00; Wed, 19 Jun 2002 07:15:18 -0400 Original-Received: from dialin.speedway42.dip19.dokom.de ([195.138.42.19] helo=zagadka.ping.de) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 17KdQD-0002sG-00 for ; Wed, 19 Jun 2002 07:14:45 -0400 Original-Received: (qmail 1653 invoked by uid 1000); 19 Jun 2002 11:14:43 -0000 Original-To: CDDP 40 - TICE In-Reply-To: <1024473732.20137.40.camel@tice> Original-Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 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:616 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:616 CDDP 40 - TICE writes: > Ok, here is the exact situation: > > > void > main_prog(int argc, char* argv[]) > { > [..] > gtk_main(); > g_print("Do we quit gtk_main?\n"); > } > > int main(int argc, char* argv[]) > { > gh_enter(argc, argv, main_prog); > g_print ("Can we quit?"); > return 0; > } > > > "Do we quit gtk_main' is printed but not "Can we quit?" > But I guess "Can we quit" has not to be printed. Is "Do we quit gtk_main" printed also when drgenius fails to exit? Or is it printed only when drgenius does exit successfully? (Yes, "gh_enter" does not return, it exits directly by calling "exit(0)".) Try to run drgenius in the debugger and when it should exit but doesn't, hit C-C and look at the backtrace. When that doesn't give enough ideas, set a breakpoint on the function that should normally trigger the exit. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user