For a specific experiment directory, the following error is reported by "gprofng display html": [Assertion error] get_function_info - unexpected: number of fields = 10 This error indicates that the input data is not as expected, resulting in an assertion error. As a result, the execution terminates prematurely.
The master branch has been updated by Vladimir Mezentsev <vmezents@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cc76856b8f4e6e71f86375b16378406712352bbd commit cc76856b8f4e6e71f86375b16378406712352bbd Author: Vladimir Mezentsev <vladimir.mezentsev@oracle.com> Date: Wed Jan 10 16:44:32 2024 -0800 gprofng: fix 3 bugzillas against gp-display-html Fix two cases where gp-display-html terminates prematurely because the input format is not recognized. This problem occurs in the function overview and caller-callee parts of the code. The fix consists of new regular expressions and a different approach in handling the input from gp-display-text. Also fix a performance problem in the caller-callee part that has a noticeable impact on the performance for large applications. gprofng/ChangeLog 2024-01-10 Ruud van der Pas <ruud.vanderpas@oracle.com> PR gprofng/30438 PR gprofng/30439 PR gprofng/30942 * gp-display-html/gp-display-html.in: fixes the issues.
The fixe is in binutils 2.42.