Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

weird crash (Real Studio Plugins Mailinglist archive)

Back to the thread list
Previous thread: Re: Control Focus
Next thread: Callbacks


macosx and unix paths   -   GOLD
  weird crash   -   Alexander Cohen

weird crash
Date: 02.06.04 19:42 (Wed, 2 Jun 2004 14:42:43 -0400)
From: Alexander Cohen
Im getting a crash in an app im working on, heres the crash log:

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x000ad000

Thread 0 Crashed:
0 ATS 0x96bff388
AssureDBGenerationSynched + 0x34
1 ATS 0x96c15690 SyncQueryPortList + 0x20
2 ATS 0x96c18678
CallGetFontFamilyHook(unsigned char const*) + 0x2c
3 ATS 0x96c04144
_eFOGetFontFamilyFromName + 0x100
4 ATS 0x96c04020 FOGetFontFamilyFromName
+ 0x30
5 com.apple.QD 0x9157fcb0 GetFNum + 0x18
6 ...ple.CoreServices.CarbonCore 0x902b6f1c DoesFontnameMatchScript
+ 0x50
7 ...ple.CoreServices.CarbonCore 0x90296d2c
UpgradeScriptInfoToTextEncodingImplementation + 0x33c
8 RBFramework 0x0056ac5c 0x409c50 + 0x16100c
9 RBFramework 0x0056aefc 0x409c50 + 0x1612ac
10 RBFramework 0x00526cf0 0x409c50 + 0x11d0a0
11 RBFramework 0x00527c2c 0x409c50 + 0x11dfdc
12 RBFramework 0x0052cbec 0x409c50 + 0x122f9c
13 RBFramework 0x0052c4d8 0x409c50 + 0x122888
14 RBFramework 0x00466b0c 0x409c50 + 0x5cebc
15 RBFramework 0x00466e30 0x409c50 + 0x5d1e0
16 RBFramework 0x00467088 0x409c50 + 0x5d438
17 RBFramework 0x004b9d48 0x409c50 + 0xb00f8
18 Plugin 0x000bc674 0xbc000 + 0x674
19 Plugin 0x000bdab8 0xbc000 + 0x1ab8
20 Plugin 0x000bdea8 0xbc000 + 0x1ea8
21 main 0x00407ec0 App.#Open%%o<App> + 0xf4
22 RBFramework 0x0049de40 0x409c50 + 0x941f0
23 RBFramework 0x0049dd1c 0x409c50 + 0x940cc
24 main 0x004080d4 NewAppInstance + 0xe8
25 main 0x00408314 Main + 0x70
26 main 0x00405098 % main + 0x18
27 ...ple.CoreServices.CarbonCore 0x902d9d5c CCFM_LaunchApplication +
0x1e8
28 My Application.debug 0x00008840 main + 0x168
29 My Application.debug 0x00008408 _start + 0x188
30 My Application.debug 0x0000827c start + 0x30

heres what im doing in the rb app:

-- code --

dim pid as integer
pid = fork(); --> plugin function pointing to "System.Frameowrk::fork()"
if pid < 0 then
// do error stuff
elseif pic = 0 then
// do child stuff
else
// do parent stuff
end if

-- code --

if i remove the fork call, the app does not crash. Oh, BTW, its not the
rb app that is crashing, its the forked process. Im not sure whats
going on, anyone have any ideas? It was working earlier, and all of a
sudden, just stopped.

Alex

_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

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