From scott at illogics.org Fri Jan 5 03:59:10 2007 From: scott at illogics.org (Scott Walters) Date: Fri, 5 Jan 2007 11:59:10 +0000 Subject: [Phoenix-pm] Fwd: [perl #41188] Segfault due to a semicolon inside a dynamic array ref. Message-ID: <20070105115910.GE1027@straylight> ----- Forwarded message from Shlomi Fish ----- # New Ticket Created by Shlomi Fish # Please include the string: [perl #41188] # in the subject line of all future correspondence about this issue. # This is a bug report for perl from shlomif at iglu.org.il, generated with the help of perlbug 1.35 running under perl v5.8.8. ----------------------------------------------------------------- [Please enter your report here] This is a reopening of: http://rt.perl.org/rt3/Public/Bug/Display.html?id=40995 Because the latter was closed without having being fixed beforehand. The following script is a test case for a segfault I'm getting in the compilation phase because of a semicolon inside an dynamic array ref. The code can be taken out of the eval, but then it would be harder to test, and with the eval the problem is still reproduced. <<<<<<<<<<<<<<<<<< use strict; use warnings; use Test::More tests => 1; eval <<'EOF'; sub func1 { my ($i, $j) = @_; sub { return [ $i->func2(); ]; }; } EOF # TEST ok(1, "Test compilation of semicolon inside [ ... ]"); >>>>>>>>>>>>>>>>>> Regards, Shlomi Fish http://www.shlomifish.org/ ferreira2 said: <<<<< In Cygwin, I got $ perl h.pl 7 [main] perl 1856 _cygtls::handle_exceptions: Error while dumping state ( probably corrupted stack) Segmentation fault (core dumped) This code still segfault: sub { my ($i, $j) = @_; sub { [ $i->f(); ] }; } but not this sub { my ($i) = @_; sub { [ $i->f(); ] }; } which dies $ perl h.pl syntax error at h.pl line 6, near ");" syntax error at h.pl line 7, near "}" Execution of h.pl aborted due to compilation errors. >>>>>>>> And then I said: <<<<<<<<<<<<<<<< Hi, I see you closed the bug as resolved because it does not happen in bleadperl. Well, not so fast, please. What still needs to be done is: 1. Add this as a test-case to the perl 5 test-suite. 2. Write a patch for the perl-5.8.x line. (Which is still heavily used). 3. Investigate the crash, and see if it poses security risks. This problem may possibly be used to crash programs that let the user evaluate Perl code. (such as eval IRC bots, PostgreSQL's PL/Perl etc.), so it also needs to be fixed in 5.8.x. Regards, Shlomi Fish On Mon Nov 27 09:52:54 2006, rafael wrote: > From my tests, this appears to be resolved in bleadperl. >>>>>>>>>>>>>>>> [Please do not change anything below this line] ----------------------------------------------------------------- --- Flags: category=core severity=medium --- Site configuration information for perl v5.8.8: Configured by Mandriva at Fri Sep 8 20:00:54 CEST 2006. Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=linux, osvers=2.6.12-12mdksmp, archname=i386-linux uname='linux n4.mandriva.com 2.6.12-12mdksmp #1 smp fri sep 9 17:43:23 cest 2005 i686 intel(r) xeon(tm) cpu 2.80ghz gnulinux ' config_args='-des -Dinc_version_list=5.8.7 5.8.7/i386-linux 5.8.6 5.8.6/i386-linux 5.8.5 5.8.4 5.8.3 5.8.2 5.8.1 5.8.0 5.6.1 5.6.0 -Darchname=i386-linux -Dcc=gcc -Doptimize=-O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dsitebin=/usr/local/bin -Dsiteman1dir=/usr/local/share/man/man1 -Dsiteman3dir=/usr/local/share/man/man3 -Dman3ext=3pm -Dcf_by=Mandriva -Dmyhostname=localhost -Dperladmin=root at localhost -Dcf_email=root at localhost -Dd_dosuid -Ud_csh -Duseshrplib' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables', cppflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='4.1.1 20060724 (prerelease) (4.1.1-3mdk)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lndbm -lgdbm -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.4.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.4' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux/CORE' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib' Locally applied patches: Mandriva Linux patches --- @INC for perl v5.8.8: /home/shlomi/apps/perl/modules/lib/perl5/site_perl/5.8.8//i386-linux /home/shlomi/apps/perl/modules/lib/perl5/site_perl/5.8.8/ /home/shlomi/apps/perl/modules/lib/perl5/5.8.8/i386-linux /home/shlomi/apps/perl/modules/lib/perl5/5.8.8 /usr/lib/perl5/5.8.8/i386-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i386-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.7/i386-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.6/i386-linux /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl . --- Environment for perl v5.8.8: HOME=/home/shlomi LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ADDRESS=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_NAME=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_SOURCED=1 LC_TELEPHONE=en_US.UTF-8 LC_TIME=en_US.UTF-8 LD_LIBRARY_PATH=/usr/local/apps/svn-repos/lib/ LOGDIR (unset) PATH=/home/shlomi/apps/perl/modules/bin:/home/shlomi/apps/latemp/bin:/home/shlomi/apps/file/gringotts/bin:/home/shlomi/apps/gimageview/bin:/home/shlomi/apps/test/quadpres/bin:/usr/local/apps/svn-repos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games:/usr/lib/qt3//bin:/home/shlomi/bin:/usr/lib/ssh:/usr/lib/qt3//bin PERL5LIB=/home/shlomi/apps/perl/modules/lib/perl5/site_perl/5.8.8/:/home/shlomi/apps/perl/modules/lib/perl5/5.8.8 PERL_BADLANG (unset) SHELL=/bin/bash ----- End forwarded message ----- From scott at illogics.org Fri Jan 5 07:50:52 2007 From: scott at illogics.org (Scott Walters) Date: Fri, 5 Jan 2007 15:50:52 +0000 Subject: [Phoenix-pm] Perl book review links for http://phoenix.pm.org/wiki/wiki.cgi?PerlBookReviews Message-ID: <20070105155052.GI1027@straylight> Hi everyone, http://phoenix.pm.org/wiki/wiki.cgi?PerlBookReviews is getting a bit stale. Have some spare time? Go Google up reviews, or write mini-reviews, for your favorite Perl books and add them to the list. The password is 'brock2'. Obviously you shouldn't include links to reviews you don't agree with (or reviews written by idiots) as this page represents our prestigious organization >=) This is part of Project Be Friendly With O'Reilly. I adore getting books in the mail and I'm more than willing to sell out the group in persuit of that ;) Cheers, -scott From scott at illogics.org Tue Jan 23 02:09:38 2007 From: scott at illogics.org (Scott Walters) Date: Tue, 23 Jan 2007 10:09:38 +0000 Subject: [Phoenix-pm] Meeting follow-up In-Reply-To: <20061209062723.GN17981@thelackthereof.org> References: <20061209062723.GN17981@thelackthereof.org> Message-ID: <20070123100938.GC9140@straylight> Hi all, In my estimate, we're due for another meeting. Cheers, -scott On 0, Brock wrote: > Good meeting on Wednesday, thanks again to SCC for hosting us. > > Derek gave us an intro to Unit Testing and showed off some work-related > examples. Also got a peak into his development environment which was > pretty neat. Mostly a good vim setup and usage, but we also talked about > SVN (and svk/darcs, and mentioned ack). > > Derek, send me your slides and I'll put them up on the website. > > --Brock > > _______________________________________________ > Phoenix-pm mailing list > Phoenix-pm at pm.org > http://mail.pm.org/mailman/listinfo/phoenix-pm From scott at illogics.org Tue Jan 30 08:55:35 2007 From: scott at illogics.org (Scott Walters) Date: Tue, 30 Jan 2007 16:55:35 +0000 Subject: [Phoenix-pm] Andy Lester coming just to speak for us! Vote on the presentation topic Message-ID: <20070130165535.GR2993@straylight> Hi everyone, We basically have enough pledges (thanks for everyone who pledged!), so we're going to do this thing. We're flying out author, speaker, and long time Perl hacker and advocate, Andy Lester. Andy asked what he should speak on, and I'm defering that to the group at large. Here are some starting points. If you happen to know of something else you suspect Andy would speak on, feel free to add to the list. 1. Pragmatic Job Hunting (from the title of his in-progress book) 2. Get out of Technical Debt Now! 3. SocialText (technical goodies relating to his current employer/project) 4. Preventing Crisis: Project Estimation And Tracking That Works (a talk he's previous done) 5. WWW::Mechanize (field stories, examples, behind the scenes) (Andy created this well-known module) 6. Pro Perl Debugging (talk on the subject of his previous Perl book) Every vote counts, so speak up! Cheers, -scott From scott at illogics.org Tue Jan 30 09:30:35 2007 From: scott at illogics.org (Scott Walters) Date: Tue, 30 Jan 2007 17:30:35 +0000 Subject: [Phoenix-pm] Andy Lester coming just to speak for us! Vote on the presentation topic In-Reply-To: <20070130165535.GR2993@straylight> References: <20070130165535.GR2993@straylight> Message-ID: <20070130173035.GS2993@straylight> Here's some bio stuff and other linkage for Andy. http://search.cpan.org/~petdance/ # CPAN Modules http://petdance.com/perl/ # Previous talks and presentations http://www.socialtext.net/stoss/index.cgi # SocialText (employer) http://petdance.com/blog/ # Blog http://www.oreillynet.com/pub/au/1249 # ORA authors page http://petdance.com/perl/geek-culture/ # Telling bit of writing =) http://www.apress.com/book/bookDisplay.html?bID=399 # Pro Perl Debugging -scott On 0, Scott Walters wrote: > Hi everyone, > > We basically have enough pledges (thanks for everyone who pledged!), so we're > going to do this thing. We're flying out author, speaker, and long time Perl > hacker and advocate, Andy Lester. > > Andy asked what he should speak on, and I'm defering that to the group at large. > Here are some starting points. If you happen to know of something else you > suspect Andy would speak on, feel free to add to the list. > > 1. Pragmatic Job Hunting (from the title of his in-progress book) > 2. Get out of Technical Debt Now! > 3. SocialText (technical goodies relating to his current employer/project) > 4. Preventing Crisis: Project Estimation And Tracking That Works > (a talk he's previous done) > 5. WWW::Mechanize (field stories, examples, behind the scenes) > (Andy created this well-known module) > 6. Pro Perl Debugging > (talk on the subject of his previous Perl book) > > Every vote counts, so speak up! > > Cheers, > -scott > > > _______________________________________________ > Phoenix-pm mailing list > Phoenix-pm at pm.org > http://mail.pm.org/mailman/listinfo/phoenix-pm From awwaiid at thelackthereof.org Tue Jan 30 17:11:04 2007 From: awwaiid at thelackthereof.org (Brock) Date: Tue, 30 Jan 2007 18:11:04 -0700 Subject: [Phoenix-pm] Andy Lester coming just to speak for us! Vote on the presentation topic In-Reply-To: <20070130165535.GR2993@straylight> References: <20070130165535.GR2993@straylight> Message-ID: <20070131011104.GD6489@thelackthereof.org> While I'm a very big fan of technical talks... the actual stress in my life comes from scheduling. So I vote for (4) "Preventing Crisis". --Brock On 2007.01.30.16.55, Scott Walters wrote: | Hi everyone, | | We basically have enough pledges (thanks for everyone who pledged!), so we're | going to do this thing. We're flying out author, speaker, and long time Perl | hacker and advocate, Andy Lester. | | Andy asked what he should speak on, and I'm defering that to the group at large. | Here are some starting points. If you happen to know of something else you | suspect Andy would speak on, feel free to add to the list. | | 1. Pragmatic Job Hunting (from the title of his in-progress book) | 2. Get out of Technical Debt Now! | 3. SocialText (technical goodies relating to his current employer/project) | 4. Preventing Crisis: Project Estimation And Tracking That Works | (a talk he's previous done) | 5. WWW::Mechanize (field stories, examples, behind the scenes) | (Andy created this well-known module) | 6. Pro Perl Debugging | (talk on the subject of his previous Perl book) | | Every vote counts, so speak up! | | Cheers, | -scott | | | _______________________________________________ | Phoenix-pm mailing list | Phoenix-pm at pm.org | http://mail.pm.org/mailman/listinfo/phoenix-pm From benjamin.trussell at asu.edu Wed Jan 31 16:18:40 2007 From: benjamin.trussell at asu.edu (Benjamin Trussell) Date: Wed, 31 Jan 2007 17:18:40 -0700 Subject: [Phoenix-pm] Andy Lester coming just to speak for us! Vote onthe presentation topic References: <20070130165535.GR2993@straylight> <20070131011104.GD6489@thelackthereof.org> Message-ID: <037FF41095AD394DB28A3991559A0FB403428A65@EX04.asurite.ad.asu.edu> As I've been a lurker lately though I did pledge (and I do intend to fulfill that pledge), I'd have to go with Brock's choice of topics. Mind you I'm also opting for this choice as a choice for my own sake, since I'd like to hear the topic just to learn more about estimation and consulting in general. Could we by change meet on a Monday, Wednesday, or Friday (or a Sat or Sun)? I'm taking an evening class on Tuesday's and Thursday's this semester. And I realize of course that Andy Lester's schedule and the group as a whole have a lot more to do with things than one person's class schedule :-) - Ben > -----Original Message----- > From: phoenix-pm-bounces+benjamin.trussell=asu.edu at pm.org [mailto:phoenix- > pm-bounces+benjamin.trussell=asu.edu at pm.org] On Behalf Of Brock > Sent: Tuesday, January 30, 2007 6:11 PM > To: Scott Walters > Cc: phoenix-pm at pm.org > Subject: Re: [Phoenix-pm] Andy Lester coming just to speak for us! Vote > onthe presentation topic > > While I'm a very big fan of technical talks... the actual stress in my > life comes from scheduling. So I vote for (4) "Preventing Crisis". > > --Brock > > On 2007.01.30.16.55, Scott Walters wrote: > | Hi everyone, > | > | We basically have enough pledges (thanks for everyone who pledged!), so > we're > | going to do this thing. We're flying out author, speaker, and long time > Perl > | hacker and advocate, Andy Lester. > | > | Andy asked what he should speak on, and I'm defering that to the group > at large. > | Here are some starting points. If you happen to know of something else > you > | suspect Andy would speak on, feel free to add to the list. > | > | 1. Pragmatic Job Hunting (from the title of his in-progress book) > | 2. Get out of Technical Debt Now! > | 3. SocialText (technical goodies relating to his current > employer/project) > | 4. Preventing Crisis: Project Estimation And Tracking That Works > | (a talk he's previous done) > | 5. WWW::Mechanize (field stories, examples, behind the scenes) > | (Andy created this well-known module) > | 6. Pro Perl Debugging > | (talk on the subject of his previous Perl book) > | > | Every vote counts, so speak up! > | > | Cheers, > | -scott > | > | > | _______________________________________________ > | Phoenix-pm mailing list > | Phoenix-pm at pm.org > | http://mail.pm.org/mailman/listinfo/phoenix-pm > _______________________________________________ > Phoenix-pm mailing list > Phoenix-pm at pm.org > http://mail.pm.org/mailman/listinfo/phoenix-pm From andy at petdance.com Wed Jan 31 16:27:14 2007 From: andy at petdance.com (Andy Lester) Date: Wed, 31 Jan 2007 18:27:14 -0600 Subject: [Phoenix-pm] Andy Lester coming just to speak for us! Vote onthe presentation topic In-Reply-To: <037FF41095AD394DB28A3991559A0FB403428A65@EX04.asurite.ad.asu.edu> References: <20070130165535.GR2993@straylight> <20070131011104.GD6489@thelackthereof.org> <037FF41095AD394DB28A3991559A0FB403428A65@EX04.asurite.ad.asu.edu> Message-ID: <1F8D44B5-C1BA-4CF5-9850-199831B476AE@petdance.com> The talks that people seem to like most are: Tech debt; preventing stress / scheduling (which kinda relates to tech debt, too); and the job hunting talk. The job hunting talk is a big fave of mine 'cause I'm writing a book about it for Pragmatic. :-) xoa -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From derek at ninth.org Wed Jan 31 16:31:18 2007 From: derek at ninth.org (Derek Cline) Date: Wed, 31 Jan 2007 17:31:18 -0700 Subject: [Phoenix-pm] Andy Lester coming just to speak for us! Vote onthe presentation topic In-Reply-To: <1F8D44B5-C1BA-4CF5-9850-199831B476AE@petdance.com> References: <20070130165535.GR2993@straylight> <20070131011104.GD6489@thelackthereof.org> <037FF41095AD394DB28A3991559A0FB403428A65@EX04.asurite.ad.asu.edu> <1F8D44B5-C1BA-4CF5-9850-199831B476AE@petdance.com> Message-ID: <9BAAFC7C-3B31-4316-8EE5-C02BAF0984F5@ninth.org> I'd be very interested to hear about the stress / scheduling / tech debt topics. -=Derek On Jan 31, 2007, at 5:27 PM, Andy Lester wrote: > > The talks that people seem to like most are: Tech debt; preventing > stress / scheduling (which kinda relates to tech debt, too); and the > job hunting talk. The job hunting talk is a big fave of mine 'cause > I'm writing a book about it for Pragmatic. :-) > > xoa > > -- > Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance >