This prevents a DoS by sending <auth1> over and over,
filling the send buffer and eventually causing the client to block.
- Unix build: if m4 missing, check for gm4
svn path=/trunk/boinc/; revision=15282
even if we already have the APP_VERSION.
Otherwise, when upgrading from 5.10 to 6.2,
we won't have the api_version,
and we won't learn about it until project releases new version.
svn path=/trunk/boinc/; revision=15277
It turned out that when we close and reopen
the temp file that stores the HTTP reply, the open was failing.
I have no idea why.
Attempted workaround: open the file for R/W originally,
and instead of close/open do a seek.
svn path=/trunk/boinc/; revision=15238
(as is the case if its DB is down,
or it has no work and skips the DB check)
don't overwrite the host_venue on the client.
Fixes#656, I hope (Rom: please port)
svn path=/trunk/boinc/; revision=15230
Old: get_shmem_seg_name() tries names of the form shm_boinc_N
until it finds one for which creating succeeds.
Then it detaches (deletes) the segment and records the name.
Later, the segment is created again.
This creates a race condition if two core clients
are running on the same host.
It's also kind of silly.
New: get_shmem_seg_name() doesn't detach the segment,
and we dont have to create it again later.
svn path=/trunk/boinc/; revision=15172
- client: increase <abort> timeout from 5 sec to 60;
this gives the diagnostic system time to download
symbol files (which may be several MB) and write a stack trace.
svn path=/trunk/boinc/; revision=15162
check to make sure that stdout_file and stderr_file are not null before
attempting to close them. If they are null return ERR_FOPEN so that
the next message logged can attempt to cycle the log without error.
- CLIENT: Make sure the diagnostics framework is initialized before
the config file is parsed or the command line is parsed, that way
if and unexpected XML tab or command line parameter is found the
client doesn't crash.
NOTE: The client would only crash if the log file was already greater
than 2MB which would cause the client to attempt to cycle the
log files. Since the diagnostics framework wasn't initialized yet
nothing was logged to the log file, no call stack was generated,
and the default Windows debugging environment was fired up.
client/
main.C
lib/
diagnostics.C
svn path=/trunk/boinc/; revision=15157
for getting info on EDF simulation;
change output from seconds to hours
- API: remove extern "C" from graphics API
(convince me it's needed before restoring)
svn path=/trunk/boinc/; revision=15148
so CUDA detection failed.
For reasons I don't understand,
adding "/usr/local/cuda/lib" to LD_LIBRARY_PATH
and then doing dlopen("libcudart.so") wasn't working,
even though the library is in that dir.
I worked around this by calling
dlopen("/usr/local/cuda/lib/libcudart.so") and if that fails call
dlopen("libcudart.so"),
- Unix: commented out Eric's setenv() stuff.
After doing a configure, HAVE_SETENV is not in config.h,
so something's messed up with it.
- client: trimmed down "pre-release software" message
svn path=/trunk/boinc/; revision=15143
and it doesn't do so within 10 seconds, kill it.
This deals with the situation where the app is ignoring messages
(e.g. because it forgot to end a critical section).
- client: if either the FP or int benchmark runs less than
3 CPU seconds (out of 10 seconds of wall time) ignore the benchmark.
This is an effort to deal with a problem where (for unknown reasons)
the int benchmark runs for a tiny amount of CPU time,
leading to an absurdly large result
- Manager: don't prepend "[error]" to MSG_INTERNAL_ERROR messages;
the client already does this.
THESE ARE ALL BUG FIXES
svn path=/trunk/boinc/; revision=15128
DestroyEnvironmentBlock since Win98 doesn't support them. This
functionality is only required for the Windows sandbox implementation
anyway.
- LIB: Remove direct reference to OpenThread in win_util.C since it
isn't supported on Win98.
- MGR: Another fix for CC execution on a Linux machine.
client/
app_start.C
clientgui/
BOINCClientManager.cpp
lib/
proc_control.C
win_util.C
svn path=/trunk/boinc/; revision=15117
uncomment MATCHMAKER to enable it.
More testing needed.
- client (unix): avoid crash if LD_LIBRARY_PATH not set
(port to 6.1 branch)
svn path=/trunk/boinc/; revision=15115
look in the registry to find the CUDA install directory,
and look for cudart.dll in that dir.
- client: for CUDA, don't confuse coproc.name ("CUDA")
from coproc.prop.name (e.g., "Device Emulation (CPU)" on my PC,
which doesn't have a recent-enough GPU)
- client: if no coprocessors present, say so in startup messages
svn path=/trunk/boinc/; revision=15107
- MGR: Add pre-release to the BOINC Manager title bar and about
dialog if it is a pre-release version of BOINC.
- CLI: Add some pre-release text to the CC startup routine and
suggest they revert back to a released build if they don't
plan on testing the client.
/
version.h
version.h.in
client/
auto_update.C
client_state.C
clientgui/
AdvancedFrame.cpp
DlgAbout.cpp
sg_BoincSimpleGUI.cpp
sg_DlgMessages.cpp
sg_DlgPreferences.cpp
SkinManager.cpp
lib/
common_defs.h
svn path=/trunk/boinc/; revision=15067
- Does not presume the existence of "pidof" or "runuser".
- If started with an old style Bourne shell, will try to restart
in bash, zsh or ksh.
- Starts with no parameters by default.
- Logs stdout and stderr to /var/log/boinc_client.log and
/var/log/boinc_client_err.log by default.
- With appropriate "boinc-client.conf", the script can be run by
a non-root user.
- More changes are likely to be required.
svn path=/trunk/boinc/; revision=15047
in scheduler request; the latter breaks older schedulers.
- old parse code: make skip_unexpected() work with <x/>
svn path=/trunk/boinc/; revision=15027