Ticket #456 (new defect)
Loading ogg theora files crashes
| Reported by: | pierre.dumuid@… | Owned by: | cinelerra@… |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | File Loading | Version: | 2.1 |
| Severity: | major | Keywords: | |
| Cc: |
Description
I recently attempted to load the file:
http://mirror.linux.org.au/pub/linux.conf.au/2007/video/talks/211.ogg
in cinelerra, only to discover that cinelerra crashed when doing so..
Using kdbg I narrowed the problem down to occuring at:
theora_info_clear(&tf->ti);
in FileOGG::~FileOGG();
The problem I discovered was that theora_info_clear(&tf->ti) for my version of libtheora (from svn13393 in fedora 7) cannot be done twice.
It is being done twice in cinelerra because it is also performed in FileOGG::close_file();
Whilst commenting it out solved my segfault, I personally don't see it as the solution, and instead went to see what was done in libtheora.
Anyhow, I updated my libtheora to a later version and it was solved. Looking at the svn repository of theora (I actually imported it into git so I could peruse it with gitk :P) I discovered that any revision after r13843 should not have this crash.
Hope all is going well, (and No, I haven't finished my PhD yet,.. and ain't on the mailing list either!)
Regards,
Pierre Dumuid
Reproducible: Always
Steps to Reproduce:
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)