in reply to Re^5: Segmentation Fault when using LWP::UserAgent
in thread Segmentation Fault when using LWP::UserAgent

Hi and Thanks a lot for your help.

After some thinking about your last comment I found that I totally forgot the existence of Dr. Watson. Dr. Watson is also active on my PC and the Log file was quite informative. It seems to be that the problem has to do with my antivirus program. This is (a part of) what Dr Watson found out:

*** ERROR: Module load completed but symbols could not be loaded for C +:\strawberry\perl\bin\perl.exe Funktion: <nosymbols> No prior disassembly possible : 00000000 ?? ??? 00000002 ?? ??? 00000004 ?? ??? 00000006 ?? ??? 00000008 ?? ??? 0000000a ?? ??? 0000000c ?? ??? 0000000e ?? ??? FEHLER ->: 00000000 ?? ??? Error 0x00000001 00000002 ?? ??? 00000004 ?? ??? 00000006 ?? ??? 00000008 ?? ??? 0000000a ?? ??? 0000000c ?? ??? 0000000e ?? ??? 00000010 ?? ??? 00000012 ?? ??? 00000014 ?? ??? *----> Stack Back Trace <----* *** ERROR: Symbol file could not be found. Defaulted to export symbol +s for C:\Programme\F-Secure Internet Security\FSPS\program\FSLSP.DLL +- WARNING: Stack unwind information not available. Following frames may +be wrong. *** ERROR: Symbol file could not be found. Defaulted to export symbol +s for C:\WINDOWS\system32\WS2_32.DLL - *** ERROR: Symbol file could not be found. Defaulted to export symbol +s for C:\strawberry\perl\bin\perl510.dll - *** ERROR: Symbol file could not be found. Defaulted to export symbol +s for C:\WINDOWS\system32\kernel32.dll - ChildEBP RetAddr Args to Child 0023f828 170ed02c 000007b8 0023f854 009797a8 0x0 0023f83c 71a13e72 000007b8 0023f854 00c9a764 FSLSP!GetLspGuid+0x243 0023f858 6a7840bb 000007b8 00000003 00000000 WS2_32!closesocket+0x47 0023f878 6a777f20 00000003 00000003 00000000 perl510!win32_socket+0xdb 0023f898 6a776750 00033fc4 00c9a764 000329f8 perl510!PerlIO_teardown+0 +x470 0023f8b8 6a779291 00033fc4 009c468c 6a7a78aa perl510!PerlIOBase_close+ +0x90 0023f8d8 6a7767d1 00033fc4 009c468c 0023f918 perl510!PerlIOBuf_close+0 +x21 0023f8f8 6a68554e 00033fc4 009c468c 01d4b474 perl510!Perl_PerlIO_close ++0x21 0023f918 6a7332e4 00033fc4 00d1002c 00000000 perl510!Perl_do_openn+0x1 +89e 0023f958 6a73349a 00033fc4 00d1002c 00000000 perl510!Perl_sv_clear+0x8 +24 0023f978 6a695bd4 00033fc4 00d1002c 0023f9b8 perl510!Perl_sv_free2+0x4 +a 0023f9b8 6a733151 00033fc4 00d0ffdc 00000042 perl510!Perl_gp_free+0x20 +4 0023f9f8 6a73349a 00033fc4 00d0ffdc 00000001 perl510!Perl_sv_clear+0x6 +91 0023fa18 6a72c138 00033fc4 00d0ffdc 00000001 perl510!Perl_sv_free2+0x4 +a 0023fa68 6a72c20c 00033fc4 0000005d 0023faa8 perl510!Perl_leave_scope+ +0x12b8 0023fa78 6a6ed8c0 00033fc4 00d5e47c 0023faa8 perl510!Perl_pop_scope+0x +2c 0023faa8 6a729a89 00033fc4 00033fc4 0023fb38 perl510!Perl_sv_compile_2 +op+0xbd00 0023fab8 6a6c2754 00033fc4 00000007 00000001 perl510!Perl_runops_stand +ard+0x19 0023fb38 6a774a88 00033fc4 6a76e450 00000002 perl510!perl_run+0x2a4 0023ff48 00401322 00000002 00033f68 00032c98 perl510!RunPerl+0x188 0023ff78 0040124b 00000002 00033f68 00032c98 perl+0x1322 0023ffb0 00401298 00000001 00000009 0023fff0 perl+0x124b 0023ffc0 7c817077 00000010 00000000 7ffd5000 perl+0x1298 0023fff0 00000000 00401280 00000000 78746341 kernel32!RegisterWaitForI +nputIdle+0x49 *----> Raw Stack Dump <----* 000000000023f82c 2c d0 0e 17 b8 07 00 00 - 54 f8 23 00 a8 97 97 00 , +.......T.#..... 000000000023f83c 58 f8 23 00 72 3e a1 71 - b8 07 00 00 54 f8 23 00 X +.#.r>.q....T.#. 000000000023f84c 64 a7 c9 00 03 00 00 00 - 00 00 00 00 78 f8 23 00 d +...........x.#. 000000000023f85c bb 40 78 6a b8 07 00 00 - 03 00 00 00 00 00 00 00 . +@xj............ 000000000023f86c 00 00 00 00 c4 3f 03 00 - 03 00 00 00 98 f8 23 00 . +....?........#. 000000000023f87c 20 7f 77 6a 03 00 00 00 - 03 00 00 00 00 00 00 00 +.wj............ 000000000023f88c 64 a7 c9 00 8c 46 9c 00 - 00 00 00 00 b8 f8 23 00 d +....F........#. 000000000023f89c 50 67 77 6a c4 3f 03 00 - 64 a7 c9 00 f8 29 03 00 P +gwj.?..d....).. 000000000023f8ac 8c 46 9c 00 8c 46 9c 00 - c4 3f 03 00 d8 f8 23 00 . +F...F...?....#. 000000000023f8bc 91 92 77 6a c4 3f 03 00 - 8c 46 9c 00 aa 78 7a 6a . +.wj.?...F...xzj 000000000023f8cc 8c 46 9c 00 c4 3f 03 00 - c4 3f 03 00 f8 f8 23 00 . +F...?...?....#. 000000000023f8dc d1 67 77 6a c4 3f 03 00 - 8c 46 9c 00 18 f9 23 00 . +gwj.?...F....#. 000000000023f8ec 00 00 00 00 2c 00 d1 00 - c4 3f 03 00 18 f9 23 00 . +...,....?....#. 000000000023f8fc 4e 55 68 6a c4 3f 03 00 - 8c 46 9c 00 74 b4 d4 01 N +Uhj.?...F..t... 000000000023f90c ec c0 9c 00 58 da 04 01 - c4 3f 03 00 58 f9 23 00 . +...X....?..X.#. 000000000023f91c e4 32 73 6a c4 3f 03 00 - 2c 00 d1 00 00 00 00 00 . +2sj.?..,....... 000000000023f92c a0 e7 76 6a 00 00 00 00 - a4 6e d4 00 24 9b ad 00 . +.vj.....n..$... 000000000023f93c 2c e3 a9 00 e8 28 7a 6a - 0f 00 00 00 2c 00 d1 00 , +....(zj....,... 000000000023f94c 2c 00 d1 00 c4 3f 03 00 - c4 3f 03 00 78 f9 23 00 , +....?...?..x.#. 000000000023f95c 9a 34 73 6a c4 3f 03 00 - 2c 00 d1 00 00 00 00 00 . +4sj.?..,....... *----> Statusabbild für Threadkennung 0xe58 <----* eax=719bd2c6 ebx=c0000000 ecx=7c922d78 edx=ffffffff esi=00000000 edi=7 +19e793c eip=7c91e514 esp=015cff7c ebp=015cffb4 iopl=0 nv up ei pl nz n +a po nc cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=0 +0000206 *** ERROR: Symbol file could not be found. Defaulted to export symbol +s for C:\WINDOWS\system32\ntdll.dll - Funktion: ntdll!KiFastSystemCallRet 7c91e4fa e829000000 call ntdll!RtlRaiseException (7c9 +1e528) 7c91e4ff 8b0424 mov eax,[esp] 7c91e502 8be5 mov esp,ebp 7c91e504 5d pop ebp 7c91e505 c3 ret 7c91e506 8da42400000000 lea esp,[esp] 7c91e50d 8d4900 lea ecx,[ecx] ntdll!KiFastSystemCall: 7c91e510 8bd4 mov edx,esp 7c91e512 0f34 sysenter ntdll!KiFastSystemCallRet: 7c91e514 c3 ret 7c91e515 8da42400000000 lea esp,[esp] 7c91e51c 8d642400 lea esp,[esp] ntdll!KiIntSystemCall: 7c91e520 8d542408 lea edx,[esp+0x8] 7c91e524 cd2e int 2e 7c91e526 c3 ret 7c91e527 90 nop ntdll!RtlRaiseException: 7c91e528 55 push ebp 7c91e529 8bec mov ebp,esp *----> Stack Back Trace <----* WARNING: Stack unwind information not available. Following frames may +be wrong. ChildEBP RetAddr Args to Child 015cffb4 7c80b729 719bd65f 0023f6b4 7c91e920 ntdll!KiFastSystemCallRet 015cffec 00000000 719bd2c6 00259e40 00000000 kernel32!GetModuleFileNam +eA+0x1ba *----> Raw Stack Dump <----* 00000000015cff7c 4a da 91 7c 20 d3 9b 71 - 74 07 00 00 bc ff 5c 01 J +..| ..qt.....\. 00000000015cff8c b0 ff 5c 01 a4 ff 5c 01 - 68 d3 9b 71 b4 f6 23 00 . +.\...\.h..q..#. 00000000015cff9c 20 e9 91 7c 40 9e 25 00 - 00 00 00 00 00 00 00 00 +..|@.%......... 00000000015cffac 00 00 9b 71 58 25 36 01 - ec ff 5c 01 29 b7 80 7c . +..qX%6...\.)..| 00000000015cffbc 5f d6 9b 71 b4 f6 23 00 - 20 e9 91 7c 40 9e 25 00 _ +..q..#. ..|@.%. 00000000015cffcc 00 e0 fd 7f 00 c6 74 8a - c0 ff 5c 01 18 63 e8 87 . +.....t...\..c.. 00000000015cffdc ff ff ff ff d8 9a 83 7c - 30 b7 80 7c 00 00 00 00 . +......|0..|.... 00000000015cffec 00 00 00 00 00 00 00 00 - c6 d2 9b 71 40 9e 25 00 . +..........q@.%. 00000000015cfffc 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 . +............... 00000000015d000c 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 . +............... 00000000015d001c 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 . +............... 00000000015d002c 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 . +............... 00000000015d003c 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 . +............... 00000000015d004c 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 . +............... 00000000015d005c 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 . +............... 00000000015d006c 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 . +............... 00000000015d007c 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 . +............... 00000000015d008c 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 . +............... 00000000015d009c 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 . +............... 00000000015d00ac 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 . +...............
It is not totally clear to me what kind of symbol files are missing and where they had vanished.

Regarding your suggestion to reinstall Perl (ActiveState) in a new directory: When I uninstalled and reinstalled Perl - I did it twice so far - I deleted everything (including directories and registry entries). I could definitely do it again if this helps for further analysis.

Regards

Replies are listed 'Best First'.
Re^7: Segmentation Fault when using LWP::UserAgent
by BrowserUk (Patriarch) on May 29, 2010 at 00:30 UTC
    It is not totally clear to me what kind of symbol files are missing and where they had vanished.

    You would only have the symbol files for Perl if your copy of perl was built in such a way to produce them, which it isn't. And you have to install an SDK to get symbol files for Windows. In truth the almost certainly wouldn't help you even if you had them.

    Have you tried temporarially disabling F-Secure? My bet is that it is the cause here. If so, you'll need to either: download a newer version of it; or report it and wait for them to fix it; or use some other. I've been very happy with Comodo.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

      Yes, I had disabled F-Secure and also removed all running processes belongig to it - but not during installation. According to the log-files F-Secure had not deleted any files or put them under quarantine.

      But I will do as you suggested and disable, remove or replace F-Secure. I will let you know the outcome.

      Thank you so far and best regards.
        Yes, I had disabled F-Secure and also removed all running processes belongig to it

        Hm. It's just that the stack trace you posted clearly identifies dll;c:\Programme\F-Secure Internet Security\FSPS\program\FSLSP.DLL; entrypoint FSLSP!GetLspGuid as the source of the segfault.


        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.