Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dovecot
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • DebianDebian
  • dovecot
  • Merge requests
  • !21

d/p/test-backtrace.patch: update to fix FTFBS with glibc 2.33 and later

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Christian Ehrhardt requested to merge paelzer-guest/dovecot:fix-FTFBS-DEBIAN into master Mar 30, 2021
  • Overview 4
  • Commits 1
  • Pipelines 0
  • Changes 1

With glibc 2.33 (in Ubuntu already) this fails. The upstream version would work on more common architectures.

Full string of the backtrace is:

(gdb) printf "%s\n", str_c(bt)
/build/dovecot-bRiyOq/dovecot-2.3.13+dfsg1/src/lib/test-lib(+0x83729) [0x5555555d7729]
-> /build/dovecot-bRiyOq/dovecot-2.3.13+dfsg1/src/lib/test-lib(test_backtrace+0x90) [0x55555558a9e0]
-> /build/dovecot-bRiyOq/dovecot-2.3.13+dfsg1/src/lib/test-lib(+0x7e74e) [0x5555555d274e]
-> /build/dovecot-bRiyOq/dovecot-2.3.13+dfsg1/src/lib/test-lib(test_run_named_with_fatals+0x7d) [0x5555555d530d]
-> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xd5) [0x7ffff7dfa565]
-> /build/dovecot-bRiyOq/dovecot-2.3.13+dfsg1/src/lib/test-lib(_start+0x2e) [0x5555555852ee]

It comes down to glibc 2.33 changing behavior in regard to dovecots backtrace_append_libc of src/lib/backtrace-string.c. We can't report this upstream as it only affects the Debian Delta.

Comparing what would be in the backtrace on various architectures and with odl and new glibc it seems "test_backtrace" is more reliable. Hence let us adapt the fix for that.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix-FTFBS-DEBIAN