I can't seems to reproduce this when clicking around try to select text
over and over again in the chat scrolling window. Is there some detail
I'm missing to be able to reproduce this bug?

Looking at the stack trace, disassembly/registers and the gtk code for
that version, seems to me like the issue is the use of
gtk_clipboard_get() to get the clipboard to pass to
gtk_clipboard_set_text() in xtext.c. It would appear as though the
widget window can't be determined, not sure why.

In xchat (not xchat-gnome) similar code, and elsewhere in xchat-gnome,
looks like gtk_widget_get_clipboard() is used instead. Maybe it would be
sufficient to replace the gtk_clipboard_get() call with this to solve
the issue.

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

Title:
  xchat-gnome crashed with SIGSEGV in gtk_clipboard_set_contents()

Status in GNOME frontend to the popular xchat IRC client:
  New
Status in “xchat-gnome” package in Ubuntu:
  Triaged
Status in “xchat-gnome” source package in Precise:
  Triaged
Status in “xchat-gnome” source package in Quantal:
  Triaged

Bug description:
  Selecting text quickly.

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: xchat-gnome 1:0.30.0~git20100421.29cc76-1ubuntu4
  ProcVersionSignature: Ubuntu 3.0.0-10.16-generic 3.0.4
  Uname: Linux 3.0.0-10-generic x86_64
  Architecture: amd64
  CrashCounter: 1
  Date: Wed Sep  7 10:41:42 2011
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/xchat-gnome
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  ProcCmdline: xchat-gnome
  ProcEnviron:
   SHELL=/bin/bash
   PATH=(custom, no user)
   LANG=en_US.UTF-8
  SegvAnalysis:
   Segfault happened at: 0x7ffaff02b8d8 <gtk_clipboard_set_contents+40>:        
mov    0x48(%rdi),%rdi
   PC (0x7ffaff02b8d8) ok
   source "0x48(%rdi)" (0xffffffffec008b58) not located in a known VMA region 
(needed readable region)!
   destination "%rdi" ok
  SegvReason: reading unknown VMA
  Signal: 11
  SourcePackage: xchat-gnome
  StacktraceTop:
   gtk_clipboard_set_contents (clipboard=0xffffffffec008b10, targets=0x16e3400, 
n_targets=6, get_func=0x7ffaff02b550 <text_get_func>, clear_func=0x7ffaff02b200 
<text_clear_func>, user_data=0x139a730, have_owner=0) at 
/build/buildd/gtk+2.0-2.24.5/gtk/gtkclipboard.c:507
   IA__gtk_clipboard_set_with_data (clipboard=<optimized out>, 
targets=<optimized out>, n_targets=<optimized out>, get_func=<optimized out>, 
clear_func=<optimized out>, user_data=<optimized out>) at 
/build/buildd/gtk+2.0-2.24.5/gtk/gtkclipboard.c:596
   IA__gtk_clipboard_set_text (clipboard=0xffffffffec008b10, text=0x12a84b0 " 
on adding \"Unity\" to the list of desktops.  Really, a bunch of discussion 
happened, and someone arbitrarily made a decision.\n<seb128> what's your goal? 
getting standards out? specs on protocols? cros"..., len=220) at 
/build/buildd/gtk+2.0-2.24.5/gtk/gtkclipboard.c:774
   ?? ()
   ?? ()
  Title: xchat-gnome crashed with SIGSEGV in gtk_clipboard_set_contents()
  UpgradeStatus: Upgraded to oneiric on 2011-06-17 (81 days ago)
  UserGroups: adm admin audio cdrom dialout dip fax floppy fuse libvirtd 
lpadmin netdev plugdev sambashare tape video

To manage notifications about this bug go to:
https://bugs.launchpad.net/xchat-gnome/+bug/844003/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to