00:04
jibanes has quit [Ping timeout: 240 seconds]
00:07
jibanes has joined #picolisp
00:13
jibanes has quit [Ping timeout: 264 seconds]
00:13
jibanes has joined #picolisp
00:23
remby has quit [Quit: Konversation terminated!]
01:16
jibanes has quit [Ping timeout: 268 seconds]
01:17
jibanes has joined #picolisp
01:23
jibanes has quit [Ping timeout: 256 seconds]
01:24
jibanes has joined #picolisp
01:25
f8l has quit [Remote host closed the connection]
01:26
f8l has joined #picolisp
01:31
jibanes has quit [Ping timeout: 256 seconds]
01:33
jibanes has joined #picolisp
01:46
jibanes has quit [Ping timeout: 246 seconds]
01:48
jibanes has joined #picolisp
02:02
Blukunfando has joined #picolisp
02:26
jibanes has quit [Ping timeout: 246 seconds]
02:28
jibanes has joined #picolisp
03:15
jibanes has quit [Ping timeout: 256 seconds]
03:17
jibanes has joined #picolisp
03:29
jibanes has quit [Ping timeout: 240 seconds]
03:31
jibanes has joined #picolisp
04:10
orivej_ has joined #picolisp
04:11
orivej has quit [Ping timeout: 268 seconds]
04:15
jibanes has quit [Ping timeout: 265 seconds]
04:17
jibanes has joined #picolisp
04:30
jibanes has quit [Ping timeout: 272 seconds]
04:31
jibanes has joined #picolisp
04:40
jibanes has quit [Ping timeout: 240 seconds]
04:42
jibanes has joined #picolisp
04:49
jibanes has quit [Ping timeout: 256 seconds]
04:50
jibanes has joined #picolisp
04:53
orivej_ has quit [Ping timeout: 256 seconds]
05:02
jibanes has quit [Ping timeout: 260 seconds]
05:04
jibanes has joined #picolisp
05:14
jibanes has quit [Ping timeout: 268 seconds]
05:15
jibanes has joined #picolisp
05:32
jibanes has quit [Ping timeout: 264 seconds]
05:33
jibanes has joined #picolisp
05:48
jibanes has quit [Ping timeout: 264 seconds]
05:50
jibanes has joined #picolisp
06:05
aw- has quit [Quit: Leaving.]
06:14
<
DKordic >
Good morning.
06:14
<
DKordic >
We should implement ""make sails""!
06:16
jibanes has quit [Ping timeout: 268 seconds]
06:17
jibanes has joined #picolisp
06:24
jibanes has quit [Ping timeout: 268 seconds]
06:24
jibanes has joined #picolisp
06:26
<
Regenaxer >
Good morning DKordic
07:20
rob_w has joined #picolisp
07:24
jibanes has quit [Ping timeout: 264 seconds]
07:27
<
tankf33der >
morning all
07:27
<
Regenaxer >
Good morning tankf33der
07:31
jibanes has joined #picolisp
07:49
jibanes has quit [Ping timeout: 256 seconds]
07:51
jibanes has joined #picolisp
07:57
jibanes has quit [Ping timeout: 246 seconds]
07:58
jibanes has joined #picolisp
08:14
jibanes has quit [Ping timeout: 260 seconds]
08:21
jibanes has joined #picolisp
08:30
jibanes has quit [Ping timeout: 256 seconds]
08:32
jibanes has joined #picolisp
08:48
<
Regenaxer >
valgrind still gives an error
08:48
<
Regenaxer >
on Debian
08:50
<
tankf33der >
crashing?
08:50
<
Regenaxer >
In child process in GUI
08:50
<
Regenaxer >
tracing now
08:51
<
tankf33der >
is this readline issue?
08:51
<
Regenaxer >
error is in poll()
08:51
<
Regenaxer >
I don't think so
08:51
<
Regenaxer >
it is inside (accept)
08:53
<
Regenaxer >
valgrind says "Syscall param poll(ufds.events) points to uninitialised byte(s)"
08:53
<
Regenaxer >
The pointer seems ok
08:53
<
Regenaxer >
Not sure how it thinks "uninitialised"
09:02
<
tankf33der >
not written before somebody read
09:05
<
Regenaxer >
but the events to poll() are a long array, I don't think it can check
*inside* that array. As I understand it it only checks malloc()/free() structures
09:05
<
Regenaxer >
Not all bytes in the poll array must be initialized
09:06
<
Regenaxer >
if 'fd' is negative for example the rest of the struct is irrelevant
09:17
<
Regenaxer >
Reproducible also without GUI
09:18
<
Regenaxer >
just (fork)
09:19
<
Regenaxer >
$ valgrind bin/picolisp lib.l +
09:19
<
Regenaxer >
: (unless (fork) (bye))
09:21
<
Regenaxer >
Error is in parent
09:23
Wiin has joined #picolisp
09:24
<
tankf33der >
let me try
09:26
<
tankf33der >
the same.
09:28
orivej has joined #picolisp
09:29
<
Regenaxer >
I trace more, but must go to station fetch kids
09:32
<
Regenaxer >
I suspect it must be the $Poll global
09:33
<
Regenaxer >
it is free() in the child
09:33
<
Regenaxer >
but why the parent?
09:34
<
tankf33der >
googling more
09:36
<
Regenaxer >
In the parent I don't change $Poll I think
09:37
<
Regenaxer >
and yes, it
*is* reused all the time
09:37
<
Regenaxer >
ok I think
09:44
<
Regenaxer >
Strange that the error is in the parent, not in the child process
09:45
<
Regenaxer >
(if I understand valgrind right, but it prints PIDs)
09:51
<
Regenaxer >
(prog (fork) (bye)) does not give an error
09:51
<
Regenaxer >
i.e. both processes exit
09:52
<
Regenaxer >
so the parent does not read the keyboard again
10:55
<
Regenaxer >
What I don't understand is: "poll(ufds.events) points to uninitialised byte(s)" - the 'events' field in ufds is a *short*, not a pointer
10:56
<
Regenaxer >
man 2 poll
11:05
jibanes has quit [Ping timeout: 264 seconds]
11:06
jibanes has joined #picolisp
11:14
<
Regenaxer >
hmm, I can produce the error also in the child:
11:14
<
Regenaxer >
(if (fork) (bye) (wait 222) (bye))
11:37
<
Regenaxer >
(pipe) same
11:38
<
Regenaxer >
so it is somehow 'forkLisp' in src/io.l
11:38
<
Regenaxer >
but it does not do anything relevant to the poll structures
11:39
<
Regenaxer >
I'd like to know what valgrind
*exactly* complains about
11:46
<
tankf33der >
maybe strace will show something about it
11:55
<
Regenaxer >
difficult
11:55
<
Regenaxer >
Without valgrind there is no error
11:56
<
Regenaxer >
and with valgrind and fork hard to see what strace does
11:57
<
Regenaxer >
I can't easily reproduce a crash
11:57
<
Regenaxer >
have only the valgrind infos
11:57
<
Regenaxer >
but I don't see what they mean
11:58
<
Regenaxer >
Perhaps valgrind prints nonsense?
11:58
<
Regenaxer >
does it get confused by the fork?
11:59
rob_w has quit [Quit: Leaving]
12:08
<
tankf33der >
Regenaxer: all these unknown.
12:16
<
Regenaxer >
No error if I make forkLisp almost empty
12:16
<
Regenaxer >
I search down into it
12:21
<
Regenaxer >
ha! Error vanishes if I comment this line in forkLisp: (initInFile (set $Hear (val Hear)) null)
12:21
<
Regenaxer >
is in child only though
12:24
<
Regenaxer >
hmm, no, still sometimes
14:05
jibanes has quit [Ping timeout: 260 seconds]
14:07
jibanes has joined #picolisp
14:12
jibanes has quit [Ping timeout: 272 seconds]
14:13
jibanes has joined #picolisp
14:21
orivej has quit [Ping timeout: 268 seconds]
14:21
jibanes has quit [Ping timeout: 268 seconds]
14:22
jibanes has joined #picolisp
14:38
jibanes has quit [Ping timeout: 256 seconds]
14:39
jibanes has joined #picolisp
14:45
jibanes has quit [Ping timeout: 240 seconds]
14:47
jibanes has joined #picolisp
15:00
jibanes has quit [Ping timeout: 240 seconds]
15:19
jibanes has joined #picolisp
15:27
Regenaxer has left #picolisp [#picolisp]
15:28
Regenaxer has joined #picolisp
15:56
jibanes has quit [Ping timeout: 272 seconds]
15:57
jibanes has joined #picolisp
16:11
jibanes has quit [Ping timeout: 264 seconds]
16:12
jibanes has joined #picolisp
16:17
orivej has joined #picolisp
16:22
beneroth has joined #picolisp
16:41
jibanes has quit [Ping timeout: 265 seconds]
16:43
jibanes has joined #picolisp
17:21
jibanes has quit [Ping timeout: 264 seconds]
17:23
jibanes has joined #picolisp
17:48
jibanes has quit [Ping timeout: 256 seconds]
17:49
jibanes has joined #picolisp
17:58
jibanes has quit [Ping timeout: 268 seconds]
17:59
jibanes has joined #picolisp
18:08
jibanes has quit [Ping timeout: 268 seconds]
18:09
jibanes has joined #picolisp
18:40
Blukunfando has quit [Ping timeout: 240 seconds]
19:09
jibanes has quit [Ping timeout: 264 seconds]
19:11
jibanes has joined #picolisp
19:13
orivej has quit [Ping timeout: 256 seconds]
19:17
jibanes has quit [Ping timeout: 272 seconds]
19:18
jibanes has joined #picolisp
19:45
jibanes has quit [Ping timeout: 272 seconds]
19:46
jibanes has joined #picolisp
19:55
jibanes has quit [Ping timeout: 246 seconds]
19:57
jibanes has joined #picolisp
20:02
jibanes has quit [Ping timeout: 272 seconds]
20:03
jibanes has joined #picolisp
20:11
jibanes has quit [Ping timeout: 268 seconds]
20:35
jibanes has joined #picolisp
20:42
jibanes has quit [Ping timeout: 256 seconds]
20:44
jibanes has joined #picolisp
20:52
Wiin has quit [Read error: Connection reset by peer]
20:53
jibanes has quit [Ping timeout: 256 seconds]
20:55
jibanes has joined #picolisp
22:01
jibanes has quit [Ping timeout: 246 seconds]
22:03
jibanes has joined #picolisp
22:15
orivej has joined #picolisp
23:49
Blukunfando has joined #picolisp