Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Are CFNotifications cause of death for my Process?



The backtrace-bad-news:
-----------------------
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x70008c58

Thread 0 Crashed:
#0 0x90004be8 in szone_malloc
#1 0x90004a64 in malloc_zone_malloc
#2 0x90130ea8 in CFAllocatorAllocate
#3 0x9013ab24 in _parseComponents
#4 0x9013d4e8 in CFURLCreateStringWithFileSystemPath
#5 0x9013d3bc in CFURLGetFileSystemRepresentation
#6 0x901516d8 in _CFGetFileProperties
#7 0x901515d0 in _CFIsResourceAtURL
#8 0x90151484 in _CFBundleURLLooksLikeBundleVersion
#9 0x9015113c in _CFBundleCreate
#10 0x9016cf08 in _CFBundleCreateIfLooksLikeBundle
#11 0x9377b484 in OpenBundleGivenPath
#12 0x93763b0c in CPSPBLaunchApplication
#13 0x938a6734 in CPSLaunchApplication
#14 0x93025974 in LaunchApplication
#15 0x0001712c in LaunchAnApp
#16 0x00016070 in drvr_kickstart
#17 0x901684f4 in _postNotification
#18 0x90165be4 in _CFNotificationCenterPostLocalNotification
#19 0x90173174 in _localPortCallBack
#20 0x9015bd8c in __CFMachPortPerform
#21 0x9015bbf8 in __CFRunLoopDoSource1
#22 0x90148c9c in __CFRunLoopRun
#23 0x90180f58 in CFRunLoopRunSpecific
#24 0x90148240 in CFRunLoopRun
#25 0x000157b4 in SetupAndRun
#26 0x000155b8 in main
#27 0x00002270 in _myApp (crt.c:267)
#28 0x000020f0 in myApp

This crash does not happen EVERY time an app is launched - so I am curious
what, if anything, anyone might have to contribute as to why this is a
problem (sometimes).
For sure:
* The 'LaunchApplication' call is made correctly to an existing app
* This was not a problem until I incorporated the CFNotificationCenter
into the picture
* The code is a faceless/windowless, root-permissioned process linked
with Carbon.framework

There's precious little info available about the care and feeding of
CFNotifications but I do believe I am setting things up correctly and
wonder why this 'szone_malloc' problem keeps kicking in.

Thanks for ANY insight you may care to share.

Best Regards,

Lance Drake
_______________________________________________
darwin-userlevel mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-userlevel
Do not post admin requests to the list. They will be ignored.
Appointment{{^896650 WOBIG--LRK.EML\P:h:m#\A((4'\Ap
z!#($,&pD'p4)p$*p,l-
Received: from hapo.org ([192.35.53.118]) by rldnt2kb.haponet.org with Microsoft SMTPSVC(5.0.2195.5329);
Wed, 30 Apr 2003 15:30:27 -0700
To: email@hidden
Subject: 192.35.53.254 spoofing notification event
From: firebox@[192.35.53.254]
Return-Path: firebox@[192.35.53.254]
Message-ID: <email@hidden>
X-OriginalArrivalTime: 30 Apr 2003 22:30:27.0453 (UTC) FILETIME=[1973A2D0:01C30F68]
Date: 30 Apr 2003 15:30:27 -0700


Apr 30 15:25:30
2 spoofing events occured.

Protocol: udp
Source IP Address: 192.168.123.125
Source Port: 137
Destination IP Address: 192.35.53.118
Destination Port: 137
Network Interface: pptp1
TTL: 128
Firebox: 192.35.53.254

WatchGuard Handling Information:

Notifier: spoofing
Disposition: deny

`~H13qpc!mDJ
,cT@$9(XYmT AAnsP:-g {|LQqIya'#;Fa`xQa$!"8:
p6<GA _527;g`ff'p[:-2pGq N8da'pp;\d\9#Bcq[@G V49YIALA:-xv8<\\dv~rnvn/<,g~898Y)x889881pQ~\dDm\\llN:-Hf\83NM ?97;s

D|`fa`9]:+Ag
n\c\\ld87:-Bu<\\9psBONMN9 <,g
) 859;75Da89b
:7
jnnN9ya!fvPl4

v5[Cr&Xqps`
nn`JJPG2Cq7wpIu*>{s):-
c4lT\\w@k`AAA
5"PA!ppGqw8\
hJ 3Y:5dpc>c c(g?Xqj4iT :lv3{E:Z3v37D*vYF2Y;al`C1 (}nqP[e@.9F 'r`#" jZPl('
gtyh8<LgKM"A7 :ZuGnCq1kv` (VaG-~sC,x9DL3`&Ayc@Da8D!lv .FOE^,L5Sl|\t?FH ss>H!'NA0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Yp8sr\7sP0{
vrCsp5 M4LM&OsP<v7hA 7Ca(9H][4Hp88}\\\<p AMYkv OcaB.|!w1n|G C;g
rZcvPsha[8CAABB=8gv77/<\y8=v$NX!NTcA<9(mlvr +8rfgpc`LC~=20W0s8u&Fb1AMM vnJ<\L^v$f\<\/;nnwnfvqp3S0;3:,#
sr5aTaA `nn^x(8)3K9=v$>7C7gnn&#AGNMNAl >>N|tt
z'rAA=Sd5"

d\Y}L`
#;J>v$>7cW`GAMAAAA\NACAMNAl nzN+&7TH!:FG+=W\F= !J: Lhv$>7cN|\4r97YU`q&{Q>,,\ 5Xtv$>7;:>'&pp89x CQg)
6W@M3v`h(p#
CR x_B8z_LbSvZmA0T dvZmA[T:%(I59ZP:%(Ie2YvZYFvZmppt
Zxv2tEKhch+3
v f"eTQYmdv fZPXFGGqtX:
v n S nC
=?>da&G\mvTFm
v pGs8\\lvOO8=[mf`&V;989H9X:v >Gc``N9=7vnvnrF=?B#AMAbv >
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.