** Description changed:

- Tried to open the set encoding menu sub menu under the termianl menu
+ [Impact]
+ 
+ When the user opens the encoding menu, xfce4-terminal crashes. This is
+ caused by inappropriate handling of the radio item group used in the
+ menu.
+ 
+ All open xfce4-terminal windows get killed, as they are all the same
+ process. In addition, anything launched from a terminal window,
+ including backgrounded and/or GUI apps, also gets killed. This can lead
+ to a lot of unsaved work getting lost.
+ 
+ The fix does two things: first, simply don't add the non-radio items to
+ the radio item group. Secondly, build the radio item group the way
+ described in the Gtk+ documentation.
+ 
+ [Test Case]
+ 
+ Run xfce4-terminal and click Terminal -> Set Encoding.
+ 
+ [Regression Potential]
+ 
+ Minimal. Currently the crash happens 100% of the time when calling a
+ particular function, and that function is the only one modified by the
+ patch.
+ 
+ --
+ 
+ Tried to open the set encoding menu sub menu under the terminal menu
  
  expected to see a list including UTF-8 bun instead it crashed instead of
- showowing a menu
+ showing a menu
  
  ProblemType: Crash
  DistroRelease: Ubuntu 13.10
  Package: xfce4-terminal 0.6.2-3ubuntu1
  ProcVersionSignature: Ubuntu 3.10.0-6.17-generic 3.10.3
  Uname: Linux 3.10.0-6-generic x86_64
  ApportVersion: 2.11-0ubuntu1
  Architecture: amd64
  Date: Tue Jul 30 20:42:33 2013
  ExecutablePath: /usr/bin/xfce4-terminal
  InstallationDate: Installed on 2013-07-27 (3 days ago)
  InstallationMedia: Xubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130727)
  MarkForUpload: True
  ProcCmdline: xfce4-terminal
  ProcEnviron:
-  LANGUAGE=en_US
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=en_US
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SegvAnalysis:
-  Segfault happened at: 0x7f7086d60767 <g_slice_alloc+167>:    mov    
(%rbx),%rax
-  PC (0x7f7086d60767) ok
-  source "(%rbx)" (0x00000010) not located in a known VMA region (needed 
readable region)!
-  destination "%rax" ok
+  Segfault happened at: 0x7f7086d60767 <g_slice_alloc+167>:    mov    
(%rbx),%rax
+  PC (0x7f7086d60767) ok
+  source "(%rbx)" (0x00000010) not located in a known VMA region (needed 
readable region)!
+  destination "%rax" ok
  SegvReason: reading NULL VMA
  Signal: 11
  SourcePackage: xfce4-terminal
  StacktraceTop:
-  g_slice_alloc () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
-  g_slice_alloc0 () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
-  ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
-  ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
-  g_type_create_instance () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
+  g_slice_alloc () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
+  g_slice_alloc0 () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
+  ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
+  ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
+  g_type_create_instance () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  Title: xfce4-terminal crashed with SIGSEGV in g_slice_alloc()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

** Patch added: "fix-encoding-menu.diff"
   
https://bugs.launchpad.net/ubuntu/+source/xfce4-terminal/+bug/1206739/+attachment/3896053/+files/fix-encoding-menu.diff

** Description changed:

  [Impact]
  
  When the user opens the encoding menu, xfce4-terminal crashes. This is
  caused by inappropriate handling of the radio item group used in the
  menu.
  
  All open xfce4-terminal windows get killed, as they are all the same
  process. In addition, anything launched from a terminal window,
  including backgrounded and/or GUI apps, also gets killed. This can lead
  to a lot of unsaved work getting lost.
  
  The fix does two things: first, simply don't add the non-radio items to
  the radio item group. Secondly, build the radio item group the way
  described in the Gtk+ documentation.
  
  [Test Case]
  
  Run xfce4-terminal and click Terminal -> Set Encoding.
  
  [Regression Potential]
  
  Minimal. Currently the crash happens 100% of the time when calling a
  particular function, and that function is the only one modified by the
  patch.
+ 
+ The patched xfce4-terminal is available in ppa:a-j-buxton/xfce
  
  --
  
  Tried to open the set encoding menu sub menu under the terminal menu
  
  expected to see a list including UTF-8 bun instead it crashed instead of
  showing a menu
  
  ProblemType: Crash
  DistroRelease: Ubuntu 13.10
  Package: xfce4-terminal 0.6.2-3ubuntu1
  ProcVersionSignature: Ubuntu 3.10.0-6.17-generic 3.10.3
  Uname: Linux 3.10.0-6-generic x86_64
  ApportVersion: 2.11-0ubuntu1
  Architecture: amd64
  Date: Tue Jul 30 20:42:33 2013
  ExecutablePath: /usr/bin/xfce4-terminal
  InstallationDate: Installed on 2013-07-27 (3 days ago)
  InstallationMedia: Xubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130727)
  MarkForUpload: True
  ProcCmdline: xfce4-terminal
  ProcEnviron:
   LANGUAGE=en_US
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SegvAnalysis:
   Segfault happened at: 0x7f7086d60767 <g_slice_alloc+167>:    mov    
(%rbx),%rax
   PC (0x7f7086d60767) ok
   source "(%rbx)" (0x00000010) not located in a known VMA region (needed 
readable region)!
   destination "%rax" ok
  SegvReason: reading NULL VMA
  Signal: 11
  SourcePackage: xfce4-terminal
  StacktraceTop:
   g_slice_alloc () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
   g_slice_alloc0 () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
   ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
   ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
   g_type_create_instance () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  Title: xfce4-terminal crashed with SIGSEGV in g_slice_alloc()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1206739

Title:
  xfce4-terminal crashed with SIGSEGV in magazine_chain_pop_head()

To manage notifications about this bug go to:
https://bugs.launchpad.net/xfce4-terminal/+bug/1206739/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to