OK that all looks correct. Can you cut the first 1 or 2 first MB of the file and send them to me ?<br><br><div class="gmail_quote">On Fri, Jul 16, 2010 at 4:30 PM, julroy67 <span dir="ltr"><<a href="mailto:julroy67@gmail.com">julroy67@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Yes, it plays fine (VLC and Mplayer at least). The mkvinfo simple<br>
output : <a href="http://julroy67.free.fr/DL/TGBS_4925_mkvinfo.txt" target="_blank">http://julroy67.free.fr/DL/TGBS_4925_mkvinfo.txt</a><br>
<div><div></div><div class="h5"><br>
2010/7/16 Steve Lhomme <<a href="mailto:slhomme@matroska.org">slhomme@matroska.org</a>>:<br>
> OK it seems your file has no (found) Tracks. Does it play correctly ? It's<br>
> not normal for a file that big to have no Tracks (it's possible for files<br>
> with only chapters or attachments). And theoretically the code should exit<br>
> before the crash, as there is a check to see if there are Cluster but no<br>
> matching Tracks. So I don't know how you are getting to that point.<br>
> Can you send me the output of mkvinfo on that file ? You can use pastebin or<br>
> that same web server you used.<br>
> Thanks,<br>
> Steve<br>
><br>
> On Fri, Jul 16, 2010 at 3:50 PM, julroy67 <<a href="mailto:julroy67@gmail.com">julroy67@gmail.com</a>> wrote:<br>
>><br>
>> Here is the nice full output :<br>
>> <a href="http://julroy67.free.fr/DL/mkclean_full_backtrace.log" target="_blank">http://julroy67.free.fr/DL/mkclean_full_backtrace.log</a><br>
>><br>
>> Sending the file can be made, but they all are over 1 Gb, the smallest<br>
>> is 1.2 Gb and would take a long time to upload if so.<br>
>><br>
>> 2010/7/16 Steve Lhomme <<a href="mailto:slhomme@matroska.org">slhomme@matroska.org</a>>:<br>
>> > Can you get a bigger backtrace, up to the main() if possible ? Is it<br>
>> > possible to get one of the files that crash (the smallest) ?<br>
>> ><br>
>> > On Fri, Jul 16, 2010 at 3:26 PM, julroy67 <<a href="mailto:julroy67@gmail.com">julroy67@gmail.com</a>> wrote:<br>
>> >><br>
>> >> So, better, than before. The first version, with a clean build,<br>
>> >> crashes like the arch package, same output. And now for the debug<br>
>> >> version, the real output (I have missed up something in the other<br>
>> >> version, that crashed at startup) :<br>
>> >><br>
>> >> 15:23 julroy67@momoko-laptop ~/Apps/mkclean/mkclean-0.4.1% gdb<br>
>> >> release/gcc_linux_x64_debug/mkclean<br>
>> >> GNU gdb (GDB) 7.1<br>
>> >> Copyright (C) 2010 Free Software Foundation, Inc.<br>
>> >> License GPLv3+: GNU GPL version 3 or later<br>
>> >> <<a href="http://gnu.org/licenses/gpl.html" target="_blank">http://gnu.org/licenses/gpl.html</a>><br>
>> >> This is free software: you are free to change and redistribute it.<br>
>> >> There is NO WARRANTY, to the extent permitted by law. Type "show<br>
>> >> copying"<br>
>> >> and "show warranty" for details.<br>
>> >> This GDB was configured as "x86_64-unknown-linux-gnu".<br>
>> >> For bug reporting instructions, please see:<br>
>> >> <<a href="http://www.gnu.org/software/gdb/bugs/" target="_blank">http://www.gnu.org/software/gdb/bugs/</a>>...<br>
>> >> Reading symbols from<br>
>> >><br>
>> >><br>
>> >> /home/julroy67/Apps/mkclean/mkclean-0.4.1/release/gcc_linux_x64_debug/mkclean...done.<br>
>> >> (gdb) run --optimize --remux Test.mkv Test.mkv.2<br>
>> >> Starting program:<br>
>> >><br>
>> >><br>
>> >> /home/julroy67/Apps/mkclean/mkclean-0.4.1/release/gcc_linux_x64_debug/mkclean<br>
>> >> --optimize --remux Test.mkv Test.mkv.2<br>
>> >> [Thread debugging using libthread_db enabled]<br>
>> >> Progress 1/3: 100%<br>
>> >><br>
>> >> Program received signal SIGSEGV, Segmentation fault.<br>
>> >> 0x000000000042b4af in EBML_MasterFindFirstElt (Element=0x0,<br>
>> >> Context=0x656ce0, bCreateIfNull=0, SetDefault=0) at ebmlmaster.c:46<br>
>> >> 46 for (i=EBML_MasterChildren(Element);i;i=EBML_MasterNext(i))<br>
>> >><br>
>> >> This one is the good, I think.<br>
>> >><br>
>> >> 2010/7/16 Steve Lhomme <<a href="mailto:slhomme@matroska.org">slhomme@matroska.org</a>>:<br>
>> >> > Before starting to debug you should try to build it first like I just<br>
>> >> > described you. Using the available source package<br>
>> >> > here: <a href="http://dl.matroska.org/downloads/mkclean/mkclean-0.4.1.tar.bz2" target="_blank">http://dl.matroska.org/downloads/mkclean/mkclean-0.4.1.tar.bz2</a><br>
>> >> > I don't know about archlinux and how you got that package and who<br>
>> >> > made<br>
>> >> > it.<br>
>> >> > So I don't know what it contains and if it's correct. mkclean doesn't<br>
>> >> > use<br>
>> >> > the usual autoconf/automake system found on Linux, so maybe it was<br>
>> >> > packaged<br>
>> >> > incorrectly.<br>
>> >> > If you manage to build it like I said and it still fails, you can try<br>
>> >> > to<br>
>> >> > rebuild it with debug informations like this:<br>
>> >> > ./coremake distclean<br>
>> >> > ./coremake gcc_linux_x64_debug<br>
>> >> ><br>
>> >> > Steve<br>
>> >> > On Fri, Jul 16, 2010 at 3:05 PM, julroy67 <<a href="mailto:julroy67@gmail.com">julroy67@gmail.com</a>> wrote:<br>
>> >> >><br>
>> >> >> Mhh I don't know if I'm correctly generating the debug version of<br>
>> >> >> mkclean, could you say me step by step how to it. To be clear, I'm<br>
>> >> >> using archlinux, and archlinux AUR package of mkclean, it works for<br>
>> >> >> most of the file, but for at least 2 of them, it crashes as this :<br>
>> >> >><br>
>> >> >> 14:59 julroy67@momoko-laptop ~% mkclean --optimize --remux Test.mkv<br>
>> >> >> Test.mkv.2<br>
>> >> >> Progress 1/3: 100%<br>
>> >> >> zsh: segmentation fault mkclean --optimize --remux Test.mkv<br>
>> >> >> Test.mkv.2<br>
>> >> >><br>
>> >> >> And it seems that the debug binary that I've generated crashes<br>
>> >> >> always,<br>
>> >> >> so I'm doing wrong, but still, mkclean has a error somewhere ^^' So<br>
>> >> >> to<br>
>> >> >> be sure to do correctly, I think, a step by step debugging guide<br>
>> >> >> would<br>
>> >> >> help. Sorry for the hassle.<br>
>> >> >><br>
>> >> >> 2010/7/16 Steve Lhomme <<a href="mailto:slhomme@matroska.org">slhomme@matroska.org</a>>:<br>
>> >> >> > Hi.<br>
>> >> >> > Given the nature of the crash, it looks like it should always<br>
>> >> >> > crash<br>
>> >> >> > as<br>
>> >> >> > that<br>
>> >> >> > error is on the init. It may have to do with linux x64 rather than<br>
>> >> >> > 32<br>
>> >> >> > bits.<br>
>> >> >> > I'll give it a try on my side.<br>
>> >> >> > Or did you compile it with a 32 bits tool chain ? The regular<br>
>> >> >> > bootstrap.sh<br>
>> >> >> > and subsequent "make" command are building for 32 bits. In 0.4.2<br>
>> >> >> > that<br>
>> >> >> > should<br>
>> >> >> > be released soon I changed that and there is now a "configure"<br>
>> >> >> > script.<br>
>> >> >> > It<br>
>> >> >> > will build the makefiles for 64 bits architecture on 64 bits<br>
>> >> >> > ones...<br>
>> >> >> > Meanwhile you can make sure or that by running that in the root<br>
>> >> >> > folder<br>
>> >> >> > of<br>
>> >> >> > the sources:<br>
>> >> >> > ./coremake distclean<br>
>> >> >> > ./coremake gcc_linux_x64<br>
>> >> >> > Then you run "make -C mkclean" and it should work.<br>
>> >> >> ><br>
>> >> >> > On Fri, Jul 16, 2010 at 2:41 PM, julroy67 <<a href="mailto:julroy67@gmail.com">julroy67@gmail.com</a>><br>
>> >> >> > wrote:<br>
>> >> >> >><br>
>> >> >> >> Hello,<br>
>> >> >> >><br>
>> >> >> >> I'm using mkclean to clean up my mkv files that are for the most<br>
>> >> >> >> not<br>
>> >> >> >> valid as mkvalidate says, but on certain files, mkclean crashes.<br>
>> >> >> >> I've<br>
>> >> >> >> managed to get the backtrace from gdb. But I'm not sure where I<br>
>> >> >> >> have<br>
>> >> >> >> to report the issue.<br>
>> >> >> >><br>
>> >> >> >> For the backtrace here's it :<br>
>> >> >> >><br>
>> >> >> >> 14:30 julroy67@momoko-laptop ~/Apps/mkclean/src/mkclean-0.4.1%<br>
>> >> >> >> gdb<br>
>> >> >> >> release/gcc_linux_x64/mkclean<br>
>> >> >> >> GNU gdb (GDB) 7.1<br>
>> >> >> >> Copyright (C) 2010 Free Software Foundation, Inc.<br>
>> >> >> >> License GPLv3+: GNU GPL version 3 or later<br>
>> >> >> >> <<a href="http://gnu.org/licenses/gpl.html" target="_blank">http://gnu.org/licenses/gpl.html</a>><br>
>> >> >> >> This is free software: you are free to change and redistribute<br>
>> >> >> >> it.<br>
>> >> >> >> There is NO WARRANTY, to the extent permitted by law. Type "show<br>
>> >> >> >> copying"<br>
>> >> >> >> and "show warranty" for details.<br>
>> >> >> >> This GDB was configured as "x86_64-unknown-linux-gnu".<br>
>> >> >> >> For bug reporting instructions, please see:<br>
>> >> >> >> <<a href="http://www.gnu.org/software/gdb/bugs/" target="_blank">http://www.gnu.org/software/gdb/bugs/</a>>...<br>
>> >> >> >> Reading symbols from<br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> >> /home/julroy67/Apps/mkclean/src/mkclean-0.4.1/release/gcc_linux_x64/mkclean...done.<br>
>> >> >> >> (gdb) run --optimize --remux Test.mkv Test.mkv.2<br>
>> >> >> >> Starting program:<br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> >> /home/julroy67/Apps/mkclean/src/mkclean-0.4.1/release/gcc_linux_x64/mkclean<br>
>> >> >> >> --optimize --remux Test.mkv Test.mkv.2<br>
>> >> >> >> [Thread debugging using libthread_db enabled]<br>
>> >> >> >><br>
>> >> >> >> Program received signal SIGSEGV, Segmentation fault.<br>
>> >> >> >> 0x000000000040180e in ProjectSettings (p=0x7fffffffdc10) at<br>
>> >> >> >> mkclean_stdafx.c:99<br>
>> >> >> >> 99<br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> >> Node_SetData((node*)p,NODECONTEXT_PROJECT_NAME,TYPE_STRING,PROJECT_NAME);<br>
>> >> >> >><br>
>> >> >> >> or see here :<br>
>> >> >> >> <a href="http://julroy67.free.fr/DL/mkclean_crash_backtrace.log" target="_blank">http://julroy67.free.fr/DL/mkclean_crash_backtrace.log</a><br>
>> >> >> >><br>
>> >> >> >> So anyone can say what I've to do ?<br>
>> >> >> >><br>
>> >> >> >> Thanks.<br>
>> >> >> >> _______________________________________________<br>
>> >> >> >> Matroska-users mailing list<br>
>> >> >> >> <a href="mailto:Matroska-users@lists.matroska.org">Matroska-users@lists.matroska.org</a><br>
>> >> >> >> <a href="http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users" target="_blank">http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users</a><br>
>> >> >> >> Read Matroska-Users on GMane:<br>
>> >> >> >> <a href="http://dir.gmane.org/gmane.comp.multimedia.matroska.user" target="_blank">http://dir.gmane.org/gmane.comp.multimedia.matroska.user</a><br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> > _______________________________________________<br>
>> >> >> > Matroska-users mailing list<br>
>> >> >> > <a href="mailto:Matroska-users@lists.matroska.org">Matroska-users@lists.matroska.org</a><br>
>> >> >> > <a href="http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users" target="_blank">http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users</a><br>
>> >> >> > Read Matroska-Users on GMane:<br>
>> >> >> > <a href="http://dir.gmane.org/gmane.comp.multimedia.matroska.user" target="_blank">http://dir.gmane.org/gmane.comp.multimedia.matroska.user</a><br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> _______________________________________________<br>
>> >> >> Matroska-users mailing list<br>
>> >> >> <a href="mailto:Matroska-users@lists.matroska.org">Matroska-users@lists.matroska.org</a><br>
>> >> >> <a href="http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users" target="_blank">http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users</a><br>
>> >> >> Read Matroska-Users on GMane:<br>
>> >> >> <a href="http://dir.gmane.org/gmane.comp.multimedia.matroska.user" target="_blank">http://dir.gmane.org/gmane.comp.multimedia.matroska.user</a><br>
>> >> ><br>
>> >> ><br>
>> >> > _______________________________________________<br>
>> >> > Matroska-users mailing list<br>
>> >> > <a href="mailto:Matroska-users@lists.matroska.org">Matroska-users@lists.matroska.org</a><br>
>> >> > <a href="http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users" target="_blank">http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users</a><br>
>> >> > Read Matroska-Users on GMane:<br>
>> >> > <a href="http://dir.gmane.org/gmane.comp.multimedia.matroska.user" target="_blank">http://dir.gmane.org/gmane.comp.multimedia.matroska.user</a><br>
>> >> ><br>
>> >> ><br>
>> >> _______________________________________________<br>
>> >> Matroska-users mailing list<br>
>> >> <a href="mailto:Matroska-users@lists.matroska.org">Matroska-users@lists.matroska.org</a><br>
>> >> <a href="http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users" target="_blank">http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users</a><br>
>> >> Read Matroska-Users on GMane:<br>
>> >> <a href="http://dir.gmane.org/gmane.comp.multimedia.matroska.user" target="_blank">http://dir.gmane.org/gmane.comp.multimedia.matroska.user</a><br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > Matroska-users mailing list<br>
>> > <a href="mailto:Matroska-users@lists.matroska.org">Matroska-users@lists.matroska.org</a><br>
>> > <a href="http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users" target="_blank">http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users</a><br>
>> > Read Matroska-Users on GMane:<br>
>> > <a href="http://dir.gmane.org/gmane.comp.multimedia.matroska.user" target="_blank">http://dir.gmane.org/gmane.comp.multimedia.matroska.user</a><br>
>> ><br>
>> ><br>
>> _______________________________________________<br>
>> Matroska-users mailing list<br>
>> <a href="mailto:Matroska-users@lists.matroska.org">Matroska-users@lists.matroska.org</a><br>
>> <a href="http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users" target="_blank">http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users</a><br>
>> Read Matroska-Users on GMane:<br>
>> <a href="http://dir.gmane.org/gmane.comp.multimedia.matroska.user" target="_blank">http://dir.gmane.org/gmane.comp.multimedia.matroska.user</a><br>
><br>
><br>
> _______________________________________________<br>
> Matroska-users mailing list<br>
> <a href="mailto:Matroska-users@lists.matroska.org">Matroska-users@lists.matroska.org</a><br>
> <a href="http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users" target="_blank">http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users</a><br>
> Read Matroska-Users on GMane:<br>
> <a href="http://dir.gmane.org/gmane.comp.multimedia.matroska.user" target="_blank">http://dir.gmane.org/gmane.comp.multimedia.matroska.user</a><br>
><br>
><br>
_______________________________________________<br>
Matroska-users mailing list<br>
<a href="mailto:Matroska-users@lists.matroska.org">Matroska-users@lists.matroska.org</a><br>
<a href="http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users" target="_blank">http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users</a><br>
Read Matroska-Users on GMane: <a href="http://dir.gmane.org/gmane.comp.multimedia.matroska.user" target="_blank">http://dir.gmane.org/gmane.comp.multimedia.matroska.user</a><br>
</div></div></blockquote></div><br>