Public bug reported:

When I download the Ubuntu source for fltk1.1.9 and compile it myself,
my program works just fine.  Also version 1.1.5 (dapper) works fine with
my code.  But, the pre-built libfltk.so that is installed by default
segfaults.

Simple test case:

  disp=new Fl_Text_Display(0, y, w, h);
  disp->buffer(new Fl_Text_Buffer(256));
  std::cerr <<"HERE: "<<disp->buffer()->text()<<std::endl;
  disp->buffer()->text("foo");


Segfaults on the text(char*).  You could substitute an append("foo") on the 
last line and watch it segfault there too.

** Affects: fltk1.1 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Fl_Text_Buffer().append() (or text(char*) causes segmentation fault
https://bugs.launchpad.net/bugs/363128
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to