[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cria-devel] Segmentation fault at demo start

From: Sven Herzberg
Subject: Re: [cria-devel] Segmentation fault at demo start
Date: Thu, 23 Mar 2006 21:09:54 +0100

On Do, 2006-03-23 at 13:38 +0100, Alberto Mardegan wrote:
> (gdb) run
> Starting program:
> /home/mardy/src/miei/sched/libccc/demo/.libs/lt-ccc-demo --g-fatal-warnings
> Program received signal SIGSEGV, Segmentation fault.
> 0xb79d7580 in g_object_ref () from /usr/lib/
> (gdb) bt
> #0  0xb79d7580 in g_object_ref () from /usr/lib/
> #1  0xb7eb6818 in gtk_widget_show () from /usr/lib/
> #2  0x0804c0e2 in demo_window_init (self=0x808b800) at demo-window.c:97
> #3  0xb79f5776 in g_type_create_instance () from /usr/lib/
> #4  0xb79da762 in g_object_thaw_notify () from /usr/lib/
> #5  0xb79daddf in g_object_newv () from /usr/lib/
> #6  0xb79db9ef in g_object_new_valist () from /usr/lib/
> #7  0xb79dbb40 in g_object_new () from /usr/lib/
> #8  0x0804bdf5 in demo_window_new () at demo-window.c:47
> #9  0x0804e52f in main (argc=1, argv=0xbfcadd64) at main.c:41
> (gdb)
> ======================
> Did I miss some step?

  Not that I know of, but I suppose that your system is broken as the
code around line 97 of demo-window.c is absolutely okay and runs on
several machines (not just mine). Which distribution are you using?

> Why is the demo using that libtool's wrapper?

Because the library is built with libtool and the linker needs to find
the library (that's what the shell script is used for).


PS: Sorry that I couldn't really help, but I'm sure that the code works.
Feel free to file a bug report at maybe others find
this issue too.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]