Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#636 closed Defect (wontfix)

Compile with i486 options give inproper content-length

Reported by: hp197 Owned by: Eric Korpela
Priority: Trivial Milestone: Undetermined
Component: Client - Build Version: 6.1.15
Keywords: i486 Cc:

Description

I recompiled boinc with some extra compiler options, but now all requests to project sites & account manager will fail due a wrong content-length in the http header.

LOG:

01-May-2008 17:38:50 [http://boinc.bakerlab.org/rosetta/] [work_fetch_debug] best project so far
01-May-2008 17:38:50 [http://boinc.bakerlab.org/rosetta/] [work_fetch_debug] compute_work_requests(): work req 60480.000000, shortfall 60424.499928, urgency Need immediately
01-May-2008 17:38:51 [---] [work_fetch_debug] time_until_work_done(): est 0.000000 ssr 100.000000 apr 1.998165 prs 100.000000
01-May-2008 17:38:51 [http://boinc.bakerlab.org/rosetta/] Sending scheduler request: Requested by user. Requesting 60480 seconds of work, reporting 0 completed tasks
01-May-2008 17:38:51 [---] [http_debug] HTTP_OP::init_post(): http://boinc.bakerlab.org/rosetta_cgi/cgi
01-May-2008 17:38:52 [---] [http_debug] [ID#0] info: About to connect() to boinc.bakerlab.org port 80 (#0)
01-May-2008 17:38:52 [---] [http_debug] [ID#0] info: Trying 140.142.20.103...
01-May-2008 17:38:52 [---] [http_debug] [ID#0] info: Connected to boinc.bakerlab.org (140.142.20.103) port 80 (#0)
01-May-2008 17:38:52 [---] [http_debug] [ID#0] Sent header to server: POST /rosetta_cgi/cgi HTTP/1.1
User-Agent: BOINC client (i486-pc-none 6.1.15)
Host: boinc.bakerlab.org
Accept: */*
Accept-Encoding: deflate, gzip
Content-Type: application/x-www-form-urlencoded
Content-Length: -2147483648

01-May-2008 17:38:52 [---] [http_debug] [ID#0] Received header from server: HTTP/1.1 413 Request Entity Too Large
01-May-2008 17:38:52 [---] [http_debug] [ID#0] Received header from server: Date: Thu, 01 May 2008 15:39:49 GMT
01-May-2008 17:38:52 [---] [http_debug] [ID#0] Received header from server: Server: Apache/2.2.3 (Scientific Linux)
01-May-2008 17:38:52 [---] [http_debug] [ID#0] Received header from server: Connection: close
01-May-2008 17:38:52 [---] [http_debug] [ID#0] Received header from server: Content-Type: text/html; charset=iso-8859-1
01-May-2008 17:38:52 [---] [http_debug] [ID#0] Received header from server:
01-May-2008 17:38:52 [---] [http_xfer_debug] HTTP: wrote 437 bytes
01-May-2008 17:38:52 [---] [http_debug] [ID#0] info: Closing connection #0
01-May-2008 17:38:56 [http://boinc.bakerlab.org/rosetta/] Scheduler request failed: Error 413
01-May-2008 17:38:56 [---] [work_fetch_debug] Request work fetch: RPC complete
01-May-2008 17:38:56 [---] [work_fetch_debug] compute_work_requests(): start
01-May-2008 17:38:56 [---] [work_fetch_debug] compute_work_requests(): cpu_shortfall 60480.000000, overall urgency Need immediately
01-May-2008 17:38:56 [http://boinc.bakerlab.org/rosetta/] [work_fetch_debug] work fetch: project not contactable; skipping

Here my machine:

01-May-2008 17:38:12 [---] Libraries: libcurl/7.18.0 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.1
01-May-2008 17:38:12 [---] Data directory: /usr/local/boinc/bin
01-May-2008 17:38:12 [---] Processor: 2 GenuineIntel Intel(R) Pentium(R) III CPU family 1266MHz [Family 6 Model 11 Stepping 1]
01-May-2008 17:38:12 [---] Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse
01-May-2008 17:38:12 [---] OS: Linux: 2.6.24-16-server (Ubuntu 8.04)

My compile options:

./configure --prefix=/usr/local/boinc --disable-server --enable-static --disable-dependency-tracking --enable-bitness=32 CFLAGS='-O3 -fomit-frame-pointer -march=i486 -ffast-math -msse -mfpmath=sse -m32 -malign-double' CXXFLAGS='-O3 -fomit-frame-pointer -march=i486 -ffast-math -msse -mfpmath=sse -m32 -malign-double' --target=i486 --host=i486 --build=i486 --with-libcurl --with-ssl

See the content-length in the LOG, neat heah...

I can provide more info i you would like, and it is also possible to give shell access to the problem machine.

Also here: http://boinc.berkeley.edu/dev/forum_thread.php?id=2662

Change History (6)

comment:1 Changed 16 years ago by Nicolas

Component: Client - Scheduler PolicyClient - Build
Owner: changed from davea to romw
Priority: BlockerMajor

comment:2 Changed 16 years ago by hp197

Sorry, tought it was the schedular ;)

Note: Its also with v6.1.7

comment:3 Changed 16 years ago by hp197

Priority: MajorTrivial

-mailgn-double in c AND CXXFLAGS was the trouble maker. Case solved

comment:4 Changed 15 years ago by romw

Milestone: 6.6Undetermined
Owner: changed from romw to Eric Korpela

comment:5 Changed 15 years ago by Eric Korpela

Resolution: wontfix
Status: newclosed

comment:6 Changed 15 years ago by Eric Korpela

This was due to a mismatch between compile flags specified on the configure command line for BOINC vs those used by libraries (libcurl in this case).

Note: See TracTickets for help on using tickets.