Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.2.1 crashed #26

Open
GoodMirek opened this issue Mar 14, 2018 · 7 comments
Open

5.2.1 crashed #26

GoodMirek opened this issue Mar 14, 2018 · 7 comments
Labels

Comments

@GoodMirek
Copy link

Please find crash report attached. It is possible that the crash was caused by a break in attempt, as the machine is publicly accessible.
OSXvnc-server_2018-03-10-125853_administrators-Mac-mini.crash.gz

It is not helpful that VineServer.log is overwritten instead of appended upon every start of the server.

@stweil stweil added the bug label Mar 14, 2018
@stweil
Copy link
Owner

stweil commented Mar 14, 2018

It is not helpful that VineServer.log is overwritten instead of appended upon every start of the server.

At least that part should be easy to fix. Thank you for this report.

@GoodMirek
Copy link
Author

Another crash happened, possibly a different problem, not sure whether to open a different issue or not. Attaching crash report. Crash happened within several seconds after connecting with VNC client. VNC client in use is Remmina (remmina-1.2.0-0.45.20180107.git.d70108c.fc27.x86_64), OS Linux Fedora Core 27.
OSXvnc-server_2018-03-14-085308_administrators-Mac-mini.crash.gz

@stweil
Copy link
Owner

stweil commented Mar 14, 2018

Removing the line numbers 860 ... 864 in VNCController.m should avoid deleting of old log messages. But how can we avoid that VineServer.log grows uncontrolled?

@stweil
Copy link
Owner

stweil commented Mar 15, 2018

Both crashes are related to dynamic memory allocation (heap). Using heap checkers like Valgrind or linking against a heap checking library like gperftools must be done to narrow down the buggy code.

@GoodMirek
Copy link
Author

GoodMirek commented Mar 15, 2018 via email

@stweil
Copy link
Owner

stweil commented Mar 15, 2018

I did heap debugging with Valgrind on Linux and Windows, but never on macOS. Basically it involves installation ("brew install valgrind") and running OSXvnc under supervision by Valgrind (start the service from the command line and prefix the command with valgrind).

@stweil
Copy link
Owner

stweil commented Sep 16, 2021

This issue might be related to issue #48. Perhaps it is fixed in the latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants