Perl 6 - the future is here, just unevenly distributed

IRC log for #sdl, 2013-09-04

| Channels | #sdl index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:02 FROGGS_ joined #sdl
04:26 robn joined #sdl
07:00 FROGGS_ joined #sdl
07:07 dod joined #sdl
07:13 dod joined #sdl
08:10 dod Hello. Could someone have a look on the sdl 2.540 test failure seen on Debian ia64 and armhf ? https://github.com/PerlGameDev/SDL/issues/249
08:15 FROGGS_ Hi dod
08:16 FROGGS_ I think only kthakore can actually say what it is supposed to do
08:21 dod FROGGS_: hi. ok. I'll wait for kthakore comments. thanks
10:33 daxim joined #sdl
11:54 dod joined #sdl
12:11 mtj joined #sdl
13:59 kaare joined #sdl
14:44 jamesw joined #sdl
14:44 FROGGS joined #sdl
14:46 jamesw joined #sdl
15:04 kthakore dod: ping
15:04 kthakore hi FROGGS
15:05 dod kthakore: hi
15:05 kthakore dod: may I get access to that machine to debug the problem?
15:05 FROGGS hi kthakore
15:05 FROGGS unlikely I guess
15:05 kthakore I need to run gdb and add some print statements
15:05 kthakore oh ... is it replicable?
15:05 * kthakore wonders how FROGGS' eye is?
15:05 dod well, this machine is part of Debian systems. I have access because I'm a Debian developer
15:06 kthakore cool
15:06 kthakore can you find out the where the loop is running (line of code in the test)
15:06 kthakore and then make a single script for that section and run with gdb ?
15:06 kthakore also I need the patches etc applied to that SDL libraries
15:07 kthakore dod: I think I know what it is but need more information
15:07 dod the last part is easier :-)
15:07 kthakore :)
15:07 FROGGS kthakore: ô.o <--- almost okay
15:07 kthakore sorry these fuckers are hard to debug
15:07 kthakore FROGGS: \yay!
15:08 dod here are the patches applied to perl-SDL: http://patch-tracker.debian.org/package/libsdl-perl/2.540-2
15:09 dod likewise for sdl: http://patch-tracker.debian.org/package/libsdl1.2/1.2.15-6
15:11 * dod is rebuilding package on ia64 to be able to run test
15:12 kthakore \yay/
15:12 kthakore haha "makes lintian happy :D http://patch-tracker.debian.org/patch/series/view/libsdl-perl/2.540-2/fix_spelling "
15:13 kthakore FROGGS: ^^ hilariousity
15:14 FROGGS we should check if we can adapt these
15:14 kthakore ok dod did the problem start with perl 5.18 or was there this problem with earlier release?
15:14 kthakore FROGGS: the spelling yes
15:14 kthakore not the hardcored ttf font
15:14 kthakore that would brake a lot
15:14 dod we did not see this problem before 5.18
15:14 kthakore ok
15:14 * kthakore looks at 5.18 changes
15:14 kthakore dod: so 5.14.2 and 5.16 worked?
15:15 dod 5,14 yes. We skipped 5.16
15:15 kthakore ok
15:15 kthakore FROGGS: we use PL_sv_objcount someplace no?
15:15 * kthakore doing grep
15:16 dod Both ia64 or armhf are not very fast system. is64 runs at about 1.5Ghz
15:16 FROGGS dont think so
15:17 kthakore dod: shouldn't be problem
15:18 kthakore wondering if we depend on PL_sv_objcount
15:18 kthakore cause we do mess with reference counts
15:20 dod how do I run a single test ? perl -Iblib/lib does not work ...
15:20 * dod is not used to XS
15:21 kthakore perl Build test --test_files t/...
15:21 kthakore I think
15:21 kthakore FROGGS: ?
15:21 perigrin prove -lwv t/path/to/test.t
15:21 kthakore woah I was right
15:22 kthakore perigrin: nah ... messes up the XS stuff
15:22 perigrin really? I thought prove picked up blib too
15:22 kthakore dod: perl Build test --test_files t/..
15:22 perigrin if you'd run make already
15:22 perigrin or build
15:22 kthakore perigrin: hmm might have changed. But we have our own loader
15:22 kthakore we use Module::Build and inc/Module::Build to make a autoshare stuff
15:23 kthakore also hola perigrin
15:23 dod kthakore: that works, but I don't have verbose output
15:23 kthakore dod --verbose
15:24 * dod slaps head
15:25 dod kthakore: http://paste.debian.net/34983/
15:26 kthakore crap
15:26 kthakore something is not incrementing
15:26 kthakore wtf perl 5.18
15:27 kthakore what the fuck
15:27 dod we most often got bitten by hash randomisation
15:29 kthakore dod: OMFG ... I forgot about that
15:29 kthakore shit fuck cock cunt crap
15:29 * kthakore head slaps
15:29 * dod is learning english today
15:29 kthakore 0o
15:30 kthakore YAYYYYYA code review
15:30 kthakore time
15:31 kthakore dod: can you add  print '0:' . $counts->[0] . ' 1:' . $counts->[1] . ' 2:' . $counts->[2]. "\n"; after this line  https://github.com/PerlGameDev/SDL/blob/master/t/sdlx_controller_interface.t#L95
15:31 dod ok
15:31 kthakore and run again
15:31 dod sure
15:31 kthakore file is in t/sdlx..
15:32 kthakore dod: Altough the hash randomization is prolly a good thing. Forces me to not depend on it being ordered.
15:32 dod yeah, but it tends to muck up tests :-p
15:33 kthakore yeah it does
15:33 kthakore I think that is what is happening here
15:33 kthakore I can't even believe I remmber this code
15:33 kthakore soooo little docs
15:33 * kthakore should doc the tests codes for SDL2
15:35 dod here we go: http://paste.debian.net/34994/
15:38 kthakore can you put print $counts->[0] . "\n"; after line 87 ?
15:39 dod sure
15:39 dod in the event handler ?
15:39 kthakore yup
15:39 kthakore looks like that isn't running
15:39 kthakore also move line 83 after line 91;
15:40 kthakore err
15:40 kthakore no duplicate it
15:41 dod k
15:41 kthakore are there any patches on perl 5.18 ?
15:41 dod probably
15:42 dod -> http://patch-tracker.debian.org/package/perl/5.18.1-3
15:43 dod no difference in the test output. The event handler is not run
15:43 kthakore fuckkk
15:44 kthakore ok well I guess I have to find out why events are not pumping
15:45 dod weird thing: the test runs whether xvfb-run is used or not. I would expect it to fail initialisation if no DISPLAY is found
15:46 kthakore we use a dummy video driver
15:46 dod ok
15:46 kthakore it is writing to /dev/null
15:46 kthakore cause some people use SDL on servers to draw BMPs or images
15:46 dod ah ok
15:46 kthakore well ... people = me so far
15:47 kthakore check it out I made my masters project with that
15:47 kthakore http://simcam.imaging.robarts.ca/
15:47 kthakore sorry I just finished my thesis penultimate revision yesterday
15:48 kthakore so I am a proud cock showing off my shit yo
15:48 dod understandable :-)
15:48 mtj joined #sdl
15:49 kthakore hit mtj
15:49 kthakore hi*
15:49 kthakore dod: I am going to have to make a patch or something cause I need to debug a lot by print lines now
15:49 kthakore dod: no way I can ssh to the machine?
15:49 dod let me check the doc ...
15:55 kthakore kk
15:57 dod there's a way where you send me an email, I relay that to debian admin, you send your public key somewhere and then you have access. May take a few days to setup: http://dsa.debian.org/doc/guest-account/
16:18 dod kthakore: you can also send me a patch that I'll apply on the test running on ia64
16:18 dod or a new test file ...
16:18 kthakore ok
16:18 kthakore dod: I will do that in a bit
16:18 kthakore have to go work
16:18 dod ok
17:48 kthakore joined #sdl
18:10 scanlonman joined #sdl
21:03 perlite_ joined #sdl

| Channels | #sdl index | Today | | Search | Google Search | Plain-Text | summary