Segmentaion fault on hpux 11.00



I tried to compile balsa-1.4 on hpux 11.00 on gnome-1.4 desktop.
balsa compiles fine, but crashed at startup with:

0xc01f2e70 in __ksleep () from /usr/lib/libc.2 
#0  0xc01f2e70 in __ksleep () from /usr/lib/libc.2 
#1  0xc1eece44 in pthread_mutex_lock () from /usr/lib/libpthread.1 
#2  0xc11e5a90 in gdk_event_check () from /opt/gnome/lib/libgdk-1.2.sl.0 
#3  0xc118c22c in g_main_iterate () from /opt/gnome/lib/libglib-1.2.sl.0 
#4  0xc118c940 in g_main_run () from /opt/gnome/lib/libglib-1.2.sl.0 
#5  0xc160199c in gtk_main () from /opt/gnome/lib/libgtk-1.2.sl.0 
#6  0x5c934 in main () 

Thread 2 (system thread 13659): 
#0  0xc01f5b78 in _waitpid_sys () from /usr/lib/libc.2 
#1  0xc0202d58 in waitpid () from /usr/lib/libc.2 
#2  0xc1fd8fa8 in gnome_segv_handle () from /opt/gnome/lib/libgnomeui.sl.32 
#3  <signal handler called> 
#4  0xc01dd39c in _doprnt () from /usr/lib/libc.2 
#5  0xc01ede3c in vsprintf () from /usr/lib/libc.2 
#6  0xc119927c in g_strdup_vprintf () from /opt/gnome/lib/libglib-1.2.sl.0 
#7  0x90ec0 in libbalsa_information_varg () 
#8  0x90f78 in libbalsa_information () 
#9  0x56868 in real_open_mbnode () 
#10 0xc1ee9f60 in __pthread_create_system () from /usr/lib/libpthread.1 

Thread 1 (system thread 13620): 
#0  0xc01f2e70 in __ksleep () from /usr/lib/libc.2 
#1  0xc1eece44 in pthread_mutex_lock () from /usr/lib/libpthread.1 
#2  0xc11e5a90 in gdk_event_check () from /opt/gnome/lib/libgdk-1.2.sl.0 
#3  0xc118c22c in g_main_iterate () from /opt/gnome/lib/libglib-1.2.sl.0 
#4  0xc118c940 in g_main_run () from /opt/gnome/lib/libglib-1.2.sl.0 
#5  0xc160199c in gtk_main () from /opt/gnome/lib/libgtk-1.2.sl.0 
#6  0x5c934 in main () 
#0  0xc01f2e70 in __ksleep () from /usr/lib/libc.2 
No symbol table info available. 
#1  0xc1eece44 in pthread_mutex_lock () from /usr/lib/libpthread.1 
No symbol table info available. 
#2  0xc11e5a90 in gdk_event_check () from /opt/gnome/lib/libgdk-1.2.sl.0 
No symbol table info available. 
#3  0xc118c22c in g_main_iterate () from /opt/gnome/lib/libglib-1.2.sl.0 
No symbol table info available. 
#4  0xc118c940 in g_main_run () from /opt/gnome/lib/libglib-1.2.sl.0 
No symbol table info available. 
#5  0xc160199c in gtk_main () from /opt/gnome/lib/libgtk-1.2.sl.0 
No symbol table info available. 
#6  0x5c934 in main () 
No symbol table info available. 
#0  0xc01f2e70 in __ksleep () from /usr/lib/libc.2 
No symbol table info available. 

build script on hpux 11.00:

#!/bin/csh -f 
# 
setenv CPPFLAGS "-I/usr/local/include/X11" 
setenv LDFLAGS "-L/usr/local/lib/X11" 
setenv GLIB_CONFIG /opt/gnome/bin/glib-config 
setenv GTK_CONFIG /opt/gnome/bin/gtk-config 
# 
gmake distclean 
./configure --prefix=/opt/balsa \ 
            --disable-system-install \ 
            --with-gnome=/opt/gnome \ 
            --with-gnome-includes=/opt/gnome/include \ 
            --with-gnome-libs=/opt/gnome/lib \ 
            --with-iconv=/opt/gnome \ 
            --disable-flock --enable-fcntl \ 
            --with-ssl --without-esmtp \ 
            --disable-gnome-vfs 
gmake 
gmake install

a test with --disable-threads shows following:

gcc -DLIBMUTT -I. -I.. -I../libmutt   -I/opt/gnome/include -I/usr/local/include/X11 -I/opt/gnome/inc 
lude/gtk-1.2 -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include -I/opt/gnome/include  -I/op 
t/gnome/include -I/opt/gnome/include -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/ 
usr/local/include/gtk-1.2 -I/usr/include/X11R6 -I/opt/gnome/include/gnome-1.0 -DNEED_GNOMESUPPORT_H 
-I/opt/gnome/lib/gnome-libs/include -I/opt/gnome/include/gtk-1.2 -I/opt/gnome/include/glib-1.2 -I/op 
t/gnome/lib/glib/include -I/opt/gnome/include -I/opt/gnome/include/freetype2 -I/opt/gnome/include/gd 
k-pixbuf-1.0 -I/opt/gnome/include/gnome-xml -I/opt/gnome/lib/include -I/opt/gnome/include/gconf/1 -I 
/opt/gnome/include/orbit-1.0 -DGTKHTML_HAVE_GCONF -Wsign-promo -O -Wsign-compare -O -Wpointer-arith 
-O -Wnested-externs -O -Wchar-subscripts -O -Wuninitialized -O -Wmissing-prototypes -O -Wreturn-type 
 -O -Wimplicit -O -c pop3.c 
gcc -DLIBMUTT -I. -I.. -I../libmutt   -I/opt/gnome/include -I/usr/local/include/X11 -I/opt/gnome/inc 
lude/gtk-1.2 -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include -I/opt/gnome/include  -I/op 
t/gnome/include -I/opt/gnome/include -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/ 
usr/local/include/gtk-1.2 -I/usr/include/X11R6 -I/opt/gnome/include/gnome-1.0 -DNEED_GNOMESUPPORT_H 
-I/opt/gnome/lib/gnome-libs/include -I/opt/gnome/include/gtk-1.2 -I/opt/gnome/include/glib-1.2 -I/op 
t/gnome/lib/glib/include -I/opt/gnome/include -I/opt/gnome/include/freetype2 -I/opt/gnome/include/gd 
k-pixbuf-1.0 -I/opt/gnome/include/gnome-xml -I/opt/gnome/lib/include -I/opt/gnome/include/gconf/1 -I 
/opt/gnome/include/orbit-1.0 -DGTKHTML_HAVE_GCONF -Wsign-promo -O -Wsign-compare -O -Wpointer-arith 
-O -Wnested-externs -O -Wchar-subscripts -O -Wuninitialized -O -Wmissing-prototypes -O -Wreturn-type 
 -O -Wimplicit -O -c send.c 
send.c: In function `libbalsa_process_queue': 
send.c:1264: warning: no previous prototype for `libbalsa_message_postpone' 
send.c:1589: parse error at end of input 
send.c:191: warning: `libbalsa_create_msg' used but never defined 
gmake[2]: *** [send.o] Error 1 
gmake[2]: Leaving directory `/opt/mgansser/GNU/balsa-1.4.0/libbalsa' 
gmake[1]: *** [all-recursive] Error 1 
gmake[1]: Leaving directory `/opt/mgansser/GNU/balsa-1.4.0' 
gmake: *** [all-recursive-am] Error 2 
prounix_root:/users/mgansser/GNU/balsa-1.4.0 # 

installed sw:

gcc-3.2
libtool-1.4.2 
perl-5.8 
pspell-.12.2 
openssl-0.9.6d 

any help ?

thanks Martin



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