do you get this message also when you start lazarus directly (w/o using startlazarus) ?
if so, try running in gdb and try to find out which call is causing this.
gdb lazarus
run
and when it crashesbt
Hi Marc,
thanks for responding. it looks like gmalloc is trying to allocate 4GB of memory and i only have 1GB. Hmm, this looks like a config file problem in either running gtk or when i compiled it. i will look into it further when i can ( finals are coming up so most time must be allocated elsewhere for the moment, bummer!). here is the backtrace dump:
(gdb) run
Starting program: /usr/local/share/lazarus/lazarus
Reading symbols for shared libraries .+........+..+.+ done
GLib-ERROR **: could not allocate -1 bytes
aborting...
Program received signal SIGABRT, Aborted.
0x9004714c in kill ()
(gdb) bt
#0 0x9004714c in kill ()
#1 0x90128b98 in abort ()
#2 0x00b17ed8 in g_logv (log_domain=0xb2798c "GLib", log_level=G_LOG_LEVEL_ERROR, format=0x0, args1=0x0) at gmessages.c:391
#3 0x00b17f88 in g_log (log_domain=0x0, log_level=0, format=0xa0004168 "") at gmessages.c:408
#4 0x00b163c8 in g_malloc (size=4294967295) at gmem.c:179
#5 0x00b248e8 in g_get_any_init () at gutils.c:494
#6 0x00b24d2c in g_get_home_dir () at gutils.c:623
#7 0x018b5898 in gtk_rc_append_default_module_path () at gtkrc.c:295
#8 0x018b5e00 in gtk_rc_init () at gtkrc.c:462
#9 0x018867f0 in gtk_init_check (argc=0xac2488, argv=0xac248c) at gtkmain.c:440
#10 0x01886878 in gtk_init (argc=0x0, argv=0x0) at gtkmain.c:471
#11 0x000ecf08 in ?? ()
#12 0x000ecd54 in ?? ()
#13 0x00024c10 in ?? ()
#14 0x00015088 in ?? ()
#15 0x00001dd8 in ?? ()
#16 0x00001d0c in ?? ()
#17 0x00001b80 in ?? ()
(gdb)
my gtk install might be messed up, i had a real hassle trying to reinstall it. what problems you ask? well when installing from source,
i was getting compiling errors in libpixbuf (?) when compiling one of the tiff convertertion routines(look at earlier post). so it is a mix of fink and darwinports (yes, i know, when i get this figured out, i am going to reinstall X11 and try again).