[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] NRT crashing



well - both seem to happen in libSystem.B.dylib. I'm not sure how much we can debug with having code to test.
No 128 max setting I can think of.

Josh

On May 5, 2009, at 8:17 PM, David Etlinger wrote:


The crash isn't always the same. Here's a case where scsynth crashed. I *think* it's either this or the first crash I posted. Occasionally I'll get
the pinwheel and SC will stop responding altogether. Force quit fails,
launching terminal fails, and the only option is a hard power-down.

The next iteration's not supposed to start until the Pipe returns nil. Each run uses a different tmpfile, so they shouldn't fight over that. What's really frustrating is it gets through 100 or so iterations just fine. Is there some 128-max setting that could be relevant? I'll try to post the code
but it's pretty long.

-------------------------------------------------------------

Process:         scsynth [1984]
Path:            /Applications/SuperCollider/scsynth
Identifier:      scsynth
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  SuperCollider [1818]

Date/Time:       2009-05-05 19:57:30.873 -0700
OS Version:      Mac OS X 10.5.6 (9G55)
Report Version:  6

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

Thread 0:
0 libSystem.B.dylib 0x90e483ea sin$fenv_access_off + 906 1 ...polatingConvolutionUGen.scx 0x007f17c9 scfft_create_fftwindow(int,
int) + 141
2 ...polatingConvolutionUGen.scx 0x007f18f8 scfft_global_init() + 114
3   ...polatingConvolutionUGen.scx	0x007f2fec
initConvolutionInterp(InterfaceTable*) + 24
4   ...polatingConvolutionUGen.scx	0x007e4914 load + 54
(InterpConvInterfaceTable.cpp:76)
5 scsynth 0x0001b375 PlugIn_Load(char const*) + 69 6 scsynth 0x0001b55f PlugIn_LoadDir(char const*,
bool) + 367
7 scsynth 0x0001b4ac PlugIn_LoadDir(char const*,
bool) + 188
8 scsynth 0x0001b4ac PlugIn_LoadDir(char const*,
bool) + 188
9   scsynth                       	0x0001c172 initialize_library(char
const*) + 2994
10  scsynth                       	0x00035125 World_New + 373
11  scsynth                       	0x0003933d main + 157
12  scsynth                       	0x000024e2 _start + 216
13  scsynth                       	0x00002409 start + 41

Thread 1:
0 libSystem.B.dylib 0x90e2b20e semaphore_wait_signal_trap +
10
1 libSystem.B.dylib 0x90e5d206 _pthread_cond_wait + 1267
2   libSystem.B.dylib             	0x90ea2539 pthread_cond_wait + 48
3 DiskIOUGens.scx 0x004400ba SC_SyncCondition::WaitEach() +
36
4 DiskIOUGens.scx 0x00442405 disk_io_thread_func(void*) +
35
5   libSystem.B.dylib             	0x90e5c095 _pthread_start + 321
6   libSystem.B.dylib             	0x90e5bf52 thread_start + 34

Thread 2:
0   libSystem.B.dylib             	0x90e2b2e6 mach_wait_until + 10
1   libSystem.B.dylib             	0x90ea23ad nanosleep + 314
2   libSystem.B.dylib             	0x90ea226d usleep + 61
3 KeyboardUGens.scx 0x006fcbee gstate_update_func(void*) + 40
4   libSystem.B.dylib             	0x90e5c095 _pthread_start + 321
5   libSystem.B.dylib             	0x90e5bf52 thread_start + 34

Thread 3 Crashed:
0   libSystem.B.dylib             	0xffff07c7 __memcpy + 39
(cpu_capabilities.h:246)
1 com.apple.LaunchServices 0x908ee8ce FlattenedCFItem::Append(void
const*, unsigned long) + 66
2 com.apple.LaunchServices 0x908ee24a FlattenedCFItem::Encode(void
const*) + 620
3 com.apple.LaunchServices 0x908edfdc FlattenedCFItem::Encode() + 28 4 com.apple.LaunchServices 0x908ed07b _LSApplicationCheckIn + 1187
5   com.apple.HIServices          	0x9649563c
GetOurExecutableCheckinInformation + 1004
6 com.apple.HIServices 0x9646283a _RegisterApplication + 261
7   com.apple.HIServices          	0x9646270a GetCurrentProcess + 50
8   com.apple.HIToolbox           	0x948fac3f GetProcessState() + 47
9   com.apple.HIToolbox           	0x948fac03
HLTBIsCurrentProcessBackgroundOnly + 11
10  com.apple.HIToolbox           	0x94909f77 GetGrayRgn + 53
11 MacUGens.scx 0x00748dd1 gstate_update_func(void*) + 23
12  libSystem.B.dylib             	0x90e5c095 _pthread_start + 321
13  libSystem.B.dylib             	0x90e5bf52 thread_start + 34

Thread 4:
0   libSystem.B.dylib             	0x90e2b1c6 mach_msg_trap + 10
1   libSystem.B.dylib             	0x90e329bc mach_msg + 72
2   com.apple.LaunchServices      	0x908f9a56
_LSDoInitializeProcessSharedMemory + 154
3   com.apple.LaunchServices      	0x908f8bd7
LSClientSideSharedMemory::GetClientSideSharedMemory(LSSessionID, bool) + 181
4   com.apple.LaunchServices      	0x908f9918
_LSCopyApplicationInformationItem + 30
5   com.apple.HIToolbox           	0x948fac67 GetProcessState() + 87
6   com.apple.HIToolbox           	0x948fac03
HLTBIsCurrentProcessBackgroundOnly + 11
7   com.apple.HIToolbox           	0x94909f77 GetGrayRgn + 53
8 MouseUGens.scx 0x00756f6c gstate_update_func(void*) + 22
9   libSystem.B.dylib             	0x90e5c095 _pthread_start + 321
10  libSystem.B.dylib             	0x90e5bf52 thread_start + 34

Thread 3 crashed with X86 Thread State (32-bit):
 eax: 0x44494354  ebx: 0x908edfef  ecx: 0x00000001  edx: 0x00000004
 edi: 0x00000000  esi: 0xb0184010  ebp: 0xb0183f88  esp: 0xb0183f80
  ss: 0x0000001f  efl: 0x00010292  eip: 0xffff07c7   cs: 0x00000017
  ds: 0x0000001f   es: 0x0000001f   fs: 0x0000001f   gs: 0x00000037
 cr2: 0x00000000
--
View this message in context: http://n2.nabble.com/NRT-crashing-tp2790382p2808341.html
Sent from the SuperCollider Users New (Use this!!!!) mailing list archive at Nabble.com.


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/

******************************************
/* Joshua D. Parmenter
http://www.realizedsound.net/josh/

“Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono
*/


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/