Bug 34000 - Texstudio crashes
Summary: Texstudio crashes
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2025-02-09 12:25 CET by papoteur
Modified: 2025-02-14 23:55 CET (History)
5 users (show)

See Also:
Source RPM: texstudio-4.5.1-1.mga9
CVE:
Status comment:


Attachments

Description papoteur 2025-02-09 12:25:08 CET
Description of problem:
Crash

Version-Release number of selected component (if applicable):
4.5.1-1

How reproducible: always
Open texstudio
Tools - Configure Texstudio
Close with OK
Get the crash

The crash occurs in qtermwidget.
Comment 1 Lewis Smith 2025-02-09 19:39:05 CET
Yves, thank you for the report.
But can you please post the terminal output?

BTAIM This version 4.5.1 is very old, and we have many more recent versions in Cauldron: latest 4.8.5. I imagine the first step will be to try something more recent.

Assigning anyway to DavidG who is the conspicuous committer of this SRPM.

Assignee: bugsquad => geiger.david68210

Comment 2 papoteur 2025-02-09 20:52:46 CET
Hi Lewis,
Thanks for this remark.
I tried to compile Cauldron package within Mageia. However, it uses Qt6, and M9 lacks qtsingleapplication for Qt6.
I haven't explored the way of backporting the latest.
Comment 3 papoteur 2025-02-10 08:06:35 CET
Submitting:
texstudio-4.5.1-2.mga9

SRPMS
texstudio-4.5.1-2.mga9

Assignee: geiger.david68210 => qa-bugs

papoteur 2025-02-10 08:07:07 CET

CC: (none) => geiger.david68210

Comment 4 papoteur 2025-02-10 08:09:31 CET
Advisory:
===========
Texstudio was crashing after editing the settings.
After a rebuild for qtermwidget 1.4.0, the crash is gone
=============
Comment 5 Herman Viaene 2025-02-10 11:50:24 CET
MGA9-64 Plasma Wayland on Compaq H000SB.
No installation issues.
Open texstudio, choose "Options" menu (Tools does not exist), choose Configure Texstudio, changed default Fonts, clicked OK. Works well.
But trying to create a minimal document using the article template is a failure. I can edit, but trying to compile gives an error:
LaTeX3 Error: File 'UnicodeData.txt' not found. For immediate help type H <return>. ... l.31528 } )
Googling suggest the usage of a MiKTeX Package Manager, no idea what thqt is.
And BTW, the update option in the Options suggests the latest stable in 4.8.x, so I wonder ...

To the higher powers: I won't object the OK, but I wonder if latex users would wait for that.

CC: (none) => herman.viaene

PC LX 2025-02-10 12:34:10 CET

CC: (none) => mageia

Comment 6 katnatek 2025-02-10 19:48:31 CET
(In reply to Herman Viaene from comment #5)
> MGA9-64 Plasma Wayland on Compaq H000SB.
> No installation issues.
> Open texstudio, choose "Options" menu (Tools does not exist), choose
> Configure Texstudio, changed default Fonts, clicked OK. Works well.
> But trying to create a minimal document using the article template is a
> failure. I can edit, but trying to compile gives an error:
> LaTeX3 Error: File 'UnicodeData.txt' not found. For immediate help type H
> <return>. ... l.31528 } )
> Googling suggest the usage of a MiKTeX Package Manager, no idea what thqt is.
> And BTW, the update option in the Options suggests the latest stable in
> 4.8.x, so I wonder ...
> 
> To the higher powers: I won't object the OK, but I wonder if latex users
> would wait for that.

@papoteur the Error reported by Herman suggest this package should require texlive-dist

@Herman can you confirm if no other issue jumps after installing texlive-dist
Comment 7 Herman Viaene 2025-02-11 10:30:24 CET
After installing texlive-dist, no system errors anymore, just errors  caused by my ignorance of the right syntax and conventions. Giving up on that.
Comment 8 papoteur 2025-02-11 11:07:23 CET
(In reply to katnatek from comment #6)
> 
> @papoteur the Error reported by Herman suggest this package should require
> texlive-dist
Hmm,
We have 
Recommends: texlive
Does not the latest pull texlive-dist?
I don't know how texlive is cut in packages.
Comment 9 katnatek 2025-02-11 18:16:01 CET
(In reply to papoteur from comment #8)
> (In reply to katnatek from comment #6)
> > 
> > @papoteur the Error reported by Herman suggest this package should require
> > texlive-dist
> Hmm,
> We have 
> Recommends: texlive
> Does not the latest pull texlive-dist?
> I don't know how texlive is cut in packages.

urpmq --requires-recursive texlive|grep texlive
texlive
texlive-collection-basic

urpmq --requires-recursive texlive-dist|grep texlive
texlive
texlive-collection-basic
texlive-dist
texlive-texmf


Look like can change texlive for texlive-dist but I consider that should be Requires instead Recommends
Comment 10 katnatek 2025-02-13 02:27:00 CET
@papoteur I want to check my access with this package, is necessary first fix in cauldron?
Comment 11 katnatek 2025-02-13 02:51:32 CET
(In reply to katnatek from comment #10)
> @papoteur I want to check my access with this package, is necessary first
> fix in cauldron?

In cauldron already change Recommends: texlive to Recommends: texlive-dist

I sendthe change for mageia 9, you should start the build I think
Comment 12 papoteur 2025-02-13 09:09:37 CET
Hi katnatek,
Thanks, your changes are OK.
I wonder now if the package as to be updated to 4.8.5.
I said that we don't have qtsingleapplication for qt6 in M9.
I just see that the cauldron package has a patch to use the external library, but by default use a bundled one.
I have no opinion on this change, if it can go to migration problems.
I checked that the build can be done.
Comment 13 katnatek 2025-02-13 10:14:10 CET
(In reply to papoteur from comment #12)
> Hi katnatek,
> Thanks, your changes are OK.
> I wonder now if the package as to be updated to 4.8.5.
> I said that we don't have qtsingleapplication for qt6 in M9.
> I just see that the cauldron package has a patch to use the external
> library, but by default use a bundled one.
> I have no opinion on this change, if it can go to migration problems.
> I checked that the build can be done.

Perhaps my commit message is a few confusing
I'll try to do better in future
But I just change texlive to texlive-dist as in the
cauldron spec but not update version

Evan by mistake send the change without update the release
and have to send new change to fix that
Comment 14 katnatek 2025-02-14 00:12:55 CET
(In reply to papoteur from comment #12)
> Hi katnatek,
> Thanks, your changes are OK.
> I wonder now if the package as to be updated to 4.8.5.
> I said that we don't have qtsingleapplication for qt6 in M9.
> I just see that the cauldron package has a patch to use the external
> library, but by default use a bundled one.
> I have no opinion on this change, if it can go to migration problems.
> I checked that the build can be done.

I have a qtsingleapplication package from the nheko bug https://bugs.mageia.org/show_bug.cgi?id=33563 , lets see if still works for texstudio 4.8.5 or I have to rebuild/update

I'll let you know
Comment 15 katnatek 2025-02-14 00:47:11 CET
(In reply to katnatek from comment #14)
> (In reply to papoteur from comment #12)
> > Hi katnatek,
> > Thanks, your changes are OK.
> > I wonder now if the package as to be updated to 4.8.5.
> > I said that we don't have qtsingleapplication for qt6 in M9.
> > I just see that the cauldron package has a patch to use the external
> > library, but by default use a bundled one.
> > I have no opinion on this change, if it can go to migration problems.
> > I checked that the build can be done.
> 
> I have a qtsingleapplication package from the nheko bug
> https://bugs.mageia.org/show_bug.cgi?id=33563 , lets see if still works for
> texstudio 4.8.5 or I have to rebuild/update
> 
> I'll let you know

It requires also qtlockedfile I have 2.4.1-22.mga9.src.rpm and qtsingleapplication 2.6.1-25.mga9.src.rpm ready In my mentorship copr https://copr.fedorainfracloud.org/coprs/katnatek/mgaMentorship/builds/

With the required packages the version 4.8.5 installs and start without issues, I have less skills than Herman with the use of this so not try more

If you give me green light I'll try to import qtlockedfile and qtsingleapplication in mageia 9 and update texstudio to 4.8.5

Or need also green light of David?
Comment 16 David GEIGER 2025-02-14 01:06:19 CET
On mga9 we should stay with Qt5, Qt6 is not ready to go and needs some works for that!
Comment 17 katnatek 2025-02-14 03:17:45 CET
OK then papoteur send  to build texstudio-4.5.1-2.1.mga9 please
Comment 18 papoteur 2025-02-14 09:25:42 CET
Submitted:
=============
RPM:
texstudio-4.5.1-2.1.mga9
SRPMS:
texstudio-4.5.1-2.1.mga9
=============
Comment 19 Herman Viaene 2025-02-14 14:59:15 CET
Installed new version, created new document using the article template, did not change a thing and it compiled and built OK.
I won't venture into this qtsingleapplication, leaving that for people who know such things, bur basically texstudio seems to work OK.
Comment 20 katnatek 2025-02-14 17:56:22 CET
(In reply to Herman Viaene from comment #19)
> Installed new version, created new document using the article template, did
> not change a thing and it compiled and built OK.
> I won't venture into this qtsingleapplication, leaving that for people who
> know such things, bur basically texstudio seems to work OK.

Due comment#16 qtsingleapplication not was imported so no additional test is required

Whiteboard: (none) => MGA9-64-OK
Keywords: (none) => advisory
CC: (none) => andrewsfarm

Comment 21 Thomas Andrews 2025-02-14 21:37:06 CET
Good work, guys!

Validating.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 22 Mageia Robot 2025-02-14 23:55:58 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2025-0015.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.