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

Reply
 
Thread Tools Display Modes
Old 05-21-2019, 05:41 AM   #1
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,183
Default Lua: Reaper crashes, when running action "40004 - File: Quit REAPER"

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.
__________________
Ultraschall-API - a Lua-functions-library4Reaper: https://forum.cockos.com/showthread....98#post2067798
Reaper Internals - Developerdocs4Reaper: https://forum.cockos.com/showthread.php?t=207635
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: 10,070
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
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,183
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?
__________________
Ultraschall-API - a Lua-functions-library4Reaper: https://forum.cockos.com/showthread....98#post2067798
Reaper Internals - Developerdocs4Reaper: https://forum.cockos.com/showthread.php?t=207635
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: 10,070
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
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,183
Default

Ah, ok, so it is stable, when the editor is closed. Good to know
__________________
Ultraschall-API - a Lua-functions-library4Reaper: https://forum.cockos.com/showthread....98#post2067798
Reaper Internals - Developerdocs4Reaper: https://forum.cockos.com/showthread.php?t=207635
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 09:31 PM.


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