Menu

#14 DashCast SIGSEGV in dc_read_configuration()

v1.0 (example)
open
nobody
None
5
2013-09-24
2013-09-24
Urs Muller
No

Hi,

Running DashCast (r4780) on Ubuntu 12.04 64bit results in a segmentation fault in cmd_data.c:128 (strcpy(p_vconf->psz_codec, gf_cfg_get_key(p_conf, psz_sec_name, "codec")).

Apparently, the key "codec" is not found and gf_cfg_get_key() returns NULL;

I'm using the example dashcast.conf file from http://gpac.wp.mines-telecom.fr/dashcast/ and a simple example mp4 file from http://download.wavetlan.com/SVV/Media/HTTP/H264/Talkinghead_Media/H264_test1_Talkinghead_mp4_480x360.mp4

The exact call is:
DashCast -av H264_test1_Talkinghead_mp4_480x360.mp4 -seg-dur 1000 -frag-dur 200

I'm probably doing something wrong. Any ideas?

Thanks,
Urs

Stack trace from gdb:
#0 0x00007ffff5917eb7 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x000000000040704e in dc_read_configuration (p_cmdd=0x7fffffffb990) at cmd_data.c:128
#2 0x0000000000409821 in dc_parse_command (i_argc=9, p_argv=0x7fffffffe438, p_cmdd=0x7fffffffb990) at cmd_data.c:828
#3 0x0000000000403d10 in main (argc=9, argv=0x7fffffffe438) at dashcast.c:38

Discussion

  • Romain Bouqueau

    Romain Bouqueau - 2013-09-24

    Hi Urs,

    The parsing of incomplete config files was not robust enough. Can you update again and retry?

    Thanks,

    Romain

     
  • Urs Muller

    Urs Muller - 2013-09-24

    Hi Romain,

    Yes, that fixed the problem. The code no longer crashes.

    Thanks for the very quick turnaround.

    Urs

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.