Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

QTextCursor segmentation fault with Frescobaldi

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
rvj
n00b
n00b
Posts: 16
Joined: Wed Oct 24, 2018 5:47 pm

QTextCursor segmentation fault with Frescobaldi

  • Quote

Post by rvj » Thu Jan 22, 2026 4:26 pm

When running Frescobaldi in text edit mode, swiping text with a mouse to select it, upon releasing the left mouse button, I get a segmentation fault. Lately I've seen the following error message:

$ frescobaldi Fragile_bits.ly
QTextCursor::setPosition: Position '28326' out of range
Segmentation fault frescobaldi Fragile_bits.ly

This wasn't happening a month or two ago. I'm trying to run gdb to pin this down further, but not sure on what I'm doing. I tried invoking

$ gdb --args frescobaldi Fragile_bits.ly

but it complains that

Starting program: Fragile_bits.ly
No executable file specified.

I need some guidance. Thanks!
Top
grknight
Retired Dev
Retired Dev
Posts: 2560
Joined: Fri Feb 20, 2015 9:36 pm

  • Quote

Post by grknight » Thu Jan 22, 2026 5:30 pm

rvj wrote:$ gdb --args frescobaldi Fragile_bits.ly
This should be

Code: Select all

$ gdb --args Fragile_bits.ly frescobaldi
Top
Hu
Administrator
Administrator
Posts: 24386
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Thu Jan 22, 2026 6:19 pm

The info page seems to say that OP is correct:

Code: Select all

   You can optionally have 'gdb' pass any arguments after the executable
file to the inferior using '--args'.  This option stops option
processing.
     gdb --args gcc -O2 -c foo.c
   This will cause 'gdb' to debug 'gcc', and to set 'gcc''s command-line
arguments (*note Arguments::) to '-O2 -c foo.c'.
The program's name is given to the right of --args, and is then followed by the arguments for the program.
Top
rvj
n00b
n00b
Posts: 16
Joined: Wed Oct 24, 2018 5:47 pm

  • Quote

Post by rvj » Thu Jan 22, 2026 7:50 pm

I can drop the Fragile_bits.ly from the calling argument and access it within Frescobaldi. Hence I have tried

gdb --args frescobaldi

However I get the complaint

"/usr/bin/frescobaldi": not in executable format: file format not recognized

This file is only 222 bits large:

$ ls -la /usr/bin/frescobaldi
-rwxr-xr-x 1 root root 222 Jan 17 09:13 /usr/bin/frescobaldi
Top
Hu
Administrator
Administrator
Posts: 24386
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Thu Jan 22, 2026 8:26 pm

That suggests that /usr/bin/frescobaldi is not an executable, but a script. Run the interpreter with frescobaldi as an argument. I see that the package accepts PYTHON_SINGLE_TARGET, so this is probably a Python script.
Top
Post Reply

5 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic