SETIQ Puzzle ,error message.........

Assimilator1

Elite Member
Nov 4, 1999
24,189
529
126
At 11pm tonight I restared my PC ,I immediatly noticed that SETIQ failed to start :( ,I check the setig.log & I see this error message.

10/22 Sun 10:47pm CMD ASSIMILATOR -> Connect
10/22 Sun 10:47pm SRV connecting to seti@home server
10/22 Sun 10:47pm SRV Send qresult.578 (size: 3856)
10/22 Sun 10:47pm SRV connecting to seti@home server
10/22 Sun 10:47pm SRV get new work unit
10/22 Sun 10:50pm SRV WorkUnit qwork.39f36113 obtained
10/22 Sun 10:50pm wu (rpd=4) Min:2 Max:9 Queued:9
10/22 Sun 10:50pm SRV send setiq stats
10/22 Sun 10:50pm SRV Waiting
10/22 Sun 10:57pm ASSERT FAILED: 'strlen(ClientName) < sizeof(Client->Name)', line 1392

The client shutdown straight away ,so all you saw was the DOS box briefly flash up

Its just taken me 3/4hr to suss this one out! ,BTW it was working fine previous to that.
Lets see if you can guess or know what it was ;):p
(yeah this a trade test ;) )

 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,838
4,817
75
As best I can guess without the SetiQ source (and believe me I looked for it :)), maybe you received a WU from somebody with a username longer than yours?

Who wrote this thing anyway? You have an assert() statement in a production program (it's normally used only for debugging.) You also have a combination of C string handling (strlen()) with C++ string handling (sizeof(...)). I really wish SetiQ were open source.
 

Assimilator1

Elite Member
Nov 4, 1999
24,189
529
126
Eh? ,that all went over my head Ken! :eek:
Ken Renis wrote SETIQ ,SETIQ wrote the log I posted.

[update]
To put OB out of his misery ;) hehe

It turned out to be a line I had added to the result log ,even though that line had been there for a few days it suddenly caused the problem! :confused: ,I'm guessing that line became involved in the WU time averaging &amp; it was just too long.:eek:

This was the offending line

10/21 Sat 10:28pm 39f20a73 qresult.575 8h38m53s ASSIMILATOR (CLi &amp; GUI partially ran together!doh!)
10/22 Sun 5:23am 39f26bdd qresult.576 6h55m36s ASSIMILATOR
10/22 Sun 12:20pm 39f2cd6d qresult.577 6h56m16s ASSIMILATOR

Moving that line down 1 fixed it :)