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

Summary: KRFB: Crashes after the VNC client disconnect
Product: TDE Reporter: Roman Savochenko <rom_as>
Component: tdenetworkAssignee: Timothy Pearson <kb9vqf>
Status: RESOLVED FIXED    
Severity: critical CC: bugwatch, michele.calgaro, rom_as
Priority: P5    
Version: R14.0.x [Trinity]   
Hardware: All   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:
Attachments: Patch of fixing for crashes after the client disconnecting.
The crash report
krfb-crash_at_disconnect.patch

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.