Skip to content

[Cherry 5.0.x]: fix: Ensure corrent order of globals initalization#1981

Merged
michalkopczan merged 1 commit into
5.0.xfrom
cherry-5.0.x-men-9878-mender-terminates-on-ubuntu-resolute
Jun 26, 2026
Merged

[Cherry 5.0.x]: fix: Ensure corrent order of globals initalization#1981
michalkopczan merged 1 commit into
5.0.xfrom
cherry-5.0.x-men-9878-mender-terminates-on-ubuntu-resolute

Conversation

@mender-test-bot

Copy link
Copy Markdown

Cherry pick of PR: #1979
For you :)

@mender-test-bot

Copy link
Copy Markdown
Author

@mender-test-bot, start a full client pipeline with:

  • mentioning me and start client pipeline

my commands and options

You can prevent me from automatically starting CI pipelines:

  • if your pull request title starts with "[NoCI] ..."

You can trigger a client pipeline on multiple prs with:

  • mentioning me and start client pipeline --pr mender/127 --pr mender-connect/255

You can trigger a client pipeline for a specific Mender Client release with:

  • mentioning me and start client pipeline --release 6.0.x (can be given multiple times)
  • by default, a pipeline is triggered for each supported release the component is a part of

You can trigger GitHub->GitLab branch sync with:

  • mentioning me and sync

You can print PR statistics for a repository with:

  • mentioning me and print fast pr stats (Team stats only)
  • mentioning me and print full pr stats (Detailed report)
  • options: --repo <repo>, --team <name>, --all-repos, --exclude-drafts, --exclude-user <user>
  • mentioning me and print full pr stats --repo mender --all-repos --exclude-drafts

You can cherry pick to a given branch or branches with:

  • mentioning me and:
 cherry-pick to:
 * 1.0.x
 * 2.0.x

@michalkopczan

Copy link
Copy Markdown
Contributor

@mender-test-bot start client pipeline

@mender-test-bot

Copy link
Copy Markdown
Author

Hello 😺 I created a pipeline for you here: Pipeline-2628655531

Build Configuration Matrix

Key Value
BUILD_BEAGLEBONEBLACK true
BUILD_CLIENT true
BUILD_QEMUX86_64_BIOS_GRUB true
BUILD_QEMUX86_64_BIOS_GRUB_GPT true
BUILD_QEMUX86_64_UEFI_GRUB true
BUILD_VEXPRESS_QEMU true
BUILD_VEXPRESS_QEMU_FLASH true
BUILD_VEXPRESS_QEMU_UBOOT_UEFI_GRUB true
INTEGRATION_REV 3.8.x
MENDER_BINARY_DELTA_REV 1.5.x
MENDER_CONFIGURE_MODULE_REV 1.1.x
MENDER_CONNECT_REV 2.3.x
MENDER_FLASH_REV master
MENDER_GATEWAY_REV 2.0.x
MENDER_REV pull/1981/head
META_MENDER_REV wrynose
META_OPENEMBEDDED_REV wrynose
META_RASPBERRYPI_REV wrynose
MONITOR_CLIENT_REV 1.4.x
RUN_INTEGRATION_TESTS true
TEST_QEMUX86_64_BIOS_GRUB true
TEST_QEMUX86_64_BIOS_GRUB_GPT true
TEST_QEMUX86_64_UEFI_GRUB true
TEST_VEXPRESS_QEMU true
TEST_VEXPRESS_QEMU_FLASH true
TEST_VEXPRESS_QEMU_UBOOT_UEFI_GRUB true
YOCTO_REV wrynose

Changelog: Fix a segault caused by global variables: common_global_options and common_description_append
referencing another global: DefaultPaths. As the initialization order of globals is unspecified in
the standard, it caused referencing uninitialized DefaultPaths on Ubuntu 26.04 when using -flto
Link-Time Optimization flag.

Ticket: MEN-9878

(cherry picked from commit 683cc69)
Signed-off-by: Michal Kopczan <michal.kopczan@northern.tech>
@michalkopczan michalkopczan force-pushed the cherry-5.0.x-men-9878-mender-terminates-on-ubuntu-resolute branch from 9ff037e to 21e9825 Compare June 25, 2026 13:09
@mender-test-bot

mender-test-bot commented Jun 25, 2026

Copy link
Copy Markdown
Author

Merging these commits will result in the following changelog entries:

Changelogs

mender (cherry-5.0.x-men-9878-mender-terminates-on-ubuntu-resolute)

New changes in mender since 5.0.x:

Bug Fixes
  • Fix a segault caused by global variables: common_global_options and common_description_append
    referencing another global: DefaultPaths. As the initialization order of globals is unspecified in
    the standard, it caused referencing uninitialized DefaultPaths on Ubuntu 26.04 when using -flto
    Link-Time Optimization flag.
    (MEN-9878)

@michalkopczan

Copy link
Copy Markdown
Contributor

@mender-test-bot start client pipeline

@mender-test-bot

Copy link
Copy Markdown
Author

Hello 😺 I created a pipeline for you here: Pipeline-2629139430

Build Configuration Matrix

Key Value
BUILD_BEAGLEBONEBLACK true
BUILD_CLIENT true
BUILD_QEMUX86_64_BIOS_GRUB true
BUILD_QEMUX86_64_BIOS_GRUB_GPT true
BUILD_QEMUX86_64_UEFI_GRUB true
BUILD_VEXPRESS_QEMU true
BUILD_VEXPRESS_QEMU_FLASH true
BUILD_VEXPRESS_QEMU_UBOOT_UEFI_GRUB true
INTEGRATION_REV 3.8.x
MENDER_BINARY_DELTA_REV 1.5.x
MENDER_CONFIGURE_MODULE_REV 1.1.x
MENDER_CONNECT_REV 2.3.x
MENDER_FLASH_REV master
MENDER_GATEWAY_REV 2.0.x
MENDER_REV pull/1981/head
META_MENDER_REV wrynose
META_OPENEMBEDDED_REV wrynose
META_RASPBERRYPI_REV wrynose
MONITOR_CLIENT_REV 1.4.x
RUN_INTEGRATION_TESTS true
TEST_QEMUX86_64_BIOS_GRUB true
TEST_QEMUX86_64_BIOS_GRUB_GPT true
TEST_QEMUX86_64_UEFI_GRUB true
TEST_VEXPRESS_QEMU true
TEST_VEXPRESS_QEMU_FLASH true
TEST_VEXPRESS_QEMU_UBOOT_UEFI_GRUB true
YOCTO_REV wrynose

@michalkopczan michalkopczan merged commit d630dea into 5.0.x Jun 26, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants