bugGNU Octave - Bugs: bug #45645, Bad FLTK symbol name

 
 

bug #45645: Bad FLTK symbol name

Submitter:  MM <emarci>
Submitted:  Tue 28 Jul 2015 06:06:33 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.8.2 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 28 Jul 2015 08:31:51 PM UTC, comment #3: 

Thank you both for your responses. I should have checked if there is a newer stable version, I am sorry.

Mike, thank you for your comment about FLTK. It will help me to find a workaround.

MM <emarci>
Tue 28 Jul 2015 08:04:16 PM UTC, comment #2: 

Moreover, I see that the FLTK library had a slight API change between version 1.3.2 and 1.3.3. This looks like it might be a version of Octave compiled against 1.3.3 but running with the 1.3.2 libraries, for example, or possibly a bug in the FLTK packaging for OpenSUSE.

https://sources.debian.net/src/fltk1.3/1.3.2-6/FL/Fl_Window.H/#L475
https://sources.debian.net/src/fltk1.3/1.3.3-2/FL/Fl_Window.H/#L613

Mike Miller <mtmiller>
Group Member
Tue 28 Jul 2015 07:43:31 PM UTC, comment #1: 

Octave 3.8.2 is no longer maintained.  If you can reproduce this issue with the current stable version, octave-4.0.0, we can take a look.  For now, I'll close the report.

Rik <rik5>
Group administrator
Tue 28 Jul 2015 06:06:33 PM UTC, original submission:  

Description of bug
==================

The following behavior was produced by Octave 3.8.2 installed on a clean OpenSUSE 13.2.

When octave starts up it prints an error message:


error: /usr/lib64/octave/3.8.2/oct/x86_64-suse-linux-gnu/PKG_ADD: /usr/lib64/octave/3.8.2/oct/x86_64-suse-linux-gnu/__init_fltk__.oct: failed to load: /usr/lib64/octave/3.8.2/oct/x86_64-suse-linux-gnu/__init_fltk__.oct: undefined symbol: _ZN9Fl_Window6cursorE9Fl_Cursor
error: called from:
error:   /usr/lib64/octave/3.8.2/oct/x86_64-suse-linux-gnu/PKG_ADD at line 6, column 1


In interactive terminal mode, the command line eventually shows up but neither fltk nor gnuplot is available for plotting. Batch-mode octave jobs just crash and exit.

Suspected reason:
=================

I suspect that the symbol name _ZN9Fl_Window6cursorE9Fl_Cursor is not correct. It should be _ZN9Fl_Window6cursorE9Fl_Cursorjj.
It was _ZN9Fl_Window6cursorE9Fl_Cursorjj in 3.6.2 which runs OK. Also I found out that this symbol is resolved in libfltk.so.1.3:


> nm -D /usr/lib64/libfltk.so.1.3 | grep Window6cursor
00000000000ace50 T _ZN9Fl_Window6cursorE9Fl_Cursorjj


Conclusion:
===========

This seems to be an OS-dependent regression problem. I don't know if this is a bug in the octave code itself or a problem with the OpenSUSE package. I hope you will find this report helpful.

MM <emarci>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by emarci (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-07-28 rik5 Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code