Bug#564772: libjavascript-perl: Segfaults with wpad extraction code

2010-01-12 Thread Niko Tyni
On Mon, Jan 11, 2010 at 10:07:41PM +0100, Petter Reinholdtsen wrote: Package: libjavascript-perl For etch, I wrote a script to extract the proxy setting from a WPAD script to be able to update /etc/environment at boot. When trying to use it with Debian Edu based on Lenny, the script fail

Bug#564772: libjavascript-perl: Segfaults with wpad extraction code

2010-01-12 Thread Petter Reinholdtsen
[Niko Tyni] Using just 'die $@ if $@' for that shows the actual problem: Where? I tried adding this myself after the eval() calls, but did not get any such message. Hope this helps, This helped a lot. Now the script is working, and we can move forward and integrate it into Debian Edu. :)

Bug#564772: libjavascript-perl: Segfaults with wpad extraction code

2010-01-12 Thread Niko Tyni
On Tue, Jan 12, 2010 at 10:49:54AM +0100, Petter Reinholdtsen wrote: [Niko Tyni] Using just 'die $@ if $@' for that shows the actual problem: Where? I tried adding this myself after the eval() calls, but did not get any such message. Those succeed because the JS subroutines compile fine.

Bug#564772: libjavascript-perl: Segfaults with wpad extraction code

2010-01-12 Thread gregor herrmann
On Tue, 12 Jan 2010 11:11:10 +0200, Niko Tyni wrote: I haven't really investigated the segfault: given that there's an error indicator before it happens and that it's fixed in sid, I don't think it's worth the effort trying to fix it in lenny. YMMV of course. Thanks for your quick analysis,

Bug#564772: libjavascript-perl: Segfaults with wpad extraction code

2010-01-12 Thread Niko Tyni
close 564772 1.12-1 tag 564772 patch lenny thanks On Tue, Jan 12, 2010 at 11:11:10AM +0200, Niko Tyni wrote: I haven't really investigated the segfault: given that there's an error indicator before it happens and that it's fixed in sid, I don't think it's worth the effort trying to fix it in

Bug#564772: libjavascript-perl: Segfaults with wpad extraction code

2010-01-11 Thread Petter Reinholdtsen
Package: libjavascript-perl Version: 1.08-1+b1 Severity: important User: debian-...@lists.debian.org UserTags: debian-edu For etch, I wrote a script to extract the proxy setting from a WPAD script to be able to update /etc/environment at boot. When trying to use it with Debian Edu based

Bug#564772: libjavascript-perl: Segfaults with wpad extraction code

2010-01-11 Thread Petter Reinholdtsen
I tried with a backported libjavascript-perl 1.14-1 (replaced the debian/rules file and reduced the versioned dependencies on quild and debhelper), and with this version the segfault is gone but the script is still unable to extract the proxy setting. To be clear, the expected output from the