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

OSX: Leaving the Notes/Help window open when relaunching Reaper will make Reaper crash at startup. #335

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

Comments

Projects
None yet
1 participant
@Jeff0S
Member

Jeff0S commented Jul 8, 2014

From bystr...@gmx.ch on August 08, 2011 10:27:43

What steps will reproduce the problem? - Open an empty project.

  • Open the Notes/Help window
  • Relaunch Reaper without saving. What is the expected output? What do you see instead? - Reaper crashes at startup...
  • I can avoid this by deleting the 'SnMNotesHelp=' line in reaper.ini

What version of SWS extension are you using? (Extensions -> About SWS...)

  • version 2.0.0 Build #34 What is your Reaper version number and CPU architecture (e.g. Reaper 3.75 x64)? - Reaper 4.0.1 intel 32 bits What operating system are you running? (e.g. Windows XP/7, OSX 10.5.8 etc, 64bit?) - OSX 10.5.8 32 bits

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

@Jeff0S

This comment has been minimized.

Member

Jeff0S commented Jul 8, 2014

From jeffos...@gmail.com on August 08, 2011 02:22:00

Thanks for the report. It is Ok, here. I can't reproduce that issue on Windows.

if you could post the OSX crash dump as explained here that would help a lot: http://forum.cockos.com/showthread.php?t=36653 Thanks!

Summary: OSX: Leaving the Notes/Help window open when relaunching Reaper will make Reaper crash at startup.
Labels: -OpSys-All OpSys-OSX

@Jeff0S

This comment has been minimized.

Member

Jeff0S commented Jul 8, 2014

From bystr...@gmx.ch on August 08, 2011 05:39:54

Sure, here is the interesting part of osx's crash dump :

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000384
Crashed Thread: 0

Thread 0 Crashed:
0 reaper_sws.dylib 0x106eab4a SNM_NotesHelpWnd::DrawControls(LICE_IBitmap_, RECT_) + 362
1 reaper_sws.dylib 0x106eb618 SNM_NotesHelpWnd::OnUnhandledMsg(unsigned int, unsigned long, long) + 240
2 reaper_sws.dylib 0x1065843d SWS_DockWnd::wndProc(unsigned int, unsigned long, long) + 91
3 reaper_sws.dylib 0x1069426c SwellDialogDefaultWindowProc(HWND___, unsigned int, unsigned long, long) + 864
4 reaper_sws.dylib 0x1068d4bc DrawSwellViewRectImpl(sws_hwnd_, NSRect, HDC__) + 576
5 reaper_sws.dylib 0x1068d596 -[sws_hwnd drawRect:] + 96
6 com.apple.AppKit 0x90539bf8 -[NSView drawRect:clip:] + 3853
7 com.apple.AppKit 0x905386ef -[NSView recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1050
8 com.apple.AppKit 0x90538a86 -[NSView recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1969
9 com.apple.AppKit 0x90537045 -[NSView recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 759
10 com.apple.AppKit 0x90536987 -[NSThemeFrame recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 306
11 com.apple.AppKit 0x905334ab -[NSView displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 3090
12 com.apple.AppKit 0x90473e7b -[NSView displayIfNeeded] + 933
13 com.apple.AppKit 0x90473a29 -[NSWindow displayIfNeeded] + 189
14 com.apple.AppKit 0x9052f603 -[NSWindow reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 1354
15 com.apple.AppKit 0x9052f05c -[NSWindow orderWindow:relativeTo:] + 105
16 com.apple.AppKit 0x904f69ea -[NSWindow makeKeyAndOrderFront:] + 189
17 reaper_sws.dylib 0x106a6d31 ShowWindow(HWND
, int) + 221
18 reaper_sws.dylib 0x106a6eb6 ShowWindow(HWND
, int) + 610
19 reaper_sws.dylib 0x106585cb SWS_DockWnd::wndProc(unsigned int, unsigned long, long) + 489
20 reaper_sws.dylib 0x1068cdae -[sws_hwnd initChild:Parent:dlgProc:Param:] + 1268
21 reaper_sws.dylib 0x106921e4 -[sws_modelesswindow initModeless:Parent:dlgProc:Param:outputHwnd:] + 652
22 reaper_sws.dylib 0x10690639 SWELL_CreateDialog(SWELL_DialogResourceIndex
, char const_, HWND___, long ()(HWND__, unsigned int, unsigned long, long), long) + 577
23 reaper_sws.dylib 0x10655e7b SWS_DockWnd::Show(bool, bool) + 99
24 reaper_sws.dylib 0x10656055 SWS_DockWnd::LoadState(char const_, int) + 263
25 reaper_sws.dylib 0x10656157 SWS_DockWnd::Init() + 149
26 reaper_sws.dylib 0x106eb8e1 SNM_NotesHelpWnd::SNM_NotesHelpWnd() + 279
27 reaper_sws.dylib 0x106ec0bf NotesHelpViewInit() + 43
28 reaper_sws.dylib 0x1067e6a5 SnMInit(reaper_plugin_info_t_) + 119
29 reaper_sws.dylib 0x1061c90f ReaperPluginEntry + 5657
30 com.cockos.reaper 0x001aeecc Plugins_Load(char const_) + 1052
31 com.cockos.reaper 0x00413cc9 MainProc(HWND___, unsigned int, unsigned long, long) + 6457
32 com.cockos.reaper 0x0031f78e -[REAPERSwell_hwnd initChild:Parent:dlgProc:Param:] + 654
33 com.cockos.reaper 0x003259df -[REAPERSwell_modelesswindow initModeless:Parent:dlgProc:Param:outputHwnd:] + 559
34 com.cockos.reaper 0x0032382c SWELL_CreateDialog(SWELL_DialogResourceIndex_, char const_, HWND___, long ()(HWND__, unsigned int, unsigned long, long), long) + 332
35 com.cockos.reaper 0x000227d2 -[Controller applicationDidFinishLaunching:] + 82
36 com.apple.Foundation 0x9140842a _nsnote_callback + 106
37 com.apple.CoreFoundation 0x9453e47a __CFXNotificationPost + 362
38 com.apple.CoreFoundation 0x9453e753 _CFXNotificationPostNotification + 179
39 com.apple.Foundation 0x91405680 -[NSNotificationCenter postNotificationName:object:userInfo:] + 128
40 com.apple.Foundation 0x9140eed8 -[NSNotificationCenter postNotificationName:object:] + 56
41 com.apple.AppKit 0x904fadf2 -[NSApplication postDidFinishNotification] + 125
42 com.apple.AppKit 0x904fad01 -[NSApplication sendFinishLaunchingNotification] + 77
43 com.apple.AppKit 0x9047481b -[NSApplication(NSAppleEventHandling) handleAEOpen:] + 284
44 com.apple.AppKit 0x90474014 -[NSApplication(NSAppleEventHandling) handleCoreEvent:withReplyEvent:] + 98
45 com.apple.Foundation 0x9142da9f -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 655
46 com.apple.Foundation 0x9142d7af NSAppleEventManagerGenericHandler + 223
47 com.apple.AE 0x9036c648 aeDispatchAppleEvent(AEDesc const
, AEDesc
, unsigned long, unsigned char
) + 144
48 com.apple.AE 0x9036c57e dispatchEventAndSendReply(AEDesc const
, AEDesc
) + 44
49 com.apple.AE 0x9036c425 aeProcessAppleEvent + 177
50 com.apple.HIToolbox 0x90dc0981 AEProcessAppleEvent + 38
51 com.apple.AppKit 0x904718e9 _DPSNextEvent + 1189
52 com.apple.AppKit 0x90470f88 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
53 com.apple.AppKit 0x90469f9f -[NSApplication run] + 795
54 com.apple.AppKit 0x904371d8 NSApplicationMain + 574
55 com.cockos.reaper 0x00002f89 _start + 208
56 com.cockos.reaper 0x00002eb8 start + 40

@Jeff0S

This comment has been minimized.

Member

Jeff0S commented Jul 8, 2014

From swstim on August 08, 2011 08:56:09

Thanks, fixed in v2.0.0 #35 r528

Status: Fixed

@Jeff0S

This comment has been minimized.

Member

Jeff0S commented Jul 8, 2014

From jeffos...@gmail.com on December 21, 2012 13:24:18

Issue 446 has been merged into this issue.

@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