init_input is being called with a bad s pointer:
#0 0x00007ffff6ce4d65 in init_input (s=0x6e0000005b, filename=0x61aad0 "...",
options=0x7fffffffd350)
at /home/robertc/source/ubuntu/libav-0.8.4/libavformat/utils.c:586
(gdb) print filename
$2 = 0x61aad0 "..."
(gdb) print *s
Cannot access memory at address 0x6e0000005b
which is being passed in from avformat_open_input:
#1 0x00007ffff6ce4f98 in avformat_open_input (ps=0x7fffffffd3c0,
filename=0x61aad0 "...", fmt=0x0, options=0x0)
at /home/robertc/source/ubuntu/libav-0.8.4/libavformat/utils.c:625
print ps
$4 = (AVFormatContext **) 0x7fffffffd3c0
(gdb) print *ps
$5 = (AVFormatContext *) 0x6e0000005b
-> libdlna is bust:
AVFormatContext *ctx;
dlna_registered_profile_t *p;
dlna_profile_t *profile = NULL;
dlna_container_type_t st;
av_codecs_t *codecs;
if (!dlna)
return NULL;
if (!dlna->inited)
dlna = dlna_init ();
if (avformat_open_input (&ctx, filename, NULL, NULL) != 0)
Note how ctx is not initialised.
** Also affects: libdlna (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/886888
Title:
ushare crashes on start-up when USHARE_ENABLE_DNLA=yes
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libdlna/+bug/886888/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs