Welcome, Guest
Username: Password: Remember me
CodeTyphon Linux OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

pl_Indy server component crashes IDE - linux 64bit 9 years 7 months ago #5906

  • Thomas Haemmerle
  • Thomas Haemmerle's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
Hi there!

I have a problem with some of the pl_indy components with my system.

I am using a linux arch 64bit version: Linux vie1 3.16.1-1-ARCH #1 SMP PREEMPT Thu Aug 14 07:40:19 CEST 2014 x86_64 GNU/Linux
I am using kde 4.14.0 and qt4
Problems are here at least since codetyphon version 4.9 at the time I am using lab version 4970 but it was the same with the stable releases before

How to reproduce the error:
- start typhon and create a fresh/new application
- than just drop a TidUDPServer from <>indy Servers - core> tab, the whole IDE crashes. Error messagebox shows "access violation" without any further information.

Here the log from the command line:
$ typhonstart64 
 is a file
TTyphonManager.Run starting /usr/lib/codetyphon/typhon/bin64/typhon ...
TMainIDE.ParseCmdLineOptions:
  PrimaryConfigPath="/home/me/.typhon64"
  SecondaryConfigPath="/etc/typhon"
AddComponent TIdUDPServer Parent=Form1:TForm1 146,124,0,0
Parent is 'Form1:TForm1'
TMainIDE.OnPropHookPersistentAdded A IdUDPServer1:TIdUDPServer
TPkgManager.AddUnitDependenciesForComponentClasses Adding Project Dependency project1 -> pl_indy
TPkgManager.AddUnitDependenciesForComponentClasses Extending Uses unit1.pas IdUDPServer
[TEventsCodeTool.CompleteComponent]  CurComponent=IdUDPServer1:TIdUDPServer
TApplication.HandleException Access violation
  Stack trace:
  $00000000004E7810
[...]
[TMainIDE.Destroy] A 
[TJITComponentList.DestroyJITComponent] ERROR destroying component Error: Access violation
  Stack trace:
  $00007F6CB2AD35C0
[...]
TCustomFormEditor.JITListException List.CurReadStreamClass=nil nil

I search the internet and of course this forum what I found, is it is most probably a linux-64bit problem, 32bit seams to work and also windows systems. (see for example: other thread )

I tryed to run as root without root rights.

One advice I found states to recompile pl_indy, there is no diffrence but window showing the access violation is empty no text at all.
This behaviour is probable do to the fact, that I am using KDE, codetyphons LCL widget type was set to gtk2; when I use qt instead the compiling stops in
unit GLLCLViewer
line 220:
       {$ifdef LCLQT}
         {$error unimplemented QT context}
       {$endif}     

Is there anything I can try, log or do to help finding a solution for this problem.

Any help is welcome!

BRGDS

Tom

Please Log in or Create an account to join the conversation.

pl_Indy server component crashes IDE - linux 64bit 9 years 7 months ago #5907

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
Sir
1) pl_GLScene and all CT OpenGL (ORCA, AsphyreSphinx, etc) Libraries don't support QT platform ( info )
Current qt4pas.so don't has QT SDK OpenGL QGLWidget Class functions info
We hope at QT4pas for QT 5.x ( info ) , this will possible.

Is in our current plan (GEN V) to Re-Write all LCL Platforms and Libraries


2) For pl_indy we working now
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

pl_Indy server component crashes IDE - linux 64bit 9 years 7 months ago #5910

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
Sir
My suggestion is to try create TidUDPServer or any IndyServer with code in Application run-time (for Linux64).
Until we solve and this problem

Look at CodeOcean Indy samples
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

pl_Indy server component crashes IDE - linux 64bit 9 years 7 months ago #5913

  • Thomas Haemmerle
  • Thomas Haemmerle's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
thanks for your effort I will read and try to understand the links you provided,
also I will make a test with dynamically creating the server object.

BRGDS
Tom

Please Log in or Create an account to join the conversation.

pl_Indy server component crashes IDE - linux 64bit 8 years 1 month ago #9196

  • Edgar Rodríguez
  • Edgar Rodríguez's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 9
  • Thank you received: 0
I have similar problems... Indy Clients, most of them, they work, but servers... ugh... they make the IDE crash, the code completion does not work, no debugging available, etc... :(

Please Log in or Create an account to join the conversation.

pl_Indy server component crashes IDE - linux 64bit 8 years 1 month ago #9197

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
Your OS Sir ?
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

pl_Indy server component crashes IDE - linux 64bit 8 years 1 month ago #9198

  • Edgar Rodríguez
  • Edgar Rodríguez's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 9
  • Thank you received: 0
Hi, Ubuntu 15.10, I love Typhon project, but it's really buggy, I want to develop for the web, but there is no so many examples...

Please Log in or Create an account to join the conversation.

  • Page:
  • 1