Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 698764

Summary: app-misc/gtypist - gtypist: SIGBUS ?
Product: Gentoo Linux Reporter: Jacopo <jacopods>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH, PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/15639
https://bugs.gentoo.org/show_bug.cgi?id=707760
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch fixing the SIGBUS error on startup

Description Jacopo 2019-10-28 16:26:04 UTC
Created attachment 594236 [details, diff]
Patch fixing the SIGBUS error on startup

gtypist crashes with SIGBUS on startup. gdb says that the crash happens inside the call to ncurses initscr()


strace suggested that tinfo was involved and a google search revealed this related bug: https://bugs.gentoo.org/show_bug.cgi?id=651552

The solution proposed there suggests to link to tinfow rather than tinfo; the attached patch does exactly that and fixes the issue on my box
Comment 1 Larry the Git Cow gentoo-dev 2020-05-05 03:09:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7994d5cdc2b80af2eb16799c020be54c26bef90

commit b7994d5cdc2b80af2eb16799c020be54c26bef90
Author:     Arjan Adriaanse <arjan@adriaan.se>
AuthorDate: 2020-05-04 02:38:13 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2020-05-05 03:06:09 +0000

    app-misc/gtypist: fix crash and upgrade EAPI
    
    Closes: https://bugs.gentoo.org/698764
    Signed-off-by: Arjan Adriaanse <arjan@adriaan.se>
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/15639

 app-misc/gtypist/files/gtypist-2.9.5-link-infow.patch   | 15 +++++++++++++++
 .../{gtypist-2.9.5.ebuild => gtypist-2.9.5-r1.ebuild}   | 17 +++++++++++++----
 2 files changed, 28 insertions(+), 4 deletions(-)