Segfault when trying to paste into the "custom layout" section of the config

Ouverte
#348 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
22/100
Type d'issue
Bug
Clarté
À clarifier
Activité
À l'abandon
Stack technique
c
Domaine
desktop

Piste de recherche

The payload names no source file, so the first step is locating the custom-layout text entry in the layout settings dialog of this C/GTK3 codebase. Reproduce the crash by pasting into that field, then run under gdb or valgrind to get a backtrace pointing at the faulting code. Done means pasting into the custom layout field no longer segfaults, with the cause identified.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

gpredict version 2.3-72-gc596101-3
and 2.3.115-0f3be (from flatpak).

When I open the layout settings, set the layout to "custom" and try to paste in a string (any string, valid layout or otherwise) I get a segfault.

Job 1, 'gpredict' terminated by signal SIGSEGV (Address boundary error)

Weirdly enough, I can copy a string from the layout text-box and paste it back in, but I can't seem to paste from any other application.

From my kernel logs I know that there is a core dump somewhere, but I can't seem to find where it is.

System:
  Kernel: 6.5.0-18-generic x86_64 bits: 64 Desktop: Cinnamon 6.0.4
    Distro: Linux Mint 21.3 Virginia
Langage dominant
C
Étoiles
1.2k
Forks
305
Merge moyen
4 j 14 h
PR mergées (30 j)
7

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de csete/gpredict

Toutes les issues de csete/gpredict

Issues similaires

Plus d'issues C

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.