[#40602] [ruby-trunk - Bug #5532][Open] Compile problem for bigdecimal on cygwin — Martin Dürst <duerst@...>

14 messages 2011/11/01

[#40617] [ruby-trunk - Feature #5534][Open] Redefine Range class and introduce RelativeNumeric and RelativeRange — Alexey Muranov <muranov@...>

17 messages 2011/11/01

[#40646] [ruby-trunk - Bug #5541][Open] Better configure error message when llvm-gcc is the default compiler — Eric Hodel <drbrain@...7.net>

10 messages 2011/11/01

[#40648] [ruby-trunk - Feature #5543][Open] rb_thread_blocking_region() API is poorly designed — Christopher Huff <cjameshuff@...>

14 messages 2011/11/01

[#40684] [ruby-trunk - Feature #5555][Open] rename #include? to #includes? — Alexey Muranov <muranov@...>

20 messages 2011/11/02

[#40688] [ruby-trunk - Bug #5556][Open] SIGHUP no longer ignored when sent to process group from a subprocess — Brian Ford <brixen@...>

12 messages 2011/11/02

[#40706] [ruby-trunk - Feature #5562][Open] Improvement of Windows IO performance — Hiroshi Shirosaki <h.shirosaki@...>

39 messages 2011/11/03

[#40737] [ruby-trunk - Bug #5570][Open] Encoding of environment variables on Windows — Nikolai Weibull <now@...>

11 messages 2011/11/04

[#40748] Proposal for sustainable branch maintenance — "Yuki Sonoda (Yugui)" <yugui@...>

-----BEGIN PGP SIGNED MESSAGE-----

14 messages 2011/11/05

[#40770] [ruby-trunk - Feature #5578][Open] Embedded YAML for Ruby 2.0 — Thomas Sawyer <transfire@...>

17 messages 2011/11/06

[#40806] [ruby-trunk - Feature #5583][Open] Optionally typing — Yasushi ANDO <andyjpn@...>

21 messages 2011/11/07

[#40824] [ruby-trunk - Feature #5588][Open] add negation flag (v) to Regexp — Suraj Kurapati <sunaku@...>

38 messages 2011/11/08

[#40865] IO.copy_stream creates files with restrictive permissions — Eric Wong <normalperson@...>

I'm not sure if this is a bug or intended as spec.

16 messages 2011/11/09
[#41151] Re: IO.copy_stream creates files with restrictive permissions — Tanaka Akira <akr@...> 2011/11/19

2011/11/9 Eric Wong <normalperson@yhbt.net>:

[#41166] Re: IO.copy_stream creates files with restrictive permissions — KOSAKI Motohiro <kosaki.motohiro@...> 2011/11/20

>> I noticed when a file name argument is passed to the IO.copy_stream, the

[#41168] Re: IO.copy_stream creates files with restrictive permissions — Clifford Heath <clifford.heath@...> 2011/11/20

On 20/11/2011, at 5:09 PM, KOSAKI Motohiro wrote:

[#41176] Re: IO.copy_stream creates files with restrictive permissions — Tanaka Akira <akr@...> 2011/11/21

2011/11/20 Clifford Heath <clifford.heath@gmail.com>:

[#41180] Re: IO.copy_stream creates files with restrictive permissions — KOSAKI Motohiro <kosaki.motohiro@...> 2011/11/21

>> I think documentation is the wrong answer. The security defects are not caused

[#40908] [ruby-trunk - Feature #5607][Open] Inconsistent reaction in Range of String — Yen-Nan Lin <redmine@...>

15 messages 2011/11/10

[#40941] [ruby-trunk - Feature #5617][Open] Allow install RubyGems into dediceted directory — Vit Ondruch <v.ondruch@...>

22 messages 2011/11/11

[#40951] [Backport93 - Backport #5621][Open] Please backport thread-safe autoloading patch — Mike Perham <mperham@...>

25 messages 2011/11/12
[#40971] [Backport93 - Backport #5621] Please backport thread-safe autoloading patch — Mike Perham <mperham@...> 2011/11/12

[#40972] Re: [Backport93 - Backport #5621] Please backport thread-safe autoloading patch — Yehuda Katz <wycats@...> 2011/11/12

Unfortunately ruby-head has a deadlock in one of my go-to scenarios for

[#40976] Re: [Backport93 - Backport #5621] Please backport thread-safe autoloading patch — Hiroshi Nakamura <nahi@...> 2011/11/13

-----BEGIN PGP SIGNED MESSAGE-----

[#41128] Re: [Backport93 - Backport #5621] Please backport thread-safe autoloading patch — Charles Oliver Nutter <headius@...> 2011/11/18

On Sat, Nov 12, 2011 at 7:24 PM, Hiroshi Nakamura <nahi@ruby-lang.org> wrote:

[#41129] Re: [Backport93 - Backport #5621] Please backport thread-safe autoloading patch — Hiroshi Nakamura <nahi@...> 2011/11/18

-----BEGIN PGP SIGNED MESSAGE-----

[#41142] Re: [Backport93 - Backport #5621] Please backport thread-safe autoloading patch — Charles Oliver Nutter <headius@...> 2011/11/18

On Fri, Nov 18, 2011 at 12:15 AM, Hiroshi Nakamura <nahi@ruby-lang.org> wrote:

[#40982] [ruby-trunk - Bug #5625][Open] Remove profanity and pejoratives — Andrew Grimm <andrew.j.grimm@...>

30 messages 2011/11/13

[#41004] [ruby-trunk - Feature #5628][Open] Module#basename — Thomas Sawyer <transfire@...>

18 messages 2011/11/14

[#41024] [ruby-trunk - Feature #5632][Open] Attempt to open included class shades it instead. — Boris Stitnicky <boris@...>

12 messages 2011/11/14

[#41025] Proposal to add new methods: positive? negative? natural? — JosFrancisco Calvo Moreno <josefranciscocalvo@...>

Hi all!

11 messages 2011/11/14
[#41027] Re: Proposal to add new methods: positive? negative? natural? — Jeremy Evans <code@...> 2011/11/14

On 11/15 12:58, Jos? Francisco Calvo Moreno wrote:

[#41031] Re: Proposal to add new methods: positive? negative? natural? — JosFrancisco Calvo Moreno <josefranciscocalvo@...> 2011/11/14

Hi Jeremy,

[#41038] [ruby-trunk - Bug #5634][Open] yield and binding — Thomas Sawyer <transfire@...>

17 messages 2011/11/14

[#41086] [ruby-trunk - Feature #5644][Open] add Enumerable#exclude? antonym — Suraj Kurapati <sunaku@...>

14 messages 2011/11/17

[#41175] [ruby-trunk - Feature #5654][Open] Introduce global lock to avoid concurrent require — Hiroshi Nakamura <nakahiro@...>

12 messages 2011/11/21

[#41200] [ruby-trunk - Bug #5659][Open] bug releasing a gem created with rails 3.1 — Vinicius Gati <viniciusgati@...>

14 messages 2011/11/22

[#41212] [ruby-trunk - Feature #5662][Open] inject-accumulate, or Haskell's mapAccum* — Edvard Majakari <edvard.majakari@...>

12 messages 2011/11/22

[#41213] [ruby-trunk - Bug #5663][Open] Combined map/select method — Yehuda Katz <wycats@...>

62 messages 2011/11/22

[#41317] [ruby-trunk - Bug #5676][Open] miniruby linking error: undefined reference to ___stack_chk_guard — Martin Dürst <duerst@...>

10 messages 2011/11/27

[#41404] [ruby-trunk - Bug #5690][Open] Module#qualified_const_get — Yehuda Katz <wycats@...>

31 messages 2011/11/30

[ruby-core:40818] [ruby-trunk - Bug #5559] Intermittent Seg fault when using net-ssh

From: Chris Kimpton <chris@...>
Date: 2011-11-07 16:58:12 UTC
List: ruby-core #40818
Issue #5559 has been updated by Chris Kimpton.

File ruby_2011-11-07-165210_Chris-Kimptons-MacBook-Air-2011.crash added
File rails_crash.txt added

I have created a minimal rails project that demonstrates the problem here:

https://github.com/kimptoc/samples-rails-net-ssh-crashing-193

Attached is the crash report log file

----------------------------------------
Bug #5559: Intermittent Seg fault when using net-ssh
http://redmine.ruby-lang.org/issues/5559

Author: Chris Kimpton
Status: Feedback
Priority: Normal
Assignee: 
Category: core
Target version: 
ruby -v: $ ruby -v ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]


Hi,

This is probably a waste of a report - especially as my standalone 5 lines test of this generally works (it seg faulted once), but when run inside Rails3.1.1, via a background thread, if I use net-ssh, it crashes the VM.

$ ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]

On OSX 10.7.2

/Users/kimptoc/.rvm/gems/ruby-1.9.3-p0@p-viadropbox31/gems/net-ssh-2.2.1/lib/net/ssh/buffer.rb:255: [BUG] Segmentation fault
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]

-- Control frame information -----------------------------------------------
c:0038 p:---- s:0162 b:0162 l:000161 d:000161 CFUNC  :e=
c:0037 p:0198 s:0158 b:0158 l:000157 d:000157 METHOD /Users/kimptoc/.rvm/gems/ruby-1.9.3-p0@p-viadropbox31/gems/net-ssh-2.2.1/lib/net/ssh/buffer.rb:255
c:0036 p:0028 s:0153 b:0153 l:000152 d:000152 METHOD /Users/kimptoc/.rvm/gems/ruby-1.9.3-p0@p-viadropbox31/gems/net-ssh-2.2.1/lib/net/ssh/buffer.rb:239
c:0035 p:0218 s:0149 b:0148 l:000126 d:000147 BLOCK  /Users/kimptoc/.rvm/gems/ruby-1.9.3-p0@p-viadropbox31/gems/net-ssh-2.2.1/lib/net/ssh/known_hosts.rb:111
c:0034 p:---- s:0142 b:0142 l:000141 d:000141 FINISH
c:0033 p:---- s:0140 b:0140 l:000139 d:000139 CFUNC  :each_line
c:0032 p:0031 s:0137 b:0137 l:000126 d:000136 BLOCK  /Users/kimptoc/.rvm/gems/ruby-1.9.3-p0@p-viadropbox31/gems/net-ssh-2.2.1/lib/net/ssh/known_hosts.rb:95
c:0031 p:---- s:0133 b:0133 l:000132 d:000132 FINISH
c:0030 p:---- s:0131 b:0131 l:000130 d:000130 CFUNC  :open
c:0029 p:0075 s:0127 b:0127 l:000126 d:000126 METHOD /Users/kimptoc/.rvm/gems/ruby-1.9.3-p0@p-viadropbox31/gems/net-ssh-2.2.1/lib/net/ssh/known_hosts.rb:93
c:0028 p:0027 s:0121 b:0121 l:000112 d:000120 BLOCK  /Users/kimptoc/.rvm/gems/ruby-1.9.3-p0@p-viadropbox31/gems/net-ssh-2.2.1/lib/net/ssh/known_hosts.rb:23
c:0027 p:---- s:0118 b:0118 l:000117 d:000117 FINISH
c:0026 p:---- s:0116 b:0116 l:000115 d:000115 CFUNC  :map
c:0025 p:0012 s:0113 b:0113 l:000112 d:000112 METHOD /Users/kimptoc/.rvm/gems/ruby-1.9.3-p0@p-viadropbox31/gems/net-ssh-2.2.1/lib/net/ssh/known_hosts.rb:23
c:0024 p:0026 s:0108 b:0108 l:000107 d:000107 METHOD /Users/kimptoc/.rvm/gems/ruby-1.9.3-p0@p-viadropbox31/gems/net-ssh-2.2.1/lib/net/ssh/known_hosts.rb:17
c:0023 p:0324 s:0103 b:0103 l:000102 d:000102 METHOD /Users/kimptoc/.rvm/gems/ruby-1.9.3-p0@p-viadropbox31/gems/net-ssh-2.2.1/lib/net/ssh/transport/algorithms.rb:213
c:0022 p:0070 s:0098 b:0098 l:000097 d:000097 METHOD /Users/kimptoc/.rvm/gems/ruby-1.9.3-p0@p-viadropbox31/gems/net-ssh-2.2.1/lib/net/ssh/transport/algorithms.rb:96
c:0021 p:---- s:0093 b:0093 l:000092 d:000092 FINISH
c:0020 p:---- s:0091 b:0091 l:000090 d:000090 CFUNC  :new
c:0019 p:0248 s:0086 b:0086 l:001480 d:001480 METHOD /Users/kimptoc/.rvm/gems/ruby-1.9.3-p0@p-viadropbox31/gems/net-ssh-2.2.1/lib/net/ssh/transport/session.rb:78
c:0018 p:---- s:0080 b:0080 l:000079 d:000079 FINISH
c:0017 p:---- s:0078 b:0078 l:000077 d:000077 CFUNC  :new
c:0016 p:0458 s:0073 b:0073 l:000072 d:000072 METHOD /Users/kimptoc/.rvm/gems/ruby-1.9.3-p0@p-viadropbox31/gems/net-ssh-2.2.1/lib/net/ssh.rb:186
c:0015 p:0029 s:0062 b:0062 l:000061 d:000061 METHOD /Users/kimptoc/.rvm/gems/ruby-1.9.3-p0@p-viadropbox31/gems/net-sftp-2.0.5/lib/net/sftp.rb:31
c:0014 p:0077 s:0052 b:0052 l:002370 d:002370 METHOD /Users/kimptoc/dev/ruby/fran/viadropbox31/app/models/service_handler/sftp/sftp_service.rb:10
c:0013 p:0306 s:0046 b:0046 l:000045 d:000045 METHOD /Users/kimptoc/dev/ruby/fran/viadropbox31/app/models/worker/basic_deployer.rb:27
c:0012 p:0131 s:0036 b:0036 l:000035 d:000035 METHOD /Users/kimptoc/dev/ruby/fran/viadropbox31/app/models/worker/manage_deploy_queue.rb:52
c:0011 p:0085 s:0029 b:0029 l:000028 d:000028 METHOD /Users/kimptoc/dev/ruby/fran/viadropbox31/app/models/worker/manage_deploy_queue.rb:71
c:0010 p:0011 s:0025 b:0025 l:001198 d:000024 BLOCK  /Users/kimptoc/dev/ruby/fran/viadropbox31/config/initializers/background_deployer.rb:10
c:0009 p:---- s:0023 b:0023 l:000022 d:000022 FINISH
c:0008 p:---- s:0021 b:0021 l:000020 d:000020 CFUNC  :call
c:0007 p:0027 s:0017 b:0017 l:000016 d:000016 METHOD /Users/kimptoc/.rvm/gems/ruby-1.9.3-p0@p-viadropbox31/gems/rufus-scheduler-2.0.12/lib/rufus/sc/jobs.rb:184
c:0006 p:0065 s:0014 b:0014 l:0024c8 d:000013 BLOCK  /Users/kimptoc/.rvm/gems/ruby-1.9.3-p0@p-viadropbox31/gems/rufus-scheduler-2.0.12/lib/rufus/sc/jobs.rb:149
c:0005 p:---- s:0011 b:0011 l:000010 d:000010 FINISH
c:0004 p:---- s:0009 b:0009 l:000008 d:000008 CFUNC  :call
c:0003 p:0011 s:0006 b:0006 l:0005e0 d:000005 BLOCK  /Users/kimptoc/.rvm/gems/ruby-1.9.3-p0@p-viadropbox31/gems/rufus-scheduler-2.0.12/lib/rufus/sc/scheduler.rb:369
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:---- s:0002 b:0002 l:000001 d:000001 TOP   

-- Ruby level backtrace information ----------------------------------------
/Users/kimptoc/.rvm/gems/ruby-1.9.3-p0@p-viadropbox31/gems/rufus-scheduler-2.0.12/lib/rufus/sc/scheduler.rb:369:in `block in trigger_job'
/Users/kimptoc/.rvm/gems/ruby-1.9.3-p0@p-viadropbox31/gems/rufus-scheduler-2.0.12/lib/rufus/sc/scheduler.rb:369:in `call'
/Users/kimptoc/.rvm/gems/ruby-1.9.3-p0@p-viadropbox31/gems/rufus-scheduler-2.0.12/lib/rufus/sc/jobs.rb:149:in `block in trigger'
/Users/kimptoc/.rvm/gems/ruby-1.9.3-p0@p-viadropbox31/gems/rufus-scheduler-2.0.12/lib/rufus/sc/jobs.rb:184:in `trigger_block'
/Users/kimptoc/.rvm/gems/ruby-1.9.3-p0@p-viadropbox31/gems/rufus-scheduler-2.0.12/lib/rufus/sc/jobs.rb:184:in `call'
/Users/kimptoc/dev/ruby/fran/viadropbox31/config/initializers/background_deployer.rb:10:in `block in <top (required)>'
/Users/kimptoc/dev/ruby/fran/viadropbox31/app/models/worker/manage_deploy_queue.rb:71:in `work'
/Users/kimptoc/dev/ruby/fran/viadropbox31/app/models/worker/manage_deploy_queue.rb:52:in `process_next'
/Users/kimptoc/dev/ruby/fran/viadropbox31/app/models/worker/basic_deployer.rb:27:in `deploy'
/Users/kimptoc/dev/ruby/fran/viadropbox31/app/models/service_handler/sftp/sftp_service.rb:10:in `grab_from_source'


-- 
http://redmine.ruby-lang.org

In This Thread