After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 112548 - frequent crashes & lockups
frequent crashes & lockups
Status: RESOLVED INVALID
Product: Pan
Classification: Other
Component: general
0.14.0
Other Linux
: Normal normal
: ---
Assigned To: Charles Kerr
Pan QA Team
Depends on:
Blocks:
 
 
Reported: 2003-05-08 05:02 UTC by joel hoffman
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description joel hoffman 2003-05-08 05:02:17 UTC
Frequent crashes and lockups at unpredictable times. 

Not sure if this is related to libgnet 2, which obviously is not supported. 
I'm using glibc 2.3.1. 

$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.3/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,objc,ada --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared
--with-system-zlib --enable-nls --without-included-gettext
--enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm
--enable-objc-gc i386-linux
Thread model: posix
gcc version 3.2.3 20030415 (Debian prerelease)

Backtrace from one crash:

(gdb) run
Starting program: /usr/bin/pan
[New Thread 16384 (LWP 14505)]
[New Thread 32769 (LWP 14506)]
[New Thread 16386 (LWP 14507)]
[New Thread 32771 (LWP 14508)]
[New Thread 49156 (LWP 14509)]
[New Thread 65541 (LWP 14510)]
[New Thread 81926 (LWP 14511)]
[New Thread 98311 (LWP 14512)]
[New Thread 114696 (LWP 14513)]
[New Thread 131081 (LWP 14514)]
[New Thread 147466 (LWP 14515)]
[New Thread 163851 (LWP 14516)]
[New Thread 180236 (LWP 14517)]
[New Thread 196621 (LWP 14518)]
[New Thread 213006 (LWP 14519)]
[New Thread 229391 (LWP 14520)]

Program received signal SIGSEGV, Segmentation fault.
0x40587d56 in mallopt () from /lib/libc.so.6
(gdb) bt

Thread 16384 (LWP 14540)

  • #0 mallopt
    from /lib/libc.so.6
  • #1 mallopt
    from /lib/libc.so.6
  • #2 malloc
    from /lib/libc.so.6
  • #3 g_malloc
    from /usr/lib/libglib-2.0.so.0
  • #4 pango_get_mirror_char
    from /usr/lib/libpango-1.0.so.0
  • #5 pango_log2vis_get_embedding_levels
    from /usr/lib/libpango-1.0.so.0
  • #6 pango_itemize
    from /usr/lib/libpango-1.0.so.0
  • #7 no_shape_filter_func
    from /usr/lib/libpango-1.0.so.0
  • #8 pango_layout_get_cursor_pos
    from /usr/lib/libpango-1.0.so.0
  • #9 pango_layout_get_extents
    from /usr/lib/libpango-1.0.so.0
  • #10 gtk_label_get
    from /usr/lib/libgtk-x11-2.0.so.0
  • #11 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #15 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #16 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #17 gtk_size_group_remove_widget
    from /usr/lib/libgtk-x11-2.0.so.0
  • #18 _gtk_size_group_compute_requisition
    from /usr/lib/libgtk-x11-2.0.so.0
  • #19 gtk_widget_size_request
    from /usr/lib/libgtk-x11-2.0.so.0
  • #20 gtk_frame_get_shadow_type
    from /usr/lib/libgtk-x11-2.0.so.0
  • #21 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/libgobject-2.0.so.0
  • #22 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #23 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #24 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #25 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #26 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #27 gtk_size_group_remove_widget
    from /usr/lib/libgtk-x11-2.0.so.0
  • #28 _gtk_size_group_compute_requisition
    from /usr/lib/libgtk-x11-2.0.so.0
  • #29 gtk_widget_size_request
    from /usr/lib/libgtk-x11-2.0.so.0
  • #30 gtk_hbox_new
    from /usr/lib/libgtk-x11-2.0.so.0
  • #31 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/libgobject-2.0.so.0
  • #32 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #33 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #34 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #35 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #36 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #37 gtk_size_group_remove_widget
    from /usr/lib/libgtk-x11-2.0.so.0
  • #38 _gtk_size_group_compute_requisition
    from /usr/lib/libgtk-x11-2.0.so.0
  • #39 gtk_widget_size_request
    from /usr/lib/libgtk-x11-2.0.so.0
  • #40 gtk_vbox_new
    from /usr/lib/libgtk-x11-2.0.so.0
  • #41 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/libgobject-2.0.so.0
  • #42 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #43 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #44 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #45 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #46 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #47 gtk_size_group_remove_widget
    from /usr/lib/libgtk-x11-2.0.so.0
  • #48 _gtk_size_group_compute_requisition
    from /usr/lib/libgtk-x11-2.0.so.0
  • #49 gtk_widget_size_request
    from /usr/lib/libgtk-x11-2.0.so.0
  • #50 gtk_window_reshow_with_initial_size
    from /usr/lib/libgtk-x11-2.0.so.0
  • #51 g_cclosure_marshal_VOID__BOXED
    from /usr/lib/libgobject-2.0.so.0
  • #52 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #53 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #54 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #55 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #56 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #57 gtk_size_group_remove_widget
    from /usr/lib/libgtk-x11-2.0.so.0
  • #58 _gtk_size_group_compute_requisition
    from /usr/lib/libgtk-x11-2.0.so.0
  • #59 gtk_widget_size_request
    from /usr/lib/libgtk-x11-2.0.so.0
  • #60 _gtk_window_unset_focus_and_default
    from /usr/lib/libgtk-x11-2.0.so.0
  • #61 _gtk_window_unset_focus_and_default
    from /usr/lib/libgtk-x11-2.0.so.0
  • #62 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #63 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #64 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #65 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #66 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #67 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #68 gtk_container_check_resize
    from /usr/lib/libgtk-x11-2.0.so.0
  • #69 gtk_container_set_reallocate_redraws
    from /usr/lib/libgtk-x11-2.0.so.0
  • #70 g_timeout_add
    from /usr/lib/libglib-2.0.so.0
  • #71 g_get_current_time
    from /usr/lib/libglib-2.0.so.0
  • #72 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #73 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #74 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #75 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #76 main
    at pan.c line 326

Comment 1 joel hoffman 2003-05-08 06:06:43 UTC
additionally... the "unpredictable times" are generally (but not
always)  when pan has been sitting idle for a few minutes. This is
rather unusual.

I had to make three source changes to get pan to compile with libgnet
2.0.2. gnet_tcp_socket_get_iochannel becomes
gnet_tcp_socket_get_io_channel in sockets.c line 142, and
gnet_tcp_socket_gethostname becomes gnet_tcp_socket_get_host_name in
smtp.c line 282 and dialog-newuser.c line 100. I also had to fake
gnet-config.

---
additionally additionally, it seems all these problems are indeed
caused by an incompatibility with gnet 2. Recompiling with gnet 1.1.9
(like it's supposed to be done) seems to resolve the problem.
Canceling bug report...

BTW, you guys are awesome.

Comment 2 Elijah Newren 2003-07-04 23:25:58 UTC
For future reference if anyone runs across the bug, the stack trace
looks similar to the ones in bug 98308, bug 98630, and bug 115666. 
Each of these bug reports was on a Debian testing/unstable system.