bugGNU Octave - Bugs: bug #60128, The function doc does not operate...

 
 

bug #60128: The function doc does not operate very well with user defined functions

Submitter:  sly cooper <slycooper50>
Submitted:  Fri 26 Feb 2021 03:42:28 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Works For Me Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 6.2.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Thu 04 Mar 2021 10:33:26 PM UTC, comment #7: 

No response, closing report.

Rik <rik5>
Group administrator
Fri 26 Feb 2021 05:38:18 PM UTC, comment #6: 

This looks like bug #59656, which I think was fixed (no crash anymore) between 6.1 and 6.2.

@slycooper50: Do you observe a crash in 6.2 or is it actually 6.1?

As a side note, according to ML documentation, for a user defined "name.m" function, "... doc searches for help text in a file named name.m or name.mlx. If help text is available, doc displays it in the Help browser."

This behavior could probably be implemented in octave with the help of "get_help_text_from_file" and eventually "__makeinfo__" when the help text is written in texinfo.

Pantxo Diribarne <pantxo>
Group Member
Fri 26 Feb 2021 05:21:03 PM UTC, comment #5: 

A similar bug existed in octave 6.1 It should have been fixed in 6.2 and later.

Could you verify your octave version?

https://savannah.gnu.org/bugs/?func=detailitem&item_id=59656

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Fri 26 Feb 2021 04:48:36 PM UTC, comment #4: 

Works for me (no crash) with 6.2.1, thiough it could not find any docs.

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Fri 26 Feb 2021 04:38:28 PM UTC, comment #3: 

octave exited with signal 6

is the crash message I get.

sly cooper <slycooper50>
Fri 26 Feb 2021 04:37:22 PM UTC, comment #2: 

The link below is for a free scientific MATLAB/OCTAVE software. In MATLAB it is possible to run doc function on any function defined by the software. In Octave this is not possible (software will crash).
 
https://www.sintef.no/projectweb/mrst/

Try (doc grid_structure) on this code.

sly cooper <slycooper50>
Fri 26 Feb 2021 03:47:02 PM UTC, comment #1: 

We need an example.

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Fri 26 Feb 2021 03:42:28 PM UTC, original submission:  

Greetings. The doc function crashes for user defined functions. The gui will exit immediately.

sly cooper <slycooper50>

 

(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 rik5 (Posted a comment)
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by dasergatskov (Posted a comment)
  • -email is unavailable- added by slycooper50 (Submitted the item)
  • -email is unavailable- added by slycooper50
  •  

    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.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-03-04 rik5 Open/ClosedOpen Closed
    2021-02-26 pantxo Item GroupNone Segfault, Bus Error, etc.
        StatusNone Works For Me
    2021-02-26 slycooper50 Carbon-Copy- Added slycooper50

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code