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

Reply
 
Thread Tools Display Modes
Old 02-03-2017, 11:22 PM   #1
pcartwright
Human being with feelings
 
Join Date: Jan 2009
Posts: 1,030
Default [5.30] - [5.32] Lua Error Crash (FIXED)

I've been working on a Lua script that seems to cause Reaper to crash (reaper.exe is not responding). It seems to happen when Lua encounters a syntax error, but not always. This hasn't always been the case. In fact, I worked on the same script about six months ago without issue (other than my crappy Lua skills ). I haven't been able to track down a consistent Lua error that causes the problem. What makes it particularly difficult is that Reaper crashes before the error displays in some cases (again, not always).

Here is my most recent crash log:

Faulting application name: reaper.exe, version: 5.3.2.0, time stamp: 0x587c32a3
Faulting module name: ntdll.dll, version: 10.0.14393.479, time stamp: 0x5825887f
Exception code: 0xc0000005
Fault offset: 0x000000000003face
Faulting process id: 0x28fc
Faulting application start time: 0x01d27ea26f71c8ad
Faulting application path: C:\Program Files\REAPER (x64)\reaper.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: 9d491fea-ba78-4158-b6a6-5007aa7c8cf3
Faulting package full name:
Faulting package-relative application ID:

Reaper 5.32x64 (although it's also happened on the 5.33 pres)
Windows 10 Professional 1607

Last edited by pcartwright; 02-06-2017 at 09:26 AM.
pcartwright is offline   Reply With Quote
Old 02-05-2017, 08:31 AM   #2
pcartwright
Human being with feelings
 
Join Date: Jan 2009
Posts: 1,030
Default Crash - this time lost the script

I encountered another crash while working on a script. This time, the script contents was completely erased. That is, I re-opened the script file after the crash and it was blank. I verified this with several text editors. Several days worth of work is toast (I now have my Reaper app data set to automatic backup as a result).

Crash log:
Faulting application name: reaper.exe, version: 5.3.2.0, time stamp: 0x587c32a3
Faulting module name: ntdll.dll, version: 10.0.14393.479, time stamp: 0x5825887f
Exception code: 0xc0000005
Fault offset: 0x000000000003a24b
Faulting process id: 0xea4
Faulting application start time: 0x01d27fc155a51b4a
Faulting application path: C:\Program Files\REAPER (x64)\reaper.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: 39c2abbf-afaf-45b3-9285-c0c99701c4bd
Faulting package full name:
Faulting package-relative application ID:

Last edited by pcartwright; 02-05-2017 at 08:37 AM.
pcartwright is offline   Reply With Quote
Old 02-05-2017, 09:59 AM   #3
pcartwright
Human being with feelings
 
Join Date: Jan 2009
Posts: 1,030
Default

FWIW, I ran a portable install of 5.00 and the issue is gone.
pcartwright is offline   Reply With Quote
Old 02-05-2017, 11:36 AM   #4
pcartwright
Human being with feelings
 
Join Date: Jan 2009
Posts: 1,030
Default

OK, I'm between a rock and a hard place on this one. The script I'm writing needs to pull the track name to function properly, but that function wasn't available until 5.30. Version 5.30 experiences the same random crashing as noted in the OP.

Does anyone else have this issue?
pcartwright is offline   Reply With Quote
Old 02-05-2017, 02:27 PM   #5
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
Default

Without knowing what function is making it crash it's hard to try to reproduce.

Would you mind posting the script somewhere? If it's Lua I'm happy to have a look at it.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition / GUI library for Lua scripts / Theory Helper / Radial Menu / Donate
Lokasenna is offline   Reply With Quote
Old 02-05-2017, 03:36 PM   #6
pcartwright
Human being with feelings
 
Join Date: Jan 2009
Posts: 1,030
Default

I wish I could, but...

Quote:
I encountered another crash while working on a script. This time, the script contents was completely erased. That is, I re-opened the script file after the crash and it was blank. I verified this with several text editors. Several days worth of work is toast (I now have my Reaper app data set to automatic backup as a result).
I'll post an example if I encounter the issue again, but I'm still recovering from losing the whole thing.
pcartwright is offline   Reply With Quote
Old 02-06-2017, 08:05 AM   #7
pcartwright
Human being with feelings
 
Join Date: Jan 2009
Posts: 1,030
Default

Quote:
Originally Posted by Lokasenna View Post
Without knowing what function is making it crash it's hard to try to reproduce.

Would you mind posting the script somewhere? If it's Lua I'm happy to have a look at it.
I just sent you a PM. Can you take a look when you have a second? I know why the script is failing, but I would like someone to confirm Reaper crashing on a Lua error.
pcartwright 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 05:49 PM.


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