Mattias Gaertner wrote: >> Using fpc 2.2.3 compiled without optimisation I appear to get the >> same: >> >> (gdb) run >> Starting program: /usr/local/bin/lazarus >> [Thread debugging using libthread_db enabled] >> [New Thread 16384 (LWP 25243)] >> >> Gdk-CRITICAL **: file gdkgc.c: line 502 (gdk_gc_set_function): >> assertion `gc != NULL' failed. > > Start with > run --g-fatal-warnings
This GDB was configured as "sparc-linux-gnu"...Using host libthread_db library "/lib/v9/libthread_db.so.1". (gdb) run --g-fatal-warnings Starting program: /usr/local/bin/lazarus --g-fatal-warnings [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 1950)] Gdk-CRITICAL **: file gdkgc.c: line 502 (gdk_gc_set_function): assertion `gc != NULL' failed. aborting... Program received signal SIGABRT, Aborted. [Switching to Thread 16384 (LWP 1950)] 0xf7a00e08 in kill () from /lib/v9/libc.so.6 (gdb) backtrace #0 0xf7a00e08 in kill () from /lib/v9/libc.so.6 #1 0xf7b4d190 in pthread_kill () from /lib/v9/libpthread.so.0 #2 0xf7b4d1e4 in raise () from /lib/v9/libpthread.so.0 #3 0xf7a00a48 in raise () from /lib/v9/libc.so.6 #4 0xf7a02234 in abort () from /lib/v9/libc.so.6 #5 0xf7f99ea0 in g_logv () from /usr/lib/libglib-1.2.so.0 #6 0xf7f99ecc in g_log () from /usr/lib/libglib-1.2.so.0 #7 0xf7f51d0c in gdk_gc_set_function () from /usr/lib/libgdk-1.2.so.0 #8 0x002f8a00 in CREATEGDKMASKBITMAP (AIMAGE=-143031040, AMASK=-143031136) at gtkproc.inc:1333 #9 0x002d6014 in TGTKWIDGETSET__CREATEICONINDIRECT (ICONINFO=0xfff44fc0, this=0xf77a0020) at gtkwinapi.inc:1919 #10 0x00192b34 in TICON__HANDLENEEDED (this=0xf7980120) at icon.inc:948 #11 0x0017f154 in TRASTERIMAGE__GETHANDLE (this=0xf7980120) at rasterimage.inc:757 #12 0x00192a10 in TICON__GETICONHANDLE (this=0xf7980120) at icon.inc:925 #13 0x00054b94 in TAPPLICATION__GETICONHANDLE (this=0xf7958020) at application.inc:896 #14 0x00054a3c in TAPPLICATION__ICONCHANGED (SENDER=0xf7980120, this=0xf7958020) at application.inc:880 #15 0x00176954 in TGRAPHIC__CHANGED (SENDER=0xf7980120, this=0xf7980120) at graphic.inc:67 #16 0x0017d888 in TRASTERIMAGE__CHANGED (SENDER=0xf7980120, this=0xf7980120) at rasterimage.inc:390 #17 0x0017dc14 in TRASTERIMAGE__LOADFROMSTREAM (ASTREAM=0xf7fcb0c0, ASIZE=19318, this=0xf7980120) at rasterimage.inc:452 #18 0x0017d968 in TRASTERIMAGE__LOADFROMSTREAM (ASTREAM=0xf7fcb0c0, this=0xf7980120) at rasterimage.inc:412 #19 0x0017782c in TGRAPHIC__LOADFROMLAZARUSRESOURCE (RESNAME=0x965ddc, this=0xf7980120) at graphic.inc:252 #20 0x00052e68 in TAPPLICATION__INITIALIZE (this=0xf7958020) at application.inc:352 #21 0x0001a668 in main () at lazarus.pp:87 (gdb) -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] _______________________________________________ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus