FLTK logo

STR #3152

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 1.3 | SVN ⇄ GIT ]

STR #3152

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:5 - Critical, e.g. nothing working at all
Scope:3 - Applies to all machines and operating systems
Subsystem:Core Library
Summary:TigerVNC segfaults with FLTK 1.3.3
Version:1.3.3
Created By:robotanarchy
Assigned To:AlbrechtS
Fix Version:1.3.4 (SVN: v10434)
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text  
 
#1 robotanarchy
04:07 Nov 15, 2014
I have upgraded from fltk 1.3.2 to 1.3.3 on Arch Linux x86_64, and suddenly the vncviewer crashes on successful connection.

I have also tried to recompile tigervnc against this fltk version, but it still segfaults.

In the TigerVNC bugtracker I was told, that this is a bug in FLTK, so I'm reporting it here, too.


Releated bugreports:
https://github.com/TigerVNC/tigervnc/issues/72
https://bugs.archlinux.org/task/42795


Backtrace from the crash:
#0  0x00007ffff75c2847 in XRootWindow () from /usr/lib/libX11.so.6
#1  0x00007ffff797410c in Fl_X::ewmh_supported() () from /usr/lib/libfltk.so.1.3
#2  0x00007ffff791694e in Fl::focus(Fl_Widget*) () from /usr/lib/libfltk.so.1.3
#3  0x00007ffff796b259 in Fl_Widget::take_focus() () from /usr/lib/libfltk.so.1.3
#4  0x00007ffff7978046 in ?? () from /usr/lib/libfltk.so.1.3
#5  0x00007ffff7978625 in fl_password(char const*, char const*, ...) () from /usr/lib/libfltk.so.1.3
#6  0x00000000004245e0 in UserDialog::getUserPasswd(char**, char**) ()
#7  0x000000000045ce80 in rfb::CSecurityVncAuth::processMsg(rfb::CConnection*) ()
#8  0x000000000042deb9 in rfb::CConnection::processSecurityMsg() ()
#9  0x000000000042e1da in rfb::CConnection::processSecurityTypesMsg() ()
#10 0x0000000000420360 in CConn::socketEvent(int, void*) ()
#11 0x00007ffff7973ffc in ?? () from /usr/lib/libfltk.so.1.3
#12 0x00007ffff79176ee in Fl::wait(double) () from /usr/lib/libfltk.so.1.3
#13 0x000000000041f0b6 in main ()
 
 
#2 AlbrechtS
07:55 Nov 15, 2014
Thanks for the report. This may be fixed already in the subversion repository.

Can you please try using current svn (see download page) or apply the following small patch?

$ svn diff -c 10434
Index: src/Fl_x.cxx
===================================================================
--- src/Fl_x.cxx        (revision 10433)
+++ src/Fl_x.cxx        (revision 10434)
@@ -2211,6 +2211,7 @@
   static int result = -1;

   if (result == -1) {
+    fl_open_display();
     result = 0;
     unsigned long nitems;
     unsigned long *words = 0;


Please report back if this fixes the issue for you.
 
 
#3 jjacky
13:31 Nov 15, 2014
So I've hit the same issue, and compiling FLTK 1.3.3 with the patch above did fix it indeed; thanks.  
 
#4 robotanarchy
10:09 Nov 19, 2014
The Arch Linux maintainer has built fltk-1.3.3-3 with the patch above (it is currently in testing), I have installed it and it fixes the segfault!

Thanks AlbrechtS and jjacky :)
 
 
#5 AlbrechtS
04:01 Nov 21, 2014
Thanks for the feedback. The final fix will be in the next FLTK release (1.3.4).

Closed.
 
     

Return to Bugs & Features ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.