* * *

Author Topic: Bauglir Internet library - Invalid file handle on linux  (Read 230 times)

antispam88

  • New member
  • *
  • Posts: 24
Bauglir Internet library - Invalid file handle on linux
« on: May 18, 2018, 09:51:11 am »
Hi,

we are using the bauglir library for websocket communication on windows (7/10 32/64) and linux raspberry (raspbian gnu/linux 8 (jessie)).
It is working on both platforms as expected, but sometimes in the destructor TWebSocketCustomConnection.Destroy the line fSendCriticalSection.Free throws the exception "invalid file handle" on raspbian.

Does someone know anything about this error?

Best regards,
antispam88

FPC: 3.0.4
Lazarus: 1.8.0
SVN Revision: Windows 56594; Raspbian 57022
Windows: x86_64-sin64-win32/win64; Raspbian: arm-linux-gtk2

Thaddy

  • Hero Member
  • *****
  • Posts: 6130
Re: Bauglir Internet library - Invalid file handle on linux
« Reply #1 on: May 18, 2018, 12:00:58 pm »
What is the link to that library? Then I can test it. To me it sounds more like programmer mistake right now (half a day every day I am on RaspBian).
A small - compileable, fails or not -  code snippet - would also help.
I might not give the answer that you want me to.. Peter Green 1969

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus