You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
There seems to be a locking problem in libvncserver, with respect to how condition variables are used. On certain machines in our lab, when using a vncviewer to view a display that has a very high rate of updates, we will occasionally see the VNC server process crash. In one stack trace that was obtained, an assertion had tripped in glibc's pthread_cond_wait, which was called from clientOutput. Inspection of clientOutput suggests that WAIT is being called incorrectly. The mutex that protects a condition variable should always be locked when calling wait, and on return from the wait will still be locked. The attached patch fixes the locking around this condition variable, and one other that I found by grepping the source for similar occurrences. Signed-off-by: Charles Coffing <ccoffing@novell.com> |
18 years ago | |
---|---|---|
.. | ||
tightvnc-filetransfer | 19 years ago | |
.cvsignore | 20 years ago | |
Makefile.am | 19 years ago | |
auth.c | 18 years ago | |
cargs.c | 18 years ago | |
config.h | 21 years ago | |
corre.c | 19 years ago | |
cursor.c | 19 years ago | |
cutpaste.c | 21 years ago | |
d3des.c | 20 years ago | |
d3des.h | 21 years ago | |
draw.c | 21 years ago | |
font.c | 20 years ago | |
hextile.c | 19 years ago | |
httpd.c | 19 years ago | |
lzoconf.h | 19 years ago | |
main.c | 18 years ago | |
minilzo.c | 19 years ago | |
minilzo.h | 19 years ago | |
private.h | 19 years ago | |
rfbconfig.h | 21 years ago | |
rfbregion.c | 20 years ago | |
rfbserver.c | 18 years ago | |
rre.c | 19 years ago | |
scale.c | 19 years ago | |
scale.h | 19 years ago | |
selbox.c | 20 years ago | |
sockets.c | 19 years ago | |
stats.c | 19 years ago | |
tableinit24.c | 21 years ago | |
tableinitcmtemplate.c | 21 years ago | |
tableinittctemplate.c | 21 years ago | |
tabletrans24template.c | 21 years ago | |
tabletranstemplate.c | 21 years ago | |
tight.c | 19 years ago | |
translate.c | 20 years ago | |
ultra.c | 19 years ago | |
vncauth.c | 20 years ago | |
zlib.c | 19 years ago | |
zrle.c | 19 years ago | |
zrleencodetemplate.c | 20 years ago | |
zrleoutstream.c | 20 years ago | |
zrleoutstream.h | 21 years ago | |
zrlepalettehelper.c | 21 years ago | |
zrlepalettehelper.h | 21 years ago | |
zrletypes.h | 21 years ago |