By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 2972 - KRFB: Crashes after the VNC client disconnect
Summary: KRFB: Crashes after the VNC client disconnect
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdenetwork (show other bugs)
Version: R14.0.x [Trinity]
Hardware: All Linux
: P5 critical
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2018-09-09 10:13 CDT by Roman Savochenko
Modified: 2024-01-11 03:38 CST (History)
3 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
Patch of fixing for crashes after the client disconnecting. (744 bytes, patch)
2018-09-09 10:13 CDT, Roman Savochenko
Details | Diff
The crash report (37.84 KB, text/plain)
2018-09-09 11:09 CDT, Roman Savochenko
Details
krfb-crash_at_disconnect.patch (758 bytes, patch)
2023-06-18 08:40 CDT, Roman Savochenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Savochenko 2018-09-09 10:13:03 CDT
Created attachment 2897 [details]
Patch of fixing for crashes after the client disconnecting.

KRFB crushes just the client disconnect.

I have seen this behavior long ago but it was mysterious.

Currently, on Debian 9, the behavior is stable reproducible.

After observing I have seen that there is called a function of the thread exiting but for main thread of the process.

Then the fixing is just natural exiting the process.
Comment 1 Roman Savochenko 2018-09-09 11:09:12 CDT
Created attachment 2898 [details]
The crash report
Comment 2 Michele Calgaro 2018-09-10 01:42:18 CDT
Hi Roman, 
if it is easy to reproduce, can you briefly described the required steps? That will help in testing. Thanks.
Comment 3 Roman Savochenko 2018-09-10 06:19:52 CDT
1. Connect to the configured KRFB from KRDC.
2. Close the KRDC session.
3. 1...2 seconds and I have the crash with the crash preparing dialog.

The patch fixes the behavior, which is critical one if I connect to very remote host.
Comment 4 Michele Calgaro 2018-09-12 07:22:36 CDT
ok thanks
Comment 5 Roman Savochenko 2023-06-18 08:40:51 CDT
Created attachment 3070 [details]
krfb-crash_at_disconnect.patch

KRFB also crashes during exiting on 14.1.0 with bad updation to libvnc.
So, this patch was updated to the bad libvnc.