Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
texstudio segfaults after recent update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1458
Location: Berlin, Germany

PostPosted: Wed Dec 11, 2024 8:34 am    Post subject: texstudio segfaults after recent update Reply with quote

This is all I see in dmesg (I tried starting texstudio several times):
Code:
[12943.074324] texstudio[4241]: segfault at 0 ip 0000559c7c74ffcb sp 00007ffff20013d8 error 4 in texstudio[4c0fcb,559c7c426000+677000] likely on CPU 3 (core 3, socket 0)
[12943.074338] Code: 1d ce ff f3 0f 1e fa 48 89 c3 c5 f8 77 e9 50 2a d2 ff f3 0f 1e fa 48 89 c3 e9 39 2a d2 ff 90 f3 0f 1e fa 48 8b 47 10 48 8b 38 <48> 8b 07 ff 60 28 90 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3
[13001.358420] texstudio[4451]: segfault at 0 ip 000055c890488fcb sp 00007ffed6f0f558 error 4 in texstudio[4c0fcb,55c89015f000+677000] likely on CPU 10 (core 2, socket 0)
[13001.358435] Code: 1d ce ff f3 0f 1e fa 48 89 c3 c5 f8 77 e9 50 2a d2 ff f3 0f 1e fa 48 89 c3 e9 39 2a d2 ff 90 f3 0f 1e fa 48 8b 47 10 48 8b 38 <48> 8b 07 ff 60 28 90 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3
[13396.828491] texstudio[7774]: segfault at 0 ip 0000564b1cdc189b sp 00007ffd00f68bf8 error 4 in texstudio[4c689b,564b1ca92000+684000] likely on CPU 11 (core 3, socket 0)
[13396.828506] Code: b7 cd ff f3 0f 1e fa 48 89 c3 c5 f8 77 e9 da d5 d1 ff f3 0f 1e fa 48 89 c3 e9 c3 d5 d1 ff 90 f3 0f 1e fa 48 8b 47 10 48 8b 38 <48> 8b 07 ff 60 28 90 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3


The only thing I could imagine that might cause that is that I recently force-uninstalled virtual/rust, because it's deprecated and rust{-bin} is moving to slotted packages. But since texstudio doesn't depend on rust I really have no idea what the issue might be.

Any ideas what might be going wrong here?

Cheers,

EE
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22806

PostPosted: Wed Dec 11, 2024 11:52 am    Post subject: Reply with quote

Segmentation faults are always either a hardware fault or a software bug. What did you update since it was last working? What backtrace do you get when it crashes?

Although removing a virtual should not matter here, I will reiterate the oft-posted advice that you should use emerge --depclean, not emerge --unmerge, to remove packages. Forced-unmerge relies on the administrator not making a bad decision about what to remove. A poor choice can easily break the system.
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1458
Location: Berlin, Germany

PostPosted: Wed Dec 11, 2024 12:55 pm    Post subject: Reply with quote

genlop says:
Code:
# genlop -l --date 2024-12-08
 * packages merged:

     Tue Dec 10 08:47:04 2024 >>> sys-kernel/gentoo-sources-6.12.4
     Tue Dec 10 09:21:28 2024 >>> sys-kernel/linux-headers-6.12
     Tue Dec 10 09:31:04 2024 >>> sys-libs/glibc-2.40-r7
     Tue Dec 10 09:31:21 2024 >>> sys-devel/llvm-common-19.1.5
     Tue Dec 10 09:31:33 2024 >>> sys-apps/hwdata-0.390
     Tue Dec 10 09:32:01 2024 >>> app-arch/unrar-7.1.2
     Tue Dec 10 09:32:17 2024 >>> sys-devel/gcc-config-2.12.1
     Tue Dec 10 09:37:32 2024 >>> dev-libs/libunistring-1.3
     Tue Dec 10 09:38:04 2024 >>> net-libs/libtirpc-1.3.6
     Tue Dec 10 09:38:19 2024 >>> sys-devel/clang-common-19.1.5
     Tue Dec 10 09:41:44 2024 >>> dev-lang/perl-5.40.0-r1
     Tue Dec 10 09:41:56 2024 >>> dev-libs/gobject-introspection-common-1.82.0
     Tue Dec 10 09:46:13 2024 >>> dev-lang/rust-bin-1.83.0
     Tue Dec 10 09:46:23 2024 >>> app-portage/getuto-1.14
     Tue Dec 10 09:47:57 2024 >>> dev-libs/libgcrypt-1.11.0-r2
     Tue Dec 10 09:51:25 2024 >>> dev-db/sqlite-3.47.1
     Tue Dec 10 09:52:01 2024 >>> net-firewall/iptables-1.8.11-r1
     Tue Dec 10 09:53:00 2024 >>> sys-process/procps-4.0.4-r2
     Tue Dec 10 09:53:26 2024 >>> dev-libs/gumbo-0.12.2
     Tue Dec 10 09:59:11 2024 >>> sys-devel/gettext-0.23
     Tue Dec 10 10:01:46 2024 >>> dev-lang/python-3.11.11_p1
     Tue Dec 10 10:03:07 2024 >>> dev-build/meson-1.6.0-r1
     Tue Dec 10 10:05:06 2024 >>> sys-apps/systemd-utils-256.9-r1
     Tue Dec 10 10:05:34 2024 >>> x11-libs/pixman-0.44.2
     Tue Dec 10 10:05:50 2024 >>> dev-python/six-1.17.0
     Tue Dec 10 10:06:27 2024 >>> dev-python/pyqt5-sip-12.16.0
     Tue Dec 10 10:06:44 2024 >>> dev-python/fastjsonschema-2.21.1
     Tue Dec 10 10:07:56 2024 >>> dev-python/apsw-3.47.1.0
     Tue Dec 10 10:08:21 2024 >>> dev-python/pyqt6-sip-13.9.0
     Tue Dec 10 10:08:34 2024 >>> dev-python/jaconv-0.4.0
     Tue Dec 10 10:08:53 2024 >>> dev-python/wrapt-1.17.0
     Tue Dec 10 10:09:12 2024 >>> dev-python/mako-1.3.8
     Tue Dec 10 10:11:51 2024 >>> dev-lang/python-3.13.1-r100
     Tue Dec 10 10:12:15 2024 >>> x11-libs/libdrm-2.4.124
     Tue Dec 10 10:12:47 2024 >>> dev-python/sip-6.9.0
     Tue Dec 10 10:13:02 2024 >>> dev-python/deprecated-1.2.15
     Tue Dec 10 10:13:49 2024 >>> app-portage/eix-0.36.9
     Tue Dec 10 10:14:44 2024 >>> net-vpn/openvpn-2.6.12
     Tue Dec 10 10:15:39 2024 >>> sys-apps/file-5.46
     Tue Dec 10 10:15:56 2024 >>> sys-apps/iproute2-6.12.0
     Tue Dec 10 10:16:20 2024 >>> dev-python/hatchling-1.26.3-r1
     Tue Dec 10 10:16:38 2024 >>> dev-python/pyqt-builder-1.17.0
     Tue Dec 10 10:18:23 2024 >>> app-text/dvipsk-2024.03.11_p70015
     Tue Dec 10 10:18:40 2024 >>> dev-python/pykakasi-2.3.0
     Tue Dec 10 10:20:57 2024 >>> dev-python/fonttools-4.55.2
     Tue Dec 10 10:22:07 2024 >>> app-text/ttf2pk2-2.0_p20240311
     Tue Dec 10 10:23:27 2024 >>> app-text/libetonyek-0.1.12
     Tue Dec 10 10:30:10 2024 >>> dev-python/numpy-2.2.0
     Tue Dec 10 10:32:18 2024 >>> net-misc/yt-dlp-2024.12.06
     Tue Dec 10 10:35:48 2024 >>> dev-build/cmake-3.31.2
     Tue Dec 10 10:36:50 2024 >>> sys-libs/libomp-19.1.5
     Tue Dec 10 10:37:30 2024 >>> dev-cpp/cpp-httplib-0.18.3
     Tue Dec 10 10:37:54 2024 >>> dev-libs/simdjson-3.11.0
     Tue Dec 10 10:38:05 2024 >>> app-eselect/eselect-repository-14-r1
     Tue Dec 10 11:06:11 2024 >>> net-libs/nodejs-22.10.0
     Tue Dec 10 11:08:14 2024 >>> dev-util/spirv-llvm-translator-18.1.7
     Tue Dec 10 11:51:21 2024 >>> sys-devel/llvm-19.1.5
     Tue Dec 10 11:53:16 2024 >>> dev-util/spirv-llvm-translator-19.1.2
     Tue Dec 10 12:28:05 2024 >>> sys-devel/clang-19.1.5
     Tue Dec 10 12:28:52 2024 >>> sys-libs/compiler-rt-19.1.5
     Tue Dec 10 12:30:27 2024 >>> sys-libs/compiler-rt-sanitizers-19.1.5
     Tue Dec 10 12:30:36 2024 >>> sys-devel/clang-runtime-19.1.5
     Tue Dec 10 12:31:58 2024 >>> dev-libs/libclc-19.1.5
     Tue Dec 10 12:36:26 2024 >>> media-libs/mesa-24.2.8
     Tue Dec 10 12:37:06 2024 >>> media-libs/libcdr-0.1.8
     Tue Dec 10 12:37:21 2024 >>> dev-util/glib-utils-2.82.2
     Tue Dec 10 12:37:37 2024 >>> dev-util/gdbus-codegen-2.82.2
     Tue Dec 10 12:40:45 2024 >>> dev-libs/glib-2.82.2
     Tue Dec 10 12:43:53 2024 >>> app-admin/syslog-ng-4.8.1-r1
     Tue Dec 10 12:44:08 2024 >>> dev-build/xfce4-dev-tools-4.19.4
     Tue Dec 10 12:44:48 2024 >>> dev-libs/gobject-introspection-1.82.0-r1
     Tue Dec 10 12:45:15 2024 >>> x11-misc/picom-12.5
     Tue Dec 10 12:45:51 2024 >>> x11-terms/xterm-396
     Tue Dec 10 12:46:27 2024 >>> dev-python/pygobject-3.50.0
     Tue Dec 10 12:46:54 2024 >>> dev-libs/json-glib-1.10.0
     Tue Dec 10 12:47:25 2024 >>> app-crypt/libsecret-0.21.4-r2
     Tue Dec 10 12:48:05 2024 >>> x11-wm/fvwm3-1.1.1-r1
     Tue Dec 10 12:49:02 2024 >>> app-admin/conky-1.21.9
     Tue Dec 10 12:51:44 2024 >>> app-misc/openrgb-0.9
     Tue Dec 10 13:00:27 2024 >>> dev-qt/qtbase-6.8.1
     Tue Dec 10 13:01:53 2024 >>> dev-qt/qttools-6.8.1
     Tue Dec 10 13:02:25 2024 >>> dev-qt/qttranslations-6.8.1
     Tue Dec 10 13:03:07 2024 >>> dev-qt/qtsvg-6.8.1
     Tue Dec 10 13:04:05 2024 >>> dev-qt/qtshadertools-6.8.1
     Tue Dec 10 13:04:26 2024 >>> dev-qt/qtimageformats-6.8.1
     Tue Dec 10 13:11:32 2024 >>> www-client/brave-bin-1.73.99
     Tue Dec 10 13:13:50 2024 >>> app-crypt/gpgme-1.24.1
     Tue Dec 10 13:14:28 2024 >>> dev-qt/qt5compat-6.8.1
     Tue Dec 10 13:24:47 2024 >>> dev-qt/qtdeclarative-6.8.1
     Tue Dec 10 13:25:17 2024 >>> gui-apps/qt6ct-0.9
     Tue Dec 10 13:25:47 2024 >>> dev-qt/qtwebchannel-6.8.1
     Tue Dec 10 13:26:23 2024 >>> dev-qt/qtquicktimeline-6.8.1
     Tue Dec 10 13:27:14 2024 >>> dev-qt/qtpositioning-6.8.1
     Tue Dec 10 13:37:58 2024 >>> dev-python/pyqt6-6.8.0_pre2411221125
     Tue Dec 10 13:40:56 2024 >>> dev-qt/qtquick3d-6.8.1
     Tue Dec 10 15:56:20 2024 >>> dev-qt/qtwebengine-6.8.1
     Tue Dec 10 15:57:53 2024 >>> dev-python/pyqt6-webengine-6.8.0_pre2411020930
     Tue Dec 10 15:58:50 2024 >>> media-libs/openal-1.24.1
     Tue Dec 10 16:00:27 2024 >>> dev-qt/qtmultimedia-6.8.1
     Tue Dec 10 16:03:22 2024 >>> app-text/calibre-7.22.0
     Tue Dec 10 16:04:17 2024 >>> media-plugins/audacious-plugins-4.4.2
     Wed Dec 11 09:28:35 2024 >>> app-office/texstudio-4.8.4-r2

(I only tried remerging texstudio after the segfault; it was working fine two days ago)
For reference, texstudio's depgraph is:
Code:
 * dependency graph for app-office/texstudio-4.8.4-r2
 `--  app-office/texstudio-4.8.4-r2  amd64
   `--  app-text/hunspell-1.7.2-r1  (app-text/hunspell) ~amd64
   `--  app-text/poppler-24.11.0-r1  (app-text/poppler) ~amd64  [qt6]
   `--  dev-libs/quazip-1.4-r1  (>=dev-libs/quazip-1.0) amd64  [qt6(+)]
   `--  dev-qt/qt5compat-6.8.1  (dev-qt/qt5compat) ~amd64
   `--  dev-qt/qtbase-6.8.1  (dev-qt/qtbase) ~amd64  [concurrent gui network widgets xml]
   `--  dev-qt/qtdeclarative-6.8.1  (dev-qt/qtdeclarative) ~amd64
   `--  dev-qt/qtsvg-6.8.1  (dev-qt/qtsvg) ~amd64
   `--  dev-qt/qttools-6.8.1  (dev-qt/qttools) ~amd64  [widgets]
   `--  sys-libs/zlib-1.3.1-r1  (sys-libs/zlib) amd64
   `--  x11-libs/libX11-1.8.10  (x11-libs/libX11) amd64
   `--  dev-qt/qtmultimedia-6.8.1  (dev-qt/qtmultimedia) ~amd64
   `--  app-text/ghostscript-gpl-10.04.0  (app-text/ghostscript-gpl) ~amd64
   `--  app-text/psutils-2.09  (app-text/psutils) amd64
   `--  media-libs/netpbm-11.8.2  (media-libs/netpbm) ~amd64
   `--  virtual/latex-base-1.0  (virtual/latex-base) amd64
   `--  virtual/pkgconfig-3  (virtual/pkgconfig) amd64
   `--  app-alternatives/ninja-1  (app-alternatives/ninja) amd64
   `--  dev-build/cmake-3.31.2  (>=dev-build/cmake-3.20.5) ~amd64
   `--  dev-util/desktop-file-utils-0.28  (dev-util/desktop-file-utils) ~amd64
   `--  x11-misc/shared-mime-info-2.4-r1  (x11-misc/shared-mime-info) amd64
[ app-office/texstudio-4.8.4-r2 stats: packages (21), max depth (1) ]

Maybe something to do with qt? Is there any way to trace the fault? There's no console output besides "Segmentation fault", and that output from dmesg is all I'm getting there. I do see the splash screen for texstudio for a second, before it segfaults, so maybe it's something to do with the UI loading?

As for force removing the rust virtual, it's because a number of packages still depended on it, forcing installation of both the slotted rust and the previous version, which filled /opt to 100% and prevented me from installing brave-bin. I'm remerging the affected packages now.

Cheers,

EE
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3449
Location: Canada

PostPosted: Thu Dec 12, 2024 12:07 am    Post subject: Reply with quote

Recent update switched texstudio from Qt5 to Qt6. So you are probably guessing right that it is Qt related
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum