Re: strange behavior of Glib.Io.read_chars ?
Adrien <[email protected]> Mon, 12 Nov 2012 19:40:10 +0100
| Newsgroups | gmane.comp.lang.ocaml.lib.gtk |
|---|---|
| Message-ID | <CAP5QFJkxZ7hv23RRVUxMSXTRpo2Vg1v0Jg0NpQqJMRybzZO5AA@mail.gmail.com> |
Hi, It works here, latest lablgtk2 and glib2 2.32. I've never used these functions so I can't be very specific. Could you try running the application inside GDB, wait for it to block and then get a backtrace? You could do the following: ./your_app <wait for it to become stuck> gdb ./your_app $(pidof your_app) <wait for gdb to finish loading> bt This will show where the process is stuck. If you have no debug symbol it won't be very precise but it'll show which library it is stuck in and it'll be a first step. You could also try to reproduce the problem directly in C. Hope this helps, Adrien Nader