curl-library
libcurl crashing on QNX6.3 app
Date: Thu, 7 Sep 2006 16:02:02 +0100
Hi
We have two applications that both use licurl for FTP processes that run on
PC104 targets running QNX6.3.
Historically, we have been using libcurl 7.9.2 on QNX 6.1, and there has
never been the need to upgrade libcurl. But since we upped to QNX6.3 (we
rebuilt libcurl 7.9.2 for QNX6.3), it crashes on one of the applications,
with sigsegv, when curl_easy_perform(..) is called.
After various unhelpful GDB sessions, we decided to take the plunge and up
to libcurl 7.15.5. But its still crashes.
Like I said, it only crashes one of the two apps. The strange thing is that
both apps use exactly the same source file for the FTP operations - there is
no difference. They connect to the same FTP server but via different TCP
ports.
The differences are that the crashing app is far more complex with 50-60
threads, and is generally a 'busy' application, and the non-crashing app is
quite simple, a handful of threads (<10) and is normally idle. On both, all
the FTP action is handled within one single dedicated thread, and the crash
occurs before any transfer has occurred.
I have attached the FTP excerpt code if anyone feels the inclination to
examine it. There are some funny syntaxes in there because most of our C
code is generated by Telelogic SDL CASE tool. For example, things enlcosed
by #(...) are SDL level variable references.
Are there any known issues in QNX targets? I dont believe there is anything
fundamentally dodgy about the code.
Many thanks
Dave Bentham
Senior Software Engineer
_______________________________________
SIEMENS
Transportation Systems, Siemens Plc
Tel. +44 1202 84 6103
Fax. +44 1202 84 6206
Email david.bentham_at_siemens.com
Visit us at http://www.siemens.co.uk/transportation
_______________________________________
<<ftpput.c>>
- application/octet-stream attachment: ftpput.c