Recent

Author Topic: Lazarus crash when add TACSAudioOut to the form  (Read 6028 times)

a.atalla

  • Jr. Member
  • **
  • Posts: 82
Lazarus crash when add TACSAudioOut to the form
« on: August 13, 2010, 10:50:08 am »
i want to give the ACS a try i download version 2.4 through  svn   and installled  successfully
when i  but the TACSAudioOut in  my empty form lazarus crash

i  restart   it from terminal and add TACSAudioIn  (it   works ) but  when i add again (TACSAudioOut) it  crash   again , and here   is the terminal output

Code: [Select]
TLazarusManager.Run starting /media/linux/lazarus/lazarus ...
[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF
TMainIDE.ParseCmdLineOptions:
  PrimaryConfigPath="/home/ahmed/.lazarus"
  SecondaryConfigPath="/etc/lazarus"

(lazarus:3640): Gdk-WARNING **: gdk_window_set_icon_list: icons too large
TMainIDE.DoLoadLFM Creating designer for hidden component of /home/ahmed/Laz-Projects/rigdatasheet/unitmain.pas
TMainIDE.DoOpenProjectFile frmMain:TfrmMain TDesigner
TMainIDE.DoNewProject A
AddComponent TACSAudioIn Parent=Form1:TForm1 140,91,14,92
Parent is 'Form1:TForm1'
TMainIDE.OnPropHookPersistentAdded A ACSAudioIn1:TACSAudioIn
TPkgManager.AddUnitDependenciesForComponentClasses Adding Project Dependency project1 -> laz_acs
TPkgManager.AddUnitDependenciesForComponentClasses Extending Uses unit1.pas acs_audio
[TEventsCodeTool.CompleteComponent]  CurComponent=ACSAudioIn1:TACSAudioIn
AddComponent TACSAudioOut Parent=Form1:TForm1 255,169,0,0
This binary has no thread support compiled in.
Recompile the application with a thread-driver in the program uses clause before other units using thread.
[TMainIDE.Destroy] A
WARNING: TLCLComponent.Destroy with LCLRefCount>0. Hint: Maybe the component is processing an event?
[TMainIDE.Destroy] B  -> inherited Destroy... TMainIDE
[TMainIDE.Destroy] END
Runtime error 232 at $08072862
  $08072862
  $087E7155  TACSTHREAD__CREATE,  line 1166 of /media/linux/lazarus/components/acs/Src/classes/acs_classes.pas
  $087E5E47  TACSCUSTOMOUTPUT__CREATE,  line 710 of /media/linux/lazarus/components/acs/Src/classes/acs_classes.pas
  $087E3534  TACSBASEAUDIOOUT__CREATE,  line 804 of /media/linux/lazarus/components/acs/Src/classes/acs_audio.pas
  $087F1C64  TSTDAUDIOOUT__CREATE,  line 113 of /media/linux/lazarus/components/acs/Src/drivers/linux/acs_audio.inc
  $087E2532  TACSAUDIOOUT__SETDRIVER,  line 536 of /media/linux/lazarus/components/acs/Src/classes/acs_audio.pas
  $087E2978  TACSAUDIOOUT__CREATE,  line 607 of /media/linux/lazarus/components/acs/Src/classes/acs_audio.pas
  $08548D6C  TCUSTOMFORMEDITOR__CREATECOMPONENT,  line 1365 of customformeditor.pp
  $085410A7  ADDCOMPONENT,  line 1977 of /media/linux/lazarus/designer/designer.pp
  $08540553  TDESIGNER__MOUSEUPONCONTROL,  line 2164 of /media/linux/lazarus/designer/designer.pp
« Last Edit: August 13, 2010, 10:53:58 am by a.atalla »
Lazarus 1.0.8 | FPC 2.6.2 x64  | Arch Linux x64 | Windows 7-x86

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1927
Re: Lazarsu crash when add TACSAudioOut to the form
« Reply #1 on: August 13, 2010, 10:55:37 am »
Probably the relevant part is here:
Quote
This binary has no thread support compiled in.
Recompile the application with a thread-driver in the program uses clause before other units using thread.
http://wiki.lazarus.freepascal.org/Multithreaded_Application_Tutorial#Units_needed_for_a_multi-threaded_application

a.atalla

  • Jr. Member
  • **
  • Posts: 82
Re: Lazarus crash when add TACSAudioOut to the form
« Reply #2 on: August 21, 2010, 10:43:36 pm »
i add the mentioned units but it still crash as soon as i drop the object on the form
Lazarus 1.0.8 | FPC 2.6.2 x64  | Arch Linux x64 | Windows 7-x86

 

TinyPortal © 2005-2018