Project

General

Profile

Actions

Bug #8000

closed

"require 'tk'" segfaults on 64-bit linux with Tk 8.6

Added by edmccard (Ed McCardell) over 11 years ago. Updated over 9 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-linux]
[ruby-core:53097]

Description

Using ruby 1.9.3p392 and Tk 8.6.0 on 64-bit Arch Linux, attempting to "require 'tk'" causes a segfault.

To reproduce:
ruby -e "require 'tk'"

The crash log is in the attached file.

Notes:

  • I've heard from a Gentoo user who is having the same problem.
  • On 32-bit Arch Linux, there is no problem.

Files

crash.log (16.2 KB) crash.log edmccard (Ed McCardell), 03/02/2013 02:43 PM
bt.txt (1.82 KB) bt.txt ponimas (Alexander Ponimaskin), 03/06/2013 04:25 AM
bt-debug.txt (4.47 KB) bt-debug.txt edmccard (Ed McCardell), 03/08/2013 05:55 PM
crash-2.txt (4.49 KB) crash-2.txt edmccard (Ed McCardell), 03/19/2013 03:04 PM
0001-Fix-tk-crash-with-Tk-8.6.1-on-Ubuntu.patch (2.36 KB) 0001-Fix-tk-crash-with-Tk-8.6.1-on-Ubuntu.patch h.shirosaki (Hiroshi Shirosaki), 08/07/2014 07:47 AM
tk-diff-ruby-1.9.3-p547 (17.8 KB) tk-diff-ruby-1.9.3-p547 Tcl/Tk8.6 support for Ruby1.9.3p547 nagai (Hidetoshi Nagai), 10/19/2014 12:53 PM
tk-diff-ruby-2.0.0-p576 (17.6 KB) tk-diff-ruby-2.0.0-p576 Tcl/Tk8.6 support for Ruby2.0.0p576 nagai (Hidetoshi Nagai), 10/19/2014 12:53 PM
tk-diff-ruby-2.1.3-p242 (17.2 KB) tk-diff-ruby-2.1.3-p242 Tcl/Tk8.6 support for Ruby 2.1.3p242 nagai (Hidetoshi Nagai), 10/19/2014 12:53 PM

Related issues 3 (0 open3 closed)

Related to Backport200 - Backport #10400: Ruby/Tk patch for Tcl/Tk8.6RejectedActions
Related to Backport193 - Backport #10399: Ruby/Tk patch for Tcl/Tk8.6Rejected10/19/2014Actions
Related to Backport21 - Backport #10401: Ruby/Tk patch for Tcl/Tk8.6ClosedActions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0