Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-03-29 09:16:19



Reply to topic  [ 43 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Crash after mute. 
Author Message

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
Ok folks, here is a new patched binary for v1.26.18.10: please overwrite the original binary with it, launch it and log in, open the "Advanced" -> "Consoles" -> "Debug tags" floater and check the "Mesh" item in the list. Then try and crash the viewer again, and post the corresponding log/crash dump please.

Note that I added extra, paranoid checks over LL's code in this binary, with the corresponding warnings should they get hit: let's see if it makes a difference... On my side, I just spent over 2 hours sim-jumping in SL to busy and mesh-heavy places and still could not crash my viewer... It's a real mystery, so far...


2016-06-21 09:59:23
Profile WWW

Joined: 2016-06-04 02:30:54
Posts: 42
Reply with quote
edit


Last edited by wahrah12 on 2016-06-22 12:23:12, edited 1 time in total.



2016-06-22 06:40:16
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
wahrah12 wrote:
Much better Henri. Keep up the good work. I haven't crashed so far in 4 hours straight.
Or this is just good luck... Did you change something to your system settings ?

Also, I'm interested to know which of the paranoid checks I added gets hit (if at all: if none gets hit, then you just were lucky, or what you last changed on your system cured the issue). Please, look at your logs (i.e. load them into a text editor), and let me know if you see any of the following warnings in them (just search for the quoted strings, quotes excluded); if yes, please also post the log or at least a hundred of lines before the warning and a dozen of lines after it:
  • "No data received for mesh Id:" .../...
  • "Stale response received for removed instance. Ignoring."
  • "Called with NULL data ! Ignored."
  • "Already optimized, ignoring." (new in the patched version)
  • "NULL mIndices, aborting." (new in the patched version)


2016-06-22 09:45:01
Profile WWW

Joined: 2012-02-10 15:12:54
Posts: 80
Reply with quote
So far no crash but nothing in the logs either.
Only thing that i noticed was this:

WARNING: LLMeshLODHandler::processFailure: Error during mesh LOD handling. ID: d5638fb0-699d-c116-d58f-253caa6e3f0d - Reason: Server returned nothing (no headers, no data) (Easy_52). Not retrying.

Not sure if related.


2016-06-22 11:20:45
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
TheADX wrote:
So far no crash but nothing in the logs either.
Only thing that i noticed was this:

WARNING: LLMeshLODHandler::processFailure: Error during mesh LOD handling. ID: d5638fb0-699d-c116-d58f-253caa6e3f0d - Reason: Server returned nothing (no headers, no data) (Easy_52). Not retrying.

Not sure if related.
No, that's not one of the warnings corresponding to the extra-checks I added. Just watch for the ones I quoted above, please.


2016-06-22 11:28:56
Profile WWW

Joined: 2012-02-10 15:12:54
Posts: 80
Reply with quote
Got a crash few seconds after login but did not manage to enable mesh debug before that.


Attachments:
logs.zip [30.34 KiB]
Downloaded 139 times
2016-06-22 18:21:31
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
TheADX wrote:
Got a crash few seconds after login but did not manage to enable mesh debug before that.
Yes, same crash (so the extra-checks I added are useless), but without the debug messages in the log, I still can't spot the exact place (Windows mini-crash dumps are not super-informative and don't allow to directly associate the machine code to the C++ line being executed)...


2016-06-22 21:12:09
Profile WWW

Joined: 2012-02-10 15:12:54
Posts: 80
Reply with quote
Yes, lets hope i can catch it with the mesh debug enabled next time :))


2016-06-23 08:36:47
Profile

Joined: 2012-02-10 15:12:54
Posts: 80
Reply with quote
Managed to catch the crash with the debugs.

http://expirebox.com/download/dffcef311 ... 35680.html


2016-06-23 20:50:44
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
TheADX wrote:
Managed to catch the crash with the debugs.
http://expirebox.com/download/dffcef311 ... 35680.html
Now, that's interesting !... I think I'm guessing what's happening... The crash occurs during a loop which populates arrays based on vertices and their indices. There's a missing check for an excessive vertex index (i.e. an index above the number of vertices in the mesh) in LL's code; normally, this should not cause a crash, because the array (a STL container) should automatically expand to fit, but there's an affectation of that container element index address into another array just after that, and depending how the compiler optimized it and/or whether the CPU got an out of order execution bug, this could indeed result in a crash (the address would be used before the new, expanded array element is actually allocated)... I still cannot reproduce the bug here (I also tried under Windows today, since the Linux viewer is "desperately" rock-stable and crash-free), but I produced another patched viewer that should avoid that issue (simply aborting the mesh optimization whenever such a bogus vertex index is encountered).

Please, download the new patched version here, and let me know if it is stable for you. I'm also interested in long, successful sessions logs, in order to search these logs for warning messages corresponding to extra checks I added.


2016-06-23 23:00:28
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 43 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

Who is online

Users browsing this forum: No registered users and 35 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.