Recent

Author Topic: 2 strange problems: listview.clear and DbgUiConnectToDbg  (Read 4169 times)

Maciej Kaczkowski

  • New Member
  • *
  • Posts: 31
    • Password Recovery Software
2 strange problems: listview.clear and DbgUiConnectToDbg
« on: April 07, 2012, 08:53:44 pm »
Hi,

After upgrade Lazarus from 35xxx (~04-02-2012)  to 36647 (07-02-2012) I have some problems with clearing TListView. After executing "clear" on "items" or "clear" at listview directly, it shows me:

"Marked memory at xxx invalid", rest at picture:
http://keit.co/bugs/p01.png

Second problem is in function DbgUiConnectToDbg. Application freeze randomly with or without debugger inside this function. With debugger I can resume using Run button (several times) in Lazarus, if application is running as standalone just freeze (sometimes CPU=0%, sometimes 100%). Problem appears at 36647 and earlier.

http://keit.co/bugs/p02.png

Is there any solutions for above problems?


AmatCoder

  • Jr. Member
  • **
  • Posts: 67
    • My site
Re: 2 strange problems: listview.clear and DbgUiConnectToDbg
« Reply #1 on: April 08, 2012, 01:07:55 am »
After upgrade Lazarus from 35xxx (~04-02-2012)  to 36647 (07-02-2012) I have some problems with clearing TListView. After executing "clear" on "items" or "clear" at listview directly, it shows me:

"Marked memory at xxx invalid"

This seems a regression bug, possibly caused by http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=rev&root=lazarus&revision=35968

Please, report it on the bug tracker.

Second problem is in function DbgUiConnectToDbg. Application freeze randomly with or without debugger inside this function. With debugger I can resume using Run button (several times) in Lazarus, if application is running as standalone just freeze (sometimes CPU=0%, sometimes 100%). Problem appears at 36647 and earlier.

This is a know bug caused by FPC 2.4.4. It is fixed in 2.6.0

Maciej Kaczkowski

  • New Member
  • *
  • Posts: 31
    • Password Recovery Software
Re: 2 strange problems: listview.clear and DbgUiConnectToDbg
« Reply #2 on: April 08, 2012, 08:11:50 pm »
Thanks for help.

First problem I've solved by replacing control. But second is too difficult for me, if I run procedure for the first time everything go fine, executing the same procedure in the same instance freeze application.

 

TinyPortal © 2005-2018