Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 722894 - x11-misc/dmenu-4.9 - dmenu segfaults on keypress when using XOpenIM
Summary: x11-misc/dmenu-4.9 - dmenu segfaults on keypress when using XOpenIM
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2020-05-14 03:45 UTC by Wesley Coakley
Modified: 2021-04-25 09:14 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge--info.txt,5.15 KB, text/plain)
2020-05-14 03:45 UTC, Wesley Coakley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wesley Coakley 2020-05-14 03:45:28 UTC
Created attachment 638680 [details]
emerge --info

dmenu 4.9 compiles fine but segfaults when any key is pressed; upstream (i.e. dmenu-9999) has fixed this issue, I will submit the patched ebuild via PR soon.

$ cat /tmp/dmenu-in
first
second
third
$ gdb /usr/bin/dmenu
...
(gdb) run < /tmp/dmenu-in
Starting program: /usr/bin/dmenu < /tmp/dmenu-in
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7ecd980 in XmbLookupString () from /usr/lib64/libX11.so.6
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2020-05-15 06:46:22 UTC
I guess you missed this:

commit db6093f6ec1bb884f7540f2512935b5254750b30 (HEAD, refs/git-r3/x11-misc/dmenu/0/__old__, refs/git-r3/x11-misc/dmenu/0/__main__, refs/git-r3/HEAD)
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun Mar 3 13:08:54 2019 +0100

    revert IME support

    dmenu will not handle IME support (st will, atleast for now).

    revert parts of commit 377bd37e212b1ec4c03a481245603c6560d0be22
    this commit also broke input focus.
Comment 2 Wesley Coakley 2020-05-15 08:32:31 UTC
Thanks, guess it's time to find an alternative or remember to toggle my IME every time, closing this one
Comment 3 Georgy Yakovlev archtester gentoo-dev 2021-04-25 09:12:25 UTC
dropping old versions, so closing this
Comment 4 Larry the Git Cow gentoo-dev 2021-04-25 09:14:03 UTC
The bug has been referenced in the following commit(s):

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

commit 521ad220accf56a5dfea6f7dfaaa6242cc7d85e8
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2021-04-25 09:13:28 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2021-04-25 09:13:51 +0000

    x11-misc/dmenu: drop old
    
    Bug: https://bugs.gentoo.org/722894
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 x11-misc/dmenu/Manifest                     |  2 -
 x11-misc/dmenu/dmenu-4.8.ebuild             | 60 ----------------------------
 x11-misc/dmenu/dmenu-4.9.ebuild             | 61 -----------------------------
 x11-misc/dmenu/files/dmenu-4.7-gentoo.patch | 38 ------------------
 4 files changed, 161 deletions(-)