Re: [fpc-pascal] random "Disk Full" exceptions

2007-10-20 Thread Marc Santhoff
Am Samstag, den 20.10.2007, 18:54 +0200 schrieb Jonas Maebe: > On 20 Oct 2007, at 18:20, Marc Santhoff wrote: > > >> writeln(stderr, '--> hit found: '+inttostr(fcnt) + ' - ' + > >> inttostr(PInteger(longint(adr)-longint(fx))^) + ' - ' + > >> floattostr(PSingle(adr)^)); > > > > Very nasty thing: >

Re: [fpc-pascal] random "Disk Full" exceptions

2007-10-20 Thread Jonas Maebe
On 20 Oct 2007, at 18:20, Marc Santhoff wrote: writeln(stderr, '--> hit found: '+inttostr(fcnt) + ' - ' + inttostr(PInteger(longint(adr)-longint(fx))^) + ' - ' + floattostr(PSingle(adr)^)); Very nasty thing: The output channel is temporarily blocked and gives back "EAGAIN". I guess the ini

Re: [fpc-pascal] random "Disk Full" exceptions

2007-10-20 Thread Micha Nelissen
Marc Santhoff wrote: >> writeln(stderr, '--> hit found: '+inttostr(fcnt) + ' - ' + >> inttostr(PInteger(longint(adr)-longint(fx))^) + ' - ' + >> floattostr(PSingle(adr)^)); > > Very nasty thing: > > The output channel is temporarily blocked and gives back "EAGAIN". This means the output channel

Re: [fpc-pascal] random "Disk Full" exceptions

2007-10-20 Thread Marc Santhoff
Am Samstag, den 20.10.2007, 09:28 +0200 schrieb Marc Santhoff: > Hi, > > when running a program interacting with a c library accessing the disc > drive and writing some informational strings to "stderr" there are > thrown > >An unhandled exception occurred at $0804940D : >EInOutError : Di

Re: [fpc-pascal] random "Disk Full" exceptions

2007-10-20 Thread Marc Santhoff
Am Samstag, den 20.10.2007, 11:05 +0200 schrieb Jonas Maebe: > On 20 Oct 2007, at 09:28, Marc Santhoff wrote: > > > > > Is there any debugging technique or some other information that can > > help > > me finding the cause? > > Run the program through strace to see what the actual error is. Some

[fpc-pascal] RTL events

2007-10-20 Thread [EMAIL PROTECTED]
Hi! I'm studing RTL Events and TEvent class under Unix. RTL Event don't keep the state of event after an RTLEventWaitFor or RTLEventWaitForTimeout (after this the event is reseted). This reset after an RTLWaitFor is a rule for RTL Events? Or it will keep the state of event in future? Fabio Lui

Re: [fpc-pascal] random "Disk Full" exceptions

2007-10-20 Thread Jonas Maebe
On 20 Oct 2007, at 09:28, Marc Santhoff wrote: Is there any debugging technique or some other information that can help me finding the cause? Run the program through strace to see what the actual error is. Some unrelated error codes are also converted to "disk full" (such as EFAULT).

[fpc-pascal] random "Disk Full" exceptions

2007-10-20 Thread Marc Santhoff
Hi, when running a program interacting with a c library accessing the disc drive and writing some informational strings to "stderr" there are thrown An unhandled exception occurred at $0804940D : EInOutError : Disk Full exceptions randomly all over the place. The line position in the progr