[libdvbpsi-devel] segmentation fault while running decode_mpeg example of libdvbpsi

anand meher kvmsanand at gmail.com
Wed Jul 23 11:37:50 CEST 2008


hi everyone,
                  i have a segmentation fault when running the decode_mpeg.c
example of libdvbpsi, i ran a gdb and the error detected is as follows. i am
giving a transport stream file as input.


gdb ./decodempeg
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-suse-linux"...Using host libthread_db
library "/lib64/libthread_db.so.1".

(gdb) r -f /home/anand/Desktop/just_desktop/bbc.ts
Starting program: /home/anand/workspace/testlibdvdpsi1/build/decodempeg -f
/home/anand/Desktop/just_desktop/bbc.ts

Program received signal SIGSEGV, Segmentation fault.
dvbpsi_DetachPMT (h_dvbpsi=0x0) at tables/pmt.c:103
103                             =
(dvbpsi_pmt_decoder_t*)h_dvbpsi->p_private_decoder;
(gdb) bt
#0  dvbpsi_DetachPMT (h_dvbpsi=0x0) at tables/pmt.c:103
#1  0x0000000000402624 in main ()
(gdb)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.videolan.org/pipermail/libdvbpsi-devel/attachments/20080723/6070d922/attachment.htm 


More information about the libdvbpsi-devel mailing list