[ruby-core:67936] [ruby-trunk - Bug #10779] occasional segmentation fault running ruby 2.1, doesn't appear with ruby 1.9

From: lmh_users-groups@...
Date: 2015-02-01 17:57:49 UTC
List: ruby-core #67936
Issue #10779 has been updated by LMH medchem.


Nobuyoshi Nakada wrote:
> LMH medchem wrote:
> > I'm not sure what you are referring to with this. I don't have anything compiled. I am just running the ruby script from the Hash-Bang line.
> 
> What distribution are you using?
> Probably the debug info package would be available.

I'm not sure what you mean by distribution in this context. Do you mean the linux distribution or ruby? I thought I included that information in the original post. This was ruby 2.1.3p242 r47630 on opensuse 13.2 x86-64 installed through Yast.

Since Yast is now built on ruby 2.1, there was no easy way to revert to 1.9 and get my script running. I had to re-install an older opensuse (12.3) to get things running again. I don't have opensuse 13.2 installed anymore. I could put it up on a VM if you need more information.

Which ruby-debuginfo package would this be? My opensuse 12.2 VM lists 10 ruby-debuginfo packages available.

`cmpi-bindings-ruby-debuginfo
graphviz-ruby-debuginfo
kdebindings3-ruby-debuginfo
kross-ruby-debuginfo
libcaca-ruby-debuginfo
libstorage-ruby-debuginfo
openwsman-ruby-debuginfo
weechat-ruby-debuginfo
xmms2-ruby-debuginfo
`
None of these stand out as what you are looking for.

**LMHmedchem**




----------------------------------------
Bug #10779: occasional segmentation fault running ruby 2.1, doesn't appear with ruby 1.9
https://bugs.ruby-lang.org/issues/10779#change-51326

* Author: LMH medchem
* Status: Feedback
* Priority: Normal
* Assignee: 
* ruby -v: 2.1.3p242 r47630
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
Hello, 

Below is the error output from a ruby script I have been running. I am reporting this for two reasons. The first is that the error is intermittent and the second is that I don't get this error with ruby 1.9. The script gets called over and over again from a bash script. Most of the time it runs fine and produces the appropriate output. Occasionally, I get the error report below and the output file is blank. I have run this script for quite a while under windows cygwin and opensuse 12.3. Both platforms use ruby 1.9. I recently set up a new install of opensuse 13.2 and started seeing this error.

I can post the script and sample input files if that would help.

**LMHmedchem**

~~~
./get_cols_and_sort.ruby:130: [BUG] Segmentation fault at 0x00000000000000
ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-linux-gnu]
~~~

---Files--------------------------------
script_test_files.tar.bz2 (3.31 MB)
bug-10779.log (7.48 KB)


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

In This Thread

Prev Next