Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-01

segmentation fault

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

John vd Waeter

Hi All,

Just to share an experience that took me days....

I have this linux console application that runs fine on my dev.machine and on another machine I used a USB-stick to transfer the execuatable to the other machine. No problems.

However, for a couple of servers on a remote location I used an FTP-client to upload my executable.

Trying those uploaded programs via a terminal-client kept giving my "segmentation faults".

You don't wanna know how far I digged into libraries, kernel-settings, multi/single processor issues, path-settings, compiler-options, etc etc... must say I've learned a lot!

Finally figured out it was the ftp client that saw no extension in my executables filename and "assumed" an ASCII-transfer would do the job.... Not!

John

Reply by email

Graeme Geldenhuys
to John vd Waeter

2010/1/4 John vd Waeter :

Finally figured out it was the ftp client that saw no extension in my executables filename and "assumed" an ASCII-transfer would do the job.... Not!

Hence the reason I always upload files via ftp as binary. Alternatively use Secure Copy (scp command).

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/

Reply by email