ChanServ changed the topic of #picolisp to: PicoLisp language | Channel Log: https://irclog.whitequark.org/picolisp/ | Check also http://www.picolisp.com for more information
jibanes has quit [Ping timeout: 240 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 264 seconds]
jibanes has joined #picolisp
remby has quit [Quit: Konversation terminated!]
jibanes has quit [Ping timeout: 268 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 256 seconds]
jibanes has joined #picolisp
f8l has quit [Remote host closed the connection]
f8l has joined #picolisp
jibanes has quit [Ping timeout: 256 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 246 seconds]
jibanes has joined #picolisp
Blukunfando has joined #picolisp
jibanes has quit [Ping timeout: 246 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 256 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 240 seconds]
jibanes has joined #picolisp
orivej_ has joined #picolisp
orivej has quit [Ping timeout: 268 seconds]
jibanes has quit [Ping timeout: 265 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 272 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 240 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 256 seconds]
jibanes has joined #picolisp
orivej_ has quit [Ping timeout: 256 seconds]
jibanes has quit [Ping timeout: 260 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 268 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 264 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 264 seconds]
jibanes has joined #picolisp
aw- has quit [Quit: Leaving.]
<DKordic> Good morning.
<DKordic> We should implement ""make sails""!
jibanes has quit [Ping timeout: 268 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 268 seconds]
jibanes has joined #picolisp
<Regenaxer> Good morning DKordic
rob_w has joined #picolisp
jibanes has quit [Ping timeout: 264 seconds]
<tankf33der> morning all
<Regenaxer> Good morning tankf33der
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 256 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 246 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 260 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 256 seconds]
jibanes has joined #picolisp
<Regenaxer> valgrind still gives an error
<Regenaxer> on Debian
<tankf33der> crashing?
<Regenaxer> yep
<Regenaxer> In child process in GUI
<Regenaxer> tracing now
<tankf33der> is this readline issue?
<Regenaxer> error is in poll()
<Regenaxer> I don't think so
<Regenaxer> it is inside (accept)
<Regenaxer> valgrind says "Syscall param poll(ufds.events) points to uninitialised byte(s)"
<Regenaxer> The pointer seems ok
<Regenaxer> Not sure how it thinks "uninitialised"
<tankf33der> not written before somebody read
<Regenaxer> ok
<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
<Regenaxer> Not all bytes in the poll array must be initialized
<Regenaxer> if 'fd' is negative for example the rest of the struct is irrelevant
<Regenaxer> Reproducible also without GUI
<Regenaxer> just (fork)
<Regenaxer> $ valgrind bin/picolisp lib.l +
<Regenaxer> : (unless (fork) (bye))
<Regenaxer> Error is in parent
Wiin has joined #picolisp
<tankf33der> let me try
<tankf33der> the same.
orivej has joined #picolisp
<Regenaxer> I trace more, but must go to station fetch kids
<Regenaxer> I suspect it must be the $Poll global
<Regenaxer> it is free() in the child
<Regenaxer> but why the parent?
<tankf33der> googling more
<Regenaxer> In the parent I don't change $Poll I think
<Regenaxer> and yes, it *is* reused all the time
<Regenaxer> ok I think
<Regenaxer> Strange that the error is in the parent, not in the child process
<Regenaxer> (if I understand valgrind right, but it prints PIDs)
<Regenaxer> (prog (fork) (bye)) does not give an error
<Regenaxer> i.e. both processes exit
<Regenaxer> so the parent does not read the keyboard again
<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
<Regenaxer> man 2 poll
jibanes has quit [Ping timeout: 264 seconds]
jibanes has joined #picolisp
<Regenaxer> hmm, I can produce the error also in the child:
<Regenaxer> (if (fork) (bye) (wait 222) (bye))
<Regenaxer> (pipe) same
<Regenaxer> so it is somehow 'forkLisp' in src/io.l
<Regenaxer> but it does not do anything relevant to the poll structures
<Regenaxer> I'd like to know what valgrind *exactly* complains about
<tankf33der> maybe strace will show something about it
<Regenaxer> difficult
<Regenaxer> Without valgrind there is no error
<Regenaxer> and with valgrind and fork hard to see what strace does
<Regenaxer> I can't easily reproduce a crash
<Regenaxer> have only the valgrind infos
<Regenaxer> but I don't see what they mean
<Regenaxer> Perhaps valgrind prints nonsense?
<Regenaxer> does it get confused by the fork?
rob_w has quit [Quit: Leaving]
<tankf33der> Regenaxer: all these unknown.
<Regenaxer> hmm
<Regenaxer> No error if I make forkLisp almost empty
<Regenaxer> I search down into it
<Regenaxer> ha! Error vanishes if I comment this line in forkLisp: (initInFile (set $Hear (val Hear)) null)
<Regenaxer> is in child only though
<Regenaxer> hmm, no, still sometimes
<Regenaxer> bbl
jibanes has quit [Ping timeout: 260 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 272 seconds]
jibanes has joined #picolisp
orivej has quit [Ping timeout: 268 seconds]
jibanes has quit [Ping timeout: 268 seconds]
<Regenaxer> ret
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 256 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 240 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 240 seconds]
jibanes has joined #picolisp
Regenaxer has left #picolisp [#picolisp]
Regenaxer has joined #picolisp
jibanes has quit [Ping timeout: 272 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 264 seconds]
jibanes has joined #picolisp
orivej has joined #picolisp
beneroth has joined #picolisp
jibanes has quit [Ping timeout: 265 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 264 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 256 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 268 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 268 seconds]
jibanes has joined #picolisp
Blukunfando has quit [Ping timeout: 240 seconds]
jibanes has quit [Ping timeout: 264 seconds]
jibanes has joined #picolisp
orivej has quit [Ping timeout: 256 seconds]
jibanes has quit [Ping timeout: 272 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 272 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 246 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 272 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 268 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 256 seconds]
jibanes has joined #picolisp
Wiin has quit [Read error: Connection reset by peer]
jibanes has quit [Ping timeout: 256 seconds]
jibanes has joined #picolisp
jibanes has quit [Ping timeout: 246 seconds]
jibanes has joined #picolisp
orivej has joined #picolisp
Blukunfando has joined #picolisp