[Allegro] linux: avanti/acon: *** glibc detected *** /usr/local/avanti/bin/./acon: free(): invalid next size (normal): 0x090be658 ***
Klaus Lehmann
lehmann_klaus at t-online.de
Fr Jan 6 17:05:42 CET 2017
> ich habe DAS folgende mal in google eingegeben. es goibt drei links
> bei stackoverflow.com (nur: das ist wirklich nicht mein thema ;-) )
> wer versteht sowas? ;-)
> *** glibc detected *** free(): invalid next size (normal): 0x09003458 ***
es gab die hilfestellung "valgrind" zu benutzen (unter linux)
ok. flugs installiert und mal laufen gelassen.
DAS kam sofort: (wem hilft das?)
neugierig gefragt:
ist es etwa DIE lösung, eine neues GLIBC zu
installieren? das könnte nebenbei schwer werden: die
betriebssystemversion ist derzeit nicht so ohne weiteres erneuerbar,
WENN glibc von der betr.systemversion abhängig ist....
oder haben wir "programmierbugs"?
Starting avanti startproc -e -l /var/log/avanti.out -t5 -u cat -g www /usr/local/avanti/bin/avanti -daemon
==15449== Memcheck, a memory error detector
==15449== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==15449== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==15449== Command: /sbin/startproc -e -l /var/log/avanti.out -t5 -u cat -g www /usr/local/avanti/bin/avanti -daemon
==15449==
==15450== Warning: invalid file descriptor 1016 in syscall close()
==15450== Use --log-fd=<number> to select an alternative log fd.
==15449==
==15449== HEAP SUMMARY:
==15449== in use at exit: 1,116 bytes in 31 blocks
==15449== total heap usage: 119 allocs, 88 frees, 243,348 bytes allocated
==15449==
==15449== 292 (52 direct, 240 indirect) bytes in 1 blocks are definitely lost in loss record 22 of 24
==15449== at 0x4C2683D: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==15449== by 0x4F10ABB: nss_parse_service_list (in /lib64/libc-2.11.3.so)
==15449== by 0x4F110B5: __nss_database_lookup (in /lib64/libc-2.11.3.so)
==15449== by 0x559C38F: ???
==15449== by 0x559DC2E: ???
==15449== by 0x4ECE7A4: getpwnam_r@@GLIBC_2.2.5 (in /lib64/libc-2.11.3.so)
==15449== by 0x4ECE117: getpwnam (in /lib64/libc-2.11.3.so)
==15449== by 0x405253: ??? (in /sbin/startproc)
==15449== by 0x4E4BBFC: (below main) (in /lib64/libc-2.11.3.so)
==15449==
==15449== 292 (52 direct, 240 indirect) bytes in 1 blocks are definitely lost in loss record 23 of 24
==15449== at 0x4C2683D: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==15449== by 0x4F10ABB: nss_parse_service_list (in /lib64/libc-2.11.3.so)
==15449== by 0x4F110B5: __nss_database_lookup (in /lib64/libc-2.11.3.so)
==15449== by 0x559B40F: ???
==15449== by 0x559C20C: ???
==15449== by 0x4ECD404: getgrnam_r@@GLIBC_2.2.5 (in /lib64/libc-2.11.3.so)
==15449== by 0x4ECC947: getgrnam (in /lib64/libc-2.11.3.so)
==15449== by 0x405373: ??? (in /sbin/startproc)
==15449== by 0x4E4BBFC: (below main) (in /lib64/libc-2.11.3.so)
==15449==
==15449== LEAK SUMMARY:
==15449== definitely lost: 104 bytes in 2 blocks
==15449== indirectly lost: 480 bytes in 20 blocks
==15449== possibly lost: 0 bytes in 0 blocks
==15449== still reachable: 532 bytes in 9 blocks
==15449== suppressed: 0 bytes in 0 blocks
==15449== Reachable blocks (those to which a pointer was found) are not shown.
==15449== To see them, rerun with: --leak-check=full --show-reachable=yes
==15449==
==15449== For counts of detected and suppressed errors, rerun with: -v
==15449== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 4 from 4)
done
gruß k.l.
Mehr Informationen über die Mailingliste Allegro