Public bug reported:

Binary package hint: xfce4-terminal

This is with xfce4-terminal 0.2.10-1ubuntu2.1 in Jaunty. I've
encountered this crash repeatedly.

(Note: The following GDB session is with a debug-enabled binary built
from the .deb source)

$ gdb ./Terminal 
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(gdb) r
Starting program: /scratch/dgomez/xfce4-terminal-0.2.10/terminal/Terminal 
[Thread debugging using libthread_db enabled]
[New Thread 0x7fa30e7b47d0 (LWP 18495)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fa30e7b47d0 (LWP 18495)]
IA__g_type_check_instance_cast (type_instance=0x24b4230, iface_type=38320928)
    at /build/buildd/glib2.0-2.20.1/gobject/gtype.c:3728
3728    /build/buildd/glib2.0-2.20.1/gobject/gtype.c: No such file or directory.
        in /build/buildd/glib2.0-2.20.1/gobject/gtype.c
(gdb) dir /tmp/glib2.0-2.20.1/gobject
Source directories searched: /tmp/glib2.0-2.20.1/gobject:$cdir:$cwd
[...]
#0  IA__g_type_check_instance_cast (type_instance=0x24b4230, 
    iface_type=38320928) at /build/buildd/glib2.0-2.20.1/gobject/gtype.c:3728
3728              node = lookup_type_node_I (type_instance->g_class->g_type);
(gdb) p type_instance->g_class->g_type
Cannot access memory at address 0x20300100000054
(gdb) p type_instance->g_class
$1 = (GTypeClass *) 0x20300100000054
(gdb) p type_instance
$2 = (GTypeInstance *) 0x24b4230
(gdb) bt
#0  IA__g_type_check_instance_cast (type_instance=0x24b4230, 
    iface_type=38320928) at /build/buildd/glib2.0-2.20.1/gobject/gtype.c:3728
#1  0x000000000041e3e9 in terminal_screen_update_word_chars (screen=0x238c070)
    at terminal-screen.c:801
#2  0x00007fa30c5d627d in IA__g_closure_invoke (closure=0x287e8c0, 
    return_value=0x0, n_param_values=2, param_values=0x2578f00, 
    invocation_hint=0x7fff167ea380)
    at /build/buildd/glib2.0-2.20.1/gobject/gclosure.c:767
#3  0x00007fa30c5ebe3b in signal_emit_unlocked_R (node=0x2342290, detail=766, 
    instance=0x2379280, emission_return=0x0, instance_and_params=0x2578f00)
    at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c:3247
#4  0x00007fa30c5ed432 in IA__g_signal_emit_valist (instance=0x2379280, 
    signal_id=<value optimized out>, detail=766, var_args=0x7fff167ea560)
    at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c:2980
#5  0x00007fa30c5ed953 in IA__g_signal_emit (instance=0x24b4230, 
    signal_id=38320928, detail=56)
    at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c:3037
#6  0x00007fa30c5da489 in g_object_dispatch_properties_changed (
    object=0x2379280, n_pspecs=87, pspecs=<value optimized out>)
    at /build/buildd/glib2.0-2.20.1/gobject/gobject.c:770
#7  0x00007fa30c5d9695 in g_object_notify_queue_thaw (object=0x2379280, 
    nqueue=<value optimized out>)
    at /build/buildd/glib2.0-2.20.1/gobject/gobjectnotifyqueue.c:125
#8  0x00007fa30c5d97fb in IA__g_object_thaw_notify (object=0x2379280)
    at /build/buildd/glib2.0-2.20.1/gobject/gobject.c:887
#9  0x0000000000416289 in terminal_preferences_load_idle (user_data=0x2379280)
    at terminal-preferences.c:1518
#10 0x00007fa30c33e20a in IA__g_main_context_dispatch (context=0x2360420)
    at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#11 0x00007fa30c3418e0 in g_main_context_iterate (context=0x2360420, block=1, 
    dispatch=1, self=<value optimized out>)
    at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#12 0x00007fa30c341dad in IA__g_main_loop_run (loop=0x232c590)
    at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2656
#13 0x00007fa30d022bc7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x000000000040ef5b in main (argc=1, argv=0x7fff167eab18) at main.c:277


Usage context:

This is on a system in which my home directory is served out of AFS. The
most notable effect of this is that when my Kerberos authentication
expires (ten hours after logging in or renewing my authentication in the
morning), the home directory becomes inaccessible---it's like if you did
"chmod -R a-rw ~" all of a sudden. I normally stay logged in, only
renewing my authentication each morning, so the entire desktop, Firefox,
etc. have to go for several hours without being able to read from or
write to the home directory. (I'm not using it during this time, of
course; this is usually after I've gone home for the day.)

The time that I usually encounter this bug is shortly after renewing my
authentication in the morning, after my home directory becomes
accessible again. Everything seems to be working fine, I type something
into a terminal window, and BAM! Segfault.

I'm fairly confident that this crash has to do with how AFS makes the
home directory unreadable, because many programs do not handle this
gracefully. If that's the case, xfce4-terminal would be in good company.

** Affects: xfce4-terminal (Ubuntu)
     Importance: Undecided
         Status: New

-- 
SIGSEGV in IA__g_type_check_instance_cast()
https://bugs.launchpad.net/bugs/422677
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to