Hi, > > I'm getting a strange segfault when I try to expand a hash > inside an <A> tag, but only when I do it inside a table. >
Does the same problem occur when you run it offline, i.e. via embpexec.pl or only when you use mod_perl? Gerald > > Here's my excact code; > > [- > $req = shift; > $tfo = { %fdat }; > $tfo->{'reptype'} = 'GOO'; > @REPORTS = @ { $req->{REPORTS} }; -] <a href="?[+ > $tfo +]">TEST </a> <table width=100% border=1> <tr> > <td><a href="?[+ $tfo +]">[+ $REPORTS[$col]->{name} > +]</a></td> </tr> </table> > > This fails promptly with a segmentation fault but no other error. > > If however I remove ?[+ $tfo + ] from the second link and > replace it with static text, the page comes up fine and the > first link "TEST" > contains the query string that I want to generate and the > rest of the table part is displayed so this error only seems > to happen when I use the same code for the "TEST" link and > use it within a table loop. > > My versions are; Apache/2.0.55 (Unix) Embperl/2.1.0 mod_perl/2.0.2 > Perl/v5.8.6 > > > Can anyone shed any light on why this might be occuring? > > Many Thanks > Craig > > ------ Further info; > > > log; [notice] child pid 21737 exit signal Segmentation fault (11) > > strace; > times({tms_utime=8, tms_stime=1, tms_cutime=0, tms_cstime=0}) = > 481961453 > times({tms_utime=8, tms_stime=1, tms_cutime=0, tms_cstime=0}) = > 481961453 > times({tms_utime=8, tms_stime=1, tms_cutime=0, tms_cstime=0}) = > 481961453 > --- SIGSEGV (Segmentation fault) @ 0 (0) --- > chdir("/export/www") = 0 > rt_sigaction(SIGSEGV, {SIG_DFL}, {SIG_DFL}, 8) = 0 > kill(22177, SIGSEGV) = 0 > sigreturn() = ? (mask now []) > --- SIGSEGV (Segmentation fault) @ 0 (0) --- > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > ** Virus checked by BB-5000 Mailfilter ** > !DSPAM:43f0757a277486448910832! > ** Virus checked by BB-5000 Mailfilter ** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]