Go Back   Cockos Incorporated Forums > Projects > Deprecated REAPER issue tracker > Closed Issue

API: AddProjectMarker2() crash Issue Tools
issueid=4865 06-27-2013 12:56 AM
Mortal
API: AddProjectMarker2() crash
http://code.google.com/p/sws-extension/issues/detail?id=575 (and other related issues, probably)

Load the attached project 575.RPP and run this code (dup region num):
Code:
void test() {
	AddProjectMarker2(NULL, true, 1.0, 2.0, "", 3, 0);
	AddProjectMarker2(NULL, true, 3.0, 4.0, "", 3, 0);
}
=> crash

As stated in the API header, the expected result is: "you'll get a different index number a region and wantidx is already in use". Also, run test() in a blank project, you'll see the 1st region is renumbered, not the 2nd one (as one's code could expect)
Issue Details
Issue Type Closed Issue
Project Deprecated REAPER issue tracker
Category Arcana
Status Fixed
Priority 5 - Medium
Affected Version 4.402
Closed Version 4.52
Yes votes 2
No votes 0
Assigned Users (none)
Tags (none)

06-27-2013 01:43 AM
Mortal
 
oops! just realized this issue occurs with a pre-release (v4.5rc11), not in v4.402
Reply
09-19-2013 02:07 PM
Mortal
 
Fixed in 4.5, thank you Cockos!
Reply
Reply

Issue Tools
Subscribe to this issue

All times are GMT -7. The time now is 09:27 AM.


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