From: Gregor Jasny <gjasny@googlemail.com>
To: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: Wojciech Myrda <vojcek@tlen.pl>, linux-media@vger.kernel.org
Subject: Re: [segfault] running ir-keytable with v4l-utils 0.8.9
Date: Sat, 27 Oct 2012 13:26:49 +0200 [thread overview]
Message-ID: <508BC4F9.303@googlemail.com> (raw)
In-Reply-To: <507B1879.9020100@tlen.pl>
Hello Mauro,
On 10/14/12 9:54 PM, Wojciech Myrda wrote:
> However I experienced a segfault trying to run this command:
> ir-keytable --protocol=rc-6 --device /dev/input/by-id/usb-15c2_0038-event-if00
> Trace I got in gdb:
> Program terminated with signal 11, Segmentation fault.
> #0 0x00007fd1c6bdd410 in __strcpy_chk () from /lib64/libc.so.6
> (gdb) bt full
> #0 0x00007fd1c6bdd410 in __strcpy_chk () from /lib64/libc.so.6
> No symbol table info available.
> #1 0x00000000004037bc in strcpy (__src=<optimized out>,
> __dest=0x7fff0a823010 "")
> at /usr/include/bits/string3.h:105
> No locals.
> #2 v1_set_hw_protocols (rc_dev=<optimized out>) at keytable.c:758
> #3 0x00000000004019af in set_proto (rc_dev=0x7fff0a824030) at keytable.c:1153
I looked at the crash and it seems that the rc_dev structure is not
initialized when a device name is set on the command line. Could you
please take a look?
Thanks,
Gregor
next prev parent reply other threads:[~2012-10-27 11:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-14 19:54 [segfault] running ir-keytable with v4l-utils 0.8.9 Wojciech Myrda
2012-10-16 7:20 ` Gregor Jasny
2012-10-16 9:08 ` Wojciech Myrda
2012-10-27 11:26 ` Gregor Jasny [this message]
2012-11-04 11:51 ` Gregor Jasny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=508BC4F9.303@googlemail.com \
--to=gjasny@googlemail.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@redhat.com \
--cc=vojcek@tlen.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.