Author Topic: 'External: SIGSEGV' and Application.ProcessMessages  (Read 4349 times)


  • New Member
  • *
  • Posts: 47
'External: SIGSEGV' and Application.ProcessMessages
« on: October 20, 2008, 09:33:50 am »

I've written a component to find files within a given directory.
I use Application.ProcessMessages to give the user of the application the possibility to cancel the search.

When starting the search the first time after the application started it works as designed (no error message). But when using it a second time, I get the following error message:

Using the debugger, I figuered out that the error occurs when call Application.ProcessMessages

I get this error on Windows XP SP2 and an Windows Vista Ultimate (both 32bit).


  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1890
« Reply #1 on: October 20, 2008, 11:51:55 am »
There must be something wrong with your code.
The error message and your description don't say enough to help you.


  • New Member
  • *
  • Posts: 47
« Reply #2 on: October 20, 2008, 03:20:20 pm »
Will it help when I upload the project (including the component)?


  • Jr. Member
  • **
  • Posts: 83
« Reply #3 on: October 20, 2008, 03:25:06 pm »
sigsegv is an equivalent to EInvalidPointer in delphi. You must have a call to an object that has already been freed or a nil pointer in your message loop.

You'll just have to comb through the code to find where it is! It may be that it is caused by something outside that procedure, but the effect is seen there, so beware :)