Slackadays / Clipboard

😎🏖️🐬 Your new, 𝙧𝙞𝙙𝙤𝙣𝙠𝙪𝙡𝙞𝙘𝙞𝙤𝙪𝙨𝙡𝙮 smart clipboard manager
https://getclipboard.app/
GNU General Public License v3.0
4.64k stars 135 forks source link

GUI integration coredumps after some time #188

Open dgudim opened 7 months ago

dgudim commented 7 months ago

Describe the bug

After about 30 minutes after last using clipboard, its gui daemon crashes

[🡕] Process 27496 (cb) of user 1000 dumped core.

                                                              Stack trace of thread 27496:
                                                              #0  0x000071f48ccf43d6 readdir64 (libc.so.6 + 0xd63d6)
                                                              #1  0x000058e61880cfca _ZN9Clipboard19generatedEntryIndexEv (cb + 0x1ffca)
                                                              #2  0x000058e618810e7d _ZN9ClipboardC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKm (cb + 0x23e7d)
                                                              #3  0x000058e618826a71 _Z23setupGUIClipboardDaemonv (cb + 0x39a71)
                                                              #4  0x000058e6188068e5 main (cb + 0x198e5)
                                                              #5  0x000071f48cc45cd0 n/a (libc.so.6 + 0x27cd0)
                                                              #6  0x000071f48cc45d8a __libc_start_main (libc.so.6 + 0x27d8a)
                                                              #7  0x000058e61880ab15 _start (cb + 0x1db15)
                                                              ELF object binary architecture: AMD x86-64

To Reproduce Steps to reproduce the behavior:

  1. Type cb
  2. Wait

Expected behavior Nothing crashes

Version I'm using CB 0.9.0 from the Arch repos

Questionnaire Check these boxes to see if your issue is valid or not.

segln commented 1 month ago

Same issue on Arch linux ARM.

6.9.10-1-aarch64-ARCH cb 0.8.2 (commit 9dff27c)