Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 529856 - net-misc/tigervnc with x11-libs/fltk-1.3.3 - vncview: segmentation fault in ? at ?
Summary: net-misc/tigervnc with x11-libs/fltk-1.3.3 - vncview: segmentation fault in ?...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Raúl Porcel (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-11-19 13:37 UTC by Maxim Britov
Modified: 2014-11-19 14:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Britov 2014-11-19 13:37:15 UTC
$ vncview boxname segfault instead of asking password.

There is bug on upstream tracker: http://www.fltk.org/str.php?L3152
And patch there.
For me patch fixes this segfault.

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;

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-19 14:00:46 UTC
The patch is apparently for fltk, not tigervnc.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-19 14:06:59 UTC
Fixed in x11-libs/fltk-1.3.3-r1.