Comment 1 for bug 70521

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!