-
Notifications
You must be signed in to change notification settings - Fork 8
/
BUGS
71 lines (56 loc) · 2.5 KB
/
BUGS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
BUGS encountered during fLisp refactoring and batch mode
- valgrind detects several memory leaks, call with:
FEMTO_DEBUG=0 valgrind --leak-check=full --track-origins=yes femto
- The status line has a ' ' space before the buffer name, but none after.
- (insert-file) is not documented.
- dired:
- when entering the second subdirectory loop stops
- sometimes scrolling up down loop stops
Valgrind
========
ncurses errors are normal!
Error 1 related to ptr()
------------------------
==73622== Invalid read of size 1
==73622== at 0x1128CE: get_at (hilite.c:11)
==73622== by 0x1128CE: parse_text.part.0 (hilite.c:43)
==73622== by 0x112B85: parse_text (hilite.c:39)
==73622== by 0x112B85: set_parse_state (hilite.c:34)
==73622== by 0x10D988: display (display.c:136)
==73622== by 0x10DF19: update_display (display.c:264)
==73622== by 0x11827A: gui (main.c:80)
==73622== by 0x10B648: main (main.c:51)
==73622== Address 0x4aabb00 is 0 bytes after a block of size 512 alloc'd
==73622== at 0x48407B4: malloc (vg_replace_malloc.c:381)
==73622== by 0x10E35D: growgap (gap.c:30)
==73622== by 0x110135: find_buffer (buffer.c:102)
==73622== by 0x10B548: main (main.c:28)
gap.c:81 in ptr(): () ? 0 : expr <- expr -1
Error 2 related to ptr()
------------------------
==73622== Invalid read of size 1
==73622== at 0x10D00C: match_parens (command.c:606)
==73622== by 0x118269: gui (main.c:99)
==73622== by 0x10B648: main (main.c:51)
==73622== Address 0x4aabb00 is 0 bytes after a block of size 512 alloc'd
==73622== at 0x48407B4: malloc (vg_replace_malloc.c:381)
==73622== by 0x10E35D: growgap (gap.c:30)
==73622== by 0x110135: find_buffer (buffer.c:102)
==73622== by 0x10B548: main (main.c:28)
Error 3 found
-------------
==73622== 2,607 bytes in 1 blocks are definitely lost in loss record 179 of 188
==73622== at 0x48407B4: malloc (vg_replace_malloc.c:381)
==73622== by 0x1145D6: streamGetc (lisp.c:573)
==73622== by 0x11468E: readNext (lisp.c:638)
==73622== by 0x1178AC: peekNext (lisp.c:649)
==73622== by 0x1178AC: load_file_body (lisp.c:2141)
==73622== by 0x1179FD: load_file (lisp.c:2156)
==73622== by 0x117A9F: e_load (lisp.c:1493)
==73622== by 0x116C85: evalExpr (lisp.c:1971)
==73622== by 0x117C1F: call_lisp_body (lisp.c:2177)
==73622== by 0x117EA1: call_lisp (lisp.c:2221)
==73622== by 0x10B5F8: main (main.c:48)
Missing free() for input stream buffer: lisp.c:2148
streamGetc() with STREAM_TYPE_FILE is allocating memory where the whole file is
read in.