After Effects crash when calling ProjSuite5()- AEGP_OpenProjectFromPath

I'm running 12.2
I have code that opens a project.
The only time this code doesn't make after effects crash is in the ImportFile command method; however, I'm trying to run a server ontop of my plugin so I can control after effects remotely.
AEGP_ProjectH projH = NULL;
AEGP_SuiteHandler suites(S_sp_basic_suiteP);
A_UTF16Char templatePath[AEGP_MAX_PROJ_NAME_SIZE];
const wchar_t* wide_templatePath = L"C:\\Projects\\TT1.aep";
copyConvertStringLiteralIntoUTF16(wide_templatePath, templatePath);
ERR(suites.ProjSuite5()->AEGP_OpenProjectFromPath(templatePath, &projH));
I click debug and hook into visual studio and it's saying.
Unhandled exception at 0x000000003201B840 (Projector.aex) in AfterFX.exe: Stack cookie instrumentation code detected a stack-based buffer overrun.
I've even tried registering into the IdleHook and it still crashes.. Any ideas?

I ended up calling ExecuteScript and hooking into the importfile callback.
A_char* scriptAC = "app.project.importFile(new ImportOptions(new File(\"test.vmp\")));";
ERR(suites.UtilitySuite5()->AEGP_ExecuteScript(S_my_id, scriptAC, FALSE, NULL, NULL));

Similar Messages

  • After effects crashes when rendering error: (-209)(512)

    after effects crashes when rendering , can anyone help me??
    after effects error: ..\..\OpenCv\src\video\optflowbm.cpp:103: error: (-209)
    (512)
    ( 25 :: 241 )

    We need to know a lot more if we're going to help you. Please provide answers to the questions listed here: "FAQ: What information should I provide when asking a question on this forum?"

  • After Effects crashes when rendering to H264

    Hi,
    On one of my computers, After Effects Crashes when rendering to H264. It always chrashes when doing the last frame of a clip. I think its when muxxing the m4a and the m4v together...
    Does anyone have a solution? maybe there is some odd codec trash going on?
    Thanks in advance!

    10.Rick Gerard,
    Nov 22, 2012 6:07 AM   in reply to espedg
    Report
    In every version of AE that has been capable of exporting h.264 the quality has been significantly lower than exporting with an app that gives you the option of multi-pass rendering. This has always been true for MPEG codecs that use inter frame (temporal) compression. You just can't get the same quality without multi pass compression. This goes back to the first use of MPEG streams.
    AE CS6 may have H.264 encoding broken internally, but any pro has never used AE to render highly compressed delivery codecs because AE was never designed to be the right tool for the job.

  • After Effects Crashes when trying to replace footage

    I recently got a new PC and the new computer has drive letters assigned to removeable drives that used to point to where my files were stored.  When I try to replace the footage, After Effects crashes and does not give me any option to send a crash report.  I updated to 10.0.1.19 and updated my video card driver (which fixed a problem with OpenGL not registering), but it did not solve my issue.  I can include the crash details here:
    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: AfterFX.exe
    Application Version: 10.0.1.19
    Application Timestamp: 4c785da6
    Fault Module Name: PIN.dll
    Fault Module Version: 0.0.0.0
    Fault Module Timestamp: 4c785ba4
    Exception Code: c000041d
    Exception Offset: 00000000000635e5
    OS Version: 6.1.7600.2.0.0.256.48
    Locale ID: 1033
    Additional Information 1: 5bba
    Additional Information 2: 5bbaf7cb0c739be4571392021e7dd7af
    Additional Information 3: 9e45
    Additional Information 4: 9e45001b5e81db08a7f5aec534b583fa
    I can also offer the following information:
    Windows 7 Professional 64-bit
    Intel Core i7 860
    ATI Radeon HD 5770 1024MB (latest driver installed)
    1 TB Hard Drive
    8GB DDR3 Memory
    Any suggestions would be welcome.

    Thanks for the insight.  "Performance of the external drives" was pretty close, I think.
    I believe it was due to the fact that when I created the project, the files were located on an external drive "F".  My new system designated drive "F" as one of the built-in card reader slots.  AE did not want to replace the source from the card reader unless 1) there was a card in the slot and 2) the original file (or one with the same name at least) was on the card. I wasn't about to go through all that heartache and discontent (I was missing about 30 files, and the 1GB card was nowhere close to big enough to hold the 9GB of data), so I used the Disk Management utility to reassign the drive letters.  Luckily I have a couple of external drives - one to assign to the source "F" drive and another to be the new target "M".  There was some creative shuffling that had to happen to get the connections right, but it made AE happy.

  • After Effects crashes when opening

    When I try to open After Effects I get a window with this message
         error: Crash in progress. Last logged message was <368> <GPU Manager> <2> Sniffer Result Code:1
    And then After Effects crashes without opening. It did open once yesterday but today it won't.

    What EXACT version number (down to the last decimal) of AE are you using? What OS are you using? What are your system specs?
    Also, if you have an AMD card, did you install CUDA drivers? If so, that's the problem. Read this: Avoid installing NVIDIA CUDA drivers on computers with AMD GPUs

  • After Effects Crashes when using dynamically linked files

    When I try to edit a dynamically linked after effects, After Effects crashes, which then crashes Premiere Pro. I have CS5.5 master. Is this a problem with the after effects file (only 8kb in size) or something wrong with After Effects. The files come up as being linked in Premiere Pro but when I open the After Effects file to do further editing, it just crashes.

    You told us zero about your system and your project settings on bothe ends, so this is not going anywhere. Such crashes can have any number of reasons from running out of memory to graphics card issues but we truly cannot know.
    Mylenium

  • After Effects Crashes when Rendering

    Hello,
    I need some assistance. When trying to "render" a composition, After Effects keep crashing. It gives me the following message, "An output module failed. The file may be damaged or corrupted." Error# 1610153464

    As Mylenium says, this sort of info would be helpful in troubleshooting. You haven't even told us what version of AE. 12.2.0? 11.0.4? 10.0.3?

  • After Effects Crash when editing a Project on high end PC.

    Good day i am trying to edit a project on after effects and it all opens just fine, but when i go to edit and move around in the timeline i get crash reports and the program either closes or just doesnt respond. I have a Alienware PC, with 32 GB ram and a 4GB video card. Shouldnt have any PC restraints.

    Utilizing all the cores and all the memory is not what you are after. You have to leave resources for other processes and you have to make sure that your system has enough resources to do things like decode footage in the background and process the effects you are setting up in AE. Some video codecs do not respond well to MP rendering so you may have to turn that off or transcode your footage to something that works.
    As Myenium said your question lacked the details necessary to even guess what is going wrong. The best option to troubleshoot your problem is to reset your preferences to the default settings then see if the project works. If it doesn't start exploring things like source footage formats for problems. Then start adjusting your memory and MP settings using the guidelines that Adobe has published for optimizing performance.

  • AFTER EFFECTS CRASHING WHEN CLICK ON MAC MENU!!!!

    I downloaded after effects from creative cloud, and purchased it as well. It launches fine, and opens properly, but when I try to click ANYWHERE on the mac transparent menu at the top of the screen, it freezes and crashes. I have tried re-installing several times, still no luck!!!!! i am running a macbook pro mountain lion 10.8.4 with CUDA Nvidia graphics proccesor. HELP PLEASE!!!

    Ok, so when Adobe CS cleaner opens, it gives me options to clean installed adobe applications, and once  I clicked after effects and pressed clean, after effects vanished from my computer. It didnt say anything like: Finished, or Succesfully Fixed. Is this right?

  • After effects crashing when changing audio input

    Hi all,
    I've been trying to get my Steinberg (Yamaha) ur-28m external USB audio interface/soundcard to work with After Effects CS6 for a week now. The problem is that everytime I change the audio input in the AE preferences to the Steinberg asio drivers AE freezes for a few seconds and then crashes. Same thing happens in Premiere btw.
    I've tried everything possible:
    - updated Steinberg drivers to newest version
    - updated AE to latest version
    - trashed preferences
    - totally removed and installed master collection again
    - formatted hd and Reinstalled windows 7 and installed Master collection again.
    - tried all possibles buffer rates
    Problem still there...
    I looked into the events log and it mentions ntdll.dll and makes afterfx.exe crash.
    Bottom line is I can't work with sound now, which is really frustrating. In other programs (non Adobe) these drivers are rock solid.
    Apparantly After effects (and in my case premiere also) doesn't like Steinberg. I saw this other thread about Steinberg in After Effects: http://forums.adobe.com/thread/1063355.
    Doesn't look like it's been solved.
    Main specs of my pc:
    Intel i7-2600
    16GB ram Corsair
    Nvidia gtx 560 ti
    Gigabyte Z68P-DS3 motherboard
    Seagate 1TB (7200rpm)
    Anybody some ideas? Thanks!!

    Basically what I did was set it as the line out for sound from windows, so
    all sounds will be routed through the UR22 (Will work with any program).
    You can leave it set as is to have windows sounds play out of the computer
    line/speaker out and go into the sound settings in Premiere and set the
    audio playback device as the UR22 (Only Premiere plays out of UR22) but
    that is where i had problems. I just set all audio playback in windows to
    route to the UR22 (Line Out in windows) and left settings in Premiere alone
    (In Playback settings leave audio device as Adobe Desktop Audio....Premiere
    routes to windows output, which i set to UR22) and everything worked fine.
    I am a video editor and spend 95% of my time in Premiere and  some time in
    Audition and After Effects and it has worked great.The only issue I have
    had with the UR22 is that every once in a while if i leave my system on
    over night rendering and playback something the next morning any audio will
    sound like it is playing back too slow (Pitch shifted lower). But all you
    have to do is unplug the usb and plug it back in and all is well again.
    Hope this helps. Good luck.

  • After Effects crashes when opening project

    Hey guys.
    I was working on a project just fine until when I went to open it this morning. When I open it, AE crashes with either this message:
    OR this message:
    and finally ends with a message like this:
    There are no special plugins being utilized in the project I am working in, only several Illustrator files. I'm not sure how dynamic link has anything to do with this because i'm not using it with Premiere Pro. All I know is that the project worked fine when I closed it last night, and now this is happening. It's a paid job as well, so it's very important that I can open it again.
    I tried uninstalling and reinstalling CS6 and my video card drivers. Just to be clear, AE opens just fine, it's only opening this specific project that gives the crash.
    Specs:
    Windows 7 Ultimate (updated)
    Core i7 3770k
    GeForce GTX 570 1.2 gb
    16 gb ram
    256gb SSD
    1TB media drive
    Thanks guys. I hope you can help me out.
    Dan

    Not the Adobe team, but the errors are all listed here:
    http://www.myleniumerrors.com
    Doesn't do you much good, though. The errors themselves are too vague and generic. Other than that try the usual - flush the media and disk cache, open the proejct with capslock enabled, import it into an empty project. also offline your footage source by renaming/ moving the folder, then manually use File --> Replace. If it's a specific file, that way you can find out which one... And finally, in the future learn the fine art of making back-ups and using versioning:
    Work File Safety
    Mylenium

  • After Effects Crash when audio file is dragged to layers panel, but not when dragged to comp window

    Ok, so this is an odd one, and as it has a work around its not a huge issue, but it would be good to get to the bottom of it.
    If I load an audio file of any type (wav, aiff, mp3 etc) into the project window everything is fine, however if I drag it down to the composition layers panel I get a crash.
    However, if I drag the file to the composition widow (to the right) this does not cause a crash, and now that this has loaded the audio file in question I can drag it freely wherever I like without a crash. However if I import a different audio file and drag it downward to the composition layers panel it crashes again.
    I am running cs5.5 upodated to the latest 10.5.1.2 and running Mountain Lion.
    Crash report

    Ok, so I figured out what is causing the crash... why I do not know.
    I had a background texture that was very large (5184x3456) that was hidden. If this layer was unhidden then it did not cause the crash, no other hidden layers caused the crash.
    I re-sized the layer in photoshop to comp size, then re-inserted this image. It now works without a problem.
    So I have solved my own problem here, would still like to know why it happened if anyone can shed some light on this?

  • Problem with After Effects crashing machine when rendering

    Ive been having a repeated problem with after effects crashing when I try to render a sequence.
    The render halts then first After Effects becomes unresponsive then every other applications follows and I have to hard-restart my machine.
    Can anyone help me find out how to stop this happening?

    i - Illl try to answer these bellow...
    What exact version of After Effects? Include the minor version number---e.g., After Effects CC (12.2.1) or After Effects CS6 (11.0.4). Do not just say "After Effects with the latest updates" or "After Effects CC"; give the specific version number.
    Ive just updated it - I have After Effects CC 13.2.0.49
    Have you installed the recent updates? (If not, you should. They fix a lot of problems.)
    Just don'e this - not tried to render since
    What operating system? This should include specific minor version numbers, like "Mac OSX v10.6.8"---not just "Mac".
    Late Mac operating system Yosamete 10.10.1 (14B25)
    If you are getting error message(s), what is the full text of the error message(s)?
    There is no error message
    What were you doing when the problem occurred? What is the exact sequence of steps that you are taking?
    Performing a render, the render gets partially through but stops at different parts and hangs, then the computer hangs and I have to hard reset.
    Has this ever worked before? If this worked before by doesn't work now, what has changed on your computer in the intervening time?
    I had a similar problem two days ago, i thought it could be a problem with some animated png sequences and a "matte feather" effect so i replaced the sequences with non animated versions and it seemed to fix the problem.
    Tell us about your computer hardware. Include CPU type and number of processor cores, amount of RAM installed, GPU, number and sizes of connected monitors, number of disk drives, and how any external drives are connected.
    Model Name: Mac Pro
      Model Identifier: MacPro6,1
      Processor Name: 6-Core Intel Xeon E5
      Processor Speed: 3.5 GHz
      Number of Processors: 1
      Total Number of Cores: 6
      L2 Cache (per Core): 256 KB
      L3 Cache: 12 MB
      Memory: 32 GB
      Boot ROM Version: MP61.0116.B07
      SMC Version (system): 2.20f18
      Illumination Version: 1.4a6
      Serial Number (system): F5KM804VF694
      Hardware UUID: A50DAB15-0502-5AAB-85A9-4F1B1B6DD9C1
    AMD FirePro D500:
      Chipset Model: AMD FirePro D500
      Type: GPU
      Bus: PCIe
      Slot: Slot-1
      PCIe Lane Width: x16
      VRAM (Total): 3072 MB
      Vendor: ATI (0x1002)
      Device ID: 0x679e
      Revision ID: 0x0000
      ROM Revision: 113-C3861J-687
      gMux Version: 4.0.11 [3.2.8]
      EFI Driver Version: 01.00.687
    Displays:
    DELL UP2414Q:
      Resolution: 3008 x 1692 @ 30 Hz
      Pixel Depth: 32-Bit Color (ARGB8888)
      Display Serial Number: WWRHC42G085L
      Main Display: Yes
      Mirror: Off
      Online: Yes
      Rotation: Supported
      Connection Type: DisplayPort
      Television: Yes
    What versions of drivers for your graphics hardware do you have installed (including CUDA driver and driver for display adapter)?
    AMD FirePro D500 3072 MB graphics
    Not sure how to find out about CUDA or what it is?
    Do you have any third-party I/O hardware (e.g., AJA, Matrox, Blackmagic, MOTU)?
    No
    What kind(s) of source footage? When telling about your source footage, tell us about the codecs, not just the container types. For example, "H.264 in a .mov container", not just "QuickTime".
    Apple Prores4444 and some png sequences
    Do you have QuickTime installed. (You should.) If so, what version? The answer should be specific, such as "QuickTime 7.6.2".
    Quick Time player 10.4
    What other software are you running?
    I have the CC suite and use Premier mostly but not running anything else whilst the problem is occurring
    Do you have any third-party effects or codecs installed?
    I have Video Copilot optical flares (though I've tried switching this off.)
    Are you using OpenGL features in After Effects?
    Im not sure?
    Does the problem only happen with your final output, RAM preview, or both?
    Doesn't appear to hang on RAM preview
    Are you using Render Multiple Frames Simultaneously multiprocessing?
    Yes
    Are you using the ray-traced 3D renderer?
    No
    If the problem is with output, give your exact output settings (both render setting and output module settings). Screenshots help.
    Best Settings - Outputting as Apple Pro Res 4444
    Hope this is helpful,
    thanks,
    Jonathan

  • After Effects crashes while choosing render settings

    Every time without fail After Effects crashes when I try to change my render settings. When I'm in Render Queue > Output Module > Click Lossless > Under Video Output > Format Options button. When I try to click the Format Options Button to change from animation quality to like h.256, After Effects Crashes. Below is the Alert message it gives me when it crashes. I have a late 2013 13" macbook pro with retina. I've purged all memory and disk cache as well and still it crashes every time. I can't have 10 second videos being 300 MB so any suggestions?

    First, make sure your AE is up-to-date.
    Second, you should be rendering your compressed files from the Adobe Media Encoder. H.264 from the render cue and QuickTime is a mess. Don't even try. Apple really found that up.

  • After effects crashing unpredictable, please help if you can?

    Only be happening for a week or so. seems to be related to blurs in adjustment layers. ill be using blurs to spot blur certain anatomy for a tv show. sometimes I track and blur  with mocha sometimes manual track. ill be adjusting a track or a mask and ill get one of several unusual  chrashes/errors. usually, its this: <6896> <BEEp_InitSoundPB> <0> Vid rate ratios min, max: 1, 1. . If I reload the project and delete and rebuild the adjusment layer blurs (Box blur and mosaic) and it will render fine. but this happens enough to be a considerable time waster and is interferring with my work. I've looked up the errors online and tried any suggestions i could find (although it seems this error appears for many differ3ent reasons?). I've deleted media cache, changed cache drives, reinstalled video card drivers deleted preferences, turned off open GL, run diagnostics on my CPU. RAM and GPU, all turned up fine. The only thing I havent tried is uninstalling and reinstalling AFX which i want to leave for a last resort as I have no time! Also, I have CC and CC14 installed (just use cs6 more often because of plugins) and when I load the project into CC and scrub or render I get the same problem, again until I delete and rebuild Adjustment layer. I even collected and moved the project onto a mac laptop and it gets the same error!!

    I apologize if I'm not using the correct terminology, I did in fact teach myself after effects, if that's what you mean. I've been using it for about 14-15 years, but I have found like many of the programs I use, Ill never learn all there is to know, and I would definitely defer to your judgement Dave as I have a great deal of respect for your experience and AE knowledge, having read many of your helpful posts in the past. (thank you, you've helped me before, and did not know it)
    This is the first time I've encountered this particular error. Let me see if I can describe it better. The show I work for often requires me to blur out certain objects or anatomical parts for approval by standards and practices. Usually my workflow is to either manually, or with mocha AE track the offending area with a mask applied to an adjustment layer that has a box blur and a mosiac filter applied to it. The problem arose last week when I went back to a project created the week prior to add more blur to an existing comp. I started to adjust the blur and while scrubbing through timeline after effects crashed, giving me the following error <19665> AE.blitpipe <2> making new context. (or a variation of that, unfortunately, I didn't write down the initial error as  at first I thought it was just an annomoly). When I reloaded the project I kept getting the same crash/error until I removed the adjustment layer and re tracked and blurred. I tried the same comp on a mac laptop and it got the error as well.  I managed to get the render out in time and continued to work in after effects problem free until another blur project arose. this project had 10 shots. I followed my usual workflow and had finished all 10 comps and as going back through to tweak some masks when the error occurred on comp 4. same problem. also it seems as though whenever i reach the same frame range in the timeline is when it crashes, and its not always on the same frame, just in the same general area on the timeline. this happens sometimes during scrubbing, but always during render or RAM preview. I can open the original project where the error occurred and still get the same error in the same area along the timeline. Honestly, Im wondering if I have a corrupted DLL and just need to reinstall after Effects., but the question remains, if that IS the case, why would the same project give me the same errors in each version of after effects I own? (CS6, CC & CC2014) This is why I say corrupted project... not sure what else to call it?
    And Ive gotten a variety of error messages during crash, I've gotten the :<19665> AE.blitpipe <2> making new context as well as <6896> <BEEp_InitSoundPB> <0> Vid rate ratios min, max: 1, 1. and <271636><DynamicLink> <5>  c:/programfiles\adobe\adobe premiere...
    also different faulted modules when I click on details, sometimes ADM.dll sometimes wintab32.dll.. not consistent at all. This doesn't happen evertime I apply a blur layer, its just seemed to occur when time was most precious and I really needed to get renders out! haha, well thats what it feels like anyway. my wor around is now to immediately delete the problem adjustment layer, retrack and blur, but I'm hoping to find an answer for this irritating puzzle. I hate not understanding why this is happening.
    I appreciate the help on this. I will probably reinstall after effects or perhaps even windows once I find the time, but time is hard to come by.
    Seth

Maybe you are looking for