Error 4 In Libperl.so
Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Non-*NIX Forums > Programming my perl program so segfault error 4 in libperl.so User Name Remember Me? Password Programming This forum is for all programming questions. The question does not have to be directly related to Linux and any language is fair game. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 12-09-2012, 12:07 AM #1 16.anand LQ Newbie Registered: Jul 2012 Posts: 1 Rep: my perl program so segfault error 4 in libperl.so my program status_update.pl so the fallowing error in var/log/message Dec 06 16:23:51
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: http://www.linuxquestions.org/questions/programming-9/my-perl-program-so-segfault-error-4-in-libperl-so-4175440637/ Sign up Interpreting segfault messages up vote 23 down vote favorite 18 What is the correct interpretation of the following segfault messages? segfault at 10 ip 00007f9bebcca90d sp 00007fffb62705f0 error 4 in libQtWebKit.so.4.5.2[7f9beb83a000+f6f000] segfault at 10 ip 00007fa44d78890d sp 00007fff43f6b720 error 4 in libQtWebKit.so.4.5.2[7fa44d2f8000+f6f000] segfault at 11 ip 00007f2b0022acee sp 00007fff368ea610 error 4 in libQtWebKit.so.4.5.2[7f2aff9f7000+f6f000] segfault at 11 ip 00007f24b21adcee sp 00007fff7379ded0 http://stackoverflow.com/questions/2549214/interpreting-segfault-messages error 4 in libQtWebKit.so.4.5.2[7f24b197a000+f6f000] linux qt webkit kernel segmentation-fault share|improve this question asked Mar 30 '10 at 22:40 knorv 16.1k61172269 possible duplicate of stackoverflow.com/questions/2179403/… –Charles Duffy Mar 31 '10 at 0:21 add a comment| 3 Answers 3 active oldest votes up vote 43 down vote accepted Hmm. 4 is EINTR (interrupted system call). It may be that libQtWebKit is habitually mishandling that error, or it may be that there's something else that's going on. If this were a program, not a shared library Run addr2line -e yourSegfaultingProgram 00007f9bebcca90d (and repeat for the other instruction pointer values given) to see where the error is happening. Better, get a debug-instrumented build, and reproduce the problem under a debugger such as gdb. Since it's a shared library You're hosed, unfortunately; it's not possible to know where the libraries were placed in memory by the dynamic linker after-the-fact. Reproduce the problem under gdb. What the error means Here's the breakdown of the fields: address (after the at) - the location in memory the code is trying to access (it's likely that 10 and 11 are offsets fro
Reviews CoolUsesForPerl PerlNews Q&A Tutorials Poetry RecentThreads NewestNodes Donate What'sNew on Nov 18, 2014 at 23:22UTC ( #1107667=perlquestion: print w/replies, xml ) Need Help?? Steve_BZ has asked http://www.perlmonks.org/?node_id=1107667 for the wisdom of the Perl Monks concerning the following question: Hi Guys, I have a segfault in a complex media program that I'm working on that is defying my attempts to debug it. I thought that talking it over with the experts might help to clear my head! The error 4 application is a medical video application with the following technology stack: Perl v5.18.2 wxPerl 2.8.11 with customised Wx::MediaCtrl GStreamer 0.10 Kubuntu 14.04 The dmesg error says: [36693.088232] monitorQueue:sr[12552]: segfault at 5c ip 00007f2139c85e41 sp 00007f210e2eb7e0 error 4 in libperl.so.5.18.2[7f2139c37000+180000] (monitorQueue is part of the customised Wx::MediaCtrl). When I run it error 4 in through Valgrind, I get the following backtrace at dump time: ==14613== Thread 6 monitorQueue:src: ==14613== Invalid read of size 4 ==14613== at 0x4E85E41: Perl_gv_fetchmeth_pvn (in /usr/lib/libperl. +so.5.18.2) ==14613== by 0x4E83AC0: Perl_gv_fetchmethod_pvn_flags (in /usr/lib/ +libperl.so.5.18.2) ==14613== by 0x685B43C: wxPliVirtualCallback::FindCallback(interpre +ter*, char const*) const (v_cback.cpp:30) ==14613== by 0x6865649: wxPliApp::Yield(bool) (app.h:184) ==14613== by 0x146F016B: wxGStreamerMediaBackend::SetupXOverlay() ( +in /usr/local/lib/perl/5.18.2/Alien/wxWidgets/gtk_2_8_11_uni/lib/libw +x_gtk2u_media-2.8.so.0.7.0) ==14613== by 0x146F0265: gst_bus_sync_callback (in /usr/local/lib/p +erl/5.18.2/Alien/wxWidgets/gtk_2_8_11_uni/lib/libwx_gtk2u_media-2.8.s +o.0.7.0) ==14613== by 0x14929601: gst_bus_post (in /usr/lib/x86_64-linux-gnu +/libgstreamer-0.10.so.0.30.0) ==14613== by 0x14936EB2: gst_element_post_message (in /usr/lib/x86_ +64-linux-gnu/libgstreamer-0.10.so.0.30.0) ==14613== by 0x14922A53: ??? (in /usr/lib/x86_64-linux-gnu/libgstre +amer-0.10.so.0.30.0) ==14613== by 0x14955384: ??? (in /usr/lib/x86_64-linux-gnu/libgstre +amer-0.10.so.0.30.0) ==14613== by 0x1491F9B7: ??? (in /usr/lib/x86_64-linux-gnu/libgstre +amer-0.10.so.0.30.0) ==14613== by 0x14929601: gst_bus_post (in /usr/lib/x86_64-linux-gnu +/libgstreamer-0.10.so.0.30.0) ==14613== Address 0x5c is not stack'd, malloc'd or (recently) free'd ==14613== ==14613== ==14613== Process terminating with default action of signal 11 (SIGSEG +V): dumping core ==14613== Access not within mapped region at address 0x5C ==14613== at 0x4E85E41: Perl_gv_fetchmeth_pvn (in /usr/lib/libperl. +so.5.18.2) ==14