Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 698764 - app-misc/gtypist - gtypist: SIGBUS ?
Summary: app-misc/gtypist - gtypist: SIGBUS ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2019-10-28 16:26 UTC by Jacopo
Modified: 2022-07-30 07:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch fixing the SIGBUS error on startup (0001-Fix-linking-on-gentoo.patch,660 bytes, patch)
2019-10-28 16:26 UTC, Jacopo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)