caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Angela Zhu <angela.zhu@cs.rice.edu>
To: skaller <skaller@users.sourceforge.net>
Cc: caml-list@yquem.inria.fr
Subject: Re: Re: Re:Re: [Caml-list] How to prevent program from crashing
Date: Wed, 31 Oct 2007 02:13:43 -0500	[thread overview]
Message-ID: <51DDF855-CE58-4737-B8FB-31E1C01F4D62@cs.rice.edu> (raw)
In-Reply-To: <1193813647.8355.57.camel@rosella.wigram>

>
> Yeah, this is an abort from a failed assertion in C,
> so it isn't an Ocaml exception.
>
> I don't know how GTK handles this, that is, whether there is
> a way to register an error handler. You should ask
> Jacques Garrigue that.. hmmm. no I'll post this to the list
> because this is quite an interesting issue.
>
Thank you very much for your attention.
I wish this can be solved any way. :(

Best regards,
Angela
------------------------------------------
Dept. of CS, Rice Unitersity
http://www.cs.rice.edu/~yz2/
------------------------------------------



>
> It would appear that this line in your code, which calls the
> GTK binding:
>
>  let appp = program2#buffer#get_text()
>
> is the source of the problem, and that would be a bug in the Ocaml
> library, not your code. Even if the buffer is empty, at least Ocaml
> the library should handle this.
>
>
> -- 
> John Skaller <skaller at users dot sf dot net>
> Felix, successor to C++: http://felix.sf.net
>
>


  reply	other threads:[~2007-10-31  7:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-31  4:29 Angela Zhu
2007-10-31  5:08 ` [Caml-list] " skaller
     [not found]   ` <ED53732F-0753-4F6C-B424-A24714CBC8F7@cs.rice.edu>
2007-10-31  6:54     ` skaller
2007-10-31  7:13       ` Angela Zhu [this message]
2007-10-31  7:47       ` Jacques Garrigue
2007-10-31  9:31         ` skaller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51DDF855-CE58-4737-B8FB-31E1C01F4D62@cs.rice.edu \
    --to=angela.zhu@cs.rice.edu \
    --cc=caml-list@yquem.inria.fr \
    --cc=skaller@users.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).