Re: [Anjuta-list] crash when create new project



Hi,

Thanks for your reply. I didn't manage to get anything out of 
gdb (perhaps because I used the binaries). I'm a novice when it
comes to linux debugging/development. When it crashes 
it doesn't even core dump.

btw. I use use the 0.1.4-1 version of anjuta and 
2.1.1 of glibc
6.0 of redhat linux smd.
dual pentium III xeon

So I figured that I would try to compile the sources to see
if I could use the -d option. I ran configure and then make
but make has an error. See below.

Thanks,
Trausti

first I ran ./configure:

[root multinet anjuta-0.1.4]# ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for POSIXized ISC... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for gnome-config... /usr/bin/gnome-config
checking if /usr/bin/gnome-config works... yes
checking for orbit-config... /usr/bin/orbit-config
checking for orbit-idl... /usr/bin/orbit-idl
checking for working ORBit environment... yes
checking for gnorba libraries... yes
checking what warning flags to pass to the C compiler... -Wall -Wno-unused
checking what language compliance flags to pass to the C compiler... 
checking for pthread_create in -lpthread... yes
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for SmcSaveYourselfDone in -lSM... yes
checking for X11/SM/SMlib.h... yes
checking for XpmFreeXpmImage in -lXpm... yes
checking for ranlib... ranlib
checking for working const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for stpcpy... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for gettext in libc... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  ja
updating cache ./config.cache
creating ./config.status
creating Makefile
creating intl/Makefile
creating po/Makefile.in
creating macros/Makefile
creating scintilla/Makefile
creating scintilla/include/Makefile
creating anjuta.spec
creating src/Makefile
creating pixmaps/Makefile
creating data/Makefile
creating help/Makefile
creating doc/Makefile
creating launcher/Makefile
creating anjuta.desktop
creating config.h

And then make:

[root multinet anjuta-0.1.4]# make
make  all-recursive
make[1]: Entering directory `/home/trausti/anjuta-0.1.4'
Making all in intl
make[2]: Entering directory `/home/trausti/anjuta-0.1.4/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/trausti/anjuta-0.1.4/intl'
Making all in po
make[2]: Entering directory `/home/trausti/anjuta-0.1.4/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/trausti/anjuta-0.1.4/po'
Making all in macros
make[2]: Entering directory `/home/trausti/anjuta-0.1.4/macros'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/trausti/anjuta-0.1.4/macros'
Making all in scintilla
make[2]: Entering directory `/home/trausti/anjuta-0.1.4/scintilla'
Making all in include
make[3]: Entering directory `/home/trausti/anjuta-0.1.4/scintilla/include'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/trausti/anjuta-0.1.4/scintilla/include'
make[3]: Entering directory `/home/trausti/anjuta-0.1.4/scintilla'
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I include  -I/usr/X11R6/include
-I/usr/lib/glib/include  -DGTK -DSCI_LEXER -DUSE_XIM -W -Wall -g -O -c
AutoComplete.cxx
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I include  -I/usr/X11R6/include
-I/usr/lib/glib/include  -DGTK -DSCI_LEXER -DUSE_XIM -W -Wall -g -O -c
CallTip.cxx
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I include  -I/usr/X11R6/include
-I/usr/lib/glib/include  -DGTK -DSCI_LEXER -DUSE_XIM -W -Wall -g -O -c
CellBuffer.cxx
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I include  -I/usr/X11R6/include
-I/usr/lib/glib/include  -DGTK -DSCI_LEXER -DUSE_XIM -W -Wall -g -O -c
ContractionState.cxx
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I include  -I/usr/X11R6/include
-I/usr/lib/glib/include  -DGTK -DSCI_LEXER -DUSE_XIM -W -Wall -g -O -c
Document.cxx
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I include  -I/usr/X11R6/include
-I/usr/lib/glib/include  -DGTK -DSCI_LEXER -DUSE_XIM -W -Wall -g -O -c
DocumentAccessor.cxx
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I include  -I/usr/X11R6/include
-I/usr/lib/glib/include  -DGTK -DSCI_LEXER -DUSE_XIM -W -Wall -g -O -c
Editor.cxx
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I include  -I/usr/X11R6/include
-I/usr/lib/glib/include  -DGTK -DSCI_LEXER -DUSE_XIM -W -Wall -g -O -c
Indicator.cxx
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I include  -I/usr/X11R6/include
-I/usr/lib/glib/include  -DGTK -DSCI_LEXER -DUSE_XIM -W -Wall -g -O -c
KeyMap.cxx
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I include  -I/usr/X11R6/include
-I/usr/lib/glib/include  -DGTK -DSCI_LEXER -DUSE_XIM -W -Wall -g -O -c
KeyWords.cxx
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I include  -I/usr/X11R6/include
-I/usr/lib/glib/include  -DGTK -DSCI_LEXER -DUSE_XIM -W -Wall -g -O -c
LexAVE.cxx
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I include  -I/usr/X11R6/include
-I/usr/lib/glib/include  -DGTK -DSCI_LEXER -DUSE_XIM -W -Wall -g -O -c
LexCPP.cxx
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I include  -I/usr/X11R6/include
-I/usr/lib/glib/include  -DGTK -DSCI_LEXER -DUSE_XIM -W -Wall -g -O -c
LexConf.cxx
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I include  -I/usr/X11R6/include
-I/usr/lib/glib/include  -DGTK -DSCI_LEXER -DUSE_XIM -W -Wall -g -O -c
LexHTML.cxx
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I include  -I/usr/X11R6/include
-I/usr/lib/glib/include  -DGTK -DSCI_LEXER -DUSE_XIM -W -Wall -g -O -c
LexLua.cxx
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I include  -I/usr/X11R6/include
-I/usr/lib/glib/include  -DGTK -DSCI_LEXER -DUSE_XIM -W -Wall -g -O -c
LexOthers.cxx
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I include  -I/usr/X11R6/include
-I/usr/lib/glib/include  -DGTK -DSCI_LEXER -DUSE_XIM -W -Wall -g -O -c
LexPascal.cxx
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I include  -I/usr/X11R6/include
-I/usr/lib/glib/include  -DGTK -DSCI_LEXER -DUSE_XIM -W -Wall -g -O -c
LexPerl.cxx
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I include  -I/usr/X11R6/include
-I/usr/lib/glib/include  -DGTK -DSCI_LEXER -DUSE_XIM -W -Wall -g -O -c
LexPython.cxx
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I include  -I/usr/X11R6/include
-I/usr/lib/glib/include  -DGTK -DSCI_LEXER -DUSE_XIM -W -Wall -g -O -c
LexSQL.cxx

...


rm -f libscintilla.a
ar cru libscintilla.a AutoComplete.o CallTip.o CellBuffer.o
ContractionState.o Document.o DocumentAccessor.o Editor.o Indicator.o
KeyMap.o KeyWords.o LexAVE.o LexCPP.o LexConf.o LexHTML.o LexLua.o
LexOthers.o LexPascal.o LexPerl.o LexPython.o LexSQL.o LexVB.o
LineMarker.o PlatGTK.o PropSet.o ScintillaBase.o ScintillaGTK.o Style.o
UniConversion.o ViewStyle.o WindowAccessor.o 
ranlib libscintilla.a
make[3]: Leaving directory `/home/trausti/anjuta-0.1.4/scintilla'
make[2]: Leaving directory `/home/trausti/anjuta-0.1.4/scintilla'
Making all in src
make[2]: Entering directory `/home/trausti/anjuta-0.1.4/src'
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../intl 	-I/usr/include
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/lib/glib/include -I/usr/X11R6/include 	 -I../scintilla/include
-I. -I.. 	 -DHAVE_CONFIG_H 	 -Wall -Wimplicit -Wreturn-type
-Wunused -Wswitch -Wcomment -Wuninitialized -Wparentheses -Wtraditional
-Wpointer-arith -Wmissing-prototypes 	 -O1 	 -g  -I/usr/X11R6/include
-I/usr/lib/glib/include  -g -O2 -c aneditor.cxx
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl 	-I/usr/include
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/lib/glib/include -I/usr/X11R6/include 	 -I../scintilla/include
-I. -I.. 	 -DHAVE_CONFIG_H 	 -Wall -Wimplicit -Wreturn-type
-Wunused -Wswitch -Wcomment -Wuninitialized -Wparentheses -Wtraditional
-Wpointer-arith -Wmissing-prototypes 	 -O1 	 -g  -I/usr/X11R6/include
-I/usr/lib/glib/include  -g -O2 -Wall -Wno-unused  -c anjuta_cbs.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl 	-I/usr/include
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/lib/glib/include -I/usr/X11R6/include 	 -I../scintilla/include
-I. -I.. 	 -DHAVE_CONFIG_H 	 -Wall -Wimplicit -Wreturn-type
-Wunused -Wswitch -Wcomment -Wuninitialized -Wparentheses -Wtraditional
-Wpointer-arith -Wmissing-prototypes 	 -O1 	 -g  -I/usr/X11R6/include
-I/usr/lib/glib/include  -g -O2 -Wall -Wno-unused  -c anjuta_dirs.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl 	-I/usr/include
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/lib/glib/include -I/usr/X11R6/include 	 -I../scintilla/include
-I. -I.. 	 -DHAVE_CONFIG_H 	 -Wall -Wimplicit -Wreturn-type
-Wunused -Wswitch -Wcomment -Wuninitialized -Wparentheses -Wtraditional
-Wpointer-arith -Wmissing-prototypes 	 -O1 	 -g  -I/usr/X11R6/include
-I/usr/lib/glib/include  -g -O2 -Wall -Wno-unused  -c anjuta_info.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl 	-I/usr/include
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/lib/glib/include -I/usr/X11R6/include 	 -I../scintilla/include
-I. -I.. 	 -DHAVE_CONFIG_H 	 -Wall -Wimplicit -Wreturn-type
-Wunused -Wswitch -Wcomment -Wuninitialized -Wparentheses -Wtraditional
-Wpointer-arith -Wmissing-prototypes 	 -O1 	 -g  -I/usr/X11R6/include
-I/usr/lib/glib/include  -g -O2 -Wall -Wno-unused  -c appwidz_page1.c
appwidz_page1.c: In function `create_app_widzard_page1':
appwidz_page1.c:75: warning: implicit declaration of function
`GNOME_DRUID_PAGE_STANDARD'
appwidz_page1.c:75: invalid type argument of `->'
appwidz_page1.c:69: warning: `druid_vbox1' might be used uninitialized in
this function
make[2]: *** [appwidz_page1.o] Error 1
make[2]: Leaving directory `/home/trausti/anjuta-0.1.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/trausti/anjuta-0.1.4'
make: *** [all-recursive-am] Error 2

Hope that will help pinpoint the problem.

Thanks
Trausti

On Wed, 30 May 2001, [ISO-8859-1] Stéphane Démurget wrote:

> Quoting Trausti Kristjansson <ttkristj math uwaterloo ca>:
> 
> > Hi,
> > 
> > Anjuta looks great, but it crashes immediately when I try to create a
> > new project:
> > 
> > Gdk-CRITICAL **: file gdkwindow.c: line 953 (gdk_window_clear_area):
> > assertion `window != NULL' failed.
> > 
> > Gdk-CRITICAL **: file gdkwindow.c: line 953 (gdk_window_clear_area):
> > assertion `window != NULL' failed.
> > anjuta: error in loading shared libraries: anjuta: undefined symbol:
> > gnome_druid_new
> > 
> > 
> > Thanks,
> > Trausti
> Hum, this is a very weird thing, which version are you using ?
> Can you please help attaching a gdb backtrace ? 
> If you don't know how to do it, you can use the great bug-buddy.
> 
> Regards,
> 
> Stef
> 





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