elementary / elementary/applications-menu

Crash when clicking "Applications"

Open
#673 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Vala
Stars
103
Forks
40
Avg merge
32m
Merged PRs (30d)
2

Description

### What Happened?

When i click "Applications" wingpanel crashes and appears again after less than a second.

Related issues:

- https://github.com/elementary/wingpanel/issues/357
- https://github.com/elementary/wingpanel/issues/344
- https://github.com/NixOS/nixpkgs/issues/168532#issuecomment-1104666442

cc nixos maintainer @bobby285271

### Steps to Reproduce

This does not happen very often. Maybe once a month.

1. click "Applications"

### Expected Behavior

no crash

### OS Version

Other Linux: NixOS 22.05pre369988.1ffba9f2f68

### Software Version

Latest release (I have run all updates)

### Log Output

journal
```
May 01 03:15:09 gaming io.elementary.wingpanel.desktop[2008]: realloc(): invalid next size
May 01 03:15:09 gaming systemd[1]: Started Process Core Dump (PID 88048/UID 0).
```

full coredump: https://gist.github.com/davidak/8c81c0aaf0b61a19d58425f463e55df8

```
Using host libthread_db library "/nix/store/6w8g7njm4mck5dmjxws0z1xnrxvl81xa-glibc-2.34-115/lib/libthread_db.so.1".
--Type for more, q to quit, c to continue without paging--
Core was generated by `/nix/store/v6qxv2hq5kbgv7mrjx3r845wnyjzf2fa-wingpanel-with-indicators-3.0.2/bin'.
Program terminated with signal SIGABRT, Aborted.
#0 __pthread_kill_implementation (threadid=, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
44 pthread_kill.c: No such file or directory.
[Current thread is 1 (Thread 0x7f299bfff640 (LWP 88017))]
(gdb) bt
#0 __pthread_kill_implementation (threadid=, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
elementary/wingpanel#1 0x00007f2a71da7b3f in __pthread_kill_internal (signo=6, threadid=) at pthread_kill.c:78
elementary/wingpanel#2 0x00007f2a71d5d062 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
elementary/wingpanel#3 0x00007f2a71d4845c in __GI_abort () at abort.c:79
elementary/wingpanel#4 0x00007f2a71d9c418 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f2a71ecfb08 "%s\n") at ../sysdeps/posix/libc_fatal.c:155
elementary/wingpanel#5 0x00007f2a71db10ca in malloc_printerr (str=str@entry=0x7f2a71ecd85f "realloc(): invalid next size") at malloc.c:5536
elementary/wingpanel#6 0x00007f2a71db4914 in _int_realloc (av=av@entry=0x7f2a71f0baa0 , oldp=oldp@entry=0x2f057c0, oldsize=48, nb=nb@entry=80) at malloc.c:4730
elementary/wingpanel#7 0x00007f2a71db5570 in __GI___libc_realloc (oldmem=0x2f057d0, bytes=bytes@entry=64) at malloc.c:3382
elementary/wingpanel#8 0x00007f2a72c02d78 in g_realloc (mem=, n_bytes=64) at ../glib/gmem.c:190
elementary/wingpanel#9 0x00007f2a72be8aad in g_hash_table_realloc_key_or_value_array (is_big=, size=, a=) at ../glib/ghash.c:380
elementary/wingpanel#10 realloc_arrays (hash_table=hash_table@entry=0x7f2a08018240, is_a_set=is_a_set@entry=1) at ../glib/ghash.c:722
elementary/wingpanel#11 0x00007f2a72be8dca in g_hash_table_resize (hash_table=hash_table@entry=0x7f2a08018240) at ../glib/ghash.c:875
elementary/wingpanel#12 0x00007f2a72be958d in g_hash_table_maybe_resize (hash_table=0x7f2a08018240) at ../glib/ghash.c:915
elementary/wingpanel#13 g_hash_table_insert_node (hash_table=hash_table@entry=0x7f2a08018240, node_index=node_index@entry=0, key_hash=key_hash@entry=2647151418, new_key=new_key@entry=0x2e0b179, new_value=new_value@entry=0x2e0b179, keep_new_key=keep_new_key@entry=1, reusing_key=0) at ../glib/ghash.c:1368
elementary/wingpanel#14 0x00007f2a72bea370 in g_hash_table_insert_internal (keep_new_key=1, value=value@entry=0x2e0b179, key=key@entry=0x2e0b179, hash_table=0x7f2a08018240) at ../glib/ghash.c:1627
elementary/wingpanel#15 g_hash_table_add (hash_table=0x7f2a08018240, key=key@entry=0x2e0b179) at ../glib/ghash.c:1716
elementary/wingpanel#16 0x00007f2a72c21482 in g_string_chunk_insert_const (chunk=0x26c3500, string=0x226e9e0 "http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Archive") at ../glib/gstringchunk.c:231
elementary/wingpanel#17 0x00007f2a43a1392a in zeitgeist_subject_set_interpretation () from /nix/store/51y8j3jy52p94l9ybjiisj7bx82a8r1x-zeitgeist-1.0.4-lib/lib/libzeitgeist-2.0.so.0
elementary/wingpanel#18 0x00007f2a43a1eb08 in zeitgeist_db_reader_get_subject_from_row () from /nix/store/51y8j3jy52p94l9ybjiisj7bx82a8r1x-zeitgeist-1.0.4-lib/lib/libzeitgeist-2.0.so.0
elementary/wingpanel#19 0x00007f2a43a1ee89 in zeitgeist_db_reader_get_events () from /nix/store/51y8j3jy52p94l9ybjiisj7bx82a8r1x-zeitgeist-1.0.4-lib/lib/libzeitgeist-2.0.so.0
elementary/wingpanel#20 0x00007f2a43a22078 in zeitgeist_db_reader_find_events () from /nix/store/51y8j3jy52p94l9ybjiisj7bx82a8r1x-zeitgeist-1.0.4-lib/lib/libzeitgeist-2.0.so.0
elementary/wingpanel#21 0x00007f2a43a009d6 in ____lambda11__gthread_func () from /nix/store/51y8j3jy52p94l9ybjiisj7bx82a8r1x-zeitgeist-1.0.4-lib/lib/libzeitgeist-2.0.so.0
elementary/wingpanel#22 0x00007f2a439ff4d3 in ____lambda10__gfunc () from /nix/store/51y8j3jy52p94l9ybjiisj7bx82a8r1x-zeitgeist-1.0.4-lib/lib/libzeitgeist-2.0.so.0
elementary/wingpanel#23 0x00007f2a72c27c94 in g_thread_pool_thread_proxy (data=) at ../glib/gthreadpool.c:354
elementary/wingpanel#24 0x00007f2a72c273cd in g_thread_proxy (data=0x2f56b60) at ../glib/gthread.c:827
elementary/wingpanel#25 0x00007f2a71da5eb2 in start_thread (arg=) at pthread_create.c:435
elementary/wingpanel#26 0x00007f2a71e2831c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
```

### Hardware Info

Intel i9 9900K
AMD RX 6600 XT
32 GB RAM

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.