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

[Windows] launch.exe crash at random (usually while previewing a video) #13

Closed
nwgat opened this issue Jan 11, 2016 · 84 comments
Closed

Comments

@nwgat
Copy link

nwgat commented Jan 11, 2016

launch.exe crash when opening a h264 mp4 or mkv file

image

OpenShot 2.0.4
Windows 10 x64

i can post log, if only i knew where it was

@jonoomph
Copy link
Member

The log is located in your home folder:
/Users/YOURUSER/.openshot_qt/

Does OpenShot crash on launch? Or only after you drop in these particular media files? If you have a small, sample file that crashes OpenShot, please attach it as well.

@nwgat
Copy link
Author

nwgat commented Jan 11, 2016

it crashes when playing file, i can add them to timeline but when playing it back it will crash
openshot-qt.log.txt

@nwgat
Copy link
Author

nwgat commented Jan 11, 2016

samples

wget -U "QuickTime/7.6.2" http://trailers.apple.com/movies/independent/ratchetandclank/ratchetandclank-tlr1_h1080p.mov

wget -U "QuickTime/7.6.2" http://trailers.apple.com/movies/summit/nowyouseeme2/nowyouseeme2-tlr1_h1080p.mov

@jonoomph
Copy link
Member

Both of these files work great for me on Linux. I'll test them on Windows soon, and see if that crashes for me. Also, you might try setting your profile to 1080p 24fps, which will have better performance and match the video files. I'll update this tomorrow with some Windows testing. =)

@Axxando
Copy link

Axxando commented Jan 12, 2016

I don't think it's related to the files you load. I have it installed on 2 machines (one Win7 and one Win10) and they crash with this error message after a (felt) random period of time unrelated to what I do...

@nwgat
Copy link
Author

nwgat commented Jan 12, 2016

for me it seems related to reading the video file
everytime i play it back or put it on the timeline and then play that it crashes

@dancetheskies
Copy link

I have the same experience as Axxandro on my W10 (x64) PC. The program crashes shortly after I do anything with the generic "launch.exe has stopped working" alert. An exception is when I tried to do a PIP by slicing a video, putting one part on a second track, changing the layout of one clip to 1/4 size, then trying to play both at the same time. That generates the C++ runtime error crash alert shown above.

I like what I'm seeing with the general program structure, but until I can actually complete some editing, I can't isolate specific bugs. Even loading in a video (h.264 or h.265) and simply saving it back out as an h.264 clip will crash with the launch.exe crash alert.

I also have a few wish list items, but this does not look like the place to mention them (at least for now).

@nwgat
Copy link
Author

nwgat commented Jan 12, 2016

i get the bugs when reading the file, like when you playing the timeline, exporting, and sometimes when playing it back from library

@nwgat
Copy link
Author

nwgat commented Jan 12, 2016

it works for some reason on my laptop, is there a specific visual C++ runtime we need?

@jonoomph
Copy link
Member

It does ship on Windows with a VC++ runtime, but it packages up what it needs, and doesn't use the system ones (to the best of my knowledge).

I've tested the video files linked above on Windows 10, and everything works fine for me. I got no crashes on Windows 10 or Ubuntu 14.04. If I had to take a huge guess, I would say we have some kind of race condition happening, where every once in a while, something happens in an unexpected order.

In order to track this down, it would be helpful if we can nail it down to a specific thing. For example, if all you do is watch the video, over and over again. Or all you do is grab the edge of the clip, and drag it left and right. Or move the clip when the playhead is overlapping it (back and forth, dropping it each time on the timeline).

So, instead of using the app like normal, I'm suggesting using it in very 1 dimensional ways, so we can start to eliminate certain things. Good luck and thanks for helping me track these things down!

@jonoomph jonoomph changed the title [Windows] launch.exe crash [Windows] launch.exe crash at random (usually while previewing a video) Jan 13, 2016
@nwgat
Copy link
Author

nwgat commented Jan 13, 2016

@Axxando @dancetheskies do you guys have blender installed?

@nwgat
Copy link
Author

nwgat commented Jan 13, 2016

just got it to crash inside a super clean VM
that basicly has only windows 10 x64, virtualbox tools and openshot installed

@nwgat
Copy link
Author

nwgat commented Jan 13, 2016

video of VM http://awesome.nwgat.ninja/misc/openshotbug.webm
i think it can be related to the buffer underflow in ffmpeg that was reported on linux

@dancetheskies
Copy link

@nwgat I have whatever the Windows installer provides. There's a populated Blender folder in the Openshot folder, so I assume I have everything..

@Axxando
Copy link

Axxando commented Jan 14, 2016

Blender is installed on the Win7 machine
Blender is not installed on the Win10 machine (but there's the above mentioned folder "blender" within openshot)

@jonoomph
Copy link
Member

Blender is not packaged with OpenShot... just some blender templates and scripts, but they still require the user to install Blender, and then update the preferences in OpenShot to point to the Blender executable. I hope that explains it better.

Also, Blender is only invoked when rendering 3D Animated titles, so unless you are getting a crash on that screen, it's probably not related to Blender. =)

@dancetheskies
Copy link

I would never have known this... maybe ought to include it in the Windows installer or at least provide a ReadMe.txt file or something so we know bout it. Where do I download Blender? My Preferences just shows "blender" as the path, which is not a full path name to me. Does it go in the Blender folder that the Windows installer creates, or should this show a full drive/path name to it (if it creates one when I install it?

I've not tried to use any titles, yet, so this has nothing to do with the crashes. But it would have created problems later, so thanks for the clarification.

@nwgat
Copy link
Author

nwgat commented Jan 14, 2016

to use blender on windows you need to use full path and most of the advanced titles needs it
meybe have a checkbox or something in the installer?, do you want to install inkscape/blender

blender download: http://mirror.cs.umn.edu/blender.org/release/Blender2.76/blender-2.76b-windows64.msi
path for openshot: C:\Program Files\Blender Foundation\Blender\blender.exe

@dancetheskies
Copy link

Thanks. I had done a search after I posted and got this this point, then found that there is an alert in OpenShot that pops up when 3D titles option is selected giving this information as well! The only difference is the path it shows in to put in preferences which does not include the "blender.exe" on the end. I'll test it to see to see...

@nwgat
Copy link
Author

nwgat commented Jan 14, 2016

back to issue
do this on clean windows setup

  1. import ratchetandclank-tlr1_h1080p.mov
  2. drag it to timeline
  3. export video
  4. choose all formats > webm
  5. watch it crash

Video: http://awesome.nwgat.ninja/misc/openshotbug2.webm

@nwgat
Copy link
Author

nwgat commented Jan 15, 2016

well this is how it looks when i try* shovel a 4K video thru openshot
notice the amount of dialogs and the amount of timelines that are the default 5 (0-4)

@nwgat
Copy link
Author

nwgat commented Jan 15, 2016

Here is some small y4m 4k clips you can try shovel thru your self ;P
unxz file.xz

@dancetheskies
Copy link

I get similar multiple runtime crash alerts along with the general "launch.exe has stopped working" alert by simply loading an h.264, 1080p-30fps, .mp4 video, dragging it to the time line, then trying to export a new re-encoded version (still keeping it as an H.264, 1080p-30fps, .mp4 clip).
h 264 mp4 video

@nwgat
Copy link
Author

nwgat commented Jan 15, 2016

@dancetheskies i also get the launch.exe dialog too, it just wasnt in the picture
and btw i think one of the runtime dialogs are behind one of them, so you do have 5 of them just that 4 is seen

@nwgat
Copy link
Author

nwgat commented Jan 15, 2016

@jonoomph btw you can download windows 10 eval iso and install it under Virtualbox to test a clean windows setup

i suspect you might have a bunch of libs, tools, dev tools, etc on your windows machine

@nwgat
Copy link
Author

nwgat commented Jan 17, 2016

just tested it in a VPS on windows 2012, got it to crash again
and i think i was right to suspect ffmpeg as its libvpx that crashes

Problem signature:
Problem Event Name: APPCRASH
Application Name: launch.exe
Application Version: 0.0.0.0
Application Timestamp: 549dea3c
Fault Module Name: libvpx-1.dll
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 001fc3d0
Exception Code: c0000005
Exception Offset: 000c0a70
OS Version: 6.3.9600.2.0.0.400.8
Locale ID: 1033
Additional Information 1: 5861
Additional Information 2: 5861822e1919d7c014bbb064c64908b2
Additional Information 3: a10f
Additional Information 4: a10ff7d2bb2516fdc753f9c34fc3b069

@nwgat
Copy link
Author

nwgat commented Jan 17, 2016

another crash when encoding to All Formats > Mp4 > HDV 720 24p > High

Description:
A problem caused this program to stop interacting with Windows.

Problem signature:
Problem Event Name: AppHangB1
Application Name: launch.exe
Application Version: 0.0.0.0
Application Timestamp: 549dea3c
Hang Signature: d2f1
Hang Type: 134217728
OS Version: 6.3.9600.2.0.0.400.8
Locale ID: 1033
Additional Hang Signature 1: d2f1ec8da3fdcc222bf4ed87a0db209e
Additional Hang Signature 2: 3ffa
Additional Hang Signature 3: 3ffaf2963ce8b4a0464f7b0c353af532
Additional Hang Signature 4: d2f1
Additional Hang Signature 5: d2f1ec8da3fdcc222bf4ed87a0db209e
Additional Hang Signature 6: 3ffa
Additional Hang Signature 7: 3ffaf2963ce8b4a0464f7b0c353af532

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=280262

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt

@jonoomph
Copy link
Member

@nwgat Do you have 4 processors? You might be getting an error on each core, during some of the thread pooling (which tries to match the # of processors). I'm going to spend some extra time running OpenShot in Windows under the GDB debugger, and see if I can catch a crash. =)

@nwgat
Copy link
Author

nwgat commented Jan 17, 2016

well i get 4 errors even on a 8-core and in a 4-core virtualbox vm
i think the thread pooling dont work above 4-core

@wgaylord
Copy link

I gave up on open shot considering both the Linux and windows versions crash randomly and can't export a file that does not studder.

@mixiekins
Copy link

Same, I found that there's actually a fairly serviceable editor in youtube.com/editor that lets you splice together footage if you upload it (can be set to private). Gets the job done, but I'd really like to use openshot.

@wgaylord
Copy link

wgaylord commented Jan 17, 2017 via email

@rob-lindman
Copy link

just reporting that the same thing many people above happens to me under Win10 x64. It crashes at random. After the last crash it just crashes upon opening. This of course sucks because when it does work it is actually really cool. Only program that can take a video and play it backwards. :(

@dancetheskies
Copy link

dancetheskies commented Feb 27, 2017 via email

@wgaylord
Copy link

@jonoomph Can you fix this yet??? its been forever and nothing has changed still randomly carashes then won't run at all afterwards.

@wgaylord
Copy link

wgaylord commented Mar 2, 2017

It's been over a year an @jonoomph has not been able to solve this bug. Which makes openshots unusable on Windows 10 x64. What gives? Like really.

@jonoomph
Copy link
Member

jonoomph commented Mar 2, 2017

@ChiBill This ticket might have been on the back burner (clearly), but we've made huge improvements to stability and performance in the past 60 days, especially with Windows. Please verify these crashes still happen with our latest daily build for Windows: Please visit www.openshot.org/download, click 'Other Downloads', and install the latest daily build of OpenShot.

If the crash still happens, please see these instructions (https://github.com/OpenShot/openshot-qt/blob/master/.github/CONTRIBUTING.md) for attaching logs, and re-open this ticket. If you have other issues not related to the launch.exe crash bug, please file as new bugs. Thanks!

@jonoomph jonoomph closed this as completed Mar 2, 2017
@mixiekins
Copy link

Hiya, @jonoomph
Well, I've downloaded the newest version right after I got your update here, it's been going for about 20 mins with this message:
capture
I let it keep going, assuming that Windows is misinterpreting it as having crashed rather than giving a progress bar, but I've been using openShot for years now (Linux version under Debian) and never found it to take this long to render such a small project, so I suspect it's still an issue. Hope this helps, and thanks!
logs.zip

@rob-lindman
Copy link

rob-lindman commented Mar 2, 2017

completely absurd to close this issue. I redownloaded and installed the whole program two days ago and it's as crash happy as ever. and once it crashes, then reopening it puts it into 'reload the failed project', and it crashes. and then I delete the failed project from the data folder, and relaunch it, and try to do things with it such as, oh, I don't know, edit video, and it crashes. Just to verify this, I opened it, loaded a perfectly good video file, went to export, picked Youtube, started the export, and it got to 2% before it crashes. This is Windows 10. 2.1.0.dev-1. I would love to use this program. It's worked before and it has a great interface and it looks like great effects... being able to play things backwards is magic I need. But it's infuriating and causes anxiety to wonder if with every click of the mouse it's going to crash somehow.

@maritz
Copy link

maritz commented Mar 2, 2017

@rob-lindman Could you please attach some log files. This is obviously something he cannot reproduce on his machine, so debugging is difficult and having as many crashlogs as possible is very helpful.

@pexaorj
Copy link

pexaorj commented Mar 22, 2017

The same bug here.
In the first version of openshot I did not have this issue.

@wgaylord
Copy link

Same here... And when it does work it takes for ever and apparently people can't read what I type when I type a resolution.

@pexaorj
Copy link

pexaorj commented Mar 22, 2017

The strange thing is that in the first version of software, it is working fine and then when I update, this not work anymore :(
The bad thing is when I try to open, this show this message and I can not open the openshot anymore.

@dancetheskies
Copy link

I have D/L the nightly builds the last several days, and I am having none of that failure to launch error problem any more on my W10 x64) PC now! I've actually been able to work with some of the editing functions now and export clips with decent rendering time. I've made some short animated "intro" clips with the "exploding" and "dissolving" title creation tools. I don't know what might have changed in the very recent nighty builds, but I'm starting to think I can actually do some efficient editing with OpenShot now!

The nightly builds can be accessed via the regular download link, but ignore the released version and click on the "other Windows downloads" link to get the latest beta version.

Am I the only one that these recent builds now seem to work well for?

@wgaylord
Copy link

wgaylord commented Mar 22, 2017 via email

@pexaorj
Copy link

pexaorj commented Mar 22, 2017

Now I downloaded the last version:
OpenShot-v2.2.0-62-gf96ab26-49-615-x86_64.exe (March 21, 2017, 5:01 p.m.)

And works fine for me.

So I will still evaluate and then post the result here.

Thanks for all support until now 👍

@mixiekins
Copy link

No luck here, the bug is persisting.
Tried OpenShot-v2.2.0-62-gf96ab26-49-615-x86_64.exe (March 21, 2017, 5:01 p.m.) just now and confirm that the problem I described earlier in this thread is unchanged.

image
logs.zip

@openmn
Copy link

openmn commented Mar 22, 2017 via email

@apraetor
Copy link

The latest release (OpenShot-v2.2.0-65-g5a9712d-49-615-x86_64.exe) works well for me. I haven't had a chance to test it extensively yet, but I no longer get crashes if I don't drag clips into OpenShot in a very particular manner. I will test it with longer encode operations this evening.

One thing of note: if I start a new project, then close OpenShot and click "No" on the "Do you wish to save before exiting?" dialog.. OpenShot hangs indefinitely and pulls 100% CPU.

@kenmaglio
Copy link

kenmaglio commented May 25, 2017

Having the same issue, never used this software before, and I'm struggling to keep using it with this crash. I've had to set my autosave down to seconds, just to ensure I don't loose work.. This is really frustrating.

I love how this is a closed issue too... thanks for Windows support.

And because I have Visual Studio I hit debug, and got additional debug information on the crash event:

Unhandled exception at 0x000000018073CE25 (avcodec-57.dll) in launch.exe: 0xC0000005: Access violation reading location 0x00000000000000F0

@wcphart
Copy link

wcphart commented Aug 9, 2017

August, this is still happening. Guess this gets added to the do not use list....

@wgaylord
Copy link

wgaylord commented Aug 9, 2017 via email

@suwidadi
Copy link

Having same issue. i event reinstall display driver and uninstall vc++ prior to 2015 but still no luck.

@floydianslips
Copy link

I am having the same issue on Win10 64-bit. It clears when I remove the /.openshotqt directory. However when I attempt to open the same project it throws the same error. My guess is it must be a corrupted project file. Luckily it was a small project that I can do again in short order. I will attach the logs. Thanks for this great product and let me know if I can do any other testing. I can give you access to the corrupt file as well if you want.

libopenshot.log
openshot-qt.log

@kem1
Copy link

kem1 commented Feb 7, 2018

I am not sure it's the same issue but I have serious troubles with launch.exe as well in the latest version 2.4.1 on Win7 64 & quite powerful machine.
symptoms:

  • launch.exe fully occupies single thread (running maximum capacity of single thread almost all the time)
  • 99% of time the GUI is in state (Not Responding) but not crashed. I am waiting for any action in GUI long minutes (e.g. 10 minutes)

It's not only annoying. It prevents any useful work with OpenShot. I just wonder if anyone experienced same issue. I suppose the issue could be with some type of input files (mp4?) or when the sources are large (e.g. 150 MB video)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests