Hi,

I just got a new MacPro 2.66Ghz and have been converting some of my
applications  to native Intel with RB2006R4.

Two of the applications have problems (MIDI applications). If compiled for
PPC, they work flawless. If compiled for Intel, they receive a MIDI stream
and simply crash. No error messages, no hints to why, just the usual
CrashReporter (send to Apple).

The thread crash looks like this (and this is way over my head):

Thread 2 Crashed:
0   rbframework.dylib                  0x010f7897 OSalloclen(unsigned long,
MemFullHandling) + 71
1   rbframework.dylib                  0x010f8aad
string::AllocateBuffer(unsigned long) + 51
2   rbframework.dylib                  0x010f8c63
string::ConstructFromBuffer(char const*, unsigned long) + 29
3   rbframework.dylib                  0x0107d06a
DecodeStackInformation(void*, string*, int*) + 466
4   rbframework.dylib                  0x0107d470 RaiseNilObjectException +
140
5   rbframework.dylib                  0x0107ce75 CrawlStack(void*, void
(*)(void*, void*), void*) + 51
6   rbframework.dylib                  0x0107d305 RuntimeRaiseException + 69
7   rbframework.dylib                  0x0105d4c0
RaiseExceptionClass(ObjectDefinition*) + 28
8   rbframework.dylib                  0x0103aa04 RuntimeStackCheck + 46
9   com.wabbitwanch.iFCB               0x00277694
MIDISysexSendRequestMBS.__exit%%o<MIDISysexSendRequestMBS> + 42
10  rbframework.dylib                  0x0107bb95 RuntimeNewObject + 611
11  rbframework.dylib                  0x0107bcce RuntimeUnlockObject + 38
12  rbframework.dylib                  0x010a5449 REALUnlockObject + 17
13  ...XCF Plugin.rbx_11.151.dylib     0x013cf1ed
MyMIDISendSysexCallback(MIDISysexSendRequest*) + 41
14  com.apple.audio.midi.CoreMIDI      0x96058301
SysexSender::RunTask(unsigned long long) + 67
15  com.apple.audio.midi.CoreMIDI      0x96057db6 Task::Run() + 90
16  com.apple.audio.midi.CoreMIDI      0x96057b6d XThread::RunHelper(void*)
+ 17
17  com.apple.audio.midi.CoreMIDI      0x9605f4ad
CAPThread::Entry(CAPThread*) + 93
18  libSystem.B.dylib                  0x90023d87 _pthread_body + 84

If I set a break point in the routine that handles the incoming stream (its
a memoryblock of 10000 bytes) and step through it, the whole program works
perfectly. No crash at any point. Remove the breakpoint, crash.

Any suggestions on how you debug stuff like this?

Mel
Happy but confused as usual
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to