[#65451] [ruby-trunk - Feature #10333] [PATCH 3/1] optimize: "yoda literal" == string — ko1@...

Issue #10333 has been updated by Koichi Sasada.

9 messages 2014/10/07

[ruby-core:65564] [ruby-trunk - Bug #8000] "require 'tk'" segfaults on 64-bit linux with Tk 8.6

From: kw@...
Date: 2014-10-09 14:37:31 UTC
List: ruby-core #65564
Issue #8000 has been updated by Kevin Walzer.


If this patch fixes the crash on Ubuntu, can it be generalized to support Ti 8.6 across platforms? Tk 8.5 is going to be EOL'ed at some point soon and it is very important that Ruby work with 8.6. 

----------------------------------------
Bug #8000: "require 'tk'" segfaults on 64-bit linux with Tk 8.6
https://bugs.ruby-lang.org/issues/8000#change-49320

* Author: Ed McCardell
* Status: Assigned
* Priority: Normal
* Assignee: Hidetoshi Nagai
* Category: 
* Target version: 
* ruby -v: ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-linux]
* Backport: 
----------------------------------------
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)
bt.txt (1.82 KB)
bt-debug.txt (4.47 KB)
crash-2.txt (4.49 KB)
0001-Fix-tk-crash-with-Tk-8.6.1-on-Ubuntu.patch (2.36 KB)


-- 
https://bugs.ruby-lang.org/

In This Thread