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 471316 - Crash in smooth scrolling code
Crash in smooth scrolling code
Status: RESOLVED FIXED
Product: gossip
Classification: Deprecated
Component: General
0.27
Other All
: Normal critical
: ---
Assigned To: Gossip Maintainers
Gossip Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-08-28 21:38 UTC by Sam Morris
Modified: 2007-10-31 21:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sam Morris 2007-08-28 21:38:58 UTC
Steps to reproduce:
I can't reproduce this at will, but after running Gossip for a few hours it always happens.

The crash seems to happen when I send or recieve a message that causes a window to scroll smoothly.

Stack trace:
(gdb) run
Starting program: /usr/bin/gossip 
[Thread debugging using libthread_db enabled]
[New Thread -1227651392 (LWP 8095)]

(gossip:8095): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `<invalid>'

(gossip:8095): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GtkTextView'

Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 8095)

  • #0 chat_view_scroll_cb
    at gossip-chat-view.c line 1072
  • #1 ??
    from /usr/lib/libglib-2.0.so.0
  • #2 ??
  • #3 __pthread_mutex_unlock_usercnt
    at pthread_mutex_unlock.c line 31
  • #4 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #5 ??
    from /usr/lib/libglib-2.0.so.0
  • #6 ??
  • #7 ??


Other information:
Comment 1 Norbert Tretkowski 2007-09-12 19:11:58 UTC
I'm seeing the same crash on Debian testing with Gossip 0.27 (but not with the same Release of Gossip on Ubuntu 7.04), it makes Gossip nearly unusable.
Comment 2 Sam Morris 2007-10-07 23:40:43 UTC
I can provoke this crash by closing the chat window while the scrolling animation is still taking place.
Comment 3 Sam Morris 2007-10-07 23:50:31 UTC
Better backtrace:

$ gossip

(gossip:10070): GdkPixbuf-CRITICAL **: gdk_pixbuf_scale_simple: assertion `dest_width > 0' failed

(gossip:10070): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

<here is where I trigger the crash>

(gossip:10070): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion `instance != NULL && instance->g_class != NULL' failed

(gossip:10070): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GtkTextView'
Cannot access memory at address 0x4
Cannot access memory at address 

Backtrace from bug-buddy:

Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb6cb06c0 (LWP 10142)]
0xffffe410 in __kernel_vsyscall ()

Thread 1 (Thread 0xb6cb06c0 (LWP 10142))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/i686/cmov/libpthread.so.0
  • #2 libgnomeui_segv_handle
    at gnome-ui-init.c line 872
  • #3 <signal handler called>
  • #4 chat_view_scroll_cb
    at gossip-chat-view.c line 1072
  • #5 g_timeout_dispatch
    at /tmp/buildd/glib2.0-2.14.1/glib/gmain.c line 3488
  • #6 IA__g_main_context_dispatch
    at /tmp/buildd/glib2.0-2.14.1/glib/gmain.c line 2061
  • #7 g_main_context_iterate
    at /tmp/buildd/glib2.0-2.14.1/glib/gmain.c line 2694
  • #8 IA__g_main_loop_run
    at /tmp/buildd/glib2.0-2.14.1/glib/gmain.c line 2898
  • #9 IA__gtk_main
    at /tmp/buildd/gtk+2.0-2.12.0/gtk/gtkmain.c line 1144
  • #10 main
    at gossip-main.c line 208
  • #0 __kernel_vsyscall

Comment 4 Richard Hult 2007-10-31 21:06:22 UTC
Fixed in svn now.
Comment 5 Norbert Tretkowski 2007-10-31 21:58:25 UTC
Confirmed, thanks!