I've tracked down a bug in gnome-stockticker (2.12.) which results in the stock quotes showing stupid values. The problem is that for some reason gtik.c (in gnome-applets-2.12.0/gtik) does not include stdlib.h gtik.c does make use of the function "strtod" declared (actually defined!) by including stdlib.h Now at least glibc 2.3.5-r2 does not have a symbol for the usual 2 parameter strtod function but only a symbol for the 3 parameter one. But there is an inline function taking 2 parameters and this one calls the 3 parameter one with a valid 3rd argument. What happens now is that strtod gets implicitly declared and at run time (dynamic link time actually) the 3 parameter one is called without a valid 3rd parameter -> A fix is to include stdlib.h. I've been able to reproduce this on both x86 and amd64 with glibc2.3.5-r2 I'll attach a patch that will make it work for me Reproducible: Always Steps to Reproduce: 1. use glibc 2.3.5-r2 2. compile gnome-applets 3. add stock ticker applet to panel 4. observe invalid values for the stock quotes Actual Results: strtod function used wrong -> values are screwed up See the bug on http://bugzilla.gnome.org/show_bug.cgi?id=318172
Created attachment 70153 [details, diff] Patch gtik.c to include stdlib.h
fixed in 2.12.1 according to upstream bug ( and reporter ).