RE: Segmentaion fault on hpux 11.00
- From: "Gansser, Martin" <MGansser rand de>
- To: "Emmanuel" <e allaud wanadoo fr>
- Cc: <balsa-list gnome org>
- Subject: RE: Segmentaion fault on hpux 11.00
- Date: Fri, 6 Sep 2002 20:36:27 +0200
> Le 05.09.2002 16:44, "Gansser, Martin" a écrit :
> > 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 #
> >
>
> There is a misplaced #ifdef BALSA_THREADS in the
> libbalsa/send.c file that
> causes this compil bug. Here is a patch that corrects this (attached).
> Tell me if something else goes wrong.
> Bye
> Manu
balsa compiles now with --disable-threads fine but the start fails also on hpux 11.00 with gnome-1.4:
--enable-threads:
0xc01f2e70 in __ksleep () from /usr/lib/libc.2
#0 0xc01f2e70 in __ksleep () from /usr/lib/libc.2
#1 0xc1fecbb0 in pthread_mutex_lock () from /usr/lib/libpthread.1
#2 0xc12e59ac in gdk_event_prepare () from /opt/gnome/lib/libgdk-1.2.sl.0
#3 0xc128c140 in g_main_iterate () from /opt/gnome/lib/libglib-1.2.sl.0
#4 0xc128c940 in g_main_run () from /opt/gnome/lib/libglib-1.2.sl.0
#5 0xc170199c in gtk_main () from /opt/gnome/lib/libgtk-1.2.sl.0
#6 0x5d24c in main ()
Thread 3 (system thread 10898):
#0 0xc01f5b78 in _waitpid_sys () from /usr/lib/libc.2
#1 0xc0202d58 in waitpid () from /usr/lib/libc.2
#2 0xc20d8fa8 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 0xc129927c in g_strdup_vprintf () from /opt/gnome/lib/libglib-1.2.sl.0
#7 0x91820 in libbalsa_information_varg ()
#8 0x918d8 in libbalsa_information ()
#9 0x57180 in real_open_mbnode ()
#10 0xc1fe9db0 in __pthread_create_system () from /usr/lib/libpthread.1
Thread 2 (system thread 10895):
#0 0xc01f2e70 in __ksleep () from /usr/lib/libc.2
#1 0xc1fecbb0 in pthread_mutex_lock () from /usr/lib/libpthread.1
#2 0xc12d48b0 in gdk_threads_enter () from /opt/gnome/lib/libgdk-1.2.sl.0
#3 0x9a01c in libbalsa_mailbox_pop3_check ()
#4 0xc17044a4 in gtk_marshal_NONE__NONE () from /opt/gnome/lib/libgtk-1.2.sl.0
#5 0xc174d948 in gtk_signal_real_emit () from /opt/g
#6 0xc174ab64 in gtk_signal_emit () from /opt/gnome/lib/libgtk-1.2.sl.0
#7 0x93dd8 in libbalsa_mailbox_check ()
#8 0x57eb4 in check_mailbox_list ()
#9 0x586e0 in check_messages_thread ()
#10 0xc1fe9db0 in __pthread_create_system () from /usr/lib/libpthread.1
Thread 1 (system thread 10639):
#0 0xc01f2e70 in __ksleep () from /usr/lib/libc.2
#1 0xc1fecbb0 in pthread_mutex_lock () from /usr/lib/libpthread.1
#2 0xc12e59ac in gdk_event_prepare () from /opt/gnome/lib/libgdk-1.2.sl.0
#3 0xc128c140 in g_main_iterate () from /opt/gnome/lib/libglib-1.2.sl.0
#4 0xc128c940 in g_main_run () from /opt/gnome/lib/libglib-1.2.sl.0
#5 0xc170199c in gtk_main () from /opt/gnome/lib/libgtk-1.2.sl.0
#6 0x5d24c in main ()
#0 0xc01f2e70 in __ksleep () from /usr/lib/libc.2
No symbol table info available.
#1 0xc1fecbb0 in pthread_mutex_lock () from /usr/lib/libpthread.1
No symbol table info available.
#2 0xc12e59ac in gdk_event_prepare () from /opt/gnome/lib/libgdk-1.2.sl.0
No symbol table info available.
#3 0xc128c140 in g_main_iterate () from /opt/gnome/lib/libglib-1.2.sl.0
No symbol table info available.
#4 0xc128c940 in g_main_run () from /opt/gnome/lib/libglib-1.2.sl.0
No symbol table info available.
#5 0xc170199c in gtk_main () from /opt/gnome/lib/libgtk-1.2.sl.0
No symbol table info available.
#6 0x5d24c in main ()
No symbol table info available.
#0 0xc01f2e70 in __ksleep () from /usr/lib/libc.2
No symbol table info available.
Option: --without-threads
0xc01f5b78 in _waitpid_sys () from /usr/lib/libc.2
#0 0xc01f5b78 in _waitpid_sys () from /usr/lib/libc.2
#1 0xc0202d58 in waitpid () from /usr/lib/libc.2
#2 0xc20d8fa8 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 0xc129927c in g_strdup_vprintf () from /opt/gnome/lib/libglib-1.2.sl.0
#7 0x8f430 in libbalsa_information_varg ()
#8 0x8f4e8 in libbalsa_information ()
#9 0x564f8 in real_open_mbnode ()
#10 0x56748 in balsa_window_real_open_mbnode ()
#11 0xc1704174 in gtk_marshal_NONE__POINTER ()
from /opt/gnome/lib/libgtk-1.2.sl.0
#12 0xc174d948 in gtk_signal_real_emit () from /opt/gnome/lib/libgtk-1.2.sl.0
#13 0xc174ab64 in gtk_signal_emit () from /opt/gnome/lib/libgtk-1.2.sl.0
#14 0x56154 in balsa_window_open_mbnode ()
#15 0x3886c in mblist_open_mailbox ()
#16 0x5aac0 in initial_open_inbox ()
#17 0xc128d5cc in g_idle_dispatch () from /opt/gnome/lib/libglib-1.2.sl.0
#18 0xc128beec in g_main_dispatch () from /opt/gnome/lib/libglib-1.2.sl.0
#19 0xc128c4d8 in g_main_iterate () from /opt/gnome/lib/libglib-1.2.sl.0
#20 0xc128c940 in g_main_run () from /opt/gnome/lib/libglib-1.2.sl.0
#21 0xc170199c in gtk_main () from /opt/gnome/lib/libgtk-1.2.sl.0
#22 0x5b19c in main ()
Thread 1 (system thread 23982):
#0 0xc01f5b78 in _waitpid_sys () from /usr/lib/libc.2
#1 0xc0202d58 in waitpid () from /usr/lib/libc.2
#2 0xc20d8fa8 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 0xc129927c in g_strdup_vprintf () from /opt/gnome/lib/libglib-1.2.sl.0
#7 0x8f430 in libbalsa_information_varg ()
#8 0x8f4e8 in libbalsa_information ()
#9 0x564f8 in real_open_mbnode ()
#10 0x56748 in balsa_window_real_open_mbnode ()
#11 0xc1704174 in gtk_marshal_NONE__POINTER ()
from /opt/gnome/lib/libgtk-1.2.sl.0
#12 0xc174d948 in gtk_signal_real_emit () from /opt/gnome/lib/libgtk-1.2.sl.0
#13 0xc174ab64 in gtk_signal_emit () from /opt/gnome/lib/libgtk-1.2.sl.0
#14 0x56154 in balsa_window_open_mbnode ()
#15 0x3886c in mblist_open_mailbox ()
#16 0x5aac0 in initial_open_inbox ()
#17 0xc128d5cc in g_idle_dispatch () from /opt/gnome/lib/libglib-1.2.sl.0
#18 0xc128beec in g_main_dispatch () from /opt/gnome/lib/libglib-1.2.sl.0
#19 0xc128c4d8 in g_main_iterate () from /opt/gnome/lib/libglib-1.2.sl.0
#20 0xc128c940 in g_main_run () from /opt/gnome/lib/libglib-1.2.sl.0
#21 0xc170199c in gtk_main () from /opt/gnome/lib/libgtk-1.2.sl.0
#22 0x5b19c in main ()
#0 0xc01f5b78 in _waitpid_sys () from /usr/lib/libc.2
No symbol table info available.
#1 0xc0202d58 in waitpid () from /usr/lib/libc.2
No symbol table info available.
#2 0xc20d8fa8 in gnome_segv_handle () from /opt/gnome/lib/libgnomeui.sl.32
No symbol table info available.
#3 <signal handler called>
No symbol table info available.
#4 0xc01dd39c in _doprnt () from /usr/lib/libc.2
No symbol table info available.
#5 0xc01ede3c in vsprintf () from /usr/lib/libc.2
No symbol table info available.
#6 0xc129927c in g_strdup_vprintf () from /opt/gnome/lib/libglib-1.2.sl.0
No symbol table info available.
#7 0x8f430 in libbalsa_information_varg ()
No symbol table info available.
Martin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]