Index

Show enters and exits. Hide enters and exits.

01:51:38boyscoutSpecs for unpack BbHh. - 0e6ca2f - Brian Ford
01:51:39boyscoutBenchmarks for unpack BbHh. - 262ef72 - Brian Ford
01:51:39boyscoutAdded unpack BbHh. - 01384cd - Brian Ford
01:51:39boyscoutimplement rb_hash in the C API - 5f9d5fa - Duncan Mac-Vicar P
01:51:39boyscoutspec for rb_hash implementation in the C API - 5de99ad - Duncan Mac-Vicar P
01:51:39boyscoutexpose rb_hash in ruby C api - e40249a - Duncan Mac-Vicar P
01:51:39boyscoutFixed C-API specs to run with 1.9.x. - 11de338 - Brian Ford
01:51:40boyscoutFixed rb_hash specs. - fd8659b - Brian Ford
01:51:40boyscoutFixed rb_hash implementation. Closes #446. - 52d6d81 - Brian Ford
01:51:41boyscoutFixed some NORETURN C-API functions. Closes #448. - abc6282 - Brian Ford
01:51:41boyscoutAdded define for RB_NUM_COERCE_FUNCS_NEED_OPID. Closes #447. - d833d57 - Brian Ford
02:02:16boyscoutCI: rubinius: d833d57 successful: 3522 files, 15296 examples, 43150 expectations, 0 failures, 0 errors
03:23:23brixenjakedouglas: did you see my comment on #411 ?
03:23:39brixenjakedouglas: we would really like to fix the issue but we need more info
03:24:36jakedouglasi did not see it. ill take a look.
03:24:44brixenkk
03:25:41jakedouglasi think the reason i used caller() is because i wasnt getting a backtrace..
03:26:03brixenthat would be... odd
03:26:12jakedouglasthat top piece that shows the console
03:26:16jakedouglasis literally all i saw
03:26:21brixenyou'll need to get it from gdb then
03:26:40jakedouglasok. how will i do that?
03:26:56brixensec..
03:28:00jakedouglasyea i think it just spat out that one line error, and then left me at the console. which actually worked fine.
03:28:09jakedouglasi wouldnt have used caller if there was a bt
03:29:53jakedouglasiirc dbussink also had this issue and experienced the same thing
03:29:54brixenjakedouglas: try setting a breakpoint on rubinius::Exception::type_error
03:30:04brixendid dbussink have repro code?
03:30:16brixenif I had repro code, I could fix it
03:30:23brixenI can't guess what your app does :P
03:30:33jakedouglasi understand that
03:30:48brixendo you have time to try this in gdb now?
03:31:16jakedouglasi investigated the issue as far as i could and i gave you all the information i knew how to get. i think dbussink only made it as far as i did.
03:31:59jakedouglasuhmmmm..yea i guess let me see if thats all setup still..
03:40:43jakedouglasthe breakpoint did not hit
03:41:27jakedouglasi enabled bp on all 3 signatures of rubinius::Exception::type_error
03:43:17jakedouglasbtw, i am using a checkout from whenever the last time i was hacking on rbx, like a month ago or something. just fyi.
03:47:07brixenjakedouglas: you get the TypeError but you br is not hit, yes?
03:47:28brixenyour br*
03:48:36brixenjakedouglas: set a br on rubinius::TypeError::raise too
03:49:06brixenalso, use rbx master, please
03:53:14jakedouglasdoes rvm have the ability to pull and do a partial rebuild/install of rbx yet? last time i was doing this it was all fucked up and i had to completely remove and reinstall
03:58:13brixenyou will save yourself untold hours of agony by just cloning rbx
03:58:31brixenclone; ./configure; rake build; run
03:58:58jakedouglasyea but dont i have to set a bazillion paths? what happens when i start invoking scripts that invoke ruby again etc, where does it find/install gems, etc
03:59:40brixenrbx gem install
04:01:29brixenyou can try with rvm, I don't know if the reinstall bug was fixed or not
04:01:45brixensince 1.0 was released and wayne knew about it, I'm guessing it may be fixed
04:02:35jakedouglasyea i've found that its generally just easier to just let it rebuild on rvm, than trying to figure out what script is shelling out to ruby again and how to fix it to use rbx. unfortunately some codebases have stuff like that and it makes it painful
04:03:15brixenyeah
04:03:20jakedouglasit's annoying to rebuild but at least i can go do something else instead of wasting my time tracking shit down
04:37:28jakedouglasbrixen: ok, the breakpoint hit. what now
05:06:44brixenjakedouglas: here's an example http://gist.github.com/555984
05:06:57brixenso, on line 18 of the gist, bt 10
05:07:09brixenthat will give you 10 frames of the C stack
05:07:23brixenfind one that is ::interperter
05:07:32brixenlike on line 28 of the gist
05:07:50brixenfr N where N is the frame number
05:08:00brixenlike line 30 of the gist
05:08:21brixenthen run the command at line 33 of the gist
05:08:31brixenp call_frame->print_backtrace(state)
05:08:42jakedouglasah, i remember this now.
05:16:42jakedouglasCannot access memory at address 0x0
05:16:54brixenarg
05:17:07brixenI need to track that down :(
05:17:12brixenle sigh
05:17:31brixencould you gist me bt
05:17:36jakedouglasok
05:18:27jakedouglashttp://gist.github.com/555994
05:19:15brixenok, that's better than nothing :)
05:19:30brixenany chance you can try to extract some code?
05:19:44jakedouglashow so
05:19:58brixenwell, is this code in the controller, view, model?
05:20:33brixenI'm assuming you are hitting a URL? start slicing it up...
05:21:13brixencould you rp obj ?
05:21:18jakedouglashitting a URL? did you read the original ticket at all?
05:21:50jakedouglasthis is when script/console loads
05:22:04brixenah yes
05:22:18brixenit's a vanilla rails app?
05:22:26brixenif not, then some of your code is running
05:22:35brixenI don't know what that is
05:22:59brixenI'm fixing other bugs, sorry ;)
05:23:09jakedouglasok. you asked me to help you, so i tried.
05:24:03brixenyeah, remote debugging is a PITA
05:24:06jakedouglasyep
05:24:42brixenare you still in gdb?
05:25:30jakedouglasno, but i could be
05:26:37jakedouglasim more than happy to let you guys do it on skype or similar, most of these things end up being very obvious to you guys given the right information. the problem is that it takes 25 back-and-forths with me to get the right information, but you could do it easily if the problem was in front of you
05:27:19jakedouglasthe same issue occurs on a fresh rails 2.1.2 app.
05:28:02brixenok! then that's easy
05:28:24brixencan you gist me exactly what you did to get it?
05:29:40brixenugh gem uninstall...
05:30:15jakedouglasgem install rails -v=2.1.2; rails new_app; cd new_app; script/console
05:30:51brixenk, I installed 2.1.2 but need to clean out the rest to make sure it's isolated
07:11:32boyscoutSpecs for RBIGNUM_SIGN. - e1071b5 - Brian Ford
07:11:33boyscoutAdded RBIGNUM_SIGN. - b611152 - Brian Ford
07:22:10boyscoutCI: rubinius: b611152 successful: 3522 files, 15298 examples, 43152 expectations, 0 failures, 0 errors
19:39:06ezmobiushttp://mozakai.blogspot.com/2010/08/emscripten-llvm-to-javascript-compiler.html rubinius in the browser someday?
19:47:46dbussinkezmobius: that would be quite a lot of steps :P
19:59:23duncanmvThere was an error loading the compiler.
19:59:25duncanmvIt appears that your compiler is out of date with the VM.
19:59:26duncanmvPlease use 'rbx --rebuild-compiler' or 'rake [instal]' to
19:59:28duncanmvwhat is that?
19:59:40duncanmvI mean, how rake clean does not fix it?
21:13:53brixenduncanmv: context please, are you using rvm? trying to install rbx and moving stuff? editing files? ...
21:25:35duncanmvI am using rvm, 1.8.7
21:25:42duncanmvno, I am not installing, just building
21:25:56duncanmvyes, I have modified files, but I guess nothing relevant
21:26:12duncanmvhttp://gist.github.com/556700
21:27:56brixenif you're working on rbx, you should do it in a direct clone
21:28:21brixenyou've modified something in the parser, compiler chain and you've not rebuilt
21:28:46brixenso rbx tries to load and discovers that the .rbc signature for the bytecode compiler is not the signature the vm expects
21:38:24duncanmvI haven touched the compiler
21:38:37duncanmvand I try rake clean to build from scratch
21:44:37brixenwell, do it in a clone
21:44:57duncanmvwhat can change the signature of the bytecode?
21:46:02duncanmv** Invoke nkf-utf8/nkf.c (first_time, not_needed)
21:46:04duncanmv** Invoke nkf-utf8/utf8tbl.c (first_time, not_needed)
21:46:05duncanmv** Invoke nkf.c (not_needed)
21:46:06duncanmv** Execute build
21:46:08duncanmv** Invoke extensions:openssl (first_time)
21:46:09duncanmv** Execute extensions:openssl
21:46:11duncanmv/space/git/rubinius/bin/rbx-build extconf.rb
21:46:13duncanmvThere was an error loading the compiler.
21:46:14duncanmvIt appears that your compiler is out of date with the VM.
21:46:15duncanmvwith --trace
21:46:53brixenrakelib/kernel.rake:105
21:47:44brixenyou're probably trying to build with the rbx that you have installed
21:47:47brixenyou can't do that
21:47:58brixenthe rbx you have installed and have changed
21:48:13brixenrbx must be built completely by a separate ruby instance
21:48:53duncanmvI haven't installed rbx at all
21:49:04brixenif you are using rvm, you have
21:49:18brixenin whatever way rvm works
21:49:21duncanmvbut it is not accessible for the build or?
21:49:39brixenhonestly, I don't know
21:50:09brixenI can tell you what I know: you must bootstrap rbx
21:50:09duncanmvinteresting
21:50:15duncanmvI removed rvm 's rbx
21:50:19duncanmvand now it went further
21:50:22duncanmvthat is a bug
21:50:29duncanmvwayneeseguin: ?
21:50:35brixenie, you must use a separate, complete ruby instance to bootstrap rbx
21:51:28brixenrvm is a tool to use various rubies, I don't think it's a dev tool
21:52:44duncanmvthat is the point
21:52:52duncanmvI use rvm ruby 1.8.7 to build rubinius
21:53:04duncanmvthere is a rbx in rvm too, but it is not accessible until I do rvm use rbx
21:53:18brixenmaybe?
21:53:23brixenin a perfect world?
21:53:41brixenif you dev rbx in a clone with a normally installed ruby, you will have no issue
21:53:51brixenbecause I have 1000s of hrs doing that
21:54:09brixenif you use rvm, you are probably making some assumptions that we don't know about
21:54:17brixenand that complicates things greatly
21:56:31duncanmvI use also rvm to test rb
21:56:33duncanmvrbx
21:56:40duncanmvI build rbx-head from my git repo
21:56:44duncanmvso I can test gems
21:56:56duncanmvI don't know how to create an environment with my current git rbx
21:57:00duncanmvwithout "installing" it
21:57:37brixenwell, there's a couple ideas here...
21:57:51brixenrbx will run perfectly fine in it's build dir
21:58:19brixenthe only problem with that is software (like rails) that expects to exec 'ruby' to run the ruby exe
21:58:34brixenthose are all unequivocal bugs and need to be fixed
21:58:54brixenmost gems you can run from just rbx gem install foo; rbx -S foo_exe
21:58:59brixenfrom the build dir directly
21:59:31brixenwhat would be cool with rvm (and maybe this exists), is to be able to tell rvm to use path/to/rbx/git/clone when it runs rvm install rbx
22:00:08brixenthen you could dev in a git clone, and plop that into an rvm instance install to test as a generic "ruby"
22:01:52duncanmvthat is what I do
22:02:24duncanmvduncan@linux-llxy:/space/git/rubinius> cat ~/.rvm/config/user
22:02:26duncanmv# Users settings file, overrides db file settings and persists across installs.
22:02:27duncanmvrubinius_repo_url=git://github.com/dmacvicar/rubinius.git
22:02:49duncanmvbut I did not understand why rbx build system found the installed rbx
22:02:55duncanmvit is not in path
22:03:02brixenthen the only thing you probably have to worry about is having rbx activated and trying to build with that
22:03:03duncanmvunless I do rvm use rbx-head
22:03:18duncanmvI alwyas build with rvm use 1.8.7
22:03:50brixenmust be a rvm bug then
22:04:18duncanmvactually now that I removed rbx from rvm
22:04:28duncanmvrubinius build system cant build the capi specs
22:04:30duncanmvAn exception occurred during: loading /space/git/rubinius/spec/ruby/optional/capi/time_spec.rb ERROR
22:04:32duncanmvErrno::ENOENT: No such file or directory - /home/duncan/.rvm/rubies/rbx-head/include/ruby.h
22:05:19duncanmvok, for some reason , I was on rvm rbx-head :-/
22:05:22duncanmvmmmm
22:05:25brixenhaha
22:05:28brixenoh man
22:06:15duncanmvbut with 1.8.7 happens the same, I need to reconfigure from scratch
22:06:18brixengive someone two ways to do something, one of which will result in catastrophic system failure, and that will be the way chosen
22:06:21duncanmvrake clean is the most clean-clean-clean?
22:06:42brixenrake clean is a "build" clean
22:06:49brixenie, it cleans rbx artifacts
22:06:53duncanmvhow can I remove the cfg cache?
22:07:02brixenrake distclean cleans rbx and external libs artifacts
22:07:12brixenI don't know what the cfg cache is
22:43:16boyscoutSpecs for Float#divmod bug, issue #451 - 70a3f04 - Ivan Evtukhovich
22:43:16boyscoutFixes Float#divmod bug. Closes #451. - 0141e58 - Ivan Evtukhovich
22:53:01boyscoutCI: rubinius: 0141e58 successful: 3522 files, 15298 examples, 43156 expectations, 0 failures, 0 errors