Re: [gtk-list] g_print causes a segmentation fault
- From: Tim Janik <timj gtk org>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] g_print causes a segmentation fault
- Date: Fri, 3 Sep 1999 16:15:52 +0200 (CEST)
On Fri, 3 Sep 1999, Gilles Roy wrote:
> I compile the following code with : gcc -Wall -g test.c -o test
> `gtk-config --cflags --libs`
>
> #include <gtk/gtk.h>
>
> int main(int argc, char *argv[])
> {
> g_print("Hello world\n");
>
> return 0;
> }
>
>
> It compiles correctly, but when I run it, I get:
> Segmentation fault (core dumped)
>
please run that program from gdb and produce a backtrace, i.e.:
$ gdb test
>r
[segv]
>bt
[backtrace]
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]