Old 02-04-2019, 03:35 PM   #1
lexaproductions
Human being with feelings
 
Join Date: Jan 2013
Posts: 321
Default Reascript: Reaper Crashes with "Defer" Scripts

See This Thread:

My goal was to use Defer to kill an already running script a bar later. It works but upon killing the script, Reaper is crashed.

After troubleshooting with cFillion we came to conclusion that THIS will consistently crash Reaper:

The full scripts I'm using are here:

Here are my steps to reproduce:
1- Start the first Script which is a window showing the current Region. This was inspired by a script XRaym Made.
2- Start Playback
3- Force a smooth seek to go back to the edit cursor using the 2nd script
4- The Seek is initiated but upon arriving to the next bar and executing the killing function, The whole thing crashes.

Here's a screen Capture.


Here's the Crash Log:
Code:
Process:               REAPER [29796]
Path:                  /Volumes/VOLUME/*/ReaLiveDev.app/Contents/MacOS/REAPER
Identifier:            com.cockos.reaper
Version:               5.96.500 (5.96.500)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           REAPER [29796]
User ID:               501

Date/Time:             2019-01-31 15:37:48.833 -0500
OS Version:            Mac OS X 10.11.6 (15G31)
Report Version:        11
Anonymous UUID:        48421833-45CE-0A6E-E670-0E640B1D81D1


Time Awake Since Boot: 770000 seconds

System Integrity Protection: disabled

Crashed Thread:        0  reaper  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000020
Exception Note:        EXC_CORPSE_NOTIFY

VM Regions Near 0x20:
--> 
    __TEXT                 0000000100000000-0000000100ad7000 [ 10.8M] r-x/rwx SM=COW  /Volumes/VOLUME/*/ReaLiveDev.app/Contents/MacOS/REAPER

Global Trace Buffer (reverse chronological seconds):
12.349460    libextension.dylib        	0x00007fff866fa533 tearing down extension request for pid 29799
23.491569    libextension.dylib        	0x00007fff866fa533 tearing down extension request for pid 29799

Thread 0 Crashed:: reaper  Dispatch queue: com.apple.main-thread
0   com.cockos.reaper             	0x00000001006dd41e ReaScript_RunDeferred() + 238
1   com.cockos.reaper             	0x00000001000e067b runMiscTimers() + 1947
2   com.cockos.reaper             	0x00000001000df446 Main_OnTimer(HWND__*, unsigned long) + 166
3   com.cockos.reaper             	0x000000010063ba09 MainProc(HWND__*, unsigned int, unsigned long, long) + 8089
4   ???                           	0x5fbfd33000000001 0 + 6899465357266780161

========================================================>
Crash Log Ending
========================================================>


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x000000010b188600  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000108135410  rsi: 0x0000000000000000  rbp: 0x00007fff5fbfbcc0  rsp: 0x00007fff5fbfbc70
   r8: 0x000000010b1c2800   r9: 0x000000000000000a  r10: 0x0000000000234200  r11: 0x0000000000000000
  r12: 0x0000000000000001  r13: 0x0000000000000010  r14: 0x000000010b188608  r15: 0x00000000ffffffff
  rip: 0x00000001006dd41e  rfl: 0x0000000000010246  cr2: 0x0000000000000020
  
Logical CPU:     8
Error Code:      0x00000004
Trap Number:     14


Binary Images:
       0x100000000 -        0x100ad6ff7 +com.cockos.reaper (5.96.500 - 5.96.500) <9096C7B2-2841-2A61-15BB-E7BFCA4059C4> /Volumes/VOLUME/*/ReaLiveDev.app/Contents/MacOS/REAPER
       0x100dc1000 -        0x100df8fff  com.apple.audio.midi.CoreMIDI (1.10 - 88) <51E79766-51D8-3A95-A7FD-18E7E11528F3>
__________________
MP 12 Core 3.46GHZ 48GB OSX10.11.6, MBP 17" 2011 OSX10.12, RME Fireface UFX, MCU,
Reaper 5, DP9, PT 11, Logic Pro X, Bidule, M5 3, BFD2, SD2, Omnisphere, Wave Altiverb, PSP, VB3, Izotope, Scuffham, Soundtoys 5, Slate All Plugins.
lexaproductions is offline   Reply With Quote
Old 02-20-2019, 06:44 PM   #2
lexaproductions
Human being with feelings
 
Join Date: Jan 2013
Posts: 321
Default

I'll bump this. Anyone?
__________________
MP 12 Core 3.46GHZ 48GB OSX10.11.6, MBP 17" 2011 OSX10.12, RME Fireface UFX, MCU,
Reaper 5, DP9, PT 11, Logic Pro X, Bidule, M5 3, BFD2, SD2, Omnisphere, Wave Altiverb, PSP, VB3, Izotope, Scuffham, Soundtoys 5, Slate All Plugins.
lexaproductions is offline   Reply With Quote
Old 02-22-2019, 09:03 PM   #3
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 11,854
Default

Fix coming soon, thanks!
Justin is offline   Reply With Quote
Old 02-22-2019, 09:20 PM   #4
lexaproductions
Human being with feelings
 
Join Date: Jan 2013
Posts: 321
Default

Thank you very much Justin
__________________
MP 12 Core 3.46GHZ 48GB OSX10.11.6, MBP 17" 2011 OSX10.12, RME Fireface UFX, MCU,
Reaper 5, DP9, PT 11, Logic Pro X, Bidule, M5 3, BFD2, SD2, Omnisphere, Wave Altiverb, PSP, VB3, Izotope, Scuffham, Soundtoys 5, Slate All Plugins.
lexaproductions 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 12:46 AM.


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