Hello,

> Run with --g-fatal-warnings in gdb. Then you will get the exact point, where
> the gtk gets the wrong parameters.
> This can help us to track down the bug.

Where do I put this parameter? I tryed "gdb --g-fatal-warnings
project_name", but this doesn't work. I also could not find --g or
similar option for executing gdb.

I followed the instructions on the wiki to create a backtrace and here
is the output:

(gdb) break fpc_raiseexception
Breakpoint 1 at 0x805d8ee
(gdb) run
Starting program: /home/felipe/Programação/Lente/magnifier
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0xffffe000
Detaching after fork from child process 4612.

Breakpoint 1, 0x0805d8ee in fpc_raiseexception ()
(gdb) backtrace
#0  0x0805d8ee in fpc_raiseexception ()
#1  0x080d0d1d in GLOGFUNC (ALOGDOMAIN=0x0, ALOGLEVEL=8,
AMESSAGE=0xbfb433ac, ADATA=0xb7a6e014) at gtkobject.inc:120
#2  0xb7f0baaa in g_logv () from /usr/lib/libglib-1.2.so.0
#3  0xbfb43c40 in ?? ()
#4  0xbfb43c50 in ?? ()
#5  0xb7f1cea4 in ?? () from /usr/lib/libglib-1.2.so.0
#6  0xbfb433a8 in ?? ()
#7  0xb7f1cca0 in g_thread_use_default_impl () from /usr/lib/libglib-1.2.so.0
#8  0xb7f1cea4 in ?? () from /usr/lib/libglib-1.2.so.0
#9  0xbfb433ac in ?? ()
#10 0xb7f1cca0 in g_thread_use_default_impl () from /usr/lib/libglib-1.2.so.0
#11 0x00000001 in ?? ()
#12 0x00000003 in ?? ()
#13 0x00000008 in ?? ()
#14 0xb7a6e014 in ?? ()
#15 0x656c6966 in ?? ()
#16 0x6b646720 in ?? ()
#17 0x7869702d in ?? ()
#18 0x2d667562 in ?? ()
#19 0x77617264 in ?? ()
#20 0x656c6261 in ?? ()
#21 0x203a632e in ?? ()
#22 0x656e696c in ?? ()
#23 0x30313120 in ?? ()
#24 0x67282039 in ?? ()
#25 0x705f6b64 in ?? ()
#26 0x75627869 in ?? ()
#27 0x65675f66 in ?? ()
#28 0x72665f74 in ?? ()
#29 0x645f6d6f in ?? ()
#30 0x61776172 in ?? ()
#31 0x29656c62 in ?? ()
#32 0x7361203a in ?? ()
#33 0x74726573 in ?? ()
#34 0x206e6f69 in ?? ()
---Type <return> to continue, or q <return> to quit---
#35 0x73656460 in ?? ()
#36 0x20785f74 in ?? ()
#37 0x30203d3d in ?? ()
#38 0x20262620 in ?? ()
#39 0x74736564 in ?? ()
#40 0x3d20795f in ?? ()
#41 0x2730203d in ?? ()
#42 0x69616620 in ?? ()
#43 0x2e64656c in ?? ()
#44 0x082a7400 in ?? ()
#45 0xbfb43454 in ?? ()
#46 0xbfb43d24 in ?? ()
#47 0x0000541b in ?? ()
#48 0xb7be6b69 in ioctl () from /lib/tls/libc.so.6
#49 0xb7e440e0 in XUnlockDisplay () from /usr/X11R6/lib/libX11.so.6

thanks,

Felipe

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to