Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On Linux, ente auth fails to run randomly. Issue with both app images and debian. #2326

Open
asheshstha opened this issue Jun 30, 2024 · 1 comment
Labels
- auth Relates to Ente Auth

Comments

@asheshstha
Copy link

Description

I was on ente-auth-v3.0.13-x86_64.deb and suddlenly ente_auth stopped working. Tried running updated version v3.0.17 of .deb, AppImage. None of it worked.

Issues

  1. On .deb files from terminal ente_auth
flutter:  [ente_logging] [INFO] [2024-06-30 10:04:29.358095] log file for today: File: '/home/your-user/.local/share/ente_auth/logs/2024-6-30.txt' with prefix 
flutter: [ente_logging] [INFO] [2024-06-30 10:04:29.358095] app version: '3.0.17+317'
flutter: [ente_logging] [INFO] [2024-06-30 10:04:29.358095] 
flutter:  [main] [INFO] [2024-06-30 10:04:29.358149] Starting app in foreground
flutter:  [Configuration] [INFO] [2024-06-30 10:04:29.363663] Skipping temp folder clear
Segmentation fault (core dumped)
  1. export LIBGL_ALWAYS_SOFTWARE=1 also didn't work for .deb and .AppImages
  2. running AppImages - opening onces opens the app in process but shows no UI. Need to open it twice and the UI appears as no gl implementation is available ente

Solution that worked for me

Delete /home/your-user/.local/share/ente_auth/ folder which deletes the stored credentials also. Don't do it if you are not signed in with an account. Wait for better solution.

Version

v3.0.17

What product are you using?

Ente Auth

What platform are you using?

Desktop - Linux

@cbmiller2610
Copy link

I also see the same issue on openSUSE tumbleweed (snapshot 20240621) and Ente Auth 3.0.17+317 Appimage, randomly you will have to delete the credentials db or else the app will segfault every time on launch. More info on the segfault from journalctl:

Jul 03 23:35:03 localhost.localdomain kernel: ente_auth[11391]: segfault at 7f4e6dd1fddc ip 00007f4e6dc8c94e sp 00007fff6904f560 error 7 in libcairo.so.2.11800.0[7f4e6dc30000+e3000] >
Jul 03 23:35:03 localhost.localdomain kernel: Code: 47 30 02 75 5f 44 8b 66 1c 45 85 e4 75 5e f6 46 30 02 75 50 48 8b 06 48 85 c0 74 06 8b 00 85 c0 74 2a 41 bc 0d 00 00 00 31 c0 <f0>>
Jul 03 23:35:03 localhost.localdomain systemd[1]: Started Process Core Dump (PID 11431/UID 0).
Jul 03 23:35:04 localhost.localdomain (sd-parse-elf)[11434]: Could not parse number of program headers from core file: invalid `Elf' handle
Jul 03 23:35:04 localhost.localdomain systemd-coredump[11432]: [🡕] Process 11391 (ente_auth) of user 1000 dumped core.
                                                               
                                                               Module /tmp/.mount_ente-aimvy7h/usr/lib/libsodium.so without build-id.
                                                               Module /tmp/.mount_ente-aimvy7h/usr/lib/libsodium.so
                                                               Stack trace of thread 11391:
                                                               #0  0x00007f4e6dc8c94e cairo_surface_unmap_image (libcairo.so.2 + 0x7094e)
                                                               #1  0x00007f4e6df48b08 n/a (libgdk-3.so.0 + 0x43b08)
                                                               #2  0x00007f4e6df52a10 n/a (libgdk-3.so.0 + 0x4da10)
                                                               #3  0x00007f4e6df52b17 gdk_window_end_draw_frame (libgdk-3.so.0 + 0x4db17)
                                                               #4  0x00007f4e6e1f942e gtk_main_do_event (libgtk-3.so.0 + 0x1f942e)
                                                               #5  0x00007f4e6df3e287 n/a (libgdk-3.so.0 + 0x39287)
                                                               #6  0x00007f4e6df4f769 n/a (libgdk-3.so.0 + 0x4a769)
                                                               #7  0x00007f4e6df53b16 n/a (libgdk-3.so.0 + 0x4eb16)
                                                               #8  0x00007f4e6df53d1c n/a (libgdk-3.so.0 + 0x4ed1c)
                                                               #9  0x00007f4e6d9b3861 n/a (libgobject-2.0.so.0 + 0x17861)
                                                               #10 0x00007f4e6d9c99b4 n/a (libgobject-2.0.so.0 + 0x2d9b4)
                                                               #11 0x00007f4e6d9cf5b2 g_signal_emit_valist (libgobject-2.0.so.0 + 0x335b2)
                                                               #12 0x00007f4e6d9cf65f g_signal_emit (libgobject-2.0.so.0 + 0x3365f)
                                                               #13 0x00007f4e6df4af98 n/a (libgdk-3.so.0 + 0x45f98)
                                                               #14 0x00007f4e6df383b7 n/a (libgdk-3.so.0 + 0x333b7)
                                                               #15 0x00007f4e6d8b1154 n/a (libglib-2.0.so.0 + 0x60154)
                                                               #16 0x00007f4e6d8ae740 n/a (libglib-2.0.so.0 + 0x5d740)
                                                               #17 0x00007f4e6d8b0388 n/a (libglib-2.0.so.0 + 0x5f388)
                                                               #18 0x00007f4e6d8b0a3c g_main_context_iteration (libglib-2.0.so.0 + 0x5fa3c)
                                                               #19 0x00007f4e6dae9a0d g_application_run (libgio-2.0.so.0 + 0xe9a0d)
                                                               #20 0x00005614ed6f452e n/a (/tmp/.mount_ente-aimvy7h/ente_auth + 0x352e)
                                                               ELF object binary architecture: AMD x86-64
Jul 03 23:35:04 localhost.localdomain systemd[1]: systemd-coredump@2-11431-0.service: Deactivated successfully.
Jul 03 23:35:04 localhost.localdomain systemd[1]: tmp-.mount_ente\x2daimvy7h.mount: Deactivated successfully.
@ua741 ua741 added - auth Relates to Ente Auth and removed triage labels Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- auth Relates to Ente Auth
3 participants