You are not logged in.

#1 2024-11-04 14:48:07

bulazs
Member
Registered: 2024-11-04
Posts: 2

[SOLVED] Discord crash with segfault

Hello everyone,
for some reason my discord crashes when trying to run it
when i run it in gdb i get this segfault:


Thread 21 "ThreadPoolForeg" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff572006c0 (LWP 3233)]
__GI___realpath (name=0x7fff56a02cd1 "/usr/share/icons", resolved=0x7fff56a01c50 '\252' <repeats 200 times>...) at canonicalize.c:429
429     scratch_buffer_init (&bufs.extra);

I checked the code it was reffering to but to no avail:

char *
__realpath (const char *name, char *resolved)
{
  struct realpath_bufs bufs;
  scratch_buffer_init (&bufs.rname);
  scratch_buffer_init (&bufs.extra);
  scratch_buffer_init (&bufs.link);
  char *result = realpath_stk (name, resolved, &bufs);
  scratch_buffer_free (&bufs.link);
  scratch_buffer_free (&bufs.extra);
  scratch_buffer_free (&bufs.rname);
  return result;
}

but if i create a fresh user and run discord with it it works fine
I though maybe some Enviromental Variable was in play, so i set the same ones for the fresh user but it still worked
I tried removing discord and electron from .config but didnt work

Im out of things to try, i would appreciate if someone could help me

Last edited by bulazs (2024-11-04 19:33:08)

Offline

#2 2024-11-04 15:10:38

seth
Member
Registered: 2012-09-03
Posts: 59,012

Re: [SOLVED] Discord crash with segfault

I though maybe some Enviromental Variable was in play

More like your icon cursor theme.

Offline

#3 2024-11-04 15:41:35

bulazs
Member
Registered: 2024-11-04
Posts: 2

Re: [SOLVED] Discord crash with segfault

seth wrote:

I though maybe some Enviromental Variable was in play

More like your icon cursor theme.

thanks because of this i found out the problem was i use nwg-look and the theme was set to dracula-gtk-theme, i dont know the specifics why and how does this happen but when i changed back to adwaita it was fixed, thanks

Offline

#4 2024-11-04 16:12:00

seth
Member
Registered: 2012-09-03
Posts: 59,012

Re: [SOLVED] Discord crash with segfault

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB