crash when 'get key' button is clicked and .xbindkeysrc does not exist

Bug #70521 reported by Twitch
114
This bug affects 9 people
Affects Status Importance Assigned to Milestone
xbindkeys-config (Debian)
Fix Released
Unknown
xbindkeys-config (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: xbindkeys-config

program crashed when 'get key' was clicked. After I manually entered the keys and saved to .xbindkeysrc the problem no longer existed.

Revision history for this message
In , Joerg Jaspert (joerg) wrote : Re: Bug#268630: segfault if no vanilla config found

Hi Laurent,

I got the following bugreport for xbindkeys-config:

> Hello,
>
> I have a reproducible problem with the xbindkeys-config package - it
> segfaults if no existing config has been found (after recommending how
> to create one, at least something something positive) and I press the
> GetKey button. It works when I create an .xbindkeysrc file, but segfault
> is not the right way to go anyways...
>
>
> waitpid(20174, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 20174
> rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
> rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> --- SIGCHLD (Child exited) @ 0 (0) ---
> pipe([6, 7]) = 0
> vfork() = 20175
> close(7) = 0
> fstat64(6, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40457000
> read(6, Error : /home/inet/.xbindkeysrc not found or reading not allowed.
> please, create one with 'xbindkeys --defaults > /home/inet/.xbindkeysrc'.
> or, if you want scheme configuration style,
> with 'xbindkeys --defaults-guile > /home/inet/.xbindkeysrc.scm'.
> "", 4096) = 0
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++

Maybe running xbindkeys to create a sample .rc or creating one yourself
could be one action here.

--
bye Joerg
Die Dicke zum Spiegel: Spieglein, Spieglein an der Wand, wer ist die
 Schönste im ganzen Land?
Der Spiegel: Geh doch mal weg, ich kann ja gar nichts sehen!

Revision history for this message
In , Lapinator (lapinator) wrote :

On Sun, 29 Aug 2004 12:00:18 +0200
Joerg Jaspert <email address hidden> wrote:

> Hi Laurent,
>
> I got the following bugreport for xbindkeys-config:
>
> > Hello,
> >
> > I have a reproducible problem with the xbindkeys-config package - it
> > segfaults if no existing config has been found (after recommending how
> > to create one, at least something something positive) and I press the
> > GetKey button. It works when I create an .xbindkeysrc file, but segfault
> > is not the right way to go anyways...
> >
> >
> > waitpid(20174, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 20174
> > rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
> > rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
> > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> > --- SIGCHLD (Child exited) @ 0 (0) ---
> > pipe([6, 7]) = 0
> > vfork() = 20175
> > close(7) = 0
> > fstat64(6, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
> > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40457000
> > read(6, Error : /home/inet/.xbindkeysrc not found or reading not allowed.
> > please, create one with 'xbindkeys --defaults > /home/inet/.xbindkeysrc'.
> > or, if you want scheme configuration style,
> > with 'xbindkeys --defaults-guile > /home/inet/.xbindkeysrc.scm'.
> > "", 4096) = 0
> > --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> > +++ killed by SIGSEGV +++
>
> Maybe running xbindkeys to create a sample .rc or creating one yourself
> could be one action here.
>

 I have lose my work in a crash disk, if you have a link or file
on the last version, I am verry happy to fix this bug

Regards

 Laurent VUIBERT

Revision history for this message
In , Joerg Jaspert (joerg) wrote :

On 10032 March 1977, Laurent VUIBERT wrote:

>> Maybe running xbindkeys to create a sample .rc or creating one yourself
>> could be one action here.
> I have lose my work in a crash disk, if you have a link or file
> on the last version, I am verry happy to fix this bug

Of course - on the debian mirrors. :)

ftp://ftp.fr.debian.org/debian/pool/main/x/xbindkeys-config/xbindkeys-config_0.1.3.orig.tar.gz

BTW: While you are at it - please take a loog at the other bug
forwarded to you too, its near its first birthday. :)

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=213178

--
bye Joerg
(Irgendwo von heise.de):
Jesus war ein typischer Student:
- Lebte bis er 30 war bei den Eltern, - Hatte lange Haare
- Wenn er mal was tat dann wars ein Wunder

Revision history for this message
Twitch (taurusbp) wrote :

Binary package hint: xbindkeys-config

program crashed when 'get key' was clicked. After I manually entered the keys and saved to .xbindkeysrc the problem no longer existed.

Revision history for this message
valere44 (valere44) wrote :

i think this is what happened to me too.

Revision history for this message
martin (mbvlist) wrote :

me too...

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Thanks in advance.

Changed in xbindkeys-config:
status: New → Incomplete
Revision history for this message
Kaell (nunya311) wrote :

This is still a problem. Installed xbindkey and xbindkey-config, ran the config, clicked Get Key, program crashed.

Revision history for this message
Betty (sturdyandserviceable) wrote :

Having found this thread, I created an empty .xbindkeysrc which made it stop crashing. But yes, it's still an issue.

Revision history for this message
Alex Tanner (alex-slightlyunstable) wrote :

i have this same issue, it's rather quite annoying

Revision history for this message
Alex Tanner (alex-slightlyunstable) wrote :

how and where do I create the .xbindkeysrc file

Daniel T Chen (crimsun)
Changed in xbindkeys-config:
importance: Undecided → Medium
status: Incomplete → Confirmed
Hew (hew)
Changed in xbindkeys-config (Ubuntu):
status: Confirmed → Triaged
Changed in xbindkeys-config (Debian):
status: Unknown → Confirmed
Revision history for this message
Hew (hew) wrote :

This is still a problem on Karmic with xbindkeys-config 0.1.3-2 . Backtrace attached.

Revision history for this message
In , Hew (hew) wrote :

Almost five years later and this bug still exists. Confirmed on Ubuntu
Karmic with xbindkeys-config 0.1.3-2 .

I have attached a backtrace of the issue, in case it helps.

Ubuntu report: https://bugs.launchpad.net/bugs/70521

Revision history for this message
Fabian Kosmale (fakos) wrote :

This bug still exist in Ubuntu 10.10 with xbindkeys-config 0.1.3-2. But hey, the current version is 1.8.4.

Revision history for this message
Fabian Kosmale (fakos) wrote :

Uh, sorry, please ignore the comment about the version number in my previous post. I accidentally posted the xbindkeys version number.

Revision history for this message
Richard Ayotte (rich-ayotte) wrote :

Simple workaround until this is fixed. From the command line, run

touch ~/.xbindkeysrc

Changed in xbindkeys-config (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.