portacle icon indicating copy to clipboard operation
portacle copied to clipboard

[Linux] Frequent Crashes

Open the-drunk-coder opened this issue 4 years ago • 2 comments

Protacle is frequently crashing on my system (Arch Linux /w awsome wm)

Here's the terminal output:

__@atarashii ~/portacle_refactor % ./portacle.run        
Warning: arch-dependent data dir '/home/linus/portacle/lin/emacs/libexec/emacs/26.1/x86_64-pc-linux-gnu/': No such file or directory
Warning: Lisp directory '/home/linus/portacle/lin/emacs/share/emacs/26.1/lisp': No such file or directory
/home/__/portacle_refactor//lin/lib/libc.so.6: version `GLIBC_2.25' not found (required by /usr/lib/libsystemd.so.0)
Failed to load module: /usr/lib/gio/modules/libgsettingsgconfbackend.so
/usr/lib/gio/modules/libdconfsettings.so: undefined symbol: g_log_structured_standard
Failed to load module: /usr/lib/gio/modules/libdconfsettings.so
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.

(Portacle:11345): GdkPixbuf-WARNING **: Error loading XPM image loader: Image type 'xpm' is not supported

(Portacle:11345): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Unrecognized image file format

(Portacle:11345): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Unrecognized image file format
Inconsistency detected by ld.so: dl-open.c: 689: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!
./portacle.run  36.36s user 1.35s system 1% cpu 56:12.43 total

the-drunk-coder avatar Apr 21 '20 19:04 the-drunk-coder

Looks like it's, at some point, loading a dynamic library from the host into the same process. This crashes due to glibc version mismatches.

You'll have to run under lsof to get the name of the library that's causing the problem:

strace -e trace=open,openat portacle/lin/bin/emacs

Shinmera avatar Apr 21 '20 21:04 Shinmera

Another observation regarding this issue: the crashes seem to be "unevenly distributed" over time. That is, one day, i get 5 crashes in a row, usually in the same situation (my guess is that it has something to do with displaying context help). After that it can be totally stable for a couple of days.

That being said, I haven'r reproduced it with strace running as of today.

the-drunk-coder avatar Apr 23 '20 08:04 the-drunk-coder