How to see a callstack?

Hi all,

Is there a way to see Ruby callstack there?

This is really scary. I’m not sure how to debug anything if I don’t know
where the error is :frowning:

Cheers,
Dima
http://www.ApproachE.com

Anyone?

I took a quick look at the issue and didn’t see anything unusual. It
looks like it was a bug that was resolved. Can you highlight the part
that scared you?

/Nick

On 17/12/2011, at 12:45 AM, Nick S. wrote:

I took a quick look at the issue and didn’t see anything unusual. It looks like
it was a bug that was resolved. Can you highlight the part that scared you?

Yeah. The bug was resolved. But the point is that I am getting such
stack traces often.
There is no anything that links to Ruby code.

This means that it is impossible to know what caused issue in Ruby code.
And it scares me the most. In case of another stack trace like this I
will not be able to diagnose the issue and what caused it.

Do you see what I mean?

Cheers,
Dmytrii.

On Dec 16, 2011, at 18:56, Dmytrii N. [email protected] wrote:

Do you see what I mean?

Do you run with -v or -w or -d? Those options turn on some internals
that will dump java stack traces for things like failed compilation
which is not a failure state (code stays running in interpreted mode).

Please share some stack traces along with code that causes them, if
possible.

/Nick

On 17/12/2011, at 3:37 PM, Nick S. wrote:

Do you run with -v or -w or -d?

Not at all. I don’t even know what that means.
But I have:

echo $JRUBY_OPTS
–1.9 --client -J-d32

Those options turn on some internals that will dump java stack traces for things
like failed compilation which is not a failure state (code stays running in
interpreted mode).

But the Ruby stack traces usually are shown. And this is probably not
the compilation issue as the code has already been running.

Please share some stack traces along with code that causes them, if possible.

The fully reproducible example is here
https://github.com/andreasronge/neo4j/pull/107
(just use the older tree
https://github.com/vivekprahlad/neo4j/tree/4ae82893dc0f44609e5e8df477e4fc743d9dc00c)

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs