Re: giomm API review needed
- From: Jonathon Jongsma <jonathon quotidian org>
- To: gtkmm-list gnome org
- Subject: Re: giomm API review needed
- Date: Wed, 23 Jan 2008 20:36:15 -0600
On Wed, 2008-01-23 at 10:17 -0600, Jonathon Jongsma wrote:
> > I think that though the docs say the Cancellable can be NULL this is
> > probably only true for for the C API. You may need to have a "real"
> > Cancellable.
> >
> > -Jose
>
> ugh. of course. I hesitated for a long time before sending that
> email since I assumed I was just doing something stupid, and it turns
> out that I was :)
>
OK, so what I was doing was stupid, but it wasn't the cause of the
issue. I still get a segfault even on the following code:
#include <giomm.h>
int main (int argc, char** argv)
{
Gio::init();
Glib::RefPtr<Gio::File> f = Gio::File::create_for_path
("/home/jonathon/tmp/giomm-test.cc");
return 0;
}
[ **JHBUILD** | tmp ] jonathon $ g++ -g -o giomm-test `pkg-config --libs
--cflags giomm-2.4` giomm-test.cc
[ **JHBUILD** | tmp ] jonathon $ ./giomm-test
Segmentation fault (core dumped)
same stack trace:
(gdb) bt
#0 0x0805325e in ?? ()
#1 0xbfe1bca8 in ?? ()
#2 0xb7e641ea in IA__g_type_create_instance (type=0) at gtype.c:1569
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
I see the same thing when I run the example program in the giomm
repository. Is nobody else seeing this?
--
Jonner
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]