Moritz Bunkus | 15 Dec 2005 09:53
Favicon
Gravatar

Re: mkvmerge segmentation fault

Hey,

On Wednesday 14 December 2005 16:38, Sami Kiiskila wrote:

> What might be the reason for mkvmerge generating segmentation fault every
> time I try to use it?

Bad compiler, library conflicts etc etc.

> First I compiled "libebml-0.7.6", "libmatroska-0.8.0",

How did you compile them? My advice is to compile only the static
versions by calling "make staticlib" and "make install_headers
install_staticlib". I've had problems with shared libs on the past.

> Always same thing "segmentation fault".

Not good :)

> Then I tried to install it from the RPM binary package
> "mkvtoolnix-1.6.5-1.i386.rpm", it needed flac lib and some tweaks to run
> but finally it did the same thing, shows the help page without parameters
> and segmentation fault with any input.

Not good either :(

> Now I tried to compile again with --enable-debug, still help page comes out
> fine but any input gives this time "Illegal instruction".

!??
(Continue reading)

Sami Kiiskila | 15 Dec 2005 15:33
Picon
Picon

Re: mkvmerge segmentation fault

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]$

-----

(Continue reading)


Gmane