On 01/31/2013 07:21 PM, Ludo Brands wrote: > Now, your system is not just an ARM system but uses also a different > OS. A possibility is that some of the socket or io constants or > structures are different from the "standard" linux values. In that > case synapse could be initialising the socket wrongly or misinterpret > status values.
I see. What "OS" properties exactly might trigger such behavior ? Kernel version, libraries, ... ? > Can you make an strace of your program? I need to look up what "strace" is. But if this is some normal Linux tool I think I will be able to do it. Unfortunately up till now, I don't know how I could be able to run an fpc program in some kind of debugger on the headless box.. Possible alternatives could be: - Install some kind of widget set (qt ?) and some kind of remote X server (VNC ?) and compile Lazarus on the system and access it via this remote GUI via SSH. (Sounds like a really huge task :-( ) - Install a gdb stub on the box and do remote debugging via SSH with Lazarus on a PC. (Seemingly nobody ever tried to do remote debugging with Lazarus :-( ) - Use the command line debugger on the box via SSH. (I never used the command line debugger yet, (besides some initial tests on simple C programs) and I don't know if pure gdb can decently work with fpc programs :-( ) So three times :-( :-( :-( here. What I will do in the weekend is activate the soc "Monitor" callback and do some tracing with same... > That would give more insight in where things are going wrong. A > tcpdump would be helpful also. I need to look up what "tcpdump" is. But if this is some normal Linux tool I think I will be able to do it. > The information you gave us doesn't give a lot to go by. I did suppose that and I'm grateful for the instructions on what I need to provide additionally to help finding the problem. -Michael ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public