[Matroska-users] mkvmerge segmentation fault

Sami Kiiskila sami.kiiskila at tut.fi
Thu Dec 15 15:33:01 CET 2005


At 10:53 AM 12/15/05, you wrote:

>Ok here are a couple of questions.
>
>Which OS and which version are you using?

Fedora 1 with plain compiled kernel 2.6.11 and some updates.


>Which gcc version are you using (gcc -dumpversion)?

3.3.2


>Are you sure that gdb used your newly built mkvmerge and not another
>version that was not compiled with debugging options? Because
>--enable-debug is definitely the only switch required for getting debug
>information into the executable.

Maybe gdb didn't find the symbols without path to the source?
Anyway I got it to find the symbols whith the path.
Interesting that when I run it without gdb I got segfault and with gdb
illegal instruction.

----

[sami at localhost tv]$ /usr/local/src/mkvtoolnix-1.6.5/src/mkvmerge -i mewmew-vorbis-ssa.mkv
Segmentation fault
[sami at localhost tv]$

-----

[sami at localhost tv]$ gdb /usr/local/src/mkvtoolnix-1.6.5/src/mkvmerge
GNU gdb Red Hat Linux (5.3.90-0.20030710.41rh)
Copyright 2003 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 "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) run -i mewmew-vorbis-ssa.mkv
Starting program: /usr/local/src/mkvtoolnix-1.6.5/src/mkvmerge -i mewmew-vorbis-ssa.mkv

Program received signal SIGILL, Illegal instruction.
0xbffff4ea in ?? ()
(gdb) bt
#0  0xbffff4ea in ?? ()
#1  0x08180c48 in std::basic_streambuf<wchar_t, std::char_traits<wchar_t> >::_S_pback_size ()
#2  0x00877998 in __DTOR_END__ () from /lib/tls/libc.so.6
#3  0x081179f1 in mm_file_io_c (this=0x8206b20, path=@0xbffff550,
    mode=MODE_READ) at src/common/mm_io.cpp:114
#4  0x0806b9a5 in get_file_type(filelist_t&) (file=@0xbffff550)
    at src/merge/output_control.cpp:291
#5  0x08056168 in identify (filename=@0x8205db4) at src/merge/mkvmerge.cpp:345
#6  0x0805b50c in parse_args (args=
          {<_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >,std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {<_Vector_alloc_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >,std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >,true>> = {_M_start = 0x8205db0, _M_finish = 0x8205db8, _M_end_of_storage = 0x8205db8}, <No data fields>}, <No data fields>}) at src/merge/mkvmerge.cpp:1327
#7  0x0805eaf9 in main (argc=3, argv=0xbffffa54) at src/merge/mkvmerge.cpp:2031
(gdb)

---

-------------------------------------------------------------------------
: Money isn't everything, : Sami Kiiskilä                 :   Nothing   :
: . . . there is also     : P. 03-3180690 / 050-46 23 215 :     is      :
:  H i g h - T e c h  ! ! : http://www.cs.tut.fi/~kiiskils: impossible. :
-------------------------------------------------------------------------




More information about the Matroska-users mailing list