Recent

Author Topic: Debug under linux freeze problem  (Read 7550 times)

Stavros92

  • Guest
Debug under linux freeze problem
« on: May 09, 2006, 09:52:08 am »
Hi all,
       although maybe not related directly to lazarus, when implementing and initialize an external .so
(Fmodex sound engine) although the program works fine, if I try to debug, debugger stops at the breakpoint as it should, but when I press F7 or F8  the entire system freezes and I have to reboot. It is so confusing. I have tested this in two pcs with the same results.
Any ideas?
P.S Used latest lazarus svn under FC5
Stavros

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2584
RE: Debug under linux freeze problem
« Reply #1 on: May 09, 2006, 04:24:05 pm »
It is known that in some situations X freezes when debugging. (it looks like X is single threaded when handling events)
You can check if this is the case by resetting X (Ctrl-Alt-Backspace)
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

stavros92

  • Guest
Debug under linux freeze problem
« Reply #2 on: May 09, 2006, 07:15:30 pm »
Well no....when I say freeze...I mean freeze. The only solution is reboot.
I found a workaroung though. This freezeing happens only when root is logged in. Any other user can debug ok. I do not know why, but root's permissions do harm in that case...
Any ideas?

Stavros

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Debug under linux freeze problem
« Reply #3 on: May 10, 2006, 01:04:30 am »
I don´t know, but normally you should not run X as root.

 

TinyPortal © 2005-2018