Skip to content

Crash when detaching weapon from Combat Shield #219

@tomaszkot1

Description

@tomaszkot1

Describe the bug
Game crashes with
app/bin/CortexCommand: line 44: 15 Aborted (core dumped) "/app/lib/CortexCommand/CortexCommand" $@
when trying to detach weapon from Combat Shield

To Reproduce
Steps to reproduce the behavior:

  1. Spawn someone with Combat Shield and attachable weapon
  2. Attach the weapon to the shield
  3. Select "Detach" from the circular menu

It doesn't happen 100% of the time but I was able to detach at most once before crashing.

Additional context
Tested on 6.2.2 installed via flatpak.

           PID: 19050 (CortexCommand)
           UID: 1000 (user)
           GID: 1000 (user)
        Signal: 6 (ABRT)
     Timestamp: Mon 2025-09-01 18:26:27 CEST (1min 52s ago)
  Command Line: /app/lib/CortexCommand/CortexCommand
    Executable: /app/lib/CortexCommand/CortexCommand
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-flatpak-io.github.cortex_command_community.Cortex\x2dCommand\x2dCommunity\x2dProject-19026.scope
          Unit: user@1000.service
     User Unit: app-flatpak-io.github.cortex_command_community.Cortex\x2dCommand\x2dCommunity\x2dProject-19026.scope
         Slice: user-1000.slice
     Owner UID: 1000 (user)
       Boot ID: e688771a35de441ab297081937eef877
    Machine ID: 14fbba364bc84d1f8230c3bb008bb057
      Hostname: hostname
       Storage: /var/lib/systemd/coredump/core.CortexCommand.1000.e688771a35de441ab297081937eef877.19050.1756743987000000.zst (present)
  Size on Disk: 274.1M
       Message: Process 19050 (CortexCommand) of user 1000 dumped core.
            Stack trace of thread 15:
            #0  0x000078b1cf09b344 n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x9a344)
            #1  0x000078b1cf04250e n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x4150e)
            #2  0x000078b1cf029882 n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x28882)
            #3  0x000064d28644f4bc n/a (/app/lib/CortexCommand/CortexCommand + 0xd84bc)
            #4  0x000078b1cf0425c0 n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x415c0)
            #5  0x000064d28699c23c n/a (/app/lib/CortexCommand/CortexCommand + 0x62523c)
            #6  0x000064d28660a7ee n/a (/app/lib/CortexCommand/CortexCommand + 0x2937ee)
            #7  0x000064d28660af18 n/a (/app/lib/CortexCommand/CortexCommand + 0x293f18)
            #8  0x000064d2865511c2 n/a (/app/lib/CortexCommand/CortexCommand + 0x1da1c2)
            #9  0x000064d286575f47 n/a (/app/lib/CortexCommand/CortexCommand + 0x1fef47)
            #10 0x000064d2866f94e4 n/a (/app/lib/CortexCommand/CortexCommand + 0x3824e4)
            #11 0x000064d2864c1773 n/a (/app/lib/CortexCommand/CortexCommand + 0x14a773)
            #12 0x000064d28647c0a3 n/a (/app/lib/CortexCommand/CortexCommand + 0x1050a3)
            #13 0x000078b1cf02b3c8 n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x2a3c8)
            #14 0x000078b1cf02b48b n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x2a48b)
            #15 0x000064d2864bfda5 n/a (/app/lib/CortexCommand/CortexCommand + 0x148da5)
            ELF object binary architecture: AMD x86-64

If you can't recreate the issue please let me know, I will try to install debug packages to get a more meaningful stack trace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions