Melchior FRANZ wrote:
Error fetching live weather data: More than 10 stale METAR messages in a row.
Stop fetching data permanently.
fgfs: /usr/local/include/simgear/threads/SGThread.hxx:150: void \
SGThread::join(): Assertion `status == 0' failed.
/home/m/bin/fgfs: line 239:
Erik Hofman wrote:
Next stop: IRIX.
Same problem.
Erik
___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d
* Melchior FRANZ -- Monday 14 November 2005 22:29:
The strange thing is, that the return value that triggers assert()
is 35, or EAGAIN (Linux). This makes no sense. It's neither described
on the pthread_join manpage, nor is it used in any implementation that
I found on the net.
BS! I've no
* Harald JOHNSEN -- Saturday 12 November 2005 17:09:
Melchior FRANZ wrote:
I've just implemented the check for stale METAR reports (to stop
fetching after 10 stale reports). This triggers an assert in
SGThread:
It's perhaps because of the PTHREAD_CREATE_DETACHED attribute of the thread.
Melchior FRANZ wrote:
* Harald JOHNSEN -- Saturday 12 November 2005 17:09:
Melchior FRANZ wrote:
I've just implemented the check for stale METAR reports (to stop
fetching after 10 stale reports). This triggers an assert in
SGThread:
It's perhaps because of the PTHREAD_CREATE_DETACHED
* Erik Hofman -- Monday 14 November 2005 18:47:
If it's causing any troubles I would remove the first three lined of
SGThread::start() since we've done without it for many years.
It is causing troubles: the pthread_join manpage says:
The joined thread th must be in the joinable state: it
Unfortunately, reverting the recent changes (that caused the thread
to be created with detached state) wasn't enough to fix the problem.
The strange thing is, that the return value that triggers assert()
is 35, or EAGAIN (Linux). This makes no sense. It's neither described
on the pthread_join
* Melchior FRANZ -- Monday 14 November 2005 22:29:
$ fgfs --aircraft=ufo --prop:/environment/params/metar-max-age-min=1
--log-level=warn
I forgot --enable-real-weather-fetch.
m.
___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org