[rt-users] Problem using profiler with standalone_httpd

Jesse Vincent jesse at bestpractical.com
Fri Nov 18 13:27:35 EST 2005




On Fri, Nov 18, 2005 at 11:46:01AM -0500, Kevin Murphy wrote:
> Has anyone else experienced the following problem attempting to use the 
> perl profiler on RT using RT's standalone web server, standalone_httpd?  
> I can run RT successfully using standalone_httpd, but when I do:
> 
> $ sudo /usr/local/bin/perl -d:DProf 
> /usr/local/rt3_experimental/bin/standalone_httpd 8088
> 
> I get this error message:
> 
> want panicked: I've been asked to find a null return address.
>  (Are you trying to call me from inside a tie handler?)
>  at /usr/local/lib/perl5/site_perl/5.8.7/darwin-2level/Want.pm line 
> 100, <DATA> line 16.
>

That's just weird. Hm. you might be able to get similar results out of
Devel::Calltrace.

perl -d:CallTrace path/to/standalone_httpd


It's not as pretty, but it'll spool by what's running in real time.


> I'm using Mac OS X 10.4.3, RT 3.4.4.  I got the same error using the 
> stock Apple perl, 5.8.6, so I just installed perl 5.8.7 from source, 
> installed all the RT dependencies, and retried, with the result you see 
> above.
> 
> As an aside, is standalone_httpd documented anywhere (not that it needs 
> much documentation, I guess)?

Most of it is now documented in HTTP::Server::Simple's perldoc.

> Thanks for any pointers,
> Kevin Murphy
> 
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
> 
> Download a free sample chapter of RT Essentials from O'Reilly Media at 
> http://rtbook.bestpractical.com
> 
> WE'RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
> San Francisco - Find out more at 
> http://bestpractical.com/services/training.html
> 

-- 



More information about the rt-users mailing list