Recent

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

antispam88

  • New member
  • *
  • Posts: 35
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: 7349
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.
Ad Brexinitum (can't help it)