Menu

#1 Segmentation fault in 2.0.0

open
nobody
None
5
2013-01-09
2010-03-29
No

Hi,

I just compiled/launched gtimer 2.

Launch fails with "Segmentation fault"

Here is the gdb output :
Program received signal SIGSEGV, Segmentation fault.
create_main_window_menu_bar () at main.c:2055
2055 g_message(gettext("Building menu Failed: %s \n"), err->message);

More information:
- OS : Gentoo GNU/Linux
- GTK : 2.18.7
- glib : 2.22.4

Thanks

Discussion

  • Craig Knudsen

    Craig Knudsen - 2010-03-30

    Hmmm... I saw this same problem when I tried to build with Cygwin on Windows. However, it worked fine on Ubuntu 9.X. I'm not familiar enough with the GTK 2.X API to know what the problem is. (The GTK 2.X port was a patch from someone else.)

     
  • Eric Chatellier

    Eric Chatellier - 2010-03-31

    Maybe caused because all variables are uninitialized.

    Changing line main.c (l2030) form:
    GError *err;
    to
    GError *err = NULL;
    seams to solve segmentation fault.

     

Log in to post a comment.