https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112016-04-20T20:39:12ZRuby Issue Tracking SystemRuby master - Bug #12305: "can't remove str from str_id" at unregister_symhttps://redmine.ruby-lang.org/issues/12305?journal_id=581722016-04-20T20:39:12Zks (Konstantin Starodubtsev)
<ul><li><strong>Assignee</strong> set to <i>core</i></li></ul> Ruby master - Bug #12305: "can't remove str from str_id" at unregister_symhttps://redmine.ruby-lang.org/issues/12305?journal_id=581782016-04-21T01:57:44Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/58178/diff?detail_id=40950">diff</a>)</li><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>How to reproduce it?<br>
Couldn't you show simplified/reduced script?</p> Ruby master - Bug #12305: "can't remove str from str_id" at unregister_symhttps://redmine.ruby-lang.org/issues/12305?journal_id=581972016-04-21T19:33:17Zks (Konstantin Starodubtsev)
<ul></ul><p>Nobuyoshi Nakada wrote:</p>
<blockquote>
<p>How to reproduce it?<br>
Couldn't you show simplified/reduced script?</p>
</blockquote>
<p>This is a web application running on top of padrino framework and it's using various gems to consume and process data from external systems.<br>
Unfortunately, this bug happens only once or twice per day, and I couldn't find any pattern in bug occurrence. It may happen during virtually any user request. I couldn't reproduce bug on a test dataset, but it happens on a different hosts when running in production.</p>
<p>If you could point me to some information about how to pull more debug information from runtime, or increase probability of this bug to happen, or whatever else, I could try it and then attempt to make a script to reproduce the problem.</p>
<p>Thanks.</p> Ruby master - Bug #12305: "can't remove str from str_id" at unregister_symhttps://redmine.ruby-lang.org/issues/12305?journal_id=582612016-04-22T12:41:52Zshevegen (Robert A. Heiler)shevegen@gmail.com
<ul></ul><p>I think it is difficult to track it down if it only appears sometimes.</p>
<p>Perhaps you find some way to trigger it more often - if you don't see a pattern in the bug occurrence,<br>
perhaps you can find a pattern in the ruby code that triggers it ultimately.</p>
<p>The C code for the bug should be here in the function unregister_sym():</p>
<pre><code>https://github.com/brightbox/deb-ruby2.3/blob/master/symbol.c#L395
</code></pre>
<p>I am not sure who or what tries to unregister a symbol but I think you will<br>
find some patterns in the coming days/weeks. Heisenbugs sometimes require<br>
detective work.</p> Ruby master - Bug #12305: "can't remove str from str_id" at unregister_symhttps://redmine.ruby-lang.org/issues/12305?journal_id=586702016-05-17T06:37:46Znaruse (Yui NARUSE)naruse@airemix.jp
<ul><li><strong>Assignee</strong> deleted (<del><i>core</i></del>)</li></ul> Ruby master - Bug #12305: "can't remove str from str_id" at unregister_symhttps://redmine.ruby-lang.org/issues/12305?journal_id=716382018-04-25T10:43:11Zeramsey (Eric Ramsey)
<ul></ul><p>Was there any resolution to this issue? We are encountering the same issue now that we have upgraded our Ruby from 2.1.6 to 2.3.3. This happens randomly throughout our framework when we are trying to run regression.</p>
<p>Any and all information as to where to look and or how to fix would be greatly appreciated.</p> Ruby master - Bug #12305: "can't remove str from str_id" at unregister_symhttps://redmine.ruby-lang.org/issues/12305?journal_id=799822019-07-24T19:05:11Zjeremyevans0 (Jeremy Evans)merch-redmine@jeremyevans.net
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li></ul>