<subbu>
yes, known issue ... for some reason, all of us has ignored it. :)
<nirvdrum>
Heh.
jaffachi_ has quit [Quit: Computer has gone to sleep.]
ephemerian has quit [Ping timeout: 245 seconds]
tcrypt_ has quit [Remote host closed the connection]
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kfpratt has quit [Remote host closed the connection]
calavera has joined #jruby
brettporter has joined #jruby
brettporter has joined #jruby
brettporter has quit [Changing host]
<nirvdrum>
Well, this is certainly an interesting way to see what's been executed.
brettporter has quit [Client Quit]
<subbu>
are you any closer to figuring out what is breaking?
<nirvdrum>
Well, I can see what's running at the very least. I'm trying to trace the return path.
kfpratt has joined #jruby
tlarevo has joined #jruby
kfpratt has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
<subbu>
can you see if there is an exception being raised in that method? if yes, you should be able to trace it via the interpreter messages about what it catches and if it found a rescue handler .. ipc = -1 => it didn't find a rescue handler.
<subbu>
you will notice that ensures are modelled as try-catch as well.
<nirvdrum>
2014-09-16T19:52:33.585-04:00: Interpreter: ipc for rescuer: -1
<subbu>
nirvdrum, can i see the ruby method (even if i cannot run it) with the ensure and the block .. i might be able to stare at it a bit.
<subbu>
nirvdrum, that looks fine .. the return is just propagating past the closure.
<nirvdrum>
Sure. I'll PM you a gist.
kfpratt has quit [Remote host closed the connection]
kfpratt has joined #jruby
pietr0 has quit [Ping timeout: 245 seconds]
kfpratt has quit [Ping timeout: 272 seconds]
momomomomo has quit [Quit: momomomomo]
<cpuguy83>
Making a PR to add https://github.com/cpuguy83/docker-jruby to the list of official images for Docker (as in, Docker has vetted and blesses this image, and would work for "docker pull jruby" or "docker run jruby".
<cpuguy83>
1) does this Dockerfile look correct for setting everything up?
<cpuguy83>
2) Is this something someone from the project would prefer/like to maintain
benlovell has joined #jruby
subbu is now known as subbu|away
nanoyak has quit [Quit: Computer has gone to sleep.]
diegoviola has quit [Quit: WeeChat 1.0]
benlovell has quit [Ping timeout: 255 seconds]
kfpratt has joined #jruby
nanoyak has joined #jruby
kfpratt has quit [Remote host closed the connection]
subbu|away has quit [Ping timeout: 272 seconds]
subbu|away has joined #jruby
brettporter has joined #jruby
kfpratt has joined #jruby
nanoyak has quit [Quit: Computer has gone to sleep.]
subbu|away has quit [Ping timeout: 255 seconds]
kfpratt has quit [Remote host closed the connection]
kfpratt has joined #jruby
kfpratt has quit [Ping timeout: 272 seconds]
momomomomo has joined #jruby
<chrisseaton>
headius: sorry, missed your question earlier as it appeared in the middle of a git message
<chrisseaton>
headius: I think it's 5k by default - that includes invocations, plus backward jumps (and any other jumps we want to include)
<chrisseaton>
headius: it's configurable of course, and we have been experimenting with some clever stuff with complaining the method that contains blocks instead of just the block
havenwood has quit [Remote host closed the connection]
havenwood has joined #jruby
momomomomo has quit [Quit: momomomomo]
xcv has quit [Remote host closed the connection]
xcv has joined #jruby
havenwood has quit [Ping timeout: 264 seconds]
kith has quit [Read error: Connection reset by peer]
mfournier has quit [*.net *.split]
bbrowning_away has quit [*.net *.split]
multibot_ has quit [*.net *.split]
erikhatcher has quit [*.net *.split]
statonjr has quit [*.net *.split]
xcv has quit [*.net *.split]
SynrG has quit [*.net *.split]
tlarevo has quit [*.net *.split]
purplefox has quit [*.net *.split]
Hobogrammer has quit [*.net *.split]
Jamo has quit [*.net *.split]
rcvalle has quit [*.net *.split]
balo has quit [*.net *.split]
GregMefford has quit [*.net *.split]
electrical has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
halorgium has quit [*.net *.split]
lupine has quit [*.net *.split]
fidothe___ has quit [*.net *.split]
Antiarc has quit [*.net *.split]
chrisseaton has quit [*.net *.split]
qmx has quit [*.net *.split]
brycek has quit [*.net *.split]
tcrawley-away has quit [*.net *.split]
bruceadams has quit [*.net *.split]
johnsonch_afk has quit [*.net *.split]
zph has quit [*.net *.split]
sluukkonen1 has quit [*.net *.split]
cschneid has quit [*.net *.split]
projectodd-ci has quit [*.net *.split]
dfr|work has quit [*.net *.split]
postmodern has quit [*.net *.split]
dabradley has quit [*.net *.split]
teamon has quit [*.net *.split]
graphex has quit [*.net *.split]
ahadding1 has quit [*.net *.split]
beawesomeinstead has quit [*.net *.split]
dbussink has quit [*.net *.split]
universa1 has quit [*.net *.split]
LTe has quit [*.net *.split]
atamb0 has quit [*.net *.split]
jamooo has quit [*.net *.split]
eregon has quit [*.net *.split]
kaislikko has quit [*.net *.split]
AlHafoudh has quit [*.net *.split]
byteit101 has quit [*.net *.split]
jamo_ has quit [*.net *.split]
yosafbridge has quit [*.net *.split]
tarcieri has quit [*.net *.split]
Sinjo has quit [*.net *.split]
joevandyk has quit [*.net *.split]
brixen has quit [*.net *.split]
lukeman has quit [*.net *.split]
errstr has quit [*.net *.split]
Haifeng has quit [*.net *.split]
Eonwe has quit [*.net *.split]
sarcher has quit [*.net *.split]
dvorak has quit [*.net *.split]
cn28h has quit [*.net *.split]
samuelkadolph has quit [*.net *.split]
Liothen has quit [*.net *.split]
rimenes has quit [*.net *.split]
e_dub has quit [*.net *.split]
asuka has quit [*.net *.split]
kwando has quit [*.net *.split]
jeremyevans has quit [*.net *.split]
harryv_ has quit [*.net *.split]
cremes has quit [*.net *.split]
Xzyx987X_ has quit [*.net *.split]
flori has quit [*.net *.split]
mpapis has quit [*.net *.split]
mjelen has quit [*.net *.split]
Scient has quit [*.net *.split]
haze has quit [*.net *.split]
quadz has quit [*.net *.split]
rtyler has quit [*.net *.split]
krainboltgreene has quit [*.net *.split]
lanceball has quit [*.net *.split]
koichiro_zzz0 has quit [*.net *.split]
tsunamie has quit [*.net *.split]
digitalextremist has quit [*.net *.split]
mberg has quit [*.net *.split]
brettporter has quit [*.net *.split]
phrinx has quit [*.net *.split]
BobFunk has quit [*.net *.split]
guilleiguaran___ has quit [*.net *.split]
nirvdrum has quit [*.net *.split]
johnmuhl has quit [*.net *.split]
jimbaker has quit [*.net *.split]
cprice_ has quit [*.net *.split]
mccraig has quit [*.net *.split]
yfeldblum has quit [*.net *.split]
calavera has quit [*.net *.split]
nipra has quit [*.net *.split]
ivan\ has quit [*.net *.split]
lopex has quit [*.net *.split]
joast has quit [*.net *.split]
cpuguy83 has quit [*.net *.split]
synfinatic has quit [*.net *.split]
towski has quit [*.net *.split]
yopp has quit [*.net *.split]
headius has quit [*.net *.split]
het has quit [*.net *.split]
tlarevo has joined #jruby
phrinx has joined #jruby
Hobogrammer has joined #jruby
brettporter has joined #jruby
SynrG has joined #jruby
BobFunk has joined #jruby
multibot_ has joined #jruby
bbrowning_away has joined #jruby
e_dub has joined #jruby
balo has joined #jruby
asuka has joined #jruby
postmodern has joined #jruby
nipra has joined #jruby
nirvdrum has joined #jruby
erikhatcher has joined #jruby
GregMefford has joined #jruby
kwando has joined #jruby
yfeldblum has joined #jruby
rimenes has joined #jruby
purplefox has joined #jruby
teamon has joined #jruby
dabradley has joined #jruby
pgokeeffe has joined #jruby
guilleiguaran___ has joined #jruby
mfournier has joined #jruby
AlHafoudh has joined #jruby
calavera has joined #jruby
statonjr has joined #jruby
johnmuhl has joined #jruby
lopex has joined #jruby
beawesomeinstead has joined #jruby
graphex has joined #jruby
krainboltgreene has joined #jruby
cprice_ has joined #jruby
electrical has joined #jruby
lupine has joined #jruby
jimbaker has joined #jruby
joast has joined #jruby
fidothe___ has joined #jruby
Guest85414______ has joined #jruby
harryv_ has joined #jruby
universa1 has joined #jruby
mccraig has joined #jruby
Jamo has joined #jruby
cpuguy83 has joined #jruby
Antiarc has joined #jruby
atamb0 has joined #jruby
halorgium has joined #jruby
jeremyevans has joined #jruby
qmx has joined #jruby
synfinatic has joined #jruby
brycek has joined #jruby
dbussink has joined #jruby
ivan\ has joined #jruby
eregon has joined #jruby
jamooo has joined #jruby
chrisseaton has joined #jruby
jamo_ has joined #jruby
yosafbridge has joined #jruby
cn28h has joined #jruby
byteit101 has joined #jruby
bruceadams has joined #jruby
ahadding1 has joined #jruby
towski has joined #jruby
LTe has joined #jruby
dfr|work has joined #jruby
sluukkonen1 has joined #jruby
johnsonch_afk has joined #jruby
projectodd-ci has joined #jruby
zph has joined #jruby
kaislikko has joined #jruby
tcrawley-away has joined #jruby
tarcieri has joined #jruby
cschneid has joined #jruby
cremes has joined #jruby
Xzyx987X_ has joined #jruby
tsunamie has joined #jruby
flori has joined #jruby
Sinjo has joined #jruby
mpapis has joined #jruby
mjelen has joined #jruby
lukeman has joined #jruby
yopp has joined #jruby
joevandyk has joined #jruby
sarcher has joined #jruby
digitalextremist has joined #jruby
Scient has joined #jruby
haze has joined #jruby
brixen has joined #jruby
errstr has joined #jruby
quadz has joined #jruby
Haifeng has joined #jruby
Eonwe has joined #jruby
rtyler has joined #jruby
dvorak has joined #jruby
mberg has joined #jruby
lanceball has joined #jruby
samuelkadolph has joined #jruby
koichiro_zzz0 has joined #jruby
headius has joined #jruby
Liothen has joined #jruby
het has joined #jruby
tcrypt has joined #jruby
phrinx has quit [Ping timeout: 246 seconds]
subbu|away has joined #jruby
diegoviola has joined #jruby
brettporter has quit []
nirvdrum has quit [Ping timeout: 258 seconds]
tcrypt has quit []
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
calavera has joined #jruby
Aethenelle has joined #jruby
johnsonch_afk is now known as johnsonch
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<headius>
subbu|away: we need to have a flag to just dump out the final IR phase...that's usually the first thing I'm interested in, and then I'd turn on all passes if I wanted to dig deeper
<headius>
chrisseaton: I almost did that in the old compiler to ensure I had both the method and the block compiled and optimized (scope access, etc) but never got to it
<chrisseaton>
The tricky bit for me is finding the AST for the method dynamically containing the block - as this normally requires deopt, which obviously doesn't help compilation
pgokeeffe has joined #jruby
Aethenelle has quit [Quit: Aethenelle]
tlarevo has quit [Remote host closed the connection]
kfpratt has joined #jruby
kfpratt has quit [Remote host closed the connection]
kfpratt has joined #jruby
pgokeeffe has quit [Quit: pgokeeffe]
kfpratt has quit [Ping timeout: 245 seconds]
yfeldblu_ has joined #jruby
yfeldblum has quit [Ping timeout: 246 seconds]
yfeldblu_ has quit [Ping timeout: 255 seconds]
kfpratt has joined #jruby
johnsonch is now known as johnsonch_afk
kfpratt has quit [Remote host closed the connection]
pgokeeffe has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
jruby/master 57222ee Subramanya Sastry: Fix #1980: Do not attempt to reuse IRReturnJump/IRBreakJump...
JRubyGithub has left #jruby [#jruby]
<JRubyGithub>
[jruby] jrubyci pushed 1 new commit to master: http://git.io/5UFZQg
<subbu>
headius, that should make nirvdrum happy.
JRubyGithub has joined #jruby
<JRubyGithub>
jruby/master e79c0ea Subramanya Sastry: Added minor debugging output for breaks and non-local returns.
JRubyGithub has left #jruby [#jruby]
<JRubyGithub>
[jruby] jrubyci pushed 1 new commit to master: http://git.io/hfCygw
johnmuhl has quit [Quit: Connection closed for inactivity]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
pgokeeffe has joined #jruby
robbyoconnor has joined #jruby
pgokeeffe has quit [Quit: pgokeeffe]
pgokeeffe has joined #jruby
johnsonch_afk is now known as johnsonch
benlovell has joined #jruby
johnsonch is now known as johnsonch_afk
skade has joined #jruby
benlovell has quit [Ping timeout: 272 seconds]
tenderlove has quit [Remote host closed the connection]
donV has joined #jruby
nipra has quit [Quit: Leaving.]
tenderlove has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
tlarevo has quit [Ping timeout: 272 seconds]
tlarevo has joined #jruby
noopq has joined #jruby
enriclluelles has joined #jruby
skade has joined #jruby
skade has quit [Ping timeout: 272 seconds]
fridim_ has joined #jruby
johnsonch_afk is now known as johnsonch
johnsonch is now known as johnsonch_afk
benlovell has joined #jruby
benlovell has quit [Ping timeout: 272 seconds]
skade has joined #jruby
benlovell has joined #jruby
fridim__ has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
elia has joined #jruby
joast has quit [Ping timeout: 250 seconds]
johnsonch_afk is now known as johnsonch
johnsonch is now known as johnsonch_afk
yfeldblum has quit [Remote host closed the connection]
BobFunk has quit [Ping timeout: 272 seconds]
pgokeeffe has quit [Quit: pgokeeffe]
BobFunk has joined #jruby
BobFunk has quit [Ping timeout: 245 seconds]
skade has joined #jruby
ephemerian has joined #jruby
mister_solo has joined #jruby
yfeldblum has joined #jruby
yfeldblum has quit [Ping timeout: 255 seconds]
drbobbeaty has joined #jruby
pgokeeffe has joined #jruby
e_dub has quit [Read error: Connection reset by peer]
johnsonch_afk is now known as johnsonch
e_dub has joined #jruby
johnsonch is now known as johnsonch_afk
skade has quit [Ping timeout: 255 seconds]
skade has joined #jruby
tlarevo has quit [Remote host closed the connection]
skade has quit [Ping timeout: 240 seconds]
tlarevo has joined #jruby
mister_solo has quit [Ping timeout: 272 seconds]
fooJBar has joined #jruby
tenderlove has quit [Ping timeout: 240 seconds]
tlarevo has quit [Ping timeout: 272 seconds]
mister_solo has joined #jruby
pgokeeffe has quit [Quit: pgokeeffe]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vtunka has joined #jruby
dumdedum has joined #jruby
toshetm has joined #jruby
marr has joined #jruby
digitalextremist has quit [Quit: demonstrate freedom //]
pgokeeffe has joined #jruby
fridim_ has quit [Quit: Leaving]
tlarevo has joined #jruby
dumdedum has quit [Ping timeout: 258 seconds]
johnsonch_afk is now known as johnsonch
jaju has joined #jruby
johnsonch is now known as johnsonch_afk
xcv has joined #jruby
jaffachi_ has joined #jruby
dumdedum has joined #jruby
kith has joined #jruby
pgokeeffe has quit [Quit: pgokeeffe]
tenderlove has joined #jruby
yfeldblum has joined #jruby
yfeldblum has quit [Ping timeout: 255 seconds]
jaju has quit [Remote host closed the connection]
johnsonch_afk is now known as johnsonch
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] jrubyci pushed 4 new commits to master: http://git.io/bYoo3w
<JRubyGithub>
jruby/master f6eab4c Benoit Daloze: Update documentation in tool/sync_ruby....
<JRubyGithub>
jruby/master e587973 Benoit Daloze: Update tool/sync_ruby to match the new pathname.rb scheme...
<JRubyGithub>
jruby/master ec540af Benoit Daloze: Sort paths in tool/globals_2_1_0.rb....
JRubyGithub has left #jruby [#jruby]
johnsonch is now known as johnsonch_afk
tlarevo has quit [Ping timeout: 245 seconds]
robbyoconnor has quit [Quit: Konversation terminated!]
drbobbeaty has joined #jruby
anaeem___ has joined #jruby
tlarevo has joined #jruby
skade has joined #jruby
anaeem1 has quit [Ping timeout: 255 seconds]
mister_solo has quit [Read error: Connection reset by peer]
rimenes has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mister_solo has joined #jruby
skade has quit [Ping timeout: 260 seconds]
yfeldblum has joined #jruby
Hobogrammer has quit [Ping timeout: 245 seconds]
rimenes has joined #jruby
yfeldblum has quit [Ping timeout: 246 seconds]
tlarevo has quit [Ping timeout: 260 seconds]
mister_solo has quit [Ping timeout: 272 seconds]
johnsonch_afk is now known as johnsonch
digitalextremist has joined #jruby
johnsonch is now known as johnsonch_afk
jaffachi_ has quit [Quit: Computer has gone to sleep.]
toshetm has quit [Ping timeout: 260 seconds]
benlovell has quit [Ping timeout: 272 seconds]
nirvdrum has joined #jruby
anaeem___ has quit [Remote host closed the connection]
anaeem1_ has joined #jruby
tenderlo_ has joined #jruby
tenderlove has quit [Ping timeout: 246 seconds]
pgokeeffe has joined #jruby
benlovell has joined #jruby
kgerman has joined #jruby
enriclluelles has quit [Remote host closed the connection]
mister_solo has joined #jruby
yfeldblum has joined #jruby
tenderlo_ has quit [Remote host closed the connection]
tenderlove has joined #jruby
tcrawley-away is now known as tcrawley
yfeldblum has quit [Ping timeout: 255 seconds]
erikhatcher has quit [Quit: erikhatcher]
toshetm has joined #jruby
tenderlove has quit [Ping timeout: 255 seconds]
joast has joined #jruby
skade has joined #jruby
anaeem1_ has quit [Remote host closed the connection]
toady00 has joined #jruby
kgerman_ has joined #jruby
mkristian has joined #jruby
rsim has joined #jruby
etehtsea has joined #jruby
enriclluelles has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
jruby/jruby-1_7 6d2361c Christian Meier: packed cached gems as well - fixed #1973
<JRubyGithub>
jruby/jruby-1_7 0ea7fee Christian Meier: remove rake dependency to parse jruby-jars.gemspec
<JRubyGithub>
[jruby] jrubyci pushed 4 new commits to jruby-1_7: http://git.io/8EpaZg
<JRubyGithub>
jruby/jruby-1_7 87f09b2 Christian Meier: resurrect the OSGi metadata for jruby, jruby-noasm, jruby-core and jruby-stdlib - fixed #1973
JRubyGithub has left #jruby [#jruby]
<rsim>
headius: Hi! I have jruby-complete dependency in my project pom.xml and after upgrading from 1.7.13 to 1.7.15 I see that jruby-complete pulls in also all individual jruby-* packages as dependencies
<mkristian>
rsim, not sure - should not be the case. my local jruby-complete-1.7.16-SNAPSHOT.jar is 22M
<mkristian>
let me see if I see something why this is indeed 35M online
<rsim>
in 1.7.15 it is also about 35MB - will have a look what's there…
xcv has joined #jruby
<mkristian>
yes, I see something Users/enebo/**
<subbu>
nirvdrum, what is baffling in that report is that it went to -7 without reporting about -6 .. etc.
<rsim>
mkristian: yes, just noticed this as well :)
<rsim>
javadoc and sources jars are there
<subbu>
nirvdrum, you know what .. i think it is a stack overflow.
skade has joined #jruby
<subbu>
scopeStack rolled over into the negative territory.
<subbu>
headius, ^^
<headius>
hmmm
<nirvdrum>
subbu: You think an overflow in my ruby code? Or something in IR?
<subbu>
rather scopeIndex
e_dub has quit [Quit: ZZZzzz…]
<subbu>
unless either of you have other theories .. but easy to test by instrumenting ThreadContext pushScope to see if scopeIndex gets negative.
<mkristian>
rsim, I have a feeling what went wrong
<subbu>
or actually, never mind me .. it is still early . my theory doesn't make sense.
<subbu>
if it did roll over, it would be a high negative number. not -7.
<subbu>
but, i am still baffled why it is reporting it at -7.
<headius>
this is #1982?
<subbu>
yes
tlarevo has joined #jruby
<headius>
wow yeah, -7...that shouldn't be possible :-)
tenderlove has joined #jruby
<nirvdrum>
When you have eliminated the impossible, whatever remains, however improbable, must be the truth!
<headius>
scopeIndex is only ever decremented while dereferencing, so I'm confused how it would get to -7 before blowing up
<subbu>
exactly
<subbu>
which is why i thought it scopeIndex is rolling over from positive to negative while pushing stack scopes ... but then ... it would be a rather high negative number not -7.
<headius>
hmmm
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
toshetm has quit [Ping timeout: 258 seconds]
tenderlove has quit [Ping timeout: 272 seconds]
<subbu>
nirvdrum, you should be able to instrument ThreadContext.java with a check for scopeIndex getting negative in all the places it is manipulated (which is just two) and trigger an error message .. what could be so broken that IR scopes are being pushed so indiscriminately to get scopeIndex all the way over to -7?
<headius>
subbu: I know what's wrong
* subbu
is curious
benlovell has joined #jruby
<headius>
in nirvdrum's backtrace, it's a proc running at exit... that could be an END block maybe, or definitely could be an at_exit block
<headius>
I would suspect that there were 6 or 7 procs run during teardown before this one, and they all popped but did not push a scope
<subbu>
ah, and they all raised exceptions?
<headius>
right
<subbu>
that could be.
<subbu>
makes more sense.
<subbu>
i like that theory better.
<headius>
looks like it's during at_exit blocks
<nirvdrum>
I'd love to know what exceptions they raised, since this did pass prior to the fix for #1980. But I'm willing to patch locally to test.
<subbu>
nirvdrum, you can test this theory by instrumenting ThreadContext.popScope and dumping a limited stack trace there .. it should tell us where the pop is coming from.
<headius>
subbu: this could also happen if the stack got decremented below zero deep in a call stack, and then finallys kept trying to pop their scopes too
<headius>
either way, something is popping scopes without pushing them
<subbu>
afk for a little bit
<nirvdrum>
Okay. I've dumped the stack when it's gone negative, but each trace is different. I'm not sure how useful that really is.
fidothe___ has quit [Read error: Connection reset by peer]
chrisseaton has quit [Read error: Connection reset by peer]
amdprophet has quit [Read error: Connection reset by peer]
bruceadams has quit [Read error: Connection reset by peer]
portertech has quit [Read error: Connection reset by peer]
GregMefford has quit [Read error: Connection reset by peer]
zph has quit [Write error: Connection reset by peer]
mje113__ has quit [Write error: Connection reset by peer]
mjc_ has quit [Read error: Connection reset by peer]
electrical has quit [Read error: Connection reset by peer]
Guest85414______ has quit [Read error: Connection reset by peer]
joelmheim has quit [Write error: Connection reset by peer]
beawesomeinstead has quit [Write error: Connection reset by peer]
gazarsgo has quit [Read error: Connection reset by peer]
<headius>
nirvdrum: I'm putting together a patch to log those push/pops
<nirvdrum>
And that's just running "mvn -Pdist" :-P
zph has joined #jruby
<headius>
jruby's a powerful creature
mjc_ has joined #jruby
gazarsgo has joined #jruby
<headius>
if you want to modify that to write to a file, it's up to you :-) I'm expecting what we're looking for will happen in the last second of your run
beawesomeinstead has joined #jruby
kgerman_ has quit [Quit: kgerman_]
<nirvdrum>
I'll just redirect. No biggie.
chrisseaton has joined #jruby
bruceadams has joined #jruby
<nirvdrum>
And this is much smaller than the 1.3 GB IR log file I had for running a single spec.
<nirvdrum>
Sorry, I guess my formatting on the NPE logging is a bit wonky. But you should get it.
Hobogrammer has joined #jruby
yfeldblum has quit [Ping timeout: 246 seconds]
<subbu>
nirvdrum, one more thing to work around ... ThreadContext.java:288:in `pushScope': java.lang.ClassCastException: org.jruby.parser.LocalStaticScope cannot be cast to org.jruby.parser.IRStaticScope .. i think there is some old runtime stuff left behind.
<nirvdrum>
subbu: Let me know if you need me to try anything else.
<nirvdrum>
I'm gonna go do something else for a bit. But I have nick highlighting enabled.
<subbu>
if you can skip past that exception there and dump the rest of the push/pop till we get to the aioobe.
<subbu>
i think we have 2 different things to look at from this exercise already.
toshetm has joined #jruby
multibot_ has quit [Remote host closed the connection]
multibot_ has joined #jruby
<nirvdrum>
Yeah, I can do that.
<subbu>
thanks.
BobFunk has joined #jruby
Aethenelle has joined #jruby
toady00 has quit [Remote host closed the connection]
<nirvdrum>
subbu: This time it's 365 MB. It'll take a few minutes before it's uploaded.
<subbu>
wow, okay. this one proved to be a 3-in-1 bug.
<nirvdrum>
Is that a new record?
<subbu>
:)
<subbu>
i think we knew that there were some LocalStaticScopes still being created ... and it may not be a "real bug" ... and just a hack that the old runtime used for some functionality that is lingering around ... i thought headius removed some of those. but maybe not all.
<subbu>
the null dynscope push is clearly broken even if it doesn't break anything.
<nirvdrum>
Heh. This file compresses well. That'll be a lot faster.
<subbu>
nirvdrum merging the two static scope types had been on the cards for a while .. when ir co-existed with the old runtime, we couldn't do it, but that constraint is not there here .. your failure just pushed us to do it now.
tenderlove has joined #jruby
<chrisseaton>
headius: I think we're using byte offsets rather than line numbers
<chrisseaton>
headius: and then we have a framework for converting byte offsets to line and column information when you want to show a source location
<headius>
shouldn't make a difference for the scope info...it doesn't have any position info
<headius>
scope stuff
<chrisseaton>
headius: I suggested to enebo this might be one of those things where Truffle is useful ben when you're not running Truffle code - same with our object layout
<headius>
yeah that would be nice
<headius>
just maintain byte offset
brettporter has joined #jruby
brettporter has quit [Changing host]
brettporter has joined #jruby
<chrisseaton>
might improve your startup (probably won't), but it also gives you column info for free which you don't have at the moment
<headius>
yeah
nanoyak has joined #jruby
tenderlove has quit [Ping timeout: 258 seconds]
etehtsea has quit [Quit: Computer has gone to sleep.]
<chrisseaton>
i held off on trying it out as enebo said he was making big changes to source location stuff at the same time - let me know when you're done
<headius>
I was just condensing all StaticScope into one class...you had a couple lines that created a LocalStaticScope for something
mister_solo has joined #jruby
<chrisseaton>
I think I just needed a concrete instance so chose that one
<chrisseaton>
You'll have to hold your nose if you go poking around in the translator package - it's not pretty
JRubyGithub has joined #jruby
<JRubyGithub>
jruby/master 241358b Charles Oliver Nutter: Remove unnecessary cast.
<JRubyGithub>
[jruby] jrubyci pushed 2 new commits to master: http://git.io/8fbgIQ
<JRubyGithub>
jruby/master d3e134c Charles Oliver Nutter: Properly duplicate StaticScope for proc construction.
JRubyGithub has left #jruby [#jruby]
<headius>
nirvdrum: the log just ends at "popping scope at 24", yeah?
nanoyak has quit [Client Quit]
toshetm has joined #jruby
enriclluelles has quit [Remote host closed the connection]
nanoyak has joined #jruby
<nirvdrum>
headius: Yeap.
<nirvdrum>
Well, the last line is "pushing scope at 0 for: null"
<headius>
yeah that's weird
<headius>
meh
mister_solo has quit [Ping timeout: 240 seconds]
<headius>
this is two threads interlaced
<headius>
nirvdrum: when you get a chance, add Thread.getCurrentThread().getName() to both outputs
toshetm has quit [Ping timeout: 240 seconds]
<nirvdrum>
headius: Pulling in your changes?
<headius>
nirvdrum: yeah do it
<headius>
chrisseaton: oh sorry, I meant line numbers in stack traces for Java stuff...nirvdrum's stacks may be a bit different after my commits
bbrowning has joined #jruby
<nirvdrum>
headius: So the cast to IRStaticScope is no longer necessary?
<headius>
there's only one StaticScope now
<headius>
so yes :-)
<nirvdrum>
Works for me.
kgerman has quit [Ping timeout: 272 seconds]
jaffachi_ has quit [Quit: Computer has gone to sleep.]
<chrisseaton>
If the new IR isn't yet able to compile a method, or has some other kind of error, does it just silently bail out and keep running in the interpreter
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #jruby
yfeldblum has quit [Ping timeout: 272 seconds]
e_dub has quit [Quit: ZZZzzz…]
<headius>
nirvdrum: ok
nanoyak has quit [Read error: Connection reset by peer]
nanoyak has joined #jruby
tenderlove has joined #jruby
os97673 has joined #jruby
statonjr has joined #jruby
jaffachi_ has joined #jruby
tmio has joined #jruby
tenderlove has quit [Ping timeout: 260 seconds]
<tmio>
ho hi. I’m part of a team of crazy people and we have created a reflective way to manage a jruby runtime. We’d like to be able to add gems to the runtime directly from java
os97673 has quit [Client Quit]
<tmio>
anybody crazy in the room who wants to discuss options?
colinsurprenant has quit [Quit: colinsurprenant]
subbu is now known as subbu|lunch
colinsurprenant has joined #jruby
donV has quit [Quit: donV]
tylersmith has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
kgerman_ has joined #jruby
kgerman has quit [Read error: No route to host]
<headius>
bbrowning: I'm removing ClassCache in 9k
kgerman_ is now known as kgerman
<headius>
it was only useful for running many JRuby instances at once and probably didn't end up sharing very well anyway
<headius>
I figured you might be using it in TB
<headius>
or at least trying to set it up in the runtimes you spawn
<bbrowning>
headius: actually, we aren't
<headius>
it's not useful at all on indy either
<headius>
ahhh that's great
<bbrowning>
and TB4 will try to go down to just one runtime per app anyway
<headius>
ok, as it should be
rcvalle has joined #jruby
nanoyak has quit [Ping timeout: 240 seconds]
nipra has quit [Quit: Leaving.]
momomomomo has joined #jruby
xcv has quit [Remote host closed the connection]
mister_solo has quit [Ping timeout: 260 seconds]
e_dub has joined #jruby
bbrowning has quit [Quit: Leaving]
nanoyak has joined #jruby
enriclluelles has joined #jruby
etehtsea has joined #jruby
tlarevo has quit [Read error: Connection reset by peer]
tlarevo has joined #jruby
anaeem1_ has quit [Remote host closed the connection]
anaeem1 has joined #jruby
havenwood has quit [Remote host closed the connection]
<headius>
hmmmm 32 files deleted so far
<headius>
dynlang devs that have never used a perfectly refactorable language really don't know what they're missing
colinsurprenant has quit [Quit: colinsurprenant]
havenwood has joined #jruby
colinsurprenant has joined #jruby
<nirvdrum>
+1 for static compilers
subbu|lunch is now known as subbu
noopq has joined #jruby
tenderlove has joined #jruby
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] jrubyci pushed 2 new commits to master: http://git.io/NHtxvQ
<JRubyGithub>
jruby/master cba8f63 Charles Oliver Nutter: Remove unused param.
<JRubyGithub>
jruby/master ed54aab Charles Oliver Nutter: Rip out the guts! Removing many non-9k runtime classes....
JRubyGithub has left #jruby [#jruby]
<headius>
kabam
<headius>
that was the first compiler I ever wrote
<headius>
farewell, demon
tenderlove has quit [Ping timeout: 258 seconds]
tylersmith is now known as tcrypt
<subbu>
The ASTInspector lives on in IRBuilder ;-) .. in 2009, I executed "cp ASTInspector.java IRBuilder.java" and started on this.
<headius>
hah
<headius>
I don't think it was a bad compiler for someone who never took a compiler course
<nirvdrum>
2009, eh?
<subbu>
indeed.
<nirvdrum>
That's some dedication.
<subbu>
it lived a long and useful life and has informed heuristics and performance of the new runtime.
<headius>
and now it's all coming true
<headius>
I just need to work faster
<headius>
I'm the last blocker before awesome
<subbu>
ha ha ..
<nirvdrum>
subbu: So you must be really eager to see this run real code then.
nipra has joined #jruby
yfeldblum has joined #jruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
<headius>
hey, it's already running real code...we use jruby during the build to assemble other parts of jruby :-D
<headius>
subbu: I thought of another possibility for the scope index bounds error
<headius>
some code may be raising after entering a try but before pushing a scope
<nirvdrum>
headius: I've been kind. Wait until bbrowning beats on it :-P
<headius>
scope push should happen outside tries...I'll have a look
<subbu>
headius, ok.
<subbu>
headius, all the try-catch of JumpException, etc. in the runtime can all be stripped out .. after verifying that we don't need our IR equivalents anywhere else ... clearly we don't since we haven't had that in the runtime all this time (which was the intention)
<subbu>
but, perhaps in some script bootup boundaries, perhaps it is ... i had to add one in Fiber impl. to get those specs passing.
<headius>
yeah that scares me a bit more...not going to touch those yet
<headius>
there's a lot of weird, dark, scary little corners in a project as old as JRuby
anaeem1 has quit [Read error: Connection reset by peer]
<subbu>
headius, understood, but nothing in the new runtime is raising any of those exceptions.
<subbu>
but, probably they serve as good documentation if we need to add our IR equivalents there.
<subbu>
yes.
anaeem1_ has joined #jruby
<headius>
good...we'll have to see about reducing their overhead
<headius>
I saw you removed some sharing/reusing of them
anaeem1_ has quit [Read error: Connection reset by peer]
benlovell has quit [Ping timeout: 245 seconds]
tmio has quit [Quit: tmio]
anaeem1 has joined #jruby
* subbu
steps back into wmf land again
tcrypt is now known as tylersmith
marr has joined #jruby
tenderlove has joined #jruby
<headius>
subbu: yeah I think this aggravated things if nothing else...a number of IR-related invokables were pushing scope in the try...so if scopeIndex was negative then, an error would raise and they'd proceed to make the problem worse
<headius>
someone still had to start the cascade though
<subbu>
right. that first exception is what we shoudl try to find.
<subbu>
and the other thing is if some code is trapping these unrescuable jruby-runtime exceptions instead of letting them percolating out to top.
<headius>
that's possible too
<headius>
everyone loves a good catch-all
nanoyak has quit [Quit: Computer has gone to sleep.]
colinsurprenant has joined #jruby
skade has joined #jruby
<headius>
man, rake spec:ruby:fast ftw
<nirvdrum>
I can try logging all the IR to trace through this, if helpful.
<nirvdrum>
But it sounded like you guys had some housekeeping to do anyway.
<headius>
nirvdrum: yeah wait until next commit
<headius>
then run your scope logging again
<headius>
it shouldn't fall off the end of the world like it did earlier
<headius>
ideally we should be able to pair up pushes and pops and figure out who bailed
<headius>
in a one-line awk script
<nirvdrum>
Ideally it wouldn't fail :-P
<headius>
think of this like House...we're just trying things until the solution becomes obvious :-D
<nirvdrum>
I've yet to see that show. I've been told I would enjoy it by several people, however.
JRubyGithub has joined #jruby
<JRubyGithub>
jruby/master e1334fd Charles Oliver Nutter: Ensure ThreadContext "pre" happens outside try/finally for "post".
<JRubyGithub>
[jruby] jrubyci pushed 1 new commit to master: http://git.io/3_YkBA
JRubyGithub has left #jruby [#jruby]
<headius>
it's pretty entertaining
<nirvdrum>
When I had my ACL surgery a few years back and was on oxycodone everyday, people had fun with that.
rimenes has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
toady00 has quit [Remote host closed the connection]
<headius>
hah
toady00 has joined #jruby
noopq has quit [Ping timeout: 260 seconds]
toady00 has quit [Ping timeout: 240 seconds]
anaeem___ has joined #jruby
anaeem1 has quit [Ping timeout: 245 seconds]
calavera has joined #jruby
tmio has joined #jruby
havenwood has quit [Remote host closed the connection]
havenwood has joined #jruby
havenwood has quit [Remote host closed the connection]
tenderlove has quit [Remote host closed the connection]
nanoyak has joined #jruby
tenderlove has joined #jruby
rsim has quit [Quit: Leaving.]
tmio has quit [Read error: Connection reset by peer]