helpThe GNU Bourne-Again SHell - Support: sr #108903, Inconsistency of...


sr #108903: Inconsistency of BASH_SOURCE/BASH_LINENO/FUNCNAME with 'pinned' functions

Submitted by:  Arno-Can Uestuensoez <acue>
Submitted on:  Fri 09 Oct 2015 01:06:05 AM UTC  
Category: NonePriority: 5 - Normal
Severity: 4 - ImportantStatus: Done
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 13 Nov 2015 07:49:54 PM UTC, comment #1:

The actual problem here, which the proposed fix simply masks, is that functions imported from the environment have no source file or line number information.

I have fixed that, and the fix will be in bash-4.4.

(I am not sure what you mean by `pinned' functions.)

Chet Ramey <chet>
Project Administrator
Fri 09 Oct 2015 01:06:05 AM UTC, original submission:

The error is set to severity 4, because it prohibits tracing in another project, which is going to introduce concepts of modularity and object orientation for the bash. Tracing for flow
analysis is seen here as important for several reasons.

The attached files contain:

0. README.txt - draft overview
1. call-sequence-with-error.txt - sequence diagram
2. static-fct-min-verbose.tar.gz - error validation scripts

Arno-Can Uestuensoez

Arno-Can Uestuensoez <acue>


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

Attach File(s):

Attached Files
file #35114:  README.txt added by acue (2KiB - text/plain)
file #35116:  static-fct-min-verbose.tar.gz added by acue (729B - application/gzip)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by chet (Posted a comment)
  • -unavailable- added by acue (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 13 Nov 2015 07:49:54 PM UTCchetStatusNone=>Done
    Fri 09 Oct 2015 01:06:05 AM UTCacueAttached File-=>Added README.txt, #35114
      Attached File-=>Added call-sequence-with-error.txt, #35115
      Attached File-=>Added static-fct-min-verbose.tar.gz, #35116

    Back to the top

    Powered by Savane 3.1-cleanup1