Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CRASH] Segfault when opening project file #1466

Closed
trentwiles opened this issue Jan 17, 2021 · 15 comments
Closed

[CRASH] Segfault when opening project file #1466

trentwiles opened this issue Jan 17, 2021 · 15 comments
Labels
Crash Unexpected termination or freeze of Olive

Comments

@trentwiles
Copy link

Commit Hash
19eabf2

Platform
Linux Mint 20

Summary
Was working on a project, added a clip (~3 minutes long) and it crashed. I had saved, but every time I open the file it crashes.

Steps to Reproduce

  • Add a large clip

File that caused the issue (had to upload to my own CDN as discord doesn't allow .ove files)

https://cdn.riverside.rocks/a/gazelle-abacus-whippoorwill.ove

Backtrace

[WARNING] Trying to use locale "en_US" but couldn't find a translation for it ((null):0)
[DEBUG] Extracting default OCIO config to "/home/riversiderocks/.cache/olivevideoeditor.org/Olive/ocioconf" ((null):0)
[INFO] Using Qt version: 5.12.8 ((null):0)
[DEBUG] Using graphics driver: Intel ((null):0)
[INFO] Setting output audio device to "alsa_output.pci-0000_00_1f.3.analog-stereo" ((null):0)
[49047:49047:20210116,194937.676403:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.676859:ERROR process_reader_linux.cc:520] no module mappings 0x7f92634b0000
[49047:49047:20210116,194937.677071:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.677094:ERROR process_reader_linux.cc:520] no module mappings 0x7f9263398000
[49047:49047:20210116,194937.677279:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.677299:ERROR process_reader_linux.cc:520] no module mappings 0x7f92632da000
[49047:49047:20210116,194937.677494:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.677502:ERROR process_reader_linux.cc:520] no module mappings 0x7f926321e000
[49047:49047:20210116,194937.677548:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.677554:ERROR process_reader_linux.cc:520] no module mappings 0x7f926310a000
[49047:49047:20210116,194937.677727:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.677787:ERROR process_reader_linux.cc:520] no module mappings 0x7f92619e9000
[49047:49047:20210116,194937.677843:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.677902:ERROR process_reader_linux.cc:520] no module mappings 0x7f92616c1000
[49047:49047:20210116,194937.677999:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.678053:ERROR process_reader_linux.cc:520] no module mappings 0x7f9261635000
[49047:49047:20210116,194937.678115:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.678169:ERROR process_reader_linux.cc:520] no module mappings 0x7f9261580000
[49047:49047:20210116,194937.679133:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.679173:ERROR process_reader_linux.cc:520] no module mappings 0x7f925fea8000
[49047:49047:20210116,194937.679235:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.679247:ERROR process_reader_linux.cc:520] no module mappings 0x7f925fc88000
[49047:49047:20210116,194937.679307:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.679318:ERROR process_reader_linux.cc:520] no module mappings 0x7f925f5cc000
[49047:49047:20210116,194937.680300:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.680333:ERROR process_reader_linux.cc:520] no module mappings 0x7f925de9a000
[49047:49047:20210116,194937.680492:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.680502:ERROR process_reader_linux.cc:520] no module mappings 0x7f925d95c000
[49047:49047:20210116,194937.680554:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.680589:ERROR process_reader_linux.cc:520] no module mappings 0x7f925d8c8000
[49047:49047:20210116,194937.680683:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.680698:ERROR process_reader_linux.cc:520] no module mappings 0x7f925d84e000
[49047:49047:20210116,194937.680803:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.680812:ERROR process_reader_linux.cc:520] no module mappings 0x7f925d7b1000
[49047:49047:20210116,194937.680999:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.681014:ERROR process_reader_linux.cc:520] no module mappings 0x7f925d6aa000
[49047:49047:20210116,194937.681055:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.681062:ERROR process_reader_linux.cc:520] no module mappings 0x7f925d639000
[49047:49047:20210116,194937.681089:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.681094:ERROR process_reader_linux.cc:520] no module mappings 0x7f925d307000
[49047:49047:20210116,194937.681127:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.681133:ERROR process_reader_linux.cc:520] no module mappings 0x7f925cd92000
[49047:49047:20210116,194937.681245:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.681252:ERROR process_reader_linux.cc:520] no module mappings 0x7f925ca6f000
[49047:49047:20210116,194937.681751:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.681760:ERROR process_reader_linux.cc:520] no module mappings 0x7f925bb44000
[49047:49047:20210116,194937.681815:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.681821:ERROR process_reader_linux.cc:520] no module mappings 0x7f925bb15000
[49047:49047:20210116,194937.681849:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.681856:ERROR process_reader_linux.cc:520] no module mappings 0x7f925bb04000
[49047:49047:20210116,194937.681881:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.681897:ERROR process_reader_linux.cc:520] no module mappings 0x7f925bab9000
[49047:49047:20210116,194937.681943:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.681950:ERROR process_reader_linux.cc:520] no module mappings 0x7f925ba95000
[49047:49047:20210116,194937.681971:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.681976:ERROR process_reader_linux.cc:520] no module mappings 0x7f925ba80000
[49047:49047:20210116,194937.682568:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.682574:ERROR process_reader_linux.cc:520] no module mappings 0x7f925911a000
[49047:49047:20210116,194937.684054:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.684062:ERROR process_reader_linux.cc:520] no module mappings 0x7f92632d0000
[49047:49047:20210116,194937.684079:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.684084:ERROR process_reader_linux.cc:520] no module mappings 0x7f925586e000
[49047:49047:20210116,194937.684147:ERROR elf_image_reader.cc:492] ehdr out of range
[49047:49047:20210116,194937.684152:ERROR process_reader_linux.cc:520] no module mappings 0x7f925567a000
[49047:49047:20210116,194937.684463:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.684469:ERROR process_reader_linux.cc:520] no module mappings 0x7f92556ef000
[49047:49047:20210116,194937.684487:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.684492:ERROR process_reader_linux.cc:520] no module mappings 0x7f925453a000
[49047:49047:20210116,194937.685537:ERROR elf_image_reader.cc:622] no dynamic segment
[49047:49047:20210116,194937.685545:ERROR process_reader_linux.cc:520] no module mappings 0x7f924c4a7000
[49047:49047:20210116,194937.685562:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.685568:ERROR process_reader_linux.cc:520] no module mappings 0x7f924c49c000
[49047:49047:20210116,194937.685582:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.685588:ERROR process_reader_linux.cc:520] no module mappings 0x7f924c48e000
[49047:49047:20210116,194937.685602:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.685607:ERROR process_reader_linux.cc:520] no module mappings 0x7f924c482000
[49047:49047:20210116,194937.685621:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.685626:ERROR process_reader_linux.cc:520] no module mappings 0x7f924c474000
[49047:49047:20210116,194937.685679:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.685684:ERROR process_reader_linux.cc:520] no module mappings 0x7f924c1f2000
[49047:49047:20210116,194937.685698:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.685703:ERROR process_reader_linux.cc:520] no module mappings 0x7f924c1e9000
[49047:49047:20210116,194937.685717:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.685723:ERROR process_reader_linux.cc:520] no module mappings 0x7f924c1e0000
[49047:49047:20210116,194937.685737:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.685742:ERROR process_reader_linux.cc:520] no module mappings 0x7f924c1d4000
[49047:49047:20210116,194937.685756:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.685761:ERROR process_reader_linux.cc:520] no module mappings 0x7f924c1cb000
[49047:49047:20210116,194937.685775:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.685780:ERROR process_reader_linux.cc:520] no module mappings 0x7f924c144000
[49047:49047:20210116,194937.685838:ERROR elf_image_reader.cc:116] no preferred header address
[49047:49047:20210116,194937.685843:ERROR process_reader_linux.cc:520] no module mappings 0x7f923c029000
/tmp/.mount_Olive-wZI7Wo/usr/bin/olive-crashhandler: symbol lookup error: /tmp/.mount_Olive-wZI7Wo/usr/plugins/platforms/../../lib/libQt5XcbQpa.so.5: undefined symbol: _ZdlPvm, version Qt_5
Segmentation fault (core dumped)

Additional Information

@trentwiles trentwiles added Crash Unexpected termination or freeze of Olive Triage This issue is yet to be triaged labels Jan 17, 2021
@sobotka
Copy link
Collaborator

sobotka commented Jan 17, 2021

@Corvus69
Copy link

I can't load any saved project files either, it just crashes to desktop. Another Linux user submitted it, but I think it has yet to be triaged.
Cheers,
Dave.

@k8ieone
Copy link

k8ieone commented Jan 19, 2021

This also happens to me. Olive 0.2.0-19eabf28.
I created a sequence, dropped in a few short (~10 second) h.264 clips, moved the cache location somewhere else and saved the project.
After closing it and trying to open it again, it always crashes with a Segmentation Fault.

@k8ieone
Copy link

k8ieone commented Jan 19, 2021

I just tried LANG=C olive-editor, but the result stays the same.

@Corvus69
Copy link

This also happens to me. Olive 0.2.0-19eabf28.
I created a sequence, dropped in a few short (~10 second) h.264 clips, moved the cache location somewhere else and saved the project.
After closing it and trying to open it again, it always crashes with a Segmentation Fault.

I don't even move the cache - it just CTDs if I try to load a previous save file. See this report:
#1456

@k8ieone
Copy link

k8ieone commented Jan 19, 2021

This also happens to me. Olive 0.2.0-19eabf28.
I created a sequence, dropped in a few short (~10 second) h.264 clips, moved the cache location somewhere else and saved the project.
After closing it and trying to open it again, it always crashes with a Segmentation Fault.

I don't even move the cache - it just CTDs if I try to load a previous save file. See this report:
#1456

Yup. No need to move the cache. Crashes even without doing that.

@Simran-B Simran-B changed the title [CRASH] [CRASH] Segfault when opening project file Jan 25, 2021
@martinprikryl
Copy link

martinprikryl commented Feb 7, 2021

I'm having the same problem. Create new project, add a long clip, save. You will never be able to open the project again. Olive crashes.

The problem happens with Olive-19eabf28-Windows-x86_64.zip (Dec 30 2020) and Olive-374fa3f7-Windows-x86_64.zip (Dec 16).

Olive-1cd07bc1-Windows-x86_64.zip (Dec 13 2020) works.

@wernight
Copy link

wernight commented Feb 17, 2021

I have the same issue for a while including in latest release, when running on Crostini (Ubuntu on Chromebook).

Version: 19eabf2
MD5: 806251aef0b14616850585de973d91f8
SHA1: 79e3f66631a4edd64b3f3732f2540e982ec4f94b

/tmp/.mount_Olive.BA68re/usr/bin/olive-crashhandler: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.12' not found (required by /tmp/.mount_Olive.BA68re/usr/bin/olive-crashhandler)
...
[2991:2991:20210217,211656.423911:ERROR elf_image_reader.cc:116] no preferred header address
[2991:2991:20210217,211656.423921:ERROR process_reader_linux.cc:520] no module mappings 0x7cb1f4067000
[2991:2991:20210217,211656.424503:ERROR file_io_posix.cc:144] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[2991:2991:20210217,211656.424539:ERROR file_io_posix.cc:144] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
Segmentation fault (core dumped)

Note that it's irrelevant of what is in the project as far as I can tell. Also the project was create with that same version.

Tried setting:

LANG=C ./Olive.AppImage

... didn't help.

From gdb, the fault is from

QList<NodeValue> generate_jobs_to_run;

@callegar
Copy link

Same issue here. Made a new project, put a video in it, cut away a few bits of it, saved, cannot open it anymore because olive crashes. Seeing this on Ubuntu 20.04 with the appimage.

@callegar
Copy link

I confirm that this is a regression. Version from Dec 13th works for me too. So the issue is there both in windows and in linux for the two versions post Dec 13.

@callegar
Copy link

There appear to be many many duplicates of this, carrying no information about moving two versions back as a workaround.

Bug #1495 is probably a duplicate
Bug #1491 is probably a duplicate
Bug #1488 is probably a duplicate
Bug #1471 may be a duplicate too
Bug #1469 is probably a duplicate
Bug #1456 is probably a duplicate

There may be more

@itsmattkc
Copy link
Contributor

Can you test this with a new project file on the latest commit?

@Corvus69
Copy link

Well, I've tried it with the latest nightly build (5b04d84) and OVE project files seems to work fine. (Though older projects are somewhat incompatible as expected). When saved as a .OTIO the project fails to load (although when trying to save it, Olive crashes to desktop so it may not be saving it properly anyway.)

I see you also fixed the CTD bug if you grab the sequence viewer window when something was on the timeline - awesome! Many thanks for all your hard work! Dave.

@itsmattkc
Copy link
Contributor

itsmattkc commented Mar 21, 2021

Yeah if OTIO is crashing on save, that's probably a bug in and of itself. Feel free to make an issue for that too

@itsmattkc
Copy link
Contributor

Merging into #1456 since I believe it was the same bug.

@Simran-B Simran-B removed the Triage This issue is yet to be triaged label Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Crash Unexpected termination or freeze of Olive
Projects
None yet
Development

No branches or pull requests

9 participants