View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0004475 | Spring engine | Lua | public | 2014-07-19 18:26 | 2014-07-22 16:32 | ||||
Reporter | silentwings | ||||||||
Assigned To | cleanrock | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 97.0.1+git | ||||||||
Target Version | 98.0 | Fixed in Version | |||||||
Summary | 0004475: AddConsoleLine is only called a finite number of times. | ||||||||
Description | See summary - tested with BA 8.00, with Spring 97.0.1-179. | ||||||||
Steps To Reproduce | Run the widget below - you will see it counting up in the chat console and after some time it will suddenly stop counting. Then, if you look inside the infolog (or disable Red Console and resort to the engines built in chat console), in there the counting continues! I added debug printing info to my widget handler, and it seems that widget:AddConsoleLine is called for the first 1025 chat messages, after which it is never called again. In 96.0 the issue does not occur; AddConsoleLine continues to be called no matter how many messages you spam at the console. | ||||||||
Additional Information | function widget:GetInfo() return { name = "TEST", desc = "", author = "", date = "", license = "", layer = 0, enabled = true -- loaded by default? } end local i = 0 function widget:DrawScreen() i = i + 1 Spring.Echo(i) end | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
cleanrock (reporter) 2014-07-20 13:55 |
Caused by https://github.com/spring/spring/commit/5f9d050 (fix a danling pointer bug in CInfoConsole). |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2014-07-19 18:26 | silentwings | New Issue | |
2014-07-20 13:55 | cleanrock | Note Added: 0013437 | |
2014-07-20 13:56 | cleanrock | Target Version | => 98.0 |
2014-07-20 18:18 | cleanrock | Assigned To | => jK |
2014-07-20 18:18 | cleanrock | Status | new => assigned |
2014-07-22 16:32 | cleanrock | Changeset attached | => spring develop 42ecae94 |
2014-07-22 16:32 | cleanrock | Assigned To | jK => cleanrock |
2014-07-22 16:32 | cleanrock | Status | assigned => resolved |
2014-07-22 16:32 | cleanrock | Resolution | open => fixed |