You are not logged in.

#1 2025-06-22 08:24:33

meaz
Member
Registered: 2019-10-06
Posts: 7

Problem with apps that crash: Segmentation fault error with libc.so.6?

I have 2 apps that were working fine recently but now crashed when I try writing in it anything.
Those 2 apps are gajim and gnome-text-edit. I might have some other, but I haven't seen problem elsewhere.

If I run them from CLI, I get `Segmentation fault  (core dumped)`

In logs, I see:
```
[ 2010.627174] gnome-text-edit[74109]: segfault at 39 ip 00007fae832b6d84 sp 00007ffc24cd49d0 error 4 in libc.so.6[a6d84,7fae83234000+170000] likely on CPU 1 (core 1, socket 0)
[ 2010.627187] Code: 84 00 00 00 00 00 f3 0f 1e fa 48 85 ff 0f 84 4b 01 00 00 55 4c 8d 47 f0 48 89 e5 53 48 83 ec 38 48 8b 05 6f ef 13 00 64 8b 18 <48> 8b 47 f8 a8 02 0f 85 d8 00 00 00 48 8b 0d e1 ee 13 00 64 48 83
[ 2025.595300] gnome-text-edit[75661]: segfault at 19 ip 00007ffab24b6d84 sp 00007fff6ba00540 error 4 in libc.so.6[a6d84,7ffab2434000+170000] likely on CPU 4 (core 0, socket 0)
[ 2025.595314] Code: 84 00 00 00 00 00 f3 0f 1e fa 48 85 ff 0f 84 4b 01 00 00 55 4c 8d 47 f0 48 89 e5 53 48 83 ec 38 48 8b 05 6f ef 13 00 64 8b 18 <48> 8b 47 f8 a8 02 0f 85 d8 00 00 00 48 8b 0d e1 ee 13 00 64 48 83
[ 2223.784673] gajim[76816]: segfault at 19 ip 00007fbe284b6d84 sp 00007ffd092f6350 error 4 in libc.so.6[a6d84,7fbe28434000+170000] likely on CPU 2 (core 2, socket 0)
[ 2223.784695] Code: 84 00 00 00 00 00 f3 0f 1e fa 48 85 ff 0f 84 4b 01 00 00 55 4c 8d 47 f0 48 89 e5 53 48 83 ec 38 48 8b 05 6f ef 13 00 64 8b 18 <48> 8b 47 f8 a8 02 0f 85 d8 00 00 00 48 8b 0d e1 ee 13 00 64 48 83
```
when they crash.

I've tried to reinstall them in case, nothing change. I've also tried to reinstall glibc.

I've tested my memory with memtest86+, I don't have problem either on that side.

I'm a bit lost. I have installed gedit as a temporary replacement. But I would like to either fix the issue, if there is something I can do, or report on appropriate place if needed.

Offline

#2 2025-06-22 09:13:01

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,275

Re: Problem with apps that crash: Segmentation fault error with libc.so.6?

Post a backtrace of the crash. Other logs are useless to debug crashes.

Offline

#3 2025-06-22 09:29:30

meaz
Member
Registered: 2019-10-06
Posts: 7

Re: Problem with apps that crash: Segmentation fault error with libc.so.6?

Here what I get:

`gdb gnome-text-editor` gives:

#0  __GI___libc_free (mem=0xb1) at malloc.c:3453
#1  0x00007ffff7b5956a in g_free (mem=<optimized out>) at ../glib/glib/gmem.c:208
#2  0x00007ffff59bc5d0 in _vala_array_destroy (destroy_func=<optimized out>, array=0x55555684bb10, array_length=12)
    at /usr/src/debug/enchant/enchant/lib/broker.c:3273
#3  _vala_array_free (array=0x55555684bb10, array_length=12, destroy_func=<optimized out>) at /usr/src/debug/enchant/enchant/lib/dict.c:1875
#4  enchant_dict_suggest (self=<optimized out>, word_buf=<error reading variable: Cannot access memory at address 0x7fffffffd778>, len=len@entry=2, Python Exception <class 'gdb.MemoryError'>: Cannot access memory at address 0x7fffffffd750

   #5  0x00007ffff7a781c7 in spelling_enchant_dictionary_list_corrections (dictionary=0x555555bd96c0, word=<error reading variable: Cannot access memory at address 0x7fffffffd778>, word_len=2)
    at ../libspelling/lib/enchant/spelling-enchant-dictionary.c:125


`gajim --gdebug` gives:

 (gajim:149076): Gtk-WARNING **: 11:25:40.636: Trying to measure GtkGrid 0x55dd601b1d60 for height of 110, but it needs at least 290
/usr/lib/python3.13/multiprocessing/resource_tracker.py:301: UserWarning: resource_tracker: There appear to be 5 leaked semaphore objects to clean up at shutdown: {'/mp-x17t8y0o', '/mp-_tpxkfxy', '/mp-ugzby1_x', '/mp-1kwpx054', '/mp-napwcrbw'}
  warnings.warn(
Erreur de segmentation (core dumped)

Offline

#4 2025-06-22 12:31:11

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,723

Offline

#5 2025-06-22 14:32:46

meaz
Member
Registered: 2019-10-06
Posts: 7

Re: Problem with apps that crash: Segmentation fault error with libc.so.6?

I've updated to enchant-2.8.10-1, it fixed the issue. Thanks a lot

Offline

Board footer

Powered by FluxBB