Anders,
>malloc()
malloc() - there are two versions used in perl. The internal Perl malloc()
or the OS malloc(). Which version is used, is set at compile time of Perl.
The default is the OS malloc().
The difference is, the OS malloc() makes Perl able to give freedup memory
back to the OS - if this works or not depends on the used OS.
malloc() - requests at least one new memory page from the OS. An segfault
could be for example happen, if Perl requests a new memory page and the OS
is still swapping and it takes the OS too long to satisfy Perls malloc()
request.
An segfault could be also forced, if the OS allocates the new memory page
to perl, but the RAM is defect at this location.
Thomas
Von: Anders Westin <anders.wes...@dometic.se>
An: ASSP development mailing list <assp-test@lists.sourceforge.net>
Datum: 02.04.2012 18:10
Betreff: [Assp-test] ASSP version 2.1.2(12087) segment fault
Hi Thomas
ASSP version 2.1.2(12087)
I have problem with Segment fault in ASSP(perl) so I installed Enbugger
and added this to ASSP.PL use Enbugger::OnError;
and below is output from the screen when assp crashed, do you get
something out of this
Apr-02-12 15:49:04 [Worker_2] Disconnected: 10.33.65.125 - processing time
2 seconds
Apr-02-12 15:49:04 [Worker_1] 201.8.138.82
<karsynhucka...@howarddentalgroup.com> info: start damping (1 s)
Apr-02-12 15:49:04 [Worker_4] Connected: 84.38.68.35:53917 > x.x145.200:25
> x.x.145.198:125
Apr-02-12 15:49:04 [Worker_4] LDAP - found juergen.run...@domain.com in
LDAPlist
Apr-02-12 15:49:04 [Worker_4] 84.38.68.35 <g.h...@dreher.de> renewing
tuplet: (84.38.68.0,dreher.de) age: 1s
*** glibc detected *** /usr/local/bin/perl assp.pl MainLoop - next: Mon
Apr 2 15:49:10 2012: malloc(): smallbin double linked list corrupted:
0x0fd1def0 ***
Segmentation fault
root@smtp01:/assp2#
http://search.cpan.org/~jjore/Enbugger-2.013/lib/Enbugger.pod
_________________________________________________________________________________________________________________________________________________
NOTICE: This email and any attachments are for the sole use of the
intended recipient(s) and may contain confidential and privileged
information.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please notify the sender by reply
email and destroy the original message.
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test
DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally
privileged and protected in law and are intended solely for the use of the
individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no
known virus in this email!
*******************************************************
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test