Skip to content

crashed occurred on jammy in a GitHub action #87033

@bkhouri

Description

@bkhouri

Description

A crash occurred while a GitHub Action was executing swift run --build-system swiftbuild swift-build --build-tests --build-system swiftbuild against the Swift Package Manager repository against this PR.

https://github.com/swiftlang/swift-package-manager/actions/runs/21757241559/job/62770917950?pr=9691

raw_logs_jammy_crash.txt

Reproduction

Unknown.

Stack dump

*** Signal 11: Backtracing from 0x7fbb5e5cc9ba... done ***

*** Program crashed: Bad pointer dereference at 0xffff8044a1a74710 ***

Platform: x86_64 Linux (Debian GNU/Linux 12 (bookworm))

Thread 2 "-qos.overcommit" crashed:

  0      0x00007fbb5e5cc9ba _dispatch_event_loop_drain + 1130 in libdispatch.so
  1 [ra] 0x00007fbb5e5c1fe2 _dispatch_mgr_invoke + 129 in libdispatch.so
  2 [ra] 0x00007fbb5e5c1f4d _dispatch_mgr_thread + 108 in libdispatch.so
  3 [ra] 0x00007fbb5e5c5185 _dispatch_worker_thread + 676 in libdispatch.so
...
Thread 20 "oot.default-qos":

  0  0x00007fbb5d0a69dc select + 332 in libc.so.6
...


Registers:

rax 0x00007fbb5e589ec0  00 00 00 00 00 00 00 00 30 00 00 00 00 00 00 00  ········0·······
rdx 0x0000000000000000  0
rcx 0xffff8044a1a74708  18446603630991066888
rbx 0x0000000000000001  1
rsi 0x00007fbb5e5ec1d0  01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00  ················
rdi 0x0000000000000081  129
rbp 0x00007fbb56826a00  80 6a 82 56 bb 7f 00 00 e2 1f 5c 5e bb 7f 00 00  ·j·V»···â·\^»···
rsp 0x00007fbb56826880  10 00 00 00 a0 10 00 48 bb 7f 00 00 bb 7f 00 00  ···· ··H»···»···
 r8 0x0000000000000004  4
 r9 0x00007fbb4403c750  3c 40 b4 fb 07 00 00 00 ff ff ff ff ff ff ff ff  <@´û····ÿÿÿÿÿÿÿÿ
r10 0x0000000000000000  0
r11 0x0000000000000246  582
r12 0x00007fbb56826948  b0 e4 97 40 bb 7f 00 00 40 9c 5e 5e bb 7f 00 00  °ä·@»···@·^^»···
r13 0x00007fbb5e5cf3c4  63 d2 ff ff a6 d2 ff ff 02 d2 ff ff 84 d2 ff ff  cÒÿÿ¦Òÿÿ·Òÿÿ·Òÿÿ
r14 0x0000000000000000  0
r15 0x0000000000000001  1
rip 0x00007fbb5e5cc9ba  8b 51 08 81 fa ff ff ff 7f 74 12 ba 02 00 00 00  ·Q··úÿÿÿ·t·º····

rflags 0x0000000000010206  PF

cs 0x0033  fs 0x0000  gs 0x0000


Images (71 omitted):

0x00005649d02d5000–0x00005649d3ad2b80 3d9f779cafc30503be9f978513a82d2c45870bd9 swift-package           /opt/swift/6.2/usr/bin/swift-package
0x00007fbb5cfa8000–0x00007fbb5d12303c 6196744a316dbd57c0fd8968df1680aac482cec4 libc.so.6               /usr/lib/x86_64-linux-gnu/libc.so.6
0x00007fbb5df2a000–0x00007fbb5e410768 bfb3691f44c13c72e13cb1f889005c5c859c5e69 libFoundation.so        /opt/swift/6.2/usr/lib/swift/linux/libFoundation.so
0x00007fbb5e590000–0x00007fbb5e5d8248 d595d5a12a5a6754cebb7bf18ae1cc1666a48378 libdispatch.so          /opt/swift/6.2/usr/lib/swift/linux/libdispatch.so
0x00007fbb5e80c000–0x00007fbb5e8a1dc8 c441ec5954828c07bafc5e9748fdbc10a3d0521e libswift_Concurrency.so /opt/swift/6.2/usr/lib/swift/linux/libswift_Concurrency.so
0x00007fbb5e8cc000–0x00007fbb5eeb1078 7227c684187ca46a4f91adc21736dbfcb73f632c libswiftCore.so         /opt/swift/6.2/usr/lib/swift/linux/libswiftCore.so

Backtrace took 25.60s

Segmentation fault (core dumped)
Error: Process completed with exit code 139.

Expected behavior

A stack dump does not occur

Environment

Swift nightly-main on Jammy x86)64

$ swift --version
Swift version 6.3-dev (LLVM c480caf3dc1c3ea, Swift 1e00daa140adf86)
Target: x86_64-unknown-linux-gnu
Build config: +assertions

$   clang --version
clang version 21.0.0 (https://github.com/swiftlang/llvm-project.git c480caf3dc1c3ea68d2424cc931db2374905abf5)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/swift/6.2/usr/bin
Build config: +assertions

Additional information

GitHub action raw logs: raw_logs_jammy_crash.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    crashBug: A crash, i.e., an abnormal termination of softwaretriage neededThis issue needs more specific labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions