Package Details: discord_arch_electron 0.0.75-1

Git Clone URL: https://aur.archlinux.org/discord_arch_electron.git (read-only, click to copy)
Package Base: discord_arch_electron
Description: Discord using system provided electron for increased security and performance
Upstream URL: https://discord.com
Keywords: chat discord discord-stable discordapp electron video voice
Licenses: custom
Conflicts: discord
Provides: discord
Submitter: johnnyapol
Maintainer: Zoddo (Thaodan, SunRed)
Last Packager: Zoddo
Votes: 195
Popularity: 5.19
First Submitted: 2020-05-19 23:51 (UTC)
Last Updated: 2024-11-19 19:20 (UTC)

Dependencies (9)

Required by (25)

Sources (3)

Pinned Comments

SunRed commented on 2024-06-09 20:34 (UTC)

After a chat with @Zoddo and me just taking too long to come back to this, there should everything now be included that was in my old discord-electron package some migrated from (Krisp patcher, Wayland, autostart fix). Additionally I replaced the scrappy rizin patcher with a Python script someone from the nix community kindly made available.
Instead of checking against a checksum to know whether the Krisp binary was patched the script is run on every start of the client that results in slightly longer start times but has the advantage that we don't have to update the package if Discord ever silently updates the binary between client updates over their modules api.

Cheers

Zoddo commented on 2022-09-15 17:54 (UTC) (edited on 2023-03-31 17:24 (UTC) by Zoddo)

Starting with 0.0.26-1 (2023-03-31):
  • Switched back to the main electron package (electron22)
  • Watching cameras and streams is working again
Starting with 0.0.20-1 (2022-09-15):
  • Bumped electron16 to electron19 (I still have blocking issues with electron20)
  • Added support for $XDG_CONFIG_HOME/discord-flags.conf: this works like electron-flags.conf, you can set in this file the command line flags you want to pass to electron when running Discord (there are some useful flags in the wiki, especially if you are experiencing lag in the Discord UI).
FAQ

Discord requires an update, but this package isn't yet updated
Check the wiki.

The Discord UI is lagging
Try to add the flags recommended in the wiki in $XDG_CONFIG_HOME/discord-flags.conf.

Krisp not working
This is an issue that will likely never be fixed for this package. The Krisp module checks if Discord binaries are signed by Discord, which is not the case with this package.
See this comment and this GitHub issue for more details and possibles workarounds.

Latest Comments

« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 13 14 15 .. 38 Next › Last »

ardishco commented on 2023-06-23 15:59 (UTC)

How do you get it to run with Electron 24? @a172 ?

I would love to know how you can do that

a172 commented on 2023-06-23 15:41 (UTC)

When running with the options: --enable-features=UseOzonePlatform --ozone-platform=wayland

I get a segfault. It works with electron24.

ardishco commented on 2023-06-21 10:45 (UTC)

The application crashes with: fish: Job 1, 'discord' terminated by signal SIGSEGV (Address boundary error)

when trying to screenshare, as soon as you press the screenshare button, it crashes. Can't even select the screen I want to screenshare.

Might be an XWayland/Wayland thing but still worth mentioning

plarpoon commented on 2023-04-28 16:49 (UTC)

Each time I maximize the window, be that from the button or from dragging it to the top corner of the screen the application crashes and core-dumps.

I tried also using the discord-flags.conf file with the correct flags but it still behaves the same way.

I include here my coredump `` PID: 1449 (electron) UID: 1000 (plarpoon) GID: 1000 (plarpoon) Signal: 11 (SEGV) Timestamp: Fri 2023-04-28 00:36:29 CEST (18h ago) Command Line: $'/usr/lib/electron/electron --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto /usr/lib/discord/app.asar' Executable: /usr/lib/electron/electron Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-discord-1fbadf233b104756a92dd671414c5358.scope Unit: user@1000.service User Unit: app-discord-1fbadf233b104756a92dd671414c5358.scope Slice: user-1000.slice Owner UID: 1000 (plarpoon) Boot ID: 0980a50b2e2340eabb34dd752c558d6d Machine ID: 853b40f7810e43c68ada2414df13c215 Hostname: daisy Storage: /var/lib/systemd/coredump/core.electron.1000.0980a50b2e2340eabb34dd752c558d6d.1449.1682634989000000.zst (present) Size on Disk: 12.0M Message: Process 1449 (electron) of user 1000 dumped core.

            Stack trace of thread 1449:
            #0  0x00007f3e13b8512b n/a (libc.so.6 + 0x16c12b)
            #1  0x000055a72356c8f3 n/a (electron + 0x49808f3)
            #2  0x000055a722cb631d n/a (electron + 0x40ca31d)
            #3  0x000055a722e92c1b n/a (electron + 0x42a6c1b)
            #4  0x000055a7232c2a10 n/a (electron + 0x46d6a10)
            #5  0x000055a723180097 n/a (electron + 0x4594097)
            #6  0x000055a7231807c8 n/a (electron + 0x45947c8)
            #7  0x000055a723196e29 n/a (electron + 0x45aae29)
            #8  0x000055a723196803 n/a (electron + 0x45aa803)
            #9  0x000055a72319a154 n/a (electron + 0x45ae154)
            #10 0x000055a724e8417c n/a (electron + 0x629817c)
            #11 0x000055a724f9a1c2 n/a (electron + 0x63ae1c2)
            #12 0x000055a724faca6e n/a (electron + 0x63c0a6e)
            #13 0x000055a724e808e9 n/a (electron + 0x62948e9)
            #14 0x000055a7231967c8 n/a (electron + 0x45aa7c8)
            #15 0x000055a7232d60bf n/a (electron + 0x46ea0bf)
            #16 0x000055a724e8417c n/a (electron + 0x629817c)
            #17 0x000055a724f9a1c2 n/a (electron + 0x63ae1c2)
            #18 0x000055a724faca6e n/a (electron + 0x63c0a6e)
            #19 0x000055a724e808e9 n/a (electron + 0x62948e9)
            #20 0x000055a7277f125e n/a (electron + 0x8c0525e)
            #21 0x000055a7277efd8e n/a (electron + 0x8c03d8e)
            #22 0x000055a7277723c2 n/a (electron + 0x8b863c2)
            #23 0x000055a7277ee929 n/a (electron + 0x8c02929)
            #24 0x000055a72777232a n/a (electron + 0x8b8632a)
            #25 0x000055a720c69578 n/a (electron + 0x207d578)
            #26 0x000055a7277723c2 n/a (electron + 0x8b863c2)
            #27 0x000055a720c6ec27 n/a (electron + 0x2082c27)
            #28 0x000055a7277723c2 n/a (electron + 0x8b863c2)
            #29 0x000055a72776c280 n/a (electron + 0x8b80280)
            #30 0x000055a72776c121 n/a (electron + 0x8b80121)
            #31 0x000055a72776be88 n/a (electron + 0x8b7fe88)
            #32 0x000055a727775756 n/a (electron + 0x8b89756)
            #33 0x000055a7277723c2 n/a (electron + 0x8b863c2)
            #34 0x000055a7277a4a21 n/a (electron + 0x8bb8a21)
            #35 0x000055a7277723c2 n/a (electron + 0x8b863c2)
            #36 0x000055a7277a591c n/a (electron + 0x8bb991c)
            #37 0x000055a7277723c2 n/a (electron + 0x8b863c2)
            #38 0x000055a72777ebb0 n/a (electron + 0x8b92bb0)
            #39 0x000055a727775756 n/a (electron + 0x8b89756)
            #40 0x000055a7277723c2 n/a (electron + 0x8b863c2)
            #41 0x000055a7277730c2 n/a (electron + 0x8b870c2)
            #42 0x000055a72778f7c5 n/a (electron + 0x8ba37c5)
            #43 0x000055a7277c1045 n/a (electron + 0x8bd5045)
            #44 0x000055a724eacee8 n/a (electron + 0x62c0ee8)
            #45 0x000055a724f89237 n/a (electron + 0x639d237)
            #46 0x000055a720c53acf n/a (electron + 0x2067acf)
            #47 0x000055a72139bf7c n/a (electron + 0x27aff7c)
            #48 0x000055a72139e027 n/a (electron + 0x27b2027)
            #49 0x000055a72139950f n/a (electron + 0x27ad50f)
            #50 0x000055a7213ab2c5 n/a (electron + 0x27bf2c5)
            #51 0x00007f3e148264f6 n/a (libffi.so.8 + 0x74f6)
            #52 0x00007f3e14822f5e n/a (libffi.so.8 + 0x3f5e)
            #53 0x00007f3e14825b73 ffi_call (libffi.so.8 + 0x6b73)
            #54 0x00007f3e052c2645 n/a (libwayland-client.so.0 + 0x7645)
            #55 0x00007f3e052c2e73 n/a (libwayland-client.so.0 + 0x7e73)
            #56 0x00007f3e052c313c wl_display_dispatch_queue_pending (libwayland-client.so.0 + 0x813c)
            #57 0x000055a721383647 n/a (electron + 0x2797647)
            #58 0x000055a7213b807e n/a (electron + 0x27cc07e)
            #59 0x00007f3e1838b53b g_main_context_dispatch (libglib-2.0.so.0 + 0x5a53b)
            #60 0x00007f3e183e8219 n/a (libglib-2.0.so.0 + 0xb7219)
            #61 0x00007f3e1838a1a2 g_main_context_iteration (libglib-2.0.so.0 + 0x591a2)
            #62 0x000055a723cdda0c n/a (electron + 0x50f1a0c)
            #63 0x000055a723d33c3e n/a (electron + 0x5147c3e)

            Stack trace of thread 1456:
            #0  0x00007f3e13aea747 wait4 (libc.so.6 + 0xd1747)
            #1  0x000055a723d702ea n/a (electron + 0x51842ea)
            #2  0x000055a723d6d404 n/a (electron + 0x5181404)
            #3  0x000055a723d7598e n/a (electron + 0x518998e)
            #4  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #5  0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1463:
            #0  0x00007f3e13b211b6 epoll_wait (libc.so.6 + 0x1081b6)
            #1  0x000055a720aa7d8d n/a (electron + 0x1ebbd8d)
            #2  0x000055a720a98914 uv_run (electron + 0x1eac914)
            #3  0x000055a72797cd33 n/a (electron + 0x8d90d33)
            #4  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #5  0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1473:
            #0  0x00007f3e13b190dd syscall (libc.so.6 + 0x1000dd)
            #1  0x00007f3e183e17b5 g_cond_wait (libglib-2.0.so.0 + 0xb07b5)
            #2  0x00007f3e18355fb4 n/a (libglib-2.0.so.0 + 0x24fb4)
            #3  0x00007f3e183bcf9e n/a (libglib-2.0.so.0 + 0x8bf9e)
            #4  0x00007f3e183b8315 n/a (libglib-2.0.so.0 + 0x87315)
            #5  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #6  0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1467:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13aa6930 n/a (libc.so.6 + 0x8d930)
            #2  0x000055a720aa4bf8 uv_sem_wait (electron + 0x1eb8bf8)
            #3  0x000055a727a04957 n/a (electron + 0x8e18957)
            #4  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #5  0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1466:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9df90 pthread_cond_wait (libc.so.6 + 0x84f90)
            #2  0x000055a720aa4dea uv_cond_wait (electron + 0x1eb8dea)
            #3  0x000055a72797cf47 n/a (electron + 0x8d90f47)
            #4  0x000055a72797a52a n/a (electron + 0x8d8e52a)
            #5  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #6  0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1450:
            #0  0x00007f3e13b139df __poll (libc.so.6 + 0xfa9df)
            #1  0x000055a723343efc n/a (electron + 0x4757efc)
            #2  0x000055a723d7598e n/a (electron + 0x518998e)
            #3  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #4  0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1465:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9df90 pthread_cond_wait (libc.so.6 + 0x84f90)
            #2  0x000055a720aa4dea uv_cond_wait (electron + 0x1eb8dea)
            #3  0x000055a72797cf47 n/a (electron + 0x8d90f47)
            #4  0x000055a72797a52a n/a (electron + 0x8d8e52a)
            #5  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #6  0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1477:
            #0  0x00007f3e13b139df __poll (libc.so.6 + 0xfa9df)
            #1  0x00007f3e183e817f n/a (libglib-2.0.so.0 + 0xb717f)
            #2  0x00007f3e1838a1a2 g_main_context_iteration (libglib-2.0.so.0 + 0x591a2)
            #3  0x00007f3e04903fde n/a (libdconfsettings.so + 0x5fde)
            #4  0x00007f3e183b8315 n/a (libglib-2.0.so.0 + 0x87315)
            #5  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #6  0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1474:
            #0  0x00007f3e13b139df __poll (libc.so.6 + 0xfa9df)
            #1  0x00007f3e183e817f n/a (libglib-2.0.so.0 + 0xb717f)
            #2  0x00007f3e1838a1a2 g_main_context_iteration (libglib-2.0.so.0 + 0x591a2)
            #3  0x00007f3e1838a1f2 n/a (libglib-2.0.so.0 + 0x591f2)
            #4  0x00007f3e183b8315 n/a (libglib-2.0.so.0 + 0x87315)
            #5  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #6  0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1480:
            #0  0x00007f3e13b211b6 epoll_wait (libc.so.6 + 0x1081b6)
            #1  0x000055a723ec1f67 n/a (electron + 0x52d5f67)
            #2  0x000055a723ebfa65 n/a (electron + 0x52d3a65)
            #3  0x000055a723d853b7 n/a (electron + 0x51993b7)
            #4  0x000055a723d33c3e n/a (electron + 0x5147c3e)
            #5  0x000055a723cfae9a n/a (electron + 0x510ee9a)
            #6  0x000055a723d51297 n/a (electron + 0x5165297)
            #7  0x000055a723d5144a n/a (electron + 0x516544a)
            #8  0x000055a723d7598e n/a (electron + 0x518998e)
            #9  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #10 0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1485:
            #0  0x00007f3e13b139df __poll (libc.so.6 + 0xfa9df)
            #1  0x000055a723d7934c n/a (electron + 0x518d34c)
            #2  0x000055a723d7598e n/a (electron + 0x518998e)
            #3  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #4  0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1642:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
            #2  0x000055a723d71d2b n/a (electron + 0x5185d2b)
            #3  0x000055a723d727b4 n/a (electron + 0x51867b4)
            #4  0x000055a723d4a4a8 n/a (electron + 0x515e4a8)
            #5  0x000055a723d4b08c n/a (electron + 0x515f08c)
            #6  0x000055a723d4ac7a n/a (electron + 0x515ec7a)
            #7  0x000055a723d4ab12 n/a (electron + 0x515eb12)
            #8  0x000055a723d7598e n/a (electron + 0x518998e)
            #9  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #10 0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1462:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9df90 pthread_cond_wait (libc.so.6 + 0x84f90)
            #2  0x000055a723d71be4 n/a (electron + 0x5185be4)
            #3  0x000055a723d72420 n/a (electron + 0x5186420)
            #4  0x000055a723cdd4b8 n/a (electron + 0x50f14b8)
            #5  0x000055a723d33c3e n/a (electron + 0x5147c3e)
            #6  0x000055a723cfae9a n/a (electron + 0x510ee9a)
            #7  0x000055a723d51297 n/a (electron + 0x5165297)
            #8  0x000055a723d5144a n/a (electron + 0x516544a)
            #9  0x000055a723d7598e n/a (electron + 0x518998e)
            #10 0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #11 0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1457:
            #0  0x00007f3e13b211b6 epoll_wait (libc.so.6 + 0x1081b6)
            #1  0x000055a723ec1f67 n/a (electron + 0x52d5f67)
            #2  0x000055a723ebfa65 n/a (electron + 0x52d3a65)
            #3  0x000055a723d853b7 n/a (electron + 0x51993b7)
            #4  0x000055a723d33c3e n/a (electron + 0x5147c3e)
            #5  0x000055a723cfae9a n/a (electron + 0x510ee9a)
            #6  0x000055a723d51297 n/a (electron + 0x5165297)
            #7  0x000055a723d3ce9b n/a (electron + 0x5150e9b)
            #8  0x000055a723d5144a n/a (electron + 0x516544a)
            #9  0x000055a723d7598e n/a (electron + 0x518998e)
            #10 0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #11 0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1459:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
            #2  0x000055a723d71d2b n/a (electron + 0x5185d2b)
            #3  0x000055a723d727b4 n/a (electron + 0x51867b4)
            #4  0x000055a723d4a4a8 n/a (electron + 0x515e4a8)
            #5  0x000055a723d4b08c n/a (electron + 0x515f08c)
            #6  0x000055a723d4ac7a n/a (electron + 0x515ec7a)
            #7  0x000055a723d4ab12 n/a (electron + 0x515eb12)
            #8  0x000055a723d7598e n/a (electron + 0x518998e)
            #9  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #10 0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1464:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9df90 pthread_cond_wait (libc.so.6 + 0x84f90)
            #2  0x000055a720aa4dea uv_cond_wait (electron + 0x1eb8dea)
            #3  0x000055a72797cf47 n/a (electron + 0x8d90f47)
            #4  0x000055a72797a52a n/a (electron + 0x8d8e52a)
            #5  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #6  0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1458:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
            #2  0x000055a723d71d2b n/a (electron + 0x5185d2b)
            #3  0x000055a723d727b4 n/a (electron + 0x51867b4)
            #4  0x000055a723d4a4a8 n/a (electron + 0x515e4a8)
            #5  0x000055a723d4b08c n/a (electron + 0x515f08c)
            #6  0x000055a723d4ac7a n/a (electron + 0x515ec7a)
            #7  0x000055a723d4ab12 n/a (electron + 0x515eb12)
            #8  0x000055a723d7598e n/a (electron + 0x518998e)
            #9  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #10 0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1461:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
            #2  0x000055a723d71d2b n/a (electron + 0x5185d2b)
            #3  0x000055a723d727b4 n/a (electron + 0x51867b4)
            #4  0x000055a723d4a4a8 n/a (electron + 0x515e4a8)
            #5  0x000055a723d4b08c n/a (electron + 0x515f08c)
            #6  0x000055a723d4ac7a n/a (electron + 0x515ec7a)
            #7  0x000055a723d4ab12 n/a (electron + 0x515eb12)
            #8  0x000055a723d7598e n/a (electron + 0x518998e)
            #9  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #10 0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1643:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
            #2  0x000055a723d71d2b n/a (electron + 0x5185d2b)
            #3  0x000055a723d727b4 n/a (electron + 0x51867b4)
            #4  0x000055a723d4a4a8 n/a (electron + 0x515e4a8)
            #5  0x000055a723d4b08c n/a (electron + 0x515f08c)
            #6  0x000055a723d4ac7a n/a (electron + 0x515ec7a)
            #7  0x000055a723d4ab12 n/a (electron + 0x515eb12)
            #8  0x000055a723d7598e n/a (electron + 0x518998e)
            #9  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #10 0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1645:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
            #2  0x000055a723d71d2b n/a (electron + 0x5185d2b)
            #3  0x000055a723d727b4 n/a (electron + 0x51867b4)
            #4  0x000055a723d4a4a8 n/a (electron + 0x515e4a8)
            #5  0x000055a723d4b08c n/a (electron + 0x515f08c)
            #6  0x000055a723d4ac7a n/a (electron + 0x515ec7a)
            #7  0x000055a723d4ab12 n/a (electron + 0x515eb12)
            #8  0x000055a723d7598e n/a (electron + 0x518998e)
            #9  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #10 0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1475:
            #0  0x00007f3e13b190dd syscall (libc.so.6 + 0x1000dd)
            #1  0x00007f3e183e1d03 g_cond_wait_until (libglib-2.0.so.0 + 0xb0d03)
            #2  0x00007f3e18355f83 n/a (libglib-2.0.so.0 + 0x24f83)
            #3  0x00007f3e18356127 g_async_queue_timeout_pop (libglib-2.0.so.0 + 0x25127)
            #4  0x00007f3e183bd846 n/a (libglib-2.0.so.0 + 0x8c846)
            #5  0x00007f3e183b8315 n/a (libglib-2.0.so.0 + 0x87315)
            #6  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #7  0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1476:
            #0  0x00007f3e13b139df __poll (libc.so.6 + 0xfa9df)
            #1  0x00007f3e183e817f n/a (libglib-2.0.so.0 + 0xb717f)
            #2  0x00007f3e1838ac7f g_main_loop_run (libglib-2.0.so.0 + 0x59c7f)
            #3  0x00007f3e17d39d5c n/a (libgio-2.0.so.0 + 0x10ed5c)
            #4  0x00007f3e183b8315 n/a (libglib-2.0.so.0 + 0x87315)
            #5  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #6  0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1640:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
            #2  0x000055a723d71d2b n/a (electron + 0x5185d2b)
            #3  0x000055a723d727b4 n/a (electron + 0x51867b4)
            #4  0x000055a723d4a4a8 n/a (electron + 0x515e4a8)
            #5  0x000055a723d4b08c n/a (electron + 0x515f08c)
            #6  0x000055a723d4ac7a n/a (electron + 0x515ec7a)
            #7  0x000055a723d4ab12 n/a (electron + 0x515eb12)
            #8  0x000055a723d7598e n/a (electron + 0x518998e)
            #9  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #10 0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1646:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
            #2  0x000055a723d71d2b n/a (electron + 0x5185d2b)
            #3  0x000055a723d727b4 n/a (electron + 0x51867b4)
            #4  0x000055a723d4a4a8 n/a (electron + 0x515e4a8)
            #5  0x000055a723d4b08c n/a (electron + 0x515f08c)
            #6  0x000055a723d4ac7a n/a (electron + 0x515ec7a)
            #7  0x000055a723d4ab12 n/a (electron + 0x515eb12)
            #8  0x000055a723d7598e n/a (electron + 0x518998e)
            #9  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #10 0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1644:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
            #2  0x000055a723d71d2b n/a (electron + 0x5185d2b)
            #3  0x000055a723d727b4 n/a (electron + 0x51867b4)
            #4  0x000055a723d4a4a8 n/a (electron + 0x515e4a8)
            #5  0x000055a723d4b08c n/a (electron + 0x515f08c)
            #6  0x000055a723d4ac7a n/a (electron + 0x515ec7a)
            #7  0x000055a723d4ab12 n/a (electron + 0x515eb12)
            #8  0x000055a723d7598e n/a (electron + 0x518998e)
            #9  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #10 0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1512:
            #0  0x00007f3e13b211b6 epoll_wait (libc.so.6 + 0x1081b6)
            #1  0x000055a723ec1f67 n/a (electron + 0x52d5f67)
            #2  0x000055a723ebfa65 n/a (electron + 0x52d3a65)
            #3  0x000055a723d853b7 n/a (electron + 0x51993b7)
            #4  0x000055a723d33c3e n/a (electron + 0x5147c3e)
            #5  0x000055a723cfae9a n/a (electron + 0x510ee9a)
            #6  0x000055a723d51297 n/a (electron + 0x5165297)
            #7  0x000055a723d5144a n/a (electron + 0x516544a)
            #8  0x000055a723d7598e n/a (electron + 0x518998e)
            #9  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #10 0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1490:
            #0  0x00007f3e13b211b6 epoll_wait (libc.so.6 + 0x1081b6)
            #1  0x000055a720c5be68 n/a (electron + 0x206fe68)
            #2  0x000055a720c257bf n/a (electron + 0x20397bf)
            #3  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #4  0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1518:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
            #2  0x000055a723d71d2b n/a (electron + 0x5185d2b)
            #3  0x000055a723d727b4 n/a (electron + 0x51867b4)
            #4  0x000055a723d4a4a8 n/a (electron + 0x515e4a8)
            #5  0x000055a723d4b08c n/a (electron + 0x515f08c)
            #6  0x000055a723d4ac7a n/a (electron + 0x515ec7a)
            #7  0x000055a723d4ab12 n/a (electron + 0x515eb12)
            #8  0x000055a723d7598e n/a (electron + 0x518998e)
            #9  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #10 0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1514:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9df90 pthread_cond_wait (libc.so.6 + 0x84f90)
            #2  0x000055a720aa4dea uv_cond_wait (electron + 0x1eb8dea)
            #3  0x000055a720a94f7b n/a (electron + 0x1ea8f7b)
            #4  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #5  0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1641:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
            #2  0x000055a723d71d2b n/a (electron + 0x5185d2b)
            #3  0x000055a723d727b4 n/a (electron + 0x51867b4)
            #4  0x000055a723d4a4a8 n/a (electron + 0x515e4a8)
            #5  0x000055a723d4b08c n/a (electron + 0x515f08c)
            #6  0x000055a723d4ac7a n/a (electron + 0x515ec7a)
            #7  0x000055a723d4ab12 n/a (electron + 0x515eb12)
            #8  0x000055a723d7598e n/a (electron + 0x518998e)
            #9  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #10 0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1516:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9df90 pthread_cond_wait (libc.so.6 + 0x84f90)
            #2  0x000055a720aa4dea uv_cond_wait (electron + 0x1eb8dea)
            #3  0x000055a720a94f7b n/a (electron + 0x1ea8f7b)
            #4  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #5  0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1515:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9df90 pthread_cond_wait (libc.so.6 + 0x84f90)
            #2  0x000055a720aa4dea uv_cond_wait (electron + 0x1eb8dea)
            #3  0x000055a720a94f7b n/a (electron + 0x1ea8f7b)
            #4  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #5  0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1460:
            #0  0x00007f3e13b211b6 epoll_wait (libc.so.6 + 0x1081b6)
            #1  0x000055a723ec1f67 n/a (electron + 0x52d5f67)
            #2  0x000055a723ebfa65 n/a (electron + 0x52d3a65)
            #3  0x000055a723d853b7 n/a (electron + 0x51993b7)
            #4  0x000055a723d33c3e n/a (electron + 0x5147c3e)
            #5  0x000055a723cfae9a n/a (electron + 0x510ee9a)
            #6  0x000055a723d51297 n/a (electron + 0x5165297)
            #7  0x000055a722cd3602 n/a (electron + 0x40e7602)
            #8  0x000055a723d5144a n/a (electron + 0x516544a)
            #9  0x000055a723d7598e n/a (electron + 0x518998e)
            #10 0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #11 0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1517:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9df90 pthread_cond_wait (libc.so.6 + 0x84f90)
            #2  0x000055a720aa4dea uv_cond_wait (electron + 0x1eb8dea)
            #3  0x000055a720a94f7b n/a (electron + 0x1ea8f7b)
            #4  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #5  0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1487:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9df90 pthread_cond_wait (libc.so.6 + 0x84f90)
            #2  0x000055a723d71be4 n/a (electron + 0x5185be4)
            #3  0x000055a723d727a2 n/a (electron + 0x51867a2)
            #4  0x000055a723d4a4a8 n/a (electron + 0x515e4a8)
            #5  0x000055a723d4b08c n/a (electron + 0x515f08c)
            #6  0x000055a723d4ad1a n/a (electron + 0x515ed1a)
            #7  0x000055a723d4ab26 n/a (electron + 0x515eb26)
            #8  0x000055a723d7598e n/a (electron + 0x518998e)
            #9  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #10 0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1647:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
            #2  0x000055a723d71d2b n/a (electron + 0x5185d2b)
            #3  0x000055a723d727b4 n/a (electron + 0x51867b4)
            #4  0x000055a723d4a4a8 n/a (electron + 0x515e4a8)
            #5  0x000055a723d4b08c n/a (electron + 0x515f08c)
            #6  0x000055a723d4ac7a n/a (electron + 0x515ec7a)
            #7  0x000055a723d4ab12 n/a (electron + 0x515eb12)
            #8  0x000055a723d7598e n/a (electron + 0x518998e)
            #9  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #10 0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1511:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
            #2  0x000055a723d71d2b n/a (electron + 0x5185d2b)
            #3  0x000055a723d727b4 n/a (electron + 0x51867b4)
            #4  0x000055a723d4a448 n/a (electron + 0x515e448)
            #5  0x000055a723d4b08c n/a (electron + 0x515f08c)
            #6  0x000055a723d4acca n/a (electron + 0x515ecca)
            #7  0x000055a723d4ab1c n/a (electron + 0x515eb1c)
            #8  0x000055a723d7598e n/a (electron + 0x518998e)
            #9  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #10 0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1484:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
            #2  0x000055a723d71d2b n/a (electron + 0x5185d2b)
            #3  0x000055a723d727b4 n/a (electron + 0x51867b4)
            #4  0x000055a723d4a4a8 n/a (electron + 0x515e4a8)
            #5  0x000055a723d4b08c n/a (electron + 0x515f08c)
            #6  0x000055a723d4ac7a n/a (electron + 0x515ec7a)
            #7  0x000055a723d4ab12 n/a (electron + 0x515eb12)
            #8  0x000055a723d7598e n/a (electron + 0x518998e)
            #9  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #10 0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1482:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
            #2  0x000055a723d71d2b n/a (electron + 0x5185d2b)
            #3  0x000055a723d727b4 n/a (electron + 0x51867b4)
            #4  0x000055a723d4a4a8 n/a (electron + 0x515e4a8)
            #5  0x000055a723d4b08c n/a (electron + 0x515f08c)
            #6  0x000055a723d4ac7a n/a (electron + 0x515ec7a)
            #7  0x000055a723d4ab12 n/a (electron + 0x515eb12)
            #8  0x000055a723d7598e n/a (electron + 0x518998e)
            #9  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #10 0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1486:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
            #2  0x000055a723d71d2b n/a (electron + 0x5185d2b)
            #3  0x000055a723d727b4 n/a (electron + 0x51867b4)
            #4  0x000055a723d4a4a8 n/a (electron + 0x515e4a8)
            #5  0x000055a723d4b08c n/a (electron + 0x515f08c)
            #6  0x000055a723d4ac7a n/a (electron + 0x515ec7a)
            #7  0x000055a723d4ab12 n/a (electron + 0x515eb12)
            #8  0x000055a723d7598e n/a (electron + 0x518998e)
            #9  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #10 0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1481:
            #0  0x00007f3e13b0f96c read (libc.so.6 + 0xf696c)
            #1  0x000055a720c4e339 n/a (electron + 0x2062339)
            #2  0x000055a723d7598e n/a (electron + 0x518998e)
            #3  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #4  0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1483:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
            #2  0x000055a723d71d2b n/a (electron + 0x5185d2b)
            #3  0x000055a723d727b4 n/a (electron + 0x51867b4)
            #4  0x000055a723d4a448 n/a (electron + 0x515e448)
            #5  0x000055a723d4b08c n/a (electron + 0x515f08c)
            #6  0x000055a723d4ac7a n/a (electron + 0x515ec7a)
            #7  0x000055a723d4ab12 n/a (electron + 0x515eb12)
            #8  0x000055a723d7598e n/a (electron + 0x518998e)
            #9  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #10 0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1478:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9e294 pthread_cond_timedwait (libc.so.6 + 0x85294)
            #2  0x000055a723d71d2b n/a (electron + 0x5185d2b)
            #3  0x000055a723d727b4 n/a (electron + 0x51867b4)
            #4  0x000055a723d4a448 n/a (electron + 0x515e448)
            #5  0x000055a723d4b08c n/a (electron + 0x515f08c)
            #6  0x000055a723d4acca n/a (electron + 0x515ecca)
            #7  0x000055a723d4ab1c n/a (electron + 0x515eb1c)
            #8  0x000055a723d7598e n/a (electron + 0x518998e)
            #9  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #10 0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1488:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9df90 pthread_cond_wait (libc.so.6 + 0x84f90)
            #2  0x000055a723d71be4 n/a (electron + 0x5185be4)
            #3  0x000055a724b0a185 n/a (electron + 0x5f1e185)
            #4  0x000055a723d7598e n/a (electron + 0x518998e)
            #5  0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #6  0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)

            Stack trace of thread 1489:
            #0  0x00007f3e13a9b766 n/a (libc.so.6 + 0x82766)
            #1  0x00007f3e13a9df90 pthread_cond_wait (libc.so.6 + 0x84f90)
            #2  0x000055a723d71be4 n/a (electron + 0x5185be4)
            #3  0x000055a723d72420 n/a (electron + 0x5186420)
            #4  0x000055a723cdd4b8 n/a (electron + 0x50f14b8)
            #5  0x000055a723d33c3e n/a (electron + 0x5147c3e)
            #6  0x000055a723cfae9a n/a (electron + 0x510ee9a)
            #7  0x000055a723d51297 n/a (electron + 0x5165297)
            #8  0x000055a723d5144a n/a (electron + 0x516544a)
            #9  0x000055a723d7598e n/a (electron + 0x518998e)
            #10 0x00007f3e13a9ebb5 n/a (libc.so.6 + 0x85bb5)
            #11 0x00007f3e13b20d90 n/a (libc.so.6 + 0x107d90)
            ELF object binary architecture: AMD x86-64

``

ibrokemypie commented on 2023-04-14 01:02 (UTC)

@Zoddo running just electron with all the same flags doesn't have the same issue

Copied the exact command being run out of coredumpctl just without the /usr/lib/discord/app.asar at the end to be sure.

DodoGTA commented on 2023-04-09 09:09 (UTC)

Electron v24.0.0 from npm works with this Discord package, but it segfaults when trying to share a screen on both XWayland and Wayland

Zoddo commented on 2023-04-04 17:36 (UTC) (edited on 2023-04-04 17:36 (UTC) by Zoddo)

At least one other package in official repos is experiencing the same issue: FS#77074.

I'd bet it's an issue with the packaging of electron in Arch because the issue doesn't seem to be reproducible with other builds (such as electron22-bin or the electron version provided in Discord's official package).

Do you reproduce the crash when running just electron --ozone-platform-hint=auto?

ibrokemypie commented on 2023-04-04 07:19 (UTC) (edited on 2023-04-04 07:19 (UTC) by ibrokemypie)

Getting a similar problem on intel with onlt --ozone-platfrom-hint=auto

Core was generated by `/usr/lib/electron/electron --ozone-platform-hint=auto /usr/lib/discord/app.asar'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __memcpy_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:538
538     VMOVU   (VEC_SIZE * 0)(%rsi), %VMM(4)                                                                                                                                                                                                                                                                                                                        
[Current thread is 1 (Thread 0x7f16cff231c0 (LWP 2043892))]
(gdb) bt
#0  __memcpy_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:538
#1  0x000056477c2b78f3 in content::StoragePartitionConfig::StoragePartitionConfig(content::StoragePartitionConfig const&) ()
#2  0x000056477ba0131d in content::BrowserContext::GetStoragePartition(content::SiteInstance*, bool) ()
#3  0x000056477bbddc1b in content::HostZoomMap::GetZoomLevel(content::WebContents*) ()
#4  0x000056477c00da10 in content::WebContentsImpl::GetPendingPageZoomLevel() ()
#5  0x000056477becb097 in content::RenderWidgetHostImpl::GetVisualProperties() ()
#6  0x000056477becb7c8 in content::RenderWidgetHostImpl::SynchronizeVisualProperties(bool, bool) ()
#7  0x000056477bee1e29 in content::RenderWidgetHostViewAura::SynchronizeVisualProperties(cc::DeadlinePolicy const&, absl::optional<viz::LocalSurfaceId> const&) ()
#8  0x000056477bee1803 in content::RenderWidgetHostViewAura::SetSize(gfx::Size const&) ()
#9  0x000056477bee5154 in content::RenderWidgetHostViewAura::OnBoundsChanged(gfx::Rect const&, gfx::Rect const&) ()
#10 0x000056477dbcf17c in aura::Window::OnLayerBoundsChanged(gfx::Rect const&, ui::PropertyChangeReason) ()
#11 0x000056477dce51c2 in ui::Layer::SetBoundsFromAnimation(gfx::Rect const&, ui::PropertyChangeReason) ()
#12 0x000056477dcf7a6e in ui::LayerAnimator::SetBounds(gfx::Rect const&) ()
#13 0x000056477dbcb8e9 in aura::Window::SetBounds(gfx::Rect const&) ()
#14 0x000056477bee17c8 in content::RenderWidgetHostViewAura::SetSize(gfx::Size const&) ()
#15 0x000056477c0210bf in content::WebContentsViewAura::OnBoundsChanged(gfx::Rect const&, gfx::Rect const&) ()
#16 0x000056477dbcf17c in aura::Window::OnLayerBoundsChanged(gfx::Rect const&, ui::PropertyChangeReason) ()
#17 0x000056477dce51c2 in ui::Layer::SetBoundsFromAnimation(gfx::Rect const&, ui::PropertyChangeReason) ()
#18 0x000056477dcf7a6e in ui::LayerAnimator::SetBounds(gfx::Rect const&) ()
#19 0x000056477dbcb8e9 in aura::Window::SetBounds(gfx::Rect const&) ()
#20 0x000056478053c25e in views::NativeViewHostAura::ShowWidget(int, int, int, int, int, int) ()
#21 0x000056478053ad8e in views::NativeViewHost::Layout() ()
#22 0x00005647804bd3c2 in views::View::SetBoundsRect(gfx::Rect const&) ()
#23 0x0000564780539929 in views::WebView::OnBoundsChanged(gfx::Rect const&) ()
#24 0x00005647804bd32a in views::View::SetBoundsRect(gfx::Rect const&) ()
#25 0x00005647799b4578 in electron::InspectableWebContentsViewViews::Layout() ()
#26 0x00005647804bd3c2 in views::View::SetBoundsRect(gfx::Rect const&) ()
#27 0x00005647799b9c27 in electron::RootView::Layout() ()
#28 0x00005647804bd3c2 in views::View::SetBoundsRect(gfx::Rect const&) ()
#29 0x00005647804b7280 in views::LayoutManagerBase::ApplyLayout(views::ProposedLayout const&) ()
#30 0x00005647804b7121 in views::LayoutManagerBase::LayoutImpl() ()
#31 0x00005647804b6e88 in views::LayoutManagerBase::Layout(views::View*) ()
#32 0x00005647804c0756 in views::View::Layout() ()
#33 0x00005647804bd3c2 in views::View::SetBoundsRect(gfx::Rect const&) ()
#34 0x00005647804efa21 in views::NonClientFrameView::Layout() ()
#35 0x00005647804bd3c2 in views::View::SetBoundsRect(gfx::Rect const&) ()
#36 0x00005647804f091c in views::NonClientView::Layout() ()
#37 0x00005647804bd3c2 in views::View::SetBoundsRect(gfx::Rect const&) ()
#38 0x00005647804c9bb0 in views::View::DefaultFillLayout::Layout(views::View*) ()
#39 0x00005647804c0756 in views::View::Layout() ()
#40 0x00005647804bd3c2 in views::View::SetBoundsRect(gfx::Rect const&) ()
#41 0x00005647804be0c2 in views::View::SetSize(gfx::Size const&) ()
#42 0x00005647804da7c5 in views::Widget::OnNativeWidgetSizeChanged(gfx::Size const&) ()
#43 0x000056478050c045 in non-virtual thunk to views::DesktopNativeWidgetAura::OnHostResized(aura::WindowTreeHost*) ()
#44 0x000056477dbf7ee8 in aura::WindowTreeHost::OnHostResizedInPixels(gfx::Size const&) ()
#45 0x000056477dcd4237 in aura::WindowTreeHostPlatform::OnBoundsChanged(ui::PlatformWindowDelegate::BoundsChange const&) ()
#46 0x000056477999eacf in electron::ElectronDesktopWindowTreeHostLinux::OnBoundsChanged(ui::PlatformWindowDelegate::BoundsChange const&) ()
#47 0x000056477a0e6f7c in ui::WaylandWindow::UpdateBoundsInDIP(gfx::Rect const&) ()
#48 0x000056477a0e9027 in ui::WaylandWindow::ProcessPendingBoundsDip(unsigned int) ()
#49 0x000056477a0e450f in ui::WaylandToplevelWindow::HandleSurfaceConfigure(unsigned int) ()
#50 0x000056477a0f62c5 in ui::ZXDGSurfaceV6WrapperImpl::Configure(void*, zxdg_surface_v6*, unsigned int) ()
#51 0x00007f16df4484f6 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#52 0x00007f16df444f5e in ffi_call_int (cif=cif@entry=0x7ffcb1584970, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
#53 0x00007f16df447b73 in ffi_call (cif=cif@entry=0x7ffcb1584970, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7ffcb1584a40) at ../src/x86/ffi64.c:710
#54 0x00007f16d089b645 in wl_closure_invoke (closure=closure@entry=0x59802c9e060, target=<optimized out>, target@entry=0x59802c4caf0, opcode=opcode@entry=0, data=<optimized out>, flags=1) at ../wayland-1.21.0/src/connection.c:1025
#55 0x00007f16d089be03 in dispatch_event (display=0x59800344f00, queue=<optimized out>) at ../wayland-1.21.0/src/wayland-client.c:1595
#56 0x00007f16d089bffc in dispatch_queue (queue=0x59800ea5560, display=0x59800344f00) at ../wayland-1.21.0/src/wayland-client.c:1741
#57 wl_display_dispatch_queue_pending (display=0x59800344f00, queue=0x59800ea5560) at ../wayland-1.21.0/src/wayland-client.c:1983
#58 0x000056477a0ce647 in ui::WaylandEventWatcher::WlDisplayDispatchPendingQueue() ()
#59 0x000056477a10307e in ui::(anonymous namespace)::WatchSourceDispatch(_GSource*, int (*)(void*), void*) ()
#60 0x00007f16e395f53b in g_main_dispatch (context=0x5980024d140) at ../glib/glib/gmain.c:3460
#61 g_main_context_dispatch (context=0x5980024d140) at ../glib/glib/gmain.c:4200
#62 0x00007f16e39bc219 in g_main_context_iterate.constprop.0 (context=0x5980024d140, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
#63 0x00007f16e395e1a2 in g_main_context_iteration (context=0x5980024d140, may_block=1) at ../glib/glib/gmain.c:4343
#64 0x000056477ca28a0c in base::MessagePumpGlib::Run(base::MessagePump::Delegate*) ()
#65 0x000056477ca7ec3e in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) ()
#66 0x000056477ca45e9a in base::RunLoop::Run(base::Location const&) ()
#67 0x000056477ba1b42e in content::BrowserMainLoop::RunMainMessageLoop() ()
#68 0x000056477ba1d5c3 in content::BrowserMainRunnerImpl::Run() ()
#69 0x000056477ba1884e in content::BrowserMain(content::MainFunctionParams) ()
#70 0x0000564779ad0813 in content::RunBrowserProcessMain(content::MainFunctionParams, content::ContentMainDelegate*) ()
#71 0x0000564779ad1cda in content::ContentMainRunnerImpl::RunBrowser(content::MainFunctionParams, bool) ()
#72 0x0000564779ad1a8a in content::ContentMainRunnerImpl::Run() ()
#73 0x0000564779ace742 in content::RunContentProcess(content::ContentMainParams, content::ContentMainRunner*) ()
#74 0x0000564779acee95 in content::ContentMain(content::ContentMainParams) ()
#75 0x00005647797f5983 in main ()

bbaovanc commented on 2023-04-03 21:09 (UTC) (edited on 2023-04-03 21:10 (UTC) by bbaovanc)

Just got back home, and it looks like the issue I was having isn't just Nvidia exclusive. I'm getting the same issue and what looks to be a similar backtrace (though way shorter for some reason) on my AMDGPU computer.

#0  __memcpy_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:538
#1  0x00005561ec8528f3 in content::StoragePartitionConfig::StoragePartitionConfig(content::StoragePartitionConfig const&) ()
#2  0x00005561ebf9c31d in content::BrowserContext::GetStoragePartition(content::SiteInstance*, bool) ()
#3  0x00005561ec178c1b in content::HostZoomMap::GetZoomLevel(content::WebContents*) ()
#4  0x00005561ec5a8a10 in content::WebContentsImpl::GetPendingPageZoomLevel() ()
#5  0x00005561ec466097 in content::RenderWidgetHostImpl::GetVisualProperties() ()
#6  0x00005561ec4667c8 in content::RenderWidgetHostImpl::SynchronizeVisualProperties(bool, bool) ()
#7  0x00005561ec58329e in content::WebContentsImpl::UpdateZoom() ()
#8  0x00005561ec17abb7 in content::HostZoomMapImpl::SetTemporaryZoomLevel(int, int, double) ()
#9  0x00005561e9ed31f3 in electron::WebContentsZoomController::SetTemporaryZoomLevel(double) ()
#10 0x00005561ecd3a3ed in electron::mojom::ElectronWebContentsUtilityStubDispatch::Accept(electron::mojom::ElectronWebContentsUtility*, mojo::Message*) ()
#11 0x00005561ed1bd1bb in mojo::InterfaceEndpointClient::HandleValidatedMessage(mojo::Message*) ()
#12 0x00005561ed1c38be in mojo::MessageDispatcher::Accept(mojo::Message*) ()
#13 0x00005561ed1befed in mojo::InterfaceEndpointClient::HandleIncomingMessage(mojo::Message*) ()
#14 0x00005561ed50e28c in base::internal::Invoker<base::internal::BindState<void (IPC::(anonymous namespace)::ChannelAssociatedGroupController::*)(mojo::Message), scoped_refptr<IPC::(anonymous namespace)::ChannelAssociatedGroupController>, mojo::Message>, void ()>::RunOnce(base::internal::BindStateBase*) ()
#15 0x00005561ecffc62b in base::TaskAnnotator::RunTaskImpl(base::PendingTask&) ()
#16 0x00005561ed018c49 in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl(base::LazyNow*) ()
#17 0x00005561ed0194b2 in non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork() ()
#18 0x00005561ecfc3a27 in base::MessagePumpGlib::Run(base::MessagePump::Delegate*) ()
#19 0x00005561ed019c3e in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) ()
#20 0x00005561ecfe0e9a in base::RunLoop::Run(base::Location const&) ()
#21 0x00005561ebfb642e in content::BrowserMainLoop::RunMainMessageLoop() ()
#22 0x00005561ebfb85c3 in content::BrowserMainRunnerImpl::Run() ()
#23 0x00005561ebfb384e in content::BrowserMain(content::MainFunctionParams) ()
#24 0x00005561ea06b813 in content::RunBrowserProcessMain(content::MainFunctionParams, content::ContentMainDelegate*) ()
#25 0x00005561ea06ccda in content::ContentMainRunnerImpl::RunBrowser(content::MainFunctionParams, bool) ()
#26 0x00005561ea06ca8a in content::ContentMainRunnerImpl::Run() ()
#27 0x00005561ea069742 in content::RunContentProcess(content::ContentMainParams, content::ContentMainRunner*) ()
#28 0x00005561ea069e95 in content::ContentMain(content::ContentMainParams) ()
#29 0x00005561e9d90983 in main ()

W47MPUSv commented on 2023-04-02 15:59 (UTC) (edited on 2023-04-02 16:11 (UTC) by W47MPUSv)

nvm, electron 22.2 fixed this.

~~Hi, it seems that with electron22, the discord tray icon does not show up.~~