← Back to team overview

desktop-packages team mailing list archive

[Bug 1422360] [NEW] 100% cpu & gnome-terminal frozen in _IO_new_file_underflow

 

Public bug reported:

gnome-terminal stopped responding to input & completely froze when
attempting to change between tabs.

Weirder: it seemed to trigger / coincide with
https://bugs.launchpad.net/ubuntu/+source/audacious/+bug/1414345

gnome terminal stack trace at the point where it was stuck:

#0  0x00007fbf8b99ae0d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fbf8b929dc0 in _IO_new_file_underflow (fp=0x1a3b800) at fileops.c:605
#2  0x00007fbf8b928bb8 in __GI__IO_file_xsgetn (fp=0x1a3b800, data=<optimized out>, n=16) at fileops.c:1410
#3  0x00007fbf8b927d6e in __GI_fread_unlocked (buf=<optimized out>, size=1, count=16, fp=<optimized out>) at iofread_u.c:44
#4  0x00007fbf8dbb05ad in  () at /usr/lib/libvte-2.91.so.0
#5  0x00007fbf8dbb063b in  () at /usr/lib/libvte-2.91.so.0
#6  0x00007fbf8db8edd0 in  () at /usr/lib/libvte-2.91.so.0
#7  0x00007fbf8db91fa2 in  () at /usr/lib/libvte-2.91.so.0
#8  0x00007fbf8dba2655 in vte_terminal_set_size () at /usr/lib/libvte-2.91.so.0
#9  0x000000000042987f in  ()
#10 0x00007fbf87b29d90 in ffi_call_unix64 () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#11 0x00007fbf87b297f8 in ffi_call () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#16 0x00007fbf8c3d0d7a in <emit signal 0x7fbf8df8a000 "5qX" on instance 0x1460230 [TerminalNotebook]> (instance=0x13, detailed_signal=0x7fbf8df8a000 "5qX")
    at /build/buildd/glib2.0-2.43.3/./gobject/gsignal.c:3388
    #12 0x00007fbf8c3b6aa4 in g_cclosure_marshal_generic (closure=0x1332a20, return_gvalue=0x0, n_param_values=<optimized out>, param_values=<optimized out>, invocation_hint=<optimized out>, marshal_data=0x0) at /build/buildd/glib2.0-2.43.3/./gobject/gclosure.c:1448
    #13 0x00007fbf8c3b6285 in g_closure_invoke (closure=0x1332a20, return_value=0x0, n_param_values=3, param_values=0x7fffb4942320, invocation_hint=0x7fffb49422c0)
    at /build/buildd/glib2.0-2.43.3/./gobject/gclosure.c:768
    #14 0x00007fbf8c3c8272 in signal_emit_unlocked_R (node=node@entry=0x13b4e70, detail=detail@entry=0, instance=instance@entry=0x1460230, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffb4942320) at /build/buildd/glib2.0-2.43.3/./gobject/gsignal.c:3606
    #15 0x00007fbf8c3d05c8 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=<optimized out>)
    at /build/buildd/glib2.0-2.43.3/./gobject/gsignal.c:3292
#17 0x0000000000418332 in  ()
#21 0x00007fbf8c3d082f in <emit signal ??? on instance 0x1460230 [TerminalNotebook]> (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>)
    at /build/buildd/glib2.0-2.43.3/./gobject/gsignal.c:3348
    #18 0x00007fbf8c3b6285 in g_closure_invoke (closure=0x12630b0, return_value=0x0, n_param_values=3, param_values=0x7fffb4942860, invocation_hint=0x7fffb4942800)
    at /build/buildd/glib2.0-2.43.3/./gobject/gclosure.c:768
    #19 0x00007fbf8c3c7e62 in signal_emit_unlocked_R (node=node@entry=0x1263140, detail=detail@entry=0, instance=instance@entry=0x1460230, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffb4942860) at /build/buildd/glib2.0-2.43.3/./gobject/gsignal.c:3574
    #20 0x00007fbf8c3d05c8 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffb4942a10)
    at /build/buildd/glib2.0-2.43.3/./gobject/gsignal.c:3292
#22 0x00007fbf8d4d50f1 in  () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#23 0x00007fbf8d4a70ad in  () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#27 0x00007fbf8c3d082f in <emit signal ??? on instance 0x1460230 [TerminalNotebook]> (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>)
    at /build/buildd/glib2.0-2.43.3/./gobject/gsignal.c:3348
    #24 0x00007fbf8c3b6285 in g_closure_invoke (closure=0x125ca10, return_value=0x7fffb4942ca0, n_param_values=2, param_values=0x7fffb4942d50, invocation_hint=0x7fffb4942cf0)
    at /build/buildd/glib2.0-2.43.3/./gobject/gclosure.c:768
    #25 0x00007fbf8c3c7e62 in signal_emit_unlocked_R (node=node@entry=0x125ca60, detail=detail@entry=0, instance=instance@entry=0x1460230, emission_return=emission_return@entry=0x7fffb4942e00, instance_and_params=instance_and_params@entry=0x7fffb4942d50) at /build/buildd/glib2.0-2.43.3/./gobject/gsignal.c:3574
    #26 0x00007fbf8c3d00d5 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffb4942ee0)
    at /build/buildd/glib2.0-2.43.3/./gobject/gsignal.c:3302
#28 0x00007fbf8d5d83a4 in  () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#29 0x00007fbf8d4a4abe in  () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#30 0x00007fbf8d4a66ce in gtk_main_do_event () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#31 0x00007fbf8d043a22 in  () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#32 0x00007fbf8c0e0ecd in g_main_context_dispatch (context=0x12796e0) at /build/buildd/glib2.0-2.43.3/./glib/gmain.c:3122
#33 0x00007fbf8c0e0ecd in g_main_context_dispatch (context=context@entry=0x12796e0) at /build/buildd/glib2.0-2.43.3/./glib/gmain.c:3737
#34 0x00007fbf8c0e11b0 in g_main_context_iterate (context=context@entry=0x12796e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at /build/buildd/glib2.0-2.43.3/./glib/gmain.c:3808
#35 0x00007fbf8c0e125c in g_main_context_iteration (context=0x12796e0, context@entry=0x0, may_block=may_block@entry=1) at /build/buildd/glib2.0-2.43.3/./glib/gmain.c:3869
#36 0x00007fbf8c69ef2c in g_application_run (application=0x12bd230 [TerminalApp], argc=0, argv=0x0) at /build/buildd/glib2.0-2.43.3/./gio/gapplication.c:2290
#37 0x0000000000411a45 in  ()
#38 0x00007fbf8b8d0ec5 in __libc_start_main (main=0x411860, argc=1, argv=0x7fffb4943368, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffb4943358)
    at libc-start.c:287
#39 0x0000000000411ab3 in  ()


(gdb) threads 2
[Switching to thread 2 (Thread 0x7fbf79d28700 (LWP 3226))]
#0  0x00007fbf8b99f0fd in poll () at ../sysdeps/unix/syscall-template.S:81
81	../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) bt
#0  0x00007fbf8b99f0fd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fbf8c0e114c in g_main_context_iterate (priority=2147483647, n_fds=2, fds=0x7fbf700008c0, timeout=-1, context=0x12c1180) at /build/buildd/glib2.0-2.43.3/./glib/gmain.c:4103
#2  0x00007fbf8c0e114c in g_main_context_iterate (context=context@entry=0x12c1180, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at /build/buildd/glib2.0-2.43.3/./glib/gmain.c:3803
#3  0x00007fbf8c0e125c in g_main_context_iteration (context=0x12c1180, may_block=may_block@entry=1) at /build/buildd/glib2.0-2.43.3/./glib/gmain.c:3869
#4  0x00007fbf8c0e1299 in glib_worker_main (data=<optimized out>) at /build/buildd/glib2.0-2.43.3/./glib/gmain.c:5614
#5  0x00007fbf8c107b95 in g_thread_proxy (data=0x1575b20) at /build/buildd/glib2.0-2.43.3/./glib/gthread.c:764
#6  0x00007fbf8bc7c0a5 in start_thread (arg=0x7fbf79d28700) at pthread_create.c:309
#7  0x00007fbf8b9a95ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111


(gdb) thread 3
[Switching to thread 3 (Thread 0x7fbf818aa700 (LWP 3223))]
#0  0x00007fbf8b99f0fd in poll () at ../sysdeps/unix/syscall-template.S:81
81	in ../sysdeps/unix/syscall-template.S
(gdb) bt
thread#0  0x00007fbf8b99f0fd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fbf8c0e114c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7fbf740010c0, timeout=-1, context=0x1251910) at /build/buildd/glib2.0-2.43.3/./glib/gmain.c:4103
#2  0x00007fbf8c0e114c in g_main_context_iterate (context=context@entry=0x1251910, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at /build/buildd/glib2.0-2.43.3/./glib/gmain.c:3803
#3  0x00007fbf8c0e125c in g_main_context_iteration (context=0x1251910, may_block=1) at /build/buildd/glib2.0-2.43.3/./glib/gmain.c:3869
#4  0x00007fbf818b227d in  () at /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#5  0x00007fbf8c107b95 in g_thread_proxy (data=0x1342770) at /build/buildd/glib2.0-2.43.3/./glib/gthread.c:764
#6  0x00007fbf8bc7c0a5 in start_thread (arg=0x7fbf818aa700) at pt

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: gnome-terminal 3.14.2-0ubuntu1
ProcVersionSignature: Ubuntu 3.18.0-13.14-generic 3.18.5
Uname: Linux 3.18.0-13-generic x86_64
ApportVersion: 2.16.1-0ubuntu2
Architecture: amd64
CurrentDesktop: GNOME
Date: Mon Feb 16 08:31:34 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-07-09 (221 days ago)
InstallationMedia: Ubuntu-GNOME 14.10 "Utopic Unicorn" - Alpha amd64 (20140708)
SourcePackage: gnome-terminal
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug vivid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-terminal in Ubuntu.
https://bugs.launchpad.net/bugs/1422360

Title:
  100% cpu & gnome-terminal frozen in  _IO_new_file_underflow

Status in gnome-terminal package in Ubuntu:
  New

Bug description:
  gnome-terminal stopped responding to input & completely froze when
  attempting to change between tabs.

  Weirder: it seemed to trigger / coincide with
  https://bugs.launchpad.net/ubuntu/+source/audacious/+bug/1414345

  gnome terminal stack trace at the point where it was stuck:

  #0  0x00007fbf8b99ae0d in read () at ../sysdeps/unix/syscall-template.S:81
  #1  0x00007fbf8b929dc0 in _IO_new_file_underflow (fp=0x1a3b800) at fileops.c:605
  #2  0x00007fbf8b928bb8 in __GI__IO_file_xsgetn (fp=0x1a3b800, data=<optimized out>, n=16) at fileops.c:1410
  #3  0x00007fbf8b927d6e in __GI_fread_unlocked (buf=<optimized out>, size=1, count=16, fp=<optimized out>) at iofread_u.c:44
  #4  0x00007fbf8dbb05ad in  () at /usr/lib/libvte-2.91.so.0
  #5  0x00007fbf8dbb063b in  () at /usr/lib/libvte-2.91.so.0
  #6  0x00007fbf8db8edd0 in  () at /usr/lib/libvte-2.91.so.0
  #7  0x00007fbf8db91fa2 in  () at /usr/lib/libvte-2.91.so.0
  #8  0x00007fbf8dba2655 in vte_terminal_set_size () at /usr/lib/libvte-2.91.so.0
  #9  0x000000000042987f in  ()
  #10 0x00007fbf87b29d90 in ffi_call_unix64 () at /usr/lib/x86_64-linux-gnu/libffi.so.6
  #11 0x00007fbf87b297f8 in ffi_call () at /usr/lib/x86_64-linux-gnu/libffi.so.6
  #16 0x00007fbf8c3d0d7a in <emit signal 0x7fbf8df8a000 "5qX" on instance 0x1460230 [TerminalNotebook]> (instance=0x13, detailed_signal=0x7fbf8df8a000 "5qX")
      at /build/buildd/glib2.0-2.43.3/./gobject/gsignal.c:3388
      #12 0x00007fbf8c3b6aa4 in g_cclosure_marshal_generic (closure=0x1332a20, return_gvalue=0x0, n_param_values=<optimized out>, param_values=<optimized out>, invocation_hint=<optimized out>, marshal_data=0x0) at /build/buildd/glib2.0-2.43.3/./gobject/gclosure.c:1448
      #13 0x00007fbf8c3b6285 in g_closure_invoke (closure=0x1332a20, return_value=0x0, n_param_values=3, param_values=0x7fffb4942320, invocation_hint=0x7fffb49422c0)
      at /build/buildd/glib2.0-2.43.3/./gobject/gclosure.c:768
      #14 0x00007fbf8c3c8272 in signal_emit_unlocked_R (node=node@entry=0x13b4e70, detail=detail@entry=0, instance=instance@entry=0x1460230, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffb4942320) at /build/buildd/glib2.0-2.43.3/./gobject/gsignal.c:3606
      #15 0x00007fbf8c3d05c8 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=<optimized out>)
      at /build/buildd/glib2.0-2.43.3/./gobject/gsignal.c:3292
  #17 0x0000000000418332 in  ()
  #21 0x00007fbf8c3d082f in <emit signal ??? on instance 0x1460230 [TerminalNotebook]> (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>)
      at /build/buildd/glib2.0-2.43.3/./gobject/gsignal.c:3348
      #18 0x00007fbf8c3b6285 in g_closure_invoke (closure=0x12630b0, return_value=0x0, n_param_values=3, param_values=0x7fffb4942860, invocation_hint=0x7fffb4942800)
      at /build/buildd/glib2.0-2.43.3/./gobject/gclosure.c:768
      #19 0x00007fbf8c3c7e62 in signal_emit_unlocked_R (node=node@entry=0x1263140, detail=detail@entry=0, instance=instance@entry=0x1460230, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fffb4942860) at /build/buildd/glib2.0-2.43.3/./gobject/gsignal.c:3574
      #20 0x00007fbf8c3d05c8 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffb4942a10)
      at /build/buildd/glib2.0-2.43.3/./gobject/gsignal.c:3292
  #22 0x00007fbf8d4d50f1 in  () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
  #23 0x00007fbf8d4a70ad in  () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
  #27 0x00007fbf8c3d082f in <emit signal ??? on instance 0x1460230 [TerminalNotebook]> (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>)
      at /build/buildd/glib2.0-2.43.3/./gobject/gsignal.c:3348
      #24 0x00007fbf8c3b6285 in g_closure_invoke (closure=0x125ca10, return_value=0x7fffb4942ca0, n_param_values=2, param_values=0x7fffb4942d50, invocation_hint=0x7fffb4942cf0)
      at /build/buildd/glib2.0-2.43.3/./gobject/gclosure.c:768
      #25 0x00007fbf8c3c7e62 in signal_emit_unlocked_R (node=node@entry=0x125ca60, detail=detail@entry=0, instance=instance@entry=0x1460230, emission_return=emission_return@entry=0x7fffb4942e00, instance_and_params=instance_and_params@entry=0x7fffb4942d50) at /build/buildd/glib2.0-2.43.3/./gobject/gsignal.c:3574
      #26 0x00007fbf8c3d00d5 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffb4942ee0)
      at /build/buildd/glib2.0-2.43.3/./gobject/gsignal.c:3302
  #28 0x00007fbf8d5d83a4 in  () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
  #29 0x00007fbf8d4a4abe in  () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
  #30 0x00007fbf8d4a66ce in gtk_main_do_event () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
  #31 0x00007fbf8d043a22 in  () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
  #32 0x00007fbf8c0e0ecd in g_main_context_dispatch (context=0x12796e0) at /build/buildd/glib2.0-2.43.3/./glib/gmain.c:3122
  #33 0x00007fbf8c0e0ecd in g_main_context_dispatch (context=context@entry=0x12796e0) at /build/buildd/glib2.0-2.43.3/./glib/gmain.c:3737
  #34 0x00007fbf8c0e11b0 in g_main_context_iterate (context=context@entry=0x12796e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
      at /build/buildd/glib2.0-2.43.3/./glib/gmain.c:3808
  #35 0x00007fbf8c0e125c in g_main_context_iteration (context=0x12796e0, context@entry=0x0, may_block=may_block@entry=1) at /build/buildd/glib2.0-2.43.3/./glib/gmain.c:3869
  #36 0x00007fbf8c69ef2c in g_application_run (application=0x12bd230 [TerminalApp], argc=0, argv=0x0) at /build/buildd/glib2.0-2.43.3/./gio/gapplication.c:2290
  #37 0x0000000000411a45 in  ()
  #38 0x00007fbf8b8d0ec5 in __libc_start_main (main=0x411860, argc=1, argv=0x7fffb4943368, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffb4943358)
      at libc-start.c:287
  #39 0x0000000000411ab3 in  ()

  
  (gdb) threads 2
  [Switching to thread 2 (Thread 0x7fbf79d28700 (LWP 3226))]
  #0  0x00007fbf8b99f0fd in poll () at ../sysdeps/unix/syscall-template.S:81
  81	../sysdeps/unix/syscall-template.S: No such file or directory.
  (gdb) bt
  #0  0x00007fbf8b99f0fd in poll () at ../sysdeps/unix/syscall-template.S:81
  #1  0x00007fbf8c0e114c in g_main_context_iterate (priority=2147483647, n_fds=2, fds=0x7fbf700008c0, timeout=-1, context=0x12c1180) at /build/buildd/glib2.0-2.43.3/./glib/gmain.c:4103
  #2  0x00007fbf8c0e114c in g_main_context_iterate (context=context@entry=0x12c1180, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
      at /build/buildd/glib2.0-2.43.3/./glib/gmain.c:3803
  #3  0x00007fbf8c0e125c in g_main_context_iteration (context=0x12c1180, may_block=may_block@entry=1) at /build/buildd/glib2.0-2.43.3/./glib/gmain.c:3869
  #4  0x00007fbf8c0e1299 in glib_worker_main (data=<optimized out>) at /build/buildd/glib2.0-2.43.3/./glib/gmain.c:5614
  #5  0x00007fbf8c107b95 in g_thread_proxy (data=0x1575b20) at /build/buildd/glib2.0-2.43.3/./glib/gthread.c:764
  #6  0x00007fbf8bc7c0a5 in start_thread (arg=0x7fbf79d28700) at pthread_create.c:309
  #7  0x00007fbf8b9a95ad in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

  
  (gdb) thread 3
  [Switching to thread 3 (Thread 0x7fbf818aa700 (LWP 3223))]
  #0  0x00007fbf8b99f0fd in poll () at ../sysdeps/unix/syscall-template.S:81
  81	in ../sysdeps/unix/syscall-template.S
  (gdb) bt
  thread#0  0x00007fbf8b99f0fd in poll () at ../sysdeps/unix/syscall-template.S:81
  #1  0x00007fbf8c0e114c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7fbf740010c0, timeout=-1, context=0x1251910) at /build/buildd/glib2.0-2.43.3/./glib/gmain.c:4103
  #2  0x00007fbf8c0e114c in g_main_context_iterate (context=context@entry=0x1251910, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
      at /build/buildd/glib2.0-2.43.3/./glib/gmain.c:3803
  #3  0x00007fbf8c0e125c in g_main_context_iteration (context=0x1251910, may_block=1) at /build/buildd/glib2.0-2.43.3/./glib/gmain.c:3869
  #4  0x00007fbf818b227d in  () at /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
  #5  0x00007fbf8c107b95 in g_thread_proxy (data=0x1342770) at /build/buildd/glib2.0-2.43.3/./glib/gthread.c:764
  #6  0x00007fbf8bc7c0a5 in start_thread (arg=0x7fbf818aa700) at pt

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: gnome-terminal 3.14.2-0ubuntu1
  ProcVersionSignature: Ubuntu 3.18.0-13.14-generic 3.18.5
  Uname: Linux 3.18.0-13-generic x86_64
  ApportVersion: 2.16.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Mon Feb 16 08:31:34 2015
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2014-07-09 (221 days ago)
  InstallationMedia: Ubuntu-GNOME 14.10 "Utopic Unicorn" - Alpha amd64 (20140708)
  SourcePackage: gnome-terminal
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1422360/+subscriptions


Follow ups

References