Pawel Suchanecki wrote:
> Hello,
> 
> I used clutter-tutorial bulit from git on 05/09/09 and got the example
> code  from share/doc/clutter/docs/tutorial/html/animation-example.html
> segfaulted.
> 
> When I run it with clutter-1.0 (git built, on Ubuntu 9.04) it hits segv.
> 
> This is the the point where I stopped:
> 
> (gdb) run
> Starting program: /home/nexus9/CLUTTER/demo/anim-example.elf
> [Thread debugging using libthread_db enabled]
> [New Thread 0x7f0d915807c0 (LWP 14126)]
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7f0d915807c0 (LWP 14126)]
> 0x00007f0d8e90fc40 in strlen () from /lib/libc.so.6
> (gdb) quit

This says nothing useful (except that some string argument is wrong). If
you want to use gdb, you should at least use "backtrace" command. See
the manual: http://sources.redhat.com/gdb/current/onlinedocs/gdb_toc.html

You could also insert some debugging messages within the code. And
remember to compile with -O0 -g.

Regards,
miko
-- 
To unsubscribe send a mail to [email protected]

Reply via email to