Re: [Lazarus] Lazarus - Disk Full error

2015-06-18 Thread Mattias Gaertner
On Thu, 18 Jun 2015 11:05:34 +0100
Graeme Geldenhuys mailingli...@geldenhuys.co.uk wrote:

[...]
 Why would Lazarus report such an issue? And where does it do such a disk
 check?

Normally IDE error messages contain more than just E.Message.
Maybe this is from an unhandled exception.
Can you reproduce it an create a stack trace?

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus - Disk Full error

2015-06-18 Thread Giuliano Colla

Il 18/06/2015 12:45, Graeme Geldenhuys ha scritto:

On 2015-06-18 11:35, zeljko wrote:

AFAIK, that message comes from fpc.

How can it? I get the error at a time when I'm not compiling a project.
Simply opening or navigating a project - that is all Lazarus IDE right?



To be more exact, this message comes from the fpc RTL file handling 
routines, called by the Lazarus IDE.
Basically Lazarus IDE asks to open a file for write, or attempts to 
write to an open file, the OS rises a Disk full exception and the file 
handling routines just returns the error. Or the file handling routine 
misinterprets as a Disk full another exception, such as not having the 
appropriate rights for the directory/file involved, and returns a 
misleading message :-(


Giuliano



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Lazarus - Disk Full error

2015-06-18 Thread Graeme Geldenhuys
Hi,

For some reason I keep getting a Disk Full error (see attached
screenshot) in Lazarus this morning.

I have two hard drives in my system. One has 51GB free, and the other
has 2.8TB free. So I am definitely NOT out of disk space.

The error occurs at different times, but not consistent. For example:
  - When I open a project (even a simple console only project)
  - When I Ctrl+Click to navigate.

I haven't updated my lazarus in recent days. My system has been running
24/7 for the last 38 days, and there are no issues with my system
otherwise. I've restarted Lazarus, checked for any runaway Lazarus, FPC
or GDB processes. Everything seems fine.

I'm using Lazarus 1.5 r48878 FPC 2.6.4 x86_64-freebsd-gtk 2

Why would Lazarus report such an issue? And where does it do such a disk
check?

Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus - Disk Full error

2015-06-18 Thread zeljko

On 06/18/2015 12:05 PM, Graeme Geldenhuys wrote:

Hi,

For some reason I keep getting a Disk Full error (see attached
screenshot) in Lazarus this morning.

I have two hard drives in my system. One has 51GB free, and the other
has 2.8TB free. So I am definitely NOT out of disk space.

The error occurs at different times, but not consistent. For example:
   - When I open a project (even a simple console only project)
   - When I Ctrl+Click to navigate.

I haven't updated my lazarus in recent days. My system has been running
24/7 for the last 38 days, and there are no issues with my system
otherwise. I've restarted Lazarus, checked for any runaway Lazarus, FPC
or GDB processes. Everything seems fine.

I'm using Lazarus 1.5 r48878 FPC 2.6.4 x86_64-freebsd-gtk 2

Why would Lazarus report such an issue? And where does it do such a disk
check?


AFAIK, that message comes from fpc. Seen many times but only when 
rebuilding some project (yes, there's enough free space on disk), never 
spotted it with your examples.


zeljko


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus - Disk Full error

2015-06-18 Thread Graeme Geldenhuys
On 2015-06-18 11:35, zeljko wrote:
 AFAIK, that message comes from fpc.

How can it? I get the error at a time when I'm not compiling a project.
Simply opening or navigating a project - that is all Lazarus IDE right?

Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus