dann
Code: Alles auswählen
(dev)user@hostname:~/dev/rovi$ make clean && make && cp rovi ~/test/ && cp -ar . ~/backup/rovi
cleaning
rovi build options:
CFLAGS = -ggdb -std=c99 -pedantic -Wall -Wextra -Werror -O0 -I. -I/usr/include -DVERSION="0.3" -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L
LDFLAGS = -L/usr/lib -lc -lncursesw
CC = cc
CC rovi.c
CC -o rovi
Code: Alles auswählen
(dev)user@hostname:~/dev$ valgrind --leak-check=full --track-origins=yes -v ~/test/rovi ~/testfile
[...]
==26031== ERROR SUMMARY: 3 errors from 1 contexts (suppressed: 0 from 0)
==26031==
==26031== 3 errors in context 1 of 1:
==26031== Conditional jump or move depends on uninitialised value(s)
==26031== at 0x4EFEFD9: re_compile_fastmap_iter.isra.24 (regcomp.c:328)
==26031== by 0x4F07634: re_compile_fastmap (regcomp.c:276)
==26031== by 0x4F07D0A: regcomp (regcomp.c:509)
==26031== by 0x10CAD5: setup (rovi.c:382)
==26031== by 0x10D08F: main (rovi.c:522)
==26031== Uninitialised value was created by a stack allocation
==26031== at 0x4F04540: parse_expression (regcomp.c:2224)
==26031==
==26031== ERROR SUMMARY: 3 errors from 1 contexts (suppressed: 0 from 0)
dann
Code: Alles auswählen
(dev)user@hostname:~/dev/rovi$ make clean && make && cp rovi ~/test/ && cp -ar . ~/backup/rovi
cleaning
rovi build options:
CFLAGS = -ggdb -std=c99 -pedantic -Wall -Wextra -Werror -O0 -I. -I/usr/include -DVERSION="0.3" -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L
LDFLAGS = -L/usr/lib -lc -lncursesw
CC = cc
CC rovi.c
CC -o rovi
Code: Alles auswählen
(dev)user@hostname:~/dev$ valgrind --leak-check=full --track-origins=yes -v ~/test/rovi ~/testfile
[...]
==26163== LEAK SUMMARY:
==26163== definitely lost: 0 bytes in 0 blocks
==26163== indirectly lost: 0 bytes in 0 blocks
==26163== possibly lost: 0 bytes in 0 blocks
==26163== still reachable: 1,765,521 bytes in 358 blocks
==26163== suppressed: 0 bytes in 0 blocks
==26163== Reachable blocks (those to which a pointer was found) are not shown.
==26163== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==26163==
==26163== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==26163== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)