New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project Note text paste crash #467

Closed
Jeff0S opened this Issue Jul 8, 2014 · 5 comments

Comments

Projects
None yet
1 participant
@Jeff0S
Member

Jeff0S commented Jul 8, 2014

From danielfr...@gmail.com on May 02, 2012 17:37:18

Pasting an amount of text over 999 chars into the Project Note window causes Reaper crash (Stack Buffer Overflow)

Tried to paste in an amount of text into the Project Notes window, in order to follow along whilst tracking a voiceover recording and to help with editing. Result: instant Reaper Crash.

On further investigation, this doesn't happen when pasting <= 999 characters but every time when pasting 1000 characters or more.

Windows Error Report details (Windows7 64-bit):

Problem signature
Problem Event Name: BEX64
Application Name: reaper.exe
Application Version: 4.2.2.0
Application Timestamp: 4f7dfc37
Fault Module Name: reaper_sws64.dll
Fault Module Version: 2.2.0.1
Fault Module Timestamp: 4f3982f1
Exception Offset: 00000000001d336c
Exception Code: c0000409
Exception Data: 0000000000000000
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 2057
Additional Information 1: 6043
Additional Information 2: 6043748f5bae675ce619c10b31d3d747
Additional Information 3: 28cd
Additional Information 4: 28cda7822bcbe2d4c6d7502a0c124098

Original issue: http://code.google.com/p/sws-extension/issues/detail?id=467

@Jeff0S

This comment has been minimized.

Member

Jeff0S commented Jul 8, 2014

From jeffos...@gmail.com on May 03, 2012 12:03:18

dang! sorry for the trouble but i can't repro here.. neither ow win 32bit nor 64bit. 1000 char is nothing, when I paste 26Mb it is ok here, the text is cropped (like REAPER does with project notes too).
can you attach a file with what you are copy/pasting? does did you not just run out of memory? can you repro with any project/no project?

Status: Investigating
Owner: jeffos...@gmail.com

@Jeff0S

This comment has been minimized.

Member

Jeff0S commented Jul 8, 2014

From danielfr...@gmail.com on May 03, 2012 15:29:37

Thanks forgetting back to me so quickly, and for the awesome set of extensions! I know the worst bugs to find are the non-reproable ones, but it is extremely consistent behaviour for me at least.

Here's a screencap gif of the error happening on a brand new project, along with the text from which I copy/pasted. Exact same thing happens with existing project. Task Manager running on my desktop shows I have over 5GB of physical RAM spare, so I doubt I'm running out memory! This literally happens every time I paste any text of more than 999 chars into the project notes window.

Pasting the exact same text into item notes work without a hitch though, so I can use that as a workaround for now.

Let me know if any other info would help...

Source
REAPER

Summary
Stopped working

Date
‎03/‎05/‎2012 23:02

Status
Not reported

Description
Faulting Application Path: C:\Program Files\REAPER (x64)\reaper.exe

Problem signature
Problem Event Name: BEX64
Application Name: reaper.exe
Application Version: 4.2.2.0
Application Timestamp: 4f7dfc37
Fault Module Name: reaper_sws64.dll
Fault Module Version: 2.2.0.1
Fault Module Timestamp: 4f3982f1
Exception Offset: 00000000001d336c
Exception Code: c0000409
Exception Data: 0000000000000000
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 2057
Additional Information 1: 37fd
Additional Information 2: 37fdeb2aac0b763586413f87b1ae29ec
Additional Information 3: 40a4
Additional Information 4: 40a49759bd71f6cbc3bff50b1e3fdcfe

Attachment: Untitled.gif test.txt

@Jeff0S

This comment has been minimized.

Member

Jeff0S commented Jul 8, 2014

From jeffos...@gmail.com on May 04, 2012 12:17:50

OK! Got it!!

the size of pasted data does not matter but the length of lines does, it crashes if > 2ko.. will be up to 8ko in the next build (and won't crash if greater ;-)

Thank you for the very detailed report.

Status: Started

@Jeff0S

This comment has been minimized.

Member

Jeff0S commented Jul 8, 2014

From danielfr...@gmail.com on May 04, 2012 14:21:05

OK, will stick to notepad for now!

Thanks in advance for the fix in the next build :)

@Jeff0S

This comment has been minimized.

Member

Jeff0S commented Jul 8, 2014

From jeffos...@gmail.com on May 04, 2012 15:35:12

fixed r754 !

Status: Fixed

@Jeff0S Jeff0S closed this Jul 8, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment