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 ()
Pinned Comments
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):
Starting with 0.0.20-1 (2022-09-15):
$XDG_CONFIG_HOME/discord-flags.conf
: this works likeelectron-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.