@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14



Comments:

<0> f00li5h, looks like a bug in the parser
<1> pff
<1> the pasrser is fine
<2> Good morning happy campers.
<1> integral!
<3> puddingpimp_work: try to reduce the program to a minimal test that still segfaults.
<1> puddingpimp_work: can you redue-- never mind
<0> ok
<3> f00li5h: I got the parser to segfault too.



<4> @args=("/usr/local/bin/ivtv-tune","-c","$chan"); system(@args); and it doesn't run :(
<0> I have work to do, I will post a condensed breaker tomorrow if someone else doesn't
<1> Nemoder_: what does happen?
<4> the script runs, no errors, just no change in the program
<3> eval: sub func1{my ($i, $j) = @_; sub { return [ $i->func2(); ]; };}
<5> rindolf: (eval):23: [BUG] Segmentation fault ruby 1.8.5 (2006-08-25) [i486-linux]
<3> f00li5h: ^^^
<1> ruby?
<2> GumbyBRAIN: So for the christmas pudding it was a pretty sad time, but the elves knew that things would get better.
<6> The elves told me it means "square.
<0> ruby???
<4> f00li5h: system() returns 0 as if it executed fine but it doesn't change the channel like it does when I run the same command in a shell
<1> Nemoder_: so what's in that variable?
<4> what the form p***ed to it, in this case "8"
<1> Nemoder_: are you sure?
<4> yes
<1> really sure?
<0> do I win a koopy doll for finding a bug?
<1> puddingpimp_work: yeah, you sure do
<4> print $chan; directly before that returns 8
<0> w00tang
<1> GumbyBRAIN: do i win a cooper if i get enough coins?
<6> Why am i going to win, but the bindings are not enough?
<4> f00li5h: I can get rid of the variable and set it to 8 right there and it still fails
<1> Nemoder_: hrm, that's odd
<3> Nemoder_: are you sure the Apache user has all the right permissions?
<3> Nemoder_: including file permissions to write?
<4> rindolf: write permissions to the program? that doesn't make sense
<4> but it's the same user that I log in to run the command on a shell though
<0> f00li5h, your condensed breaker segfaults on 5.8.6 as well as 5.8.8
<1> Nemoder_: correct permissions ...
<1> puddingpimp_work: it's not mine...



<0> on both my 64bit and 32bit machines
<0> f00li5h, apologies to rindolf
<4> f00li5h: the permissions don't seem to be an issue, as sure as I can be that they are right
<1> Nemoder_: i was just pointing out that you mis-read rindolf's suggestion
<1> Nemoder_: do you need environment variables that you have in the shell but not accessable when run from the perl script?
<3> puddingpimp_work: see http://use.perl.org/comments.pl?sid=33840
<3> http://use.perl.org/~Shlomi+Fish/journal/31775
<4> f00li5h: the perl script runs ok, just not via apache.. if it's a permissions problem I'm not sure how to fix it
<1> hrm
<4> f00li5h: I don't see any environment vars that would mess with it
<1> Nemoder_: what happens if you run it as apache?
<4> f00li5h: I'm pretty sure I configured apache to run under the user I've been testing it under
<4> f00li5h: but I'm not sure how to verify that
<1> Nemoder_: stick a print `id`;# at the top
<4> f00li5h: ok yes it's the correct user then
<1> right
<1> does the thing you're running produce output that can be read?
<1> perhaps STDERR is going to error_log
<4> yeah
<1> and you can view it
<1> or maybe a -v?
<4> it has one line of output on success
<4> but I'm not getting any errors in apache2's log
<4> the system() call returns 0
<1> does it really return 0?
<4> system(@args) == 0 or die "system @args failed: $?"
<4> it never prints an error
<1> deparse: system(@args) == 0 or die "system @args failed: $?"
<5> ((system(@args) == 0) or die("system @args failed: $?"));
<4> well the CR didn't paste right but yeah
<1> Nemoder_: i just wanted to make sure == was beating C< or >
<7> Captain on the bridge!
<8> As you were, men.
<4> I suppose if it works fine on a preconfigured perl script then it must be a problem with apache, but I have no idea what
<6> Actually i like the mattresses he had always ***umed it was a big-fat-****off-note to the illuminations. They fired salutes from the coasts kept showing up for a walk in the gumbybrain.


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #perl
or
Go to some related logs:

pythonce spawn
+net install AND Libretto 70CT
flashget stop at 99%
raid controller etch dl140
xorg.conf viewsonic G810
#ubuntu
#perl
wizard123
stompboxes make error
iptables match incoming interface IP



Home  |  disclaimer  |  contact  |  submit quotes