bugmake - Bugs: bug #61241, Strange hung in make after build...


bug #61241: Strange hung in make after build terminated

Submitter:  Uladzimir Bely <ubely>
Submitted:  Wed 29 Sep 2021 07:14:04 AM UTC
Severity:  3 - Normal Item Group:  Bug
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Component Version:  4.2.1 Operating System:  None
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup

Wed 29 Sep 2021 07:14:04 AM UTC, original submission:  

During CI (Jenkins) build of our project we caught a strange `make` hang that's hard to understand for us. Maybe, it was something sporadic, but anyway it looked strange.

The project that was building and make hung with was u-boot (source is https://ftp.denx.de/pub/u-boot/u-boot-2020.10.tar.bz2 ) for de0-nano-soc target.

At some moment there were several "Terminated" messages (we couldn't understand where they came from), then the remaining files were built, but `make` didn't finished and left hung. The build log is attached.

I managed to connect to the hunging/running `make` process via gdb and walked several steps through the code. It looks like it
some chain of check_dep/update_file_1/update_file routings in `remake.c` code.

We just assume that there might be some bug in `make` that could lead to this `looping` instead of exit with error. And `make` developers could understand what had happened.

Uladzimir Bely <ubely>


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

Attach Files:

Attached Files
file #51982:  log.do_dpkg_build.20272 added by ubely (20KiB - application/octet-stream)
file #51983:  gdb_steps.txt added by ubely (55KiB - text/plain)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by ubely (Submitted the item)
  • -email is unavailable- added by ubely

    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 logged-in users can vote.


    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-09-29 ubely Attached File- Added log.do_dpkg_build.20272, #51982
        Attached File- Added gdb_steps.txt, #51983
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-b921.
    Corresponding source code