Re: gtk and newlib
- From: Shaun Jackman <sjackman gmail com>
- To: gtk-list gnome org
- Subject: Re: gtk and newlib
- Date: Thu, 23 Dec 2004 15:13:24 -0800
If I use newlib's malloc through g_mem_set_vtable, the call to
gtk_init crashes and I never get any further. If I use glibc's malloc,
it seems to be working, until eventually a call to gdk_draw_rectangle
crashes, after many other successful calls to gdk_draw_rectangle.
If I could only coax gdb to give me a useful stack trace. I'm guessing
though that my problem is that the stack (or maybe heap?) is getting
trashed somehow.
Cheers,
Shaun
> I've found that calling gtk_init is causing my program to crash.
> Unfortunately, gdb is only giving me gobbly gook for a stack trace.
> Here's my program initialisation though, for what it's worth.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]