Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools Display Modes
Old 05-21-2019, 05:41 AM   #1
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default Lua: Reaper crashes, when running action "40004 - File: Quit REAPER" (FIXED)

When I try to run action 40004 using Main_OnCommand, it crashes Reaper.

Code:
   reaper.Main_OnCommand(40004, 0)
running the action in the actions-window or the menu doesn't crash it at all.
It is a regression, as it only crashes in Reaper 5.978, but not in Reaper 5.977.

I have tested it on Windows 7, using the 64bit-version of a vanilla Reaper, no extensions installed.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 05-21-2019, 05:58 AM   #2
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,749
Default

Hmm, I'm not seeing this. Does it happen with a script that only contains that one line?
schwa is offline   Reply With Quote
Old 05-21-2019, 06:13 AM   #3
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Yes but I also managed to do it in scripts with more lines.

The funny thing is, that the crash report is different, when I also install SWS, JS-extension and ReaPack, where it says something about stackhash, while a vanilla Reaper says crash in Reaper.

Would it be helpful, if I post the crash-reports as well? Or any ini-files or something?
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Old 05-21-2019, 06:17 AM   #4
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,749
Default

Oh, I've got it, with the ReaScript editor open.
schwa is offline   Reply With Quote
Old 05-24-2019, 05:34 AM   #5
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Ah, ok, so it is stable, when the editor is closed. Good to know
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - Donate, if you wish

On vacation for the time being...
Meo-Ada Mespotine is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:49 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.