Click here to get back home

LWP::UserAgent + HTTPS + threads ==> segmentation fault

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
LWP::UserAgent + HTTPS + threads ==> segmentation fault Ray Smith 11-11-2004
Posted by Ray Smith on November 11, 2004, 9:57 pm
Please log in for more thread options
Folks,
We have a problem using LWP::UserAgent, https, and threads.
When we do we get a segmentation error.

perl lwp_threads.pl <https://www.yahoo.com>
produces a Segmentation fault
while
perl lwp_threads.pl <http://www.yahoo.com>
does not.

Attached is the perl script.

Another question - does anybody outthere have examples of LWP, using the
callback function coupled with threads?

All suggestions are greatly appreciated.



begin 666 lwp_threads.pl
M(R!T:')E861S7W1E<W0N<&P@(" @(" @,3 M3F]V+3(P,#0@(&-R<RP@0W)E
M871E#0HC(%-I;7!L92!T:')E861S('1E<W0-"B,-"G5S92!S=')I8W0[#0IU
M<V4@=&AR96%D<SL-"G5S92!,5U [#0H-"FUY("1U<FD[#0II9B H0$%21U8@
M/B P*2![#0H@(" @)'5R:2 ]('-H:69T.PT*?0T*#0IM>2 D=6$@/2!,5U Z
M.E5S97)!9V5N="T^;F5W*"D[#0H-"FEF("AD969I;F5D("1U<FDI('L-"B @
M("!P<FEN=" B=7)I.B D=7)I7&XB.PT*(" @(&UY("1R(#T@)'5A+3YG970H
M)'5R:2D[#0H@(" @:68@*&YO=" D<BT^:7-?<W5C8V5S<R@I*2![#0H@(" @
M(" @('!R:6YT(")'150@97)R;W(@;VX@/"1U<FD^+BXN7&XB#0H@(" @(" @
M(" @+B D<BT^97)R;W)?87-?2%1-3"@I("X@(EQN(CL-"B @(" @(" @97AI
M="@Q*3L-"B @("!]#0I]#0H-"FUY("1T(#T@=&AR96%D<RT^;F5W*%PF=&AR
M96%D961297%U97-T5&AR96%D*0T*("!O<B!D:64@(D-A;B=T(&-R96%T92!T
M:')E861<;B([#0H-"G!R:6YT(")*;VEN:6YG('1H<F5A9%QN(CL-"FUY($!R
M970@/2 D="T^:F]I;B@I.PT*<')I;G0@(E1H<F5A9"!R971U<FYE9"! <F5T
M7&XB.PT*97AI="@P*3L-"@T*(R!!8W1U86P@5&AR96%D(&9U;F-T:6]N#0IS
M=6(@=&AR96%D961297%U97-T5&AR96%D('L-"B @("!P<FEN=" B26YS:61E
M('1H<F5A9&5D4F5Q=65S=%1H<F5A9%QN(CL-"B @("!R971U<FX@(D$@;&ES
1="!O9B!W;W)D<R([#0I]#0H`
`
end



Similar ThreadsPosted
Segmentation Fault with Gtk2 August 10, 2005, 3:10 pm
Segmentation fault with perl 5.8.8 July 11, 2006, 6:03 am
Perl6::Rules character class Segmentation Fault October 28, 2004, 10:32 am
Using HTTPS with LWP::UserAgent = Bad Service March 30, 2005, 6:45 am
ImageMagick and threads October 12, 2004, 1:44 pm
perl and threads July 18, 2006, 9:20 am
Segmentation violation in Math:Pari when used in connection with Thread:Pool February 2, 2006, 4:18 am
xs module, threads and clone of returned objects January 12, 2008, 6:27 am
threads, XSUB allocated memory, destructors, destruction September 30, 2005, 6:31 pm
fault installing DBD::mysql in solaris 9 January 30, 2005, 7:02 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap