SphereServer BugTracker - SphereServer | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0001921 | SphereServer | executable - linux build | public | 27-02-11 17:46 | 06-08-14 12:10 |
| Reporter | trinax | ||||
| Assigned To | XuN | ||||
| Priority | normal | Severity | major | Reproducibility | sometimes |
| Status | closed | Resolution | fixed | ||
| Platform | Linux | OS | Debian | OS Version | 5.0 |
| Product Version | 20-09-2009, 0.56b Prerelease | ||||
| Target Version | Fixed in Version | 0.56c Nightly | |||
| Nightly Version | Automated (specify build number) | ||||
| Experimental Flags | DiagonalWalkCheck, New_Triggers, WalkCheck, AllowTelnetPacketFilter, NetworkOutThread | ||||
| Option Flags | Command_Sysmsgs, FileCommands | ||||
| Internal Build Number | 1420 | ||||
| Summary | 0001921: 'Main' thread hang if db.query used too much | ||||
| Description | I have a script that opens up a dialog that uses db.query when players go into war mode. Sometimes the thing below happens: 16:35:P'Feto' was killed by P'Biscuit'. 16:36:CRITICAL:(event.scp,6787)'Main' thread hang, restarting... and after the thread restart, logs have the script name on every line: 16:48:(event.scp,6787)World save completed, took 1.0000 seconds Line 6787 is: db.query "select name, killamount, uid from the_table where team=2 order by killamount desc"; It is inside a dialog. Going war mode has a cooldown of a few secs during the event but still this happens when too many people hit tab at the same time I think. I may be wrong but I think when this happens for the second time without a complete restart, sphere crashes with no error. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 27-02-11 17:46 | trinax | New Issue | |||
| 13-03-11 04:14 | MrSugarCube | Note Added: 0000957 | |||
| 13-03-11 10:00 | trinax | Note Added: 0000961 | |||
| 13-03-11 13:18 | trinax | Note Edited: 0000961 | bug_revision_view_page.php?bugnote_id=0000961#r179 | ||
| 23-07-14 19:48 | XuN | Note Added: 0002366 | |||
| 06-08-14 12:10 | XuN | Status | new => closed | ||
| 06-08-14 12:10 | XuN | Assigned To | => XuN | ||
| 06-08-14 12:10 | XuN | Resolution | open => fixed | ||
| 06-08-14 12:10 | XuN | Fixed in Version | => 0.56c Nightly | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||