Float to char
Hi friends,
I want to convert float variable to char.For example 2e5 to 2000000 like that how to do this?
Thanks.
Bharat,
Try this :
write <float_variable> to <char_variable> .
Define the char variable appropriately .
~ Laxmi
Pls reward helpful answers
Similar Messages
-
Hi,
I'm having problem when converting a float variable to char - it seems like the float value is automatically rounded into the char variable, but I don't want that.
Does anybody know a wafunction or a way of avoiding this convertion round?
Thanks,
Nuno AfonsoWith the input parameters you gave me...
Error in ASSIGN: Memory protection error
The current program "SAPLSCFL " uses the ASSIGN statement.
However, the offset of the segment (536) plus the length (1)
is greater than the length of the segment (536).
This is not allowed. -
Hi,
I am fetching the floating value (AUSP-ATFLV) and I am storing that value into local variable in my Program. For example if AUSP-ATFLV contains value like 8.0000000000000000E+02 but I need to store this to 800 in my variable. So how to declare the variable I mean what type and what length I have to use for changing the above float value to 800. Please help me.
Thanks.Hi Babji..
You can declare a Variable of type P.
DATA : V_PACK(10) TYPE P DECIMALS 2.
DATA : V_FLOAT TYPE F VALUE '800'.
MOVE V_FLOAT TO V_PACK.
WRITE:/ V_FLOAT, V_PACK.
<b>
Reward if Helpful.</b> -
Confused with float and double
Hi,
I have done the following program which is supposed to deal with temperature and scales.
import java.math.BigDecimal;
public class Temperature {
private float temp;
private char scale;
public static void main(String args[]) {
Temperature t = new Temperature(40.5, 'F');
System.out.println(t.getCTemperature());
public Temperature() {
temp = 0;
scale = 'C';
public Temperature(float pTemp) {
temp = pTemp;
scale = 'C';
public Temperature(char pScale) {
temp = 0;
scale = 'C';
public Temperature(float pTemp, char pScale) {
temp = pTemp;
scale = pScale;
public float getCTemperature() {
if (scale == 'C') {
return temp;
} else {
float celciusTemp = 5 * (temp - 32) / 9;
BigDecimal bd = new BigDecimal(celciusTemp);
return bd.setScale(1, BigDecimal.ROUND_HALF_UP).floatValue();
}When I try to compile I get the following error :
F:\programs\ch4>javac Temperature.java
Temperature.java:8: cannot find symbol
symbol : constructor Temperature(double,char)
location: class Temperature
Temperature t = new Temperature(40.5, 'F');
*^*
*1 error*
I don't understand why the number 40.5 is considered like a double and that I can't use Temperature(float, char);
If I'm not mistaken the compiler is asking for a constructor like Temperature(double, char) right ??
thanks.Can I second Mr TuringPest, and Sir J.Bloch... Do NOT use floats, unless of course you have a really really good reason. Internally, java does all it's floating point arithmetic in doubles anyways, so you're just shooting yourself in the accuracy-foot by forcing it to: promote to double to calculate, "narrow" result back to float... promote, narrow ... promote, narrow ... promote, narrow ... The net result can be astoundingly inaccurate... So just use doubles.
-
Exception running FML32 sample app.
Hi,
I configured the WTC with weblogic6.1 and tuxedo7.1. I have two sample services
running in tuxedo
TOUPPER
REVERSE_STRING
I compiled the ejb classes provided for simapapp and it ran successfully.
However when I try to run the simpFML32 example, I get the following error in
the client sonsole:
Creating Rstring
converting thestring
There was an exception while creating and using the Rstring.
This indicates that there was a problem communicating with the server: java.lang
.ClassCastException: weblogic.wtc.jatmi.TypedFML32
End statefulSession.Client...
and the following in weblogic console:
setSessionContext called
ejbCreate called
Reverse_String called, converting thestring
About to call tpcall REVERSE_STRING
tpcall threw TPReplyExcption TPESVCFAIL(11):0:3:Unknown(48):QMNONE(0):0
I modified the Feld table as follows:(I already have a field table and appended
the one provided in the example)
*base 100
CLFY_SUB 1 string -
*base 300
# *base is an offset added to rel-number.
# Field numbers 0-100 are reserved by Tuxedo.
# valid types are: short, long, float, double, char, string, carray
#name rel-number type flags comment
TP_SITE_ID 1 string - Site Id
TP_CONT_ID 2 string - Contact Id
TP_CONT_F_NAME 3 string - Contact First Name
TP_CONT_L_NAME 4 string - Contact Last Name
TP_CONT_STATUS 5 string - Contact Status
TP_CONT_ADDRESS1 6 string - Contact Address
TP_CONT_ADDRESS2 7 string - Contact Address
TP_CONT_ADDRESS3 8 string - Contact Address
TP_CONT_CITY 9 string - Contact City
TP_CONT_STATE 10 string - Contact State
TP_CONT_ZIP 11 string - Contact Zip
TP_CONT_ZIP_SUFFIX 12 string - Contact Zip Suffix
TP_CONT_ORG_LEVEL1 13 string - Contact Org Level1
TP_CONT_ORG_LEVEL2 14 string - Contact Org Level2
TP_CONT_ORG_LEVEL3 15 string - Contact Org Level3
TP_CONT_ORG_LEVEL4 16 string - Contact Org Level4
TP_CONT_ORG_LEVEL5 17 string - Contact Org Level5
TP_CONT_ORG_LEVEL6 18 string - Contact Org Level6
TP_ERR_CODE 19 string - Message Error Code
TP_MSG 20 string - Error Message
MyString 21 string - -
Any help will be greatly appreciated.
Thank You
RajuSolved the issue.
I appended the MyString entry to the end of my list and modified the field number
from 257 to follow my sequence. I guess the application is looking for that specific
number.
I modified the field table to replace the value for MyString to 257 and it worked
fine.
Thanx
Raju
"Raju Vatsavayi" <[email protected]> wrote:
>
Hi,
I configured the WTC with weblogic6.1 and tuxedo7.1. I have two sample
services
running in tuxedo
TOUPPER
REVERSE_STRING
I compiled the ejb classes provided for simapapp and it ran successfully.
However when I try to run the simpFML32 example, I get the following
error in
the client sonsole:
Creating Rstring
converting thestring
There was an exception while creating and using the Rstring.
This indicates that there was a problem communicating with the server:
java.lang
.ClassCastException: weblogic.wtc.jatmi.TypedFML32
End statefulSession.Client...
and the following in weblogic console:
setSessionContext called
ejbCreate called
Reverse_String called, converting thestring
About to call tpcall REVERSE_STRING
tpcall threw TPReplyExcption TPESVCFAIL(11):0:3:Unknown(48):QMNONE(0):0
I modified the Feld table as follows:(I already have a field table and
appended
the one provided in the example)
*base 100
CLFY_SUB 1 string -
*base 300
# *base is an offset added to rel-number.
# Field numbers 0-100 are reserved by Tuxedo.
# valid types are: short, long, float, double, char, string, carray
#name rel-number type flags comment
TP_SITE_ID 1 string - Site Id
TP_CONT_ID 2 string - Contact Id
TP_CONT_F_NAME 3 string - Contact First Name
TP_CONT_L_NAME 4 string - Contact Last Name
TP_CONT_STATUS 5 string - Contact Status
TP_CONT_ADDRESS1 6 string - Contact Address
TP_CONT_ADDRESS2 7 string - Contact Address
TP_CONT_ADDRESS3 8 string - Contact Address
TP_CONT_CITY 9 string - Contact City
TP_CONT_STATE 10 string - Contact State
TP_CONT_ZIP 11 string - Contact Zip
TP_CONT_ZIP_SUFFIX 12 string - Contact Zip Suffix
TP_CONT_ORG_LEVEL1 13 string - Contact Org Level1
TP_CONT_ORG_LEVEL2 14 string - Contact Org Level2
TP_CONT_ORG_LEVEL3 15 string - Contact Org Level3
TP_CONT_ORG_LEVEL4 16 string - Contact Org Level4
TP_CONT_ORG_LEVEL5 17 string - Contact Org Level5
TP_CONT_ORG_LEVEL6 18 string - Contact Org Level6
TP_ERR_CODE 19 string - Message Error Code
TP_MSG 20 string - Error Message
MyString 21 string - -
Any help will be greatly appreciated.
Thank You
Raju -
Exception in thread "main" java.lang.NumberFormatException:For input String
this is a code about arrylist. but when I debug it.it metion:Exception in thread "main" java.lang.NumberFormatException:For input String at java.lang.NumberFormatException.forInputString(numberFomatExceptionio java:48)
at java.lang.Integer.parseInt(integer.java:468)
at java.lang.Integer.parseInt(integer.java:497)
at Get.getInt(manerger.java:208)
at LinkList.insertFirst(manager.java:94)
at manager.main(manager.java;20)
this is my code:
import java.io.*;
import java.lang.*;
public class manager
public static void main(String args[]) throws IOException
LinkList list=new LinkList();
System.out.println("input S can scan the grade\ninput D can delete one entry\ninput U can update the entry\ninput A can add one entry\ninput E can end");
int cr=System.in.read();
switch(cr)
case 'A':
list.insertFirst();break;//this is 20 row
case 'S':
System.out.println("input the s");break;
case 'D':
System.out.println("input the d");break;
case 'U':
System.out.println("input the u");break;
class Link
public int number;
public String name=new String();
public int chs;
public int eng;
public int math;
public Link next;
public Link(int number,String name, int chs,int eng,int math)
this.number=number;
this.name=name;
this.chs=chs;
this.eng=eng;
this.math=math;
public Link()
this(0,"",0,0,0);
public void displayLink()
System.out.println(number + " "+name+ " "+chs+ " "+eng+ " "+math+ " ");
class LinkList
public Link first;
public LinkList()
first = null;
public boolean isEmpty()
return first==null;
public void displayList()
System.out.println("");
Link current=first;
while(current!=null)
current.displayLink();
current=current.next;
System.out.println("");
public Link insertFirst() throws IOException
Get getdata=new Get();
int number=getdata.getInt();//this is 94 row
String name=getdata.getString();
int chs=getdata.getInt();
int eng=getdata.getInt();
int math=getdata.getInt();
Link newLink = new Link(number,name,chs,eng,math);
first=newLink;
return first;
public Link find(int key)
Link current=first;
while(current.number!=key)
if(current.next==null)
return null;
else
current=current.next;
return current;
public Link update(int key) throws IOException
Link current=first;
while(current.number!=key)
if(current.next==null)
return null;
else
System.out.println("Input the first letter of the subject:");
int c=System.in.read();
Get get=new Get();
switch(c)
case 'c':
current.chs=get.getInt();break;
case 'e':
current.eng=get.getInt();break;
case 'm':
current.math=get.getInt();break;
return current;
public float average(char key)
Link current=first;
float total=0;
float average=0;
float counter=0;
if(current==null)
return 0;
while(current!=null)
switch(key)
case 'c':
total=current.chs+current.next.chs;break;
case 'e':
total=current.eng+current.next.eng;break;
case 'm':
total=current.math+current.next.math;break;
current=current.next.next;
counter++;
average=total/counter;
return average;
public Link delete(int key)
Link current=first;
Link previous=first;
while(current.number!=key)
if(current.next==null)
return null;
else
previous=current;
current=current.next;
if(current==first)
first=first.next;
else
previous.next=current.next;
return current;
class Get
public static String getString() throws IOException
System.out.println("Input your name:");
InputStreamReader str = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(str);
String s = br.readLine();
return s;
public static int getInt() throws IOException
System.out.println("Input your data:");
String st = getString();
return Integer.parseInt(st);//this is 208 row
}It may be that the code in getString() returns a
String that ends with a newline. If that is the
problem, you can use
return (Integer.parseInt(st)).trim();1. getString will never return a String ending in newline. BufferedReader.readLine strips off the newline.
2. Even if you had a newline, String.trim doesn't trim newlines.
3. You would need to trim the String, not the int:
return (Integer.parseInt(st.trim()));As JimDinosaur said, you are passing bad data (the value of "st").
In getInt, add this before trying to parse "st":
System.out.println("###"+st+"###");What does it print? -
FLTP_CHAR_CONVERSION_FROM_SI "Parameters" issue
Hi ,
I am trying to use this
function Module "FLTP_CHAR_CONVERSION_FROM_SI" to convert Float to Char.
The parameters i am using are
CHAR_UNIT = KM
DECIMALS = 15
Exponent = 0
FLTP_VALUE_SI = 1.222222222222222E+06
Indicator VALUE = X
When I execute it , its giving me error message .
"please use number field for Input Value". If any one can tell me what I am using wrong. I really appreciate the time and full marks would be rewarded.
Thanks,
Mili-Hi,
your input variable has to have some numeric type. Check this small example which works for me:
DATA: l_string(20) TYPE c,
l_float TYPE f VALUE '1.222222222222222E+06'.
CALL FUNCTION 'FLTP_CHAR_CONVERSION_FROM_SI'
EXPORTING
char_unit = 'KM'
fltp_value_si = l_float
indicator_value = 'X'
IMPORTING
char_value = l_string
EXCEPTIONS
no_unit_given = 1
unit_not_found = 2
OTHERS = 3. -
How do I tell FMS to only serve a section of a file using server-side ActionScript?
We have a bunch of mp3 files on our server and we'd like to serve only particular sections of particular files to users. For example, hello.mp3 might be four minutes long, but when user 1 tries to play it, he should only be able to play the section from 0:30 to 1:00, whereas user 2 should be able to play the whole thing.
I'm coming from a background using Wowza Media Server, where this is fairly easy to achieve: http://fmsguru.com/showtutorial.cfm?tutorialID=78.
Wowza doesn't require any change to the player (it doesn't call any special methods), so I'm looking for the same here.
I've been fiddling around with the main.asc file and the "Server-Side ActionScript" API to try and achieve something similar. In particular I've found the Stream.play method, which seems relevant. But I can't figure out how to attach a handler to a "play" event; all the examples I've seen only attach to Application.onConnect, which doesn't seem to include a connection to a particular file, which I need in order to determine the section that can be played.
So I'd like to do something along the lines of this (this is completely made up and doesn't follow any of the APIs; it's just an illustration of what I'm trying to achieve):
application.onConnect = function(client) {
client.onPlay = function(stream) { // Client.onPlay doesn't exist; what should I do here?
var section = getStreamSection(client, stream);
stream.play(section.start, section.end);
var getStreamSection = function(client, stream) {
return { start: 30, end: 60 }; // Return value is based on the user's credentials and the file they're trying to streamYou can find the documentation for Plug-ins here:
http://help.adobe.com/en_US/flashmediaserver/plugin_apiref/index.html
http://help.adobe.com/en_US/flashmediaserver/devguide/WS5b3ccc516d4fbf351e63e3d11a0d662434 -7ff6PluginAPI.html
Basically you need to concentrate on E_PLAY event and two fields F_STREAM_LENGTH & F_STREAM_POSITION. I am pasting below some code which you need to paste in your sample Auth Plug-in which you can find in : <installdir>/samples/plug-ins. You would have paste below code in case E_PLAY section in MyFmsAuthorizeEvent::authorize() function and compile it. You would basically get AuthModule.dll which you need to place in modules/auth and restart FMS.
// Set the Stream to be played back only for 10 seconds starting from 10 th second
// Stream will play from 10th Second to 20th Second
float fValue;
char buf[1024];
if (getFloatField(m_pAev, IFmsAuthEvent::F_STREAM_LENGTH, fValue))
float fLength = fValue; // in seconds
sprintf(buf,"Original Stream length value passed from player %f\n",fLength);
m_pFmsAuthServerContext->log(buf, IFmsServerContext::kInformation, false);
fLength=10.0;
sprintf(buf,"Modifying Stream length value passed from player %f\n",fLength);
m_pFmsAuthServerContext->log(buf, IFmsServerContext::kInformation, false);
setFloatField(m_pAev,IFmsAuthEvent::F_STREAM_LENGTH,fLength);
if (getFloatField(m_pAev, IFmsAuthEvent::F_STREAM_POSITION, fValue))
float iPosition = fValue; // in seconds
sprintf(buf,"Original Stream Position value passed from player %f\n",iPosition);
m_pFmsAuthServerContext->log(buf, IFmsServerContext::kInformation, false);
iPosition=10.0;
sprintf(buf,"Modifying Stream length value passed from player %f\n",iPosition);
m_pFmsAuthServerContext->log(buf, IFmsServerContext::kInformation, false);
setFloatField(m_pAev,IFmsAuthEvent::F_STREAM_POSITION,iPosition); -
Help needed in Geography datatype
Hi, using sqlserver 2008 R2 db
below is my ZipCodes table schema
Create table ZipCodes(ID bigint primary key identity(1,1),ZipCode varchar(10),
Address varchar(4000), city varchar(50),state varchar(50),Latitude float,Longitude float)
trying to add new column to hold geography datatype to calculate distance using sqlserver geography function.
alter table ZipCodes add Coordinates geography null
update ZipCodes set Coordinates = 'geography::STGeomFromText(''POINT(' + Latitude + ',' + Longitude + ', 4326))'
getting error as below,
Msg 6522, Level 16, State 1, Line 1
A .NET Framework error occurred during execution of user-defined routine or aggregate "geography":
System.FormatException: 24114: The label geography::STGeomFro in the input well-known text (WKT) is not valid. Valid labels are POINT, LINESTRING, POLYGON, MULTIPOINT, MULTILINESTRING, MULTIPOLYGON, or GEOMETRYCOLLECTION.
System.FormatException:
at Microsoft.SqlServer.Types.OpenGisWktReader.ParseTaggedText(OpenGisType type)
at Microsoft.SqlServer.Types.OpenGisWktReader.Read(OpenGisType type, Int32 srid)
at Microsoft.SqlServer.Types.SqlGeography.GeographyFromText(Open
please help me to resolve this issue
loving dotnetupdate ZipCodes set Coordinates = 'geography::STGeomFromText(''POINT(' + Latitude + ',' + Longitude + ', 4326))'
Hello,
There are a few things:
- You try to assign a string value to you geography column
- Separator for lat / long is just a space, not a comma
- You can not concat string and float directly, you have to convert float to char first
- The SRID value is at the wrong place
A valid select for geo Looks like
SELECT geography::STGeomFromText('POINT(1.1 2.2)', 4326)
Try it this way:
update ZipCodes
set Coordinates = geography::STGeomFromText(
'POINT(' + CONVERT(varchar(20), Latitude) + ' ' +
CONVERT(varchar(20), Longitude) + ')', 4326);
Olaf Helper
[ Blog] [ Xing] [ MVP] -
Kern protection error from Call of Duty 2 game
Hey everyone, I was told if anyone could help me it would be on here.
Over the last few weeks I started getting the odd kern protection error while playing my Call of Duty 2 game. I have had this game for years and this had never happened before. Over the last week, it now occurs EVERY time I play the game. I sometimes can get 5 minutes in the game before it crashes and sometimes it is only seconds.
I have OS X version 10.4.11 on 24 inch iMac
2.16 GHz intel Core 2 Duo
1 GB 667 MHz DDR2 SDRAM
I have run the Hardware Test disk and it found no issues.
I thought it may be my gpu overheating but was told the temps are in normal ranges. Here is a sample of the temps immediately after the error:
Temp (all in Celsius)
HD - 46
CPU - 41
Ambient - 23
GPU - 53
GPU Diode - 63
GPU Heatsink - 53
HD Bay - 46
Optical Drive - 37
Fan speed
Optical Drive - 599 rpm
CPU Fan - 998 rpm
HD Fan - 1299 rpm
I also ran MemTest on the machine and everything came back OK.
I had installed MacScan a few weeks ago so removed it, still no improvement.
I also installed StartupSoundPref a few weeks ago and still have that installed.
I am out of ideas and the wife is concerned because I wander around the house aimlessly. Any input appreciated.
Here is the output from a recent log file.
Date/Time: 2011-06-28 13:24:22.528 -0600
OS Version: 10.4.11 (Build 8S2167)
Report Version: 4
Command: Call of Duty 2 Multiplayer
Path: /Applications/Call of Duty 2 Multiplayer.app/Contents/MacOS/Call of Duty2 Multiplayer
Parent: WindowServer [60]
Version: 1.3 (1.3)
PID: 770
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at0x0000000c
Thread 0 Crashed:
0 libSystem.B.dylib 0x90010a31fclose + 17
1 com.aspyr.callofduty2 0x00032b83FS_FCloseFile(int) + 125 (com_files.cpp:925)
2 com.aspyr.callofduty2 0x00035f08FS_FOpenFileRead_Internal(char const*, int*, int, int, int) + 2910(com_files.cpp:1488)
3 com.aspyr.callofduty2 0x00055a64MSS_FileOpenCallback(char const*, unsigned long*) + 32 (snd_driver.cpp:118)
4 com.aspyr.callofduty2 0x00113e8cCSampleSound::open_stream(char const*) + 52 (MacMSS_Sample.cp:293)
5 com.aspyr.callofduty2 0x00110975AIL_open_stream(unsigned long, char const*, long) + 95 (MacMSS.cp:483)
6 com.aspyr.callofduty2 0x0005802fSND_StartAliasStreamOnChannel(snd_alias_t const*, snd_alias_t const*, float,int, float const*, float, float, int, float, int, unsigned char, int,snd_alias_system_t) + 989 (snd_driver.cpp:888)
7 com.aspyr.callofduty2 0x0004b2bdSND_StartAliasStream(snd_alias_t const*, snd_alias_t const*, float, int, floatconst*, float, float, int, float, unsigned char, int*, snd_alias_system_t) +527 (snd.cpp:609)
8 com.aspyr.callofduty2 0x0014493eCG_PlaySoundAliasByName(int, float const*, char const*) + 68(cg_main_mp.cpp:1257)
9 com.aspyr.callofduty2 0x001e5899CG_EntityEvent(centity_s*, int) + 4681 (cg_event_mp.cpp:818)
10 com.aspyr.callofduty2 0x001e61ddCG_CheckEvents(centity_s*) + 147 (cg_event_mp.cpp:928)
11 com.aspyr.callofduty2 0x001df3b6CG_SetNextSnap(snapshot_t*) + 1454 (cg_snapshot_mp.cpp:477)
12 com.aspyr.callofduty2 0x001dfcadCG_ProcessSnapshots() + 1355 (cg_snapshot_mp.cpp:664)
13 com.aspyr.callofduty2 0x001d4ae7CG_DrawActiveFrame(int, DemoType, CubemapShot, int, int) + 151(cg_view_mp.cpp:974)
14 com.aspyr.callofduty2 0x0017302cSCR_UpdateFrame() + 676 (cl_scrn_mp.cpp:272)
15 com.aspyr.callofduty2 0x00173197SCR_UpdateScreenInternal() + 59 (cl_scrn_mp.cpp:443)
16 com.aspyr.callofduty2 0x0003051dCom_Frame_Try_Block_Function() + 659 (common.cpp:3547)
17 com.aspyr.callofduty2 0x000306feCom_Frame() + 58 (common.cpp:3729)
18 com.aspyr.callofduty2 0x000c3b96WinMain + 284 (mac_main.cpp:835)
19 com.aspyr.callofduty2 0x00112288CCallOfDutyEngine::GameMain() + 182 (basic_string.h:277)
20 com.aspyr.callofduty2 0x0002647cCMacGameEngine::OneShotTimer() + 98 (MacGameEngine.cp:1285)
21 com.aspyr.callofduty2 0x000264bfCMacGameEngine::OneShotTimerProc(__EventLoopTimer*, void*) + 17(MacGameEngine.cp:1312)
22 com.apple.HIToolbox 0x92e39a4aTimerVector + 31
23 com.apple.CoreFoundation 0x9082d756CFRunLoopRunSpecific + 3341
24 com.apple.CoreFoundation 0x9082ca42CFRunLoopRunInMode + 61
25 com.apple.HIToolbox 0x92e01878RunCurrentEventLoopInMode + 285
26 com.apple.HIToolbox 0x92e00f82ReceiveNextEventCommon + 385
27 com.apple.HIToolbox 0x92e49a74_AcquireNextEvent + 58
28 com.apple.HIToolbox 0x92e498bcRunApplicationEventLoop + 150
29 com.aspyr.callofduty2 0x00026088CMacGameEngine::MacMain() + 62 (MacGameEngine.cp:405)
30 com.aspyr.callofduty2 0x00025b93CMacGameEngine::Run(int, char**) + 75 (MacGameEngine.cp:150)
31 com.aspyr.callofduty2 0x00025bccmain + 46 (MacGameEngine.cp:89)
32 com.aspyr.callofduty2 0x000024fa_start + 228 (crt.c:272)
33 com.aspyr.callofduty2 0x00002415start + 41
Thread 1:
0 libSystem.B.dylib 0x90024407semaphore_wait_signal_trap + 7
1 com.apple.ColorSync 0x915a96abpthreadSemaphoreWait(t_pthreadSemaphore*) + 35
2 com.apple.ColorSync 0x915c3ddcCMMConvTask(void*) + 60
3 libSystem.B.dylib 0x90023d67_pthread_body + 84
Thread 2:
0 libSystem.B.dylib 0x90009817mach_msg_trap + 7
1 com.apple.CoreFoundation 0x9082d227CFRunLoopRunSpecific + 2014
2 com.apple.CoreFoundation 0x9082ca42CFRunLoopRunInMode + 61
3 com.apple.audio.CoreAudio 0x91469356HALRunLoop::OwnThread(void*) + 158
4 com.apple.audio.CoreAudio 0x91469171CAPThread::Entry(CAPThread*) + 93
5 libSystem.B.dylib 0x90023d67_pthread_body + 84
Thread 3:
0 libSystem.B.dylib 0x90047927semaphore_timedwait_signal_trap + 7
1 com.apple.audio.CoreAudio 0x914765a4CAGuard::WaitFor(unsigned long long) + 212
2 com.apple.audio.CoreAudio 0x914764c6CAGuard::WaitUntil(unsigned long long) + 66
3 com.apple.audio.CoreAudio 0x91474e42HP_IOThread::WorkLoop() + 690
4 com.apple.audio.CoreAudio 0x91474b8bHP_IOThread::ThreadEntry(HP_IOThread*) + 17
5 com.apple.audio.CoreAudio 0x91469171CAPThread::Entry(CAPThread*) + 93
6 libSystem.B.dylib 0x90023d67_pthread_body + 84
Thread 4:
0 libSystem.B.dylib 0x900376a7mach_wait_until + 7
1 libSystem.B.dylib 0x90039d72usleep + 82
2 com.aspyr.callofduty2 0x001159f6CSoundEngine::Execute(void*) + 118 (MacMSS_Engine.cp:844)
3 com.aspyr.callofduty2 0x001173f1CThread::ExecuteProc(void*) + 25 (MacThreads.cp:144)
4 libSystem.B.dylib 0x90023d67_pthread_body + 84
Thread 5:
0 libSystem.B.dylib 0x90047927semaphore_timedwait_signal_trap + 7
1 com.apple.audio.CoreAudio 0x914765a4CAGuard::WaitFor(unsigned long long) + 212
2 com.apple.audio.CoreAudio 0x914764c6CAGuard::WaitUntil(unsigned long long) + 66
3 com.apple.audio.CoreAudio 0x91474e42HP_IOThread::WorkLoop() + 690
4 com.apple.audio.CoreAudio 0x91474b8bHP_IOThread::ThreadEntry(HP_IOThread*) + 17
5 com.apple.audio.CoreAudio 0x91469171CAPThread::Entry(CAPThread*) + 93
6 libSystem.B.dylib 0x90023d67_pthread_body + 84
Thread 6:
0 libSystem.B.dylib 0x90047927semaphore_timedwait_signal_trap + 7
1 ...ple.CoreServices.CarbonCore 0x90ce1e60TSWaitOnSemaphoreCommon + 163
2 ...ickTimeComponents.component 0x97e83076ReadSchedulerThreadEntryPoint + 4723
3 libSystem.B.dylib 0x90023d67_pthread_body + 84
Thread 7:
0 libSystem.B.dylib 0x90047927semaphore_timedwait_signal_trap + 7
1 ...ple.CoreServices.CarbonCore 0x90ce1e60TSWaitOnSemaphoreCommon + 163
2 ...ple.CoreServices.CarbonCore 0x90cebd90AIOFileThread(void*) + 1068
3 libSystem.B.dylib 0x90023d67_pthread_body + 84
Thread 8:
0 libSystem.B.dylib 0x9002447fsemaphore_wait_trap + 7
1 ...ickTimeComponents.component 0x97f0f5efaudioprepThreadEntry + 92
2 ...ickTimeComponents.component 0x98513f44start_thread + 54
3 libSystem.B.dylib 0x90023d67_pthread_body + 84
Thread 0 crashed with X86 Thread State (32-bit):
eax:0x00000000 ebx: 0x90010a2e ecx: 0x20c104a4 edx: 0x0000003e
edi:0x00000000 esi: 0x00000000 ebp: 0xbfffda98 esp: 0xbfffda70
ss:0x0000001f efl: 0x00010282 eip: 0x90010a31 cs: 0x00000017
ds:0x0000001f es:0x0000001f fs:0x00000000 gs: 0x00000037
Binary Images Description:
0x1000 - 0x340fffcom.aspyr.callofduty2 1.3 /Applications/Callof Duty 2 Multiplayer.app/Contents/MacOS/Call of Duty 2 Multiplayer
0x2c05000- 0x2ce3fff libxml2.2.dylib /usr/lib/libxml2.2.dylib
0x2fa0000- 0x2fcafffcom.apple.audio.SoundManager.Components 3.9.2 /System/Library/Components/SoundManagerComponents.component/Contents/MacOS/Soun dManagerComponents
0x3853000- 0x39acfff GLEngine /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
0x39d8000- 0x3b4afffcom.apple.GeForceFXGLDriver 1.4.56 (4.5.6) /System/Library/Extensions/GeForceFXGLDriver.bundle/Contents/MacOS/GeForceFXGLD river
0x3b70000- 0x3b8cfff GLDriver /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLDriver.bundl e/GLDriver
0x3b93000- 0x3bb7fff GLRendererFloat /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLRendererFloa t.bundle/GLRendererFloat
0x20e94000 - 0x20e99fff com.apple.audio.AppleHDAHALPlugIn1.3.7 (1.3.7a23) /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bun dle/Contents/MacOS/AppleHDAHALPlugIn
0x24619000 - 0x24681fff pbcl.mac /Applications/CallOf Duty 2 Data/pb/pbcl.mac
0x246f9000 - 0x246fbfff pbag.mac /Applications/CallOf Duty 2 Data/pb/pbag.mac
0x24702000 - 0x247a9fff pbsv.mac /Applications/CallOf Duty 2 Data/pb/pbsv.mac
0x25013000 - 0x251dbfff com.apple.audio.codecs.Components1.5.6 /System/Library/Components/AudioCodecs.component/Contents/MacOS/AudioCodecs
0x70000000 - 0x700fafff com.apple.audio.units.Components1.4.7 /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio
0x8fe00000 - 0x8fe4afff dyld 46.16 /usr/lib/dyld
0x90000000 - 0x90171fff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x901c1000 - 0x901c3fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
0x901c5000 - 0x90202fff com.apple.CoreText 1.1.3 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
0x90229000 - 0x902fffff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
0x9031f000 - 0x90774fff com.apple.CoreGraphics 1.258.85(???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
0x9080b000 - 0x908d3fff com.apple.CoreFoundation 6.4.11(368.35) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x90911000 - 0x90911fff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x90913000 - 0x90a07fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x90a57000 - 0x90ad6fff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x90aff000 - 0x90b63fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
0x90bd2000 - 0x90bd9fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
0x90bde000 - 0x90c51fff com.apple.framework.IOKit 1.4.8(???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90c66000 - 0x90c78fff libauto.dylib /usr/lib/libauto.dylib
0x90c7e000 - 0x90f24fff com.apple.CoreServices.CarbonCore682.31 (682.32) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x90f67000 - 0x90fcffff com.apple.CoreServices.OSServices4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x91008000 - 0x91047fff com.apple.CFNetwork 129.24 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x9105a000 - 0x9106afff com.apple.WebServices 1.1.3 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServ icesCore.framework/Versions/A/WebServicesCore
0x91075000 - 0x910f4fff com.apple.SearchKit 1.0.8 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x9112e000 - 0x9114cfff com.apple.Metadata 10.4.4 (121.36) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
0x91158000 - 0x91166fff libz.1.dylib /usr/lib/libz.1.dylib
0x91169000 - 0x91308fff com.apple.security 4.5.2 (29774) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x91406000 - 0x9140efff com.apple.DiskArbitration 2.1.2 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x91415000 - 0x9141cfff libbsm.dylib /usr/lib/libbsm.dylib
0x91420000 - 0x91446fff com.apple.SystemConfiguration 1.8.6 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x91458000 - 0x914cefff com.apple.audio.CoreAudio 3.0.5 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x9151f000 - 0x9151ffff com.apple.ApplicationServices 10.4(???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x91521000 - 0x9154dfff com.apple.AE 316.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ AE.framework/Versions/A/AE
0x91560000 - 0x91634fff com.apple.ColorSync 4.4.13 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
0x9166f000 - 0x916e2fff com.apple.print.framework.PrintCore4.6 (177.13) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x91710000 - 0x917b9fff com.apple.QD 3.10.28 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x917df000 - 0x9182afff com.apple.HIServices 1.5.2 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x91849000 - 0x9185ffff com.apple.LangAnalysis 1.6.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x9186b000 - 0x91886fff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ FindByContent.framework/Versions/A/FindByContent
0x91891000 - 0x918cefff com.apple.LaunchServices 183.1 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LaunchServices.framework/Versions/A/LaunchServices
0x918e2000 - 0x918eefff com.apple.speech.synthesis.framework3.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x918f5000 - 0x91935fff com.apple.ImageIO.framework 1.5.9 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
0x91948000 - 0x919fafff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
0x91a40000 - 0x91a56fff libcups.2.dylib /usr/lib/libcups.2.dylib
0x91a5b000 - 0x91a79fff libJPEG.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x91a7e000 - 0x91addfff libJP2.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x91aef000 - 0x91af3fff libGIF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x91af5000 - 0x91b7dfff libRaw.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRaw.dylib
0x91b81000 - 0x91b9cfff libPng.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
0x91ba1000 - 0x91ba3fff libRadiance.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x91ca0000 - 0x91cdffff libTIFF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x91ce5000 - 0x91ce5fff com.apple.Accelerate 1.3.1(Accelerate 1.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x91ce7000 - 0x91d75fff com.apple.vImage 2.5 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
0x91d7c000 - 0x91d7cfff com.apple.Accelerate.vecLib 3.3.1(vecLib 3.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
0x91d7e000 - 0x91dd7fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x91de0000 - 0x91e04fff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
0x91e0c000 - 0x92215fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
0x9224f000 - 0x92603fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x92630000 - 0x9271dfff libiconv.2.dylib /usr/lib/libiconv.2.dylib
0x9271f000 - 0x9279dfff com.apple.DesktopServices 1.3.7 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
0x927de000 - 0x92a16fff com.apple.Foundation 6.4.12 (567.42) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92b36000 - 0x92b4dfff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x92b58000 - 0x92bb0fff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x92bc4000 - 0x92bc4fff com.apple.Carbon 10.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x92bc6000 - 0x92bd6fff com.apple.ImageCapture 3.0.4 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x92be5000 - 0x92bedfffcom.apple.speech.recognition.framework 3.6 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
0x92bf3000 - 0x92bf9fff com.apple.securityhi 2.0.1 (24742) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
0x92bff000 - 0x92c90fff com.apple.ink.framework 101.2.1 (71) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x92ca4000 - 0x92ca8fff com.apple.help 1.0.3 (32.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x92cab000 - 0x92cc9fff com.apple.openscripting 1.2.7 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x92cdb000 - 0x92ce1fff com.apple.print.framework.Print 5.2(192.4) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
0x92ce7000 - 0x92d4afff com.apple.htmlrendering 66.1 (1.1.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
0x92d71000 - 0x92db2fff com.apple.NavigationServices 3.4.4(3.4.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
0x92dd9000 - 0x92de7fff com.apple.audio.SoundManager 3.9.1 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
0x92dee000 - 0x92df3fff com.apple.CommonPanels 1.2.3 (73) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
0x92df8000 - 0x930edfff com.apple.HIToolbox 1.4.10 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x931f3000 - 0x931fefff com.apple.opengl 1.4.16 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x93ca7000 - 0x93d22fff com.apple.CoreData 91 (92.1) /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x93d5b000 - 0x93e14fff com.apple.audio.toolbox.AudioToolbox1.4.7 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x93e57000 - 0x93e57fff com.apple.audio.units.AudioUnit1.4.2 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x93e59000 - 0x9401afff com.apple.QuartzCore 1.4.12 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x94060000 - 0x940a1fff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib
0x940a9000 - 0x940e3fff libGLImage.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x940e8000 - 0x940fefff com.apple.CoreVideo 1.4.2 /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x942a9000 - 0x942b4fff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x94300000 - 0x9431afff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x94320000 - 0x9463ffff com.apple.QuickTime 7.6.4 (1327.73) /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x94a22000 - 0x94a3ffff libresolv.9.dylib /usr/lib/libresolv.9.dylib
0x95ec0000 - 0x95ec0fff com.apple.vecLib 3.3.1 (vecLib3.3.1) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x964a6000 - 0x9657dfff libGLProgrammability.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
0x96598000 - 0x96599fff libGLSystem.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLSystem.dy lib
0x9659b000 - 0x965a0fff com.apple.agl 2.5.9 (AGL-2.5.9) /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x978b1000 - 0x987a8fffcom.apple.QuickTimeComponents.component 7.6.4 (1327.73) /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTim eComponents
0x99762000 - 0x9977ffff com.apple.OpenTransport 3.0 /System/Library/PrivateFrameworks/OpenTransport.framework/OpenTransport
Model: iMac6,1, BootROM IM61.0093.B07, 2 processors, IntelCore 2 Duo, 2.16 GHz, 1 GB
Graphics: NVIDIA GeForce 7300 GT, NVIDIA GeForce 7300 GT,PCIe, 128 MB
Memory Module: BANK 0/DIMM0, 512 MB, DDR2 SDRAM, 667 MHz
Memory Module: BANK 1/DIMM1, 512 MB, DDR2 SDRAM, 667 MHz
AirPort: spairport_wireless_card_type_airport_extreme(0x14E4, 0x87), Broadcom BCM43xx 1.0 (4.170.46.9)
Bluetooth: Version 1.9.5f4, 2 service, 1 devices, 1 incomingserial ports
Network Service: Built-in Ethernet, Ethernet, en0
Serial ATA Device: ST3250824AS Q, 232.89 GB
Parallel ATA Device: MATSHITADVD-R UJ-85J
USB Device: Built-in iSight, Micron, Up to 480 Mb/sec, 500mA
USB Device: Hub in Apple Pro Keyboard, Mitsumi Electric, Upto 12 Mb/sec, 500 mA
USB Device: Apple Optical USB Mouse, Primax Electronics, Upto 1.5 Mb/sec, 100 mA
USB Device: Apple Pro Keyboard, Mitsumi Electric, Up to 12Mb/sec, 250 mA
USB Device: Bluetooth USB Host Controller, Apple, Inc., Upto 12 Mb/sec, 500 mA
USB Device: IR Receiver, Apple Computer, Inc., Up to 12Mb/sec, 500 mA
USB Device: DeskJet 930C, Hewlett-Packard, Upto 12 Mb/sec, 500 mADid I post this in the wrong section?
-
Array of JPanel and Array of JTextField?
Hi,
I try to create array of jpanel and inizialize it in "for" , but when run it give me this error message:
"Exception in thread "main" java.lang.NullPointerException"
at the row: "panInsCantante.add(panInsNCC);"
why?
(ps. i tried in another code to create array of jtextfield and it give me same error message..)
here part of code :
JPanel [] panInsCantante = new JPanel[3];
for(int i=0;i<=N;i++){
JPanel panInsNCC= new JPanel();
panInsNCC.setLayout( new GridLayout(3,1) );
panInsNCC.add(campoTesto1);
panInsNCC.add(campoTesto2);
panInsNCC.add(campoTesto3);
//panInsCantante[i] = new JPanel();
//panInsCantante.setLayout( new GridLayout(1,1) );
panInsCantante[i].add(panInsNCC);a question (theoric...)A VERY important question I may add.
what's the difference between ..
this instance :
JPanel [] panInsCantante = new
JPanel[3];This declares and initializes the array itself, nothing more. No JPanels have been initialized as yet, just the array. It's as if you have now built the shelves to hold the books, but you have no books up there yet...
and this instance of panInsCantante? :
panInsCantante[i] = new JPanel();and this initializes each JPanel in the array as you loop through the array. .... and now you have filled the shelves with the books and can use the books.
You will need them both.
In all likelihood, the reason for your confusion is that all of your previous arrays were arrays of primative types: int, double, float, and char. In this situation, you don't need to go through the step of initializing the variable.
But now you are faced for the first time with an array of reference type, an array of Objects. This is a different situation and requires the steps that we have gone through.
Message was edited by:
petes1234 -
CS5 Crashing when saving or opening files
Mac OS X 10.7.5
It started after installing trial version of Astute VectorScribe 2. I deleted the plugin, per Astute YouTube instructions. I have also done the following.
Quit Illustrator.
Went to User/username/Library/Preferences/ Adobe illustrator CS5 Settings and trashed the settings folder, the whole folder not just the contents of the folder..
Trashed the com.adobe.illustrator.plist from the same preferences directory.
Repaired permissions before launching Illustrator.
I also unistalled AI CS5 and reinstalled, using the original DVD.
None of this has fixed the problem.
I do have Time Machine backup if that is of any help here.
Here is the Crash Problem report if someone know how to read it:
I appreciate any help. I have NOT tried to call Adobe. That feels like a waste of time, frankly.
Process: Adobe Illustrator [4347]
Path: /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/MacOS/Adobe Illustrator
Identifier: com.adobe.illustrator
Version: 399 (15.0.0)
Code Type: X86 (Native)
Parent Process: launchd [167]
Date/Time: 2014-01-21 23:10:41.041 -0600
OS Version: Mac OS X 10.7.5 (11G63)
Report Version: 9
Interval Since Last Report: 32505 sec
Crashes Since Last Report: 16
Per-App Interval Since Last Report: 148 sec
Per-App Crashes Since Last Report: 6
Anonymous UUID: 2BE18C0B-D1FF-47B7-8AF2-C7DD64F901F1
Crashed Thread: 25 Dispatch queue: com.apple.root.low-overcommit-priority
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000ffffffa4
VM Regions Near 0xffffffa4:
--> shared memory 00000000ffff0000-00000000ffff2000 [ 8K] r-x/r-x SM=SHM
Application Specific Information:
objc[4347]: garbage collection is OFF
Thread 0:: Dispatch queue: opencl_runtime
0 libsystem_kernel.dylib 0x9366fc5e semaphore_wait_trap + 10
1 libdispatch.dylib 0x9127f4d8 _dispatch_thread_semaphore_wait + 25
2 libdispatch.dylib 0x9127e61c _dispatch_barrier_sync_f_slow + 121
3 libdispatch.dylib 0x9127e730 dispatch_barrier_sync_f + 37
4 libcldcpuengine.dylib 0x148f0422 glrCompFinish + 48
5 com.apple.opencl 0x9825f614 0x98237000 + 165396
6 com.apple.opencl 0x98257e8b 0x98237000 + 134795
7 libdispatch.dylib 0x9127e679 _dispatch_barrier_sync_f_slow + 214
8 libdispatch.dylib 0x9127e730 dispatch_barrier_sync_f + 37
9 com.apple.opencl 0x98257f6a clFinish + 123
10 com.apple.CoreImage 0x94b601ca -[FEOpenCLContext _quad:] + 4153
11 com.apple.CoreImage 0x94c75763 -[FEContext(Drawing) quad:] + 42
12 com.apple.CoreImage 0x94b9d3b2 FEApplyTreeNode::render1(FETreeContext*, FEShape const&, fe_kernel_target_struct*, int, float*, FETreeTexture*) + 2180
13 com.apple.CoreImage 0x94b9dbc2 FEApplyTreeNode::render2(FETreeContext*, FEShape const*, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 1602
14 com.apple.CoreImage 0x94b9aec9 FETreeNode::render_(FETreeContext*, FEShape const*, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 119
15 com.apple.CoreImage 0x94b9e893 FETreeNode::render(FETreeContext*, FEShape const&, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 97
16 com.apple.CoreImage 0x94b9e82c FETreeContext::render(FETreeNode*, FEShape const&, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 52
17 com.apple.CoreImage 0x94ba2143 FETreeContext::renderTree(FETreeNode*, FEShape const&, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 189
18 com.apple.CoreImage 0x94ba2430 FETreeContext::renderImage_(FEImage*, CGRect, FEShape const*, CGAffineTransform, CGColorSpace*, FEFormat, bool, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 686
19 com.apple.CoreImage 0x94ba269b FETreeContext::renderImage(FEImage*, CGRect, FEShape const*, CGAffineTransform, CGColorSpace*, FEFormat, bool, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 361
20 com.apple.CoreImage 0x94b7763a -[FEImage(Internal) _renderWithContext:bounds:transform:colorSpace:format:premultiplied:setupCallback:finishC allback:callbackData:] + 273
21 com.apple.CoreImage 0x94b76ecd -[FEImage getBitmap:withContext:origin:transform:colorSpace:] + 1543
22 com.apple.CoreImage 0x94b2862d -[CIContextImpl render:toBitmap:rowBytes:bounds:format:colorSpace:] + 323
23 com.apple.CoreImage 0x94b2751e -[CIContext render:toBitmap:rowBytes:bounds:format:colorSpace:] + 114
24 com.apple.coreui 0x917ca2f2 _CUIApplyEffectsToImageViaCI(long, CUIDescriptor const*, __CFArray const*, CGImage*, float, unsigned char) + 17113
25 com.apple.coreui 0x917c39c9 CUIRenderer::DrawImage(CGRect, long, CUIDescriptor const*) + 4799
26 com.apple.coreui 0x91798cef CUIRenderer::Draw(CGRect, CGContext*, __CFDictionary const*, __CFDictionary const**) + 5415
27 com.apple.coreui 0x917b9de5 CUIDraw + 206
28 com.apple.AppKit 0x98494477 -[NSCoreUIImageRep draw] + 173
29 com.apple.AppKit 0x98494361 -[NSImageRep drawInRect:] + 362
30 com.apple.AppKit 0x984941eb __-[NSImageRep drawInRect:fromRect:operation:fraction:respectFlipped:hints:]_block_invoke_2 + 105
31 com.apple.AppKit 0x98494087 NSGraphicsContextPushContextWithFlippedMetadata_drawWithBlock_ + 390
32 com.apple.AppKit 0x984273af __-[NSImageRep drawInRect:fromRect:operation:fraction:respectFlipped:hints:]_block_invoke_1 + 2012
33 com.apple.AppKit 0x98426b16 NSUsingGraphicsStateForHints_drawWithBlock_ + 67
34 com.apple.AppKit 0x984269f5 -[NSImageRep drawInRect:fromRect:operation:fraction:respectFlipped:hints:] + 1022
35 com.apple.AppKit 0x98459661 -[NSImage _drawMappingAlignmentRectToRect:withState:backgroundStyle:operation:fraction:flip:hints:] + 2560
36 com.apple.AppKit 0x984bfdbe -[NSSidebarImage _drawMappingAlignmentRectToRect:withState:backgroundStyle:operation:fraction:flip:hints:] + 207
37 com.apple.AppKit 0x984bf7d6 -[NSImageCell drawInteriorWithFrame:inView:] + 910
38 com.apple.AppKit 0x984bf42b -[NSImageCell drawWithFrame:inView:] + 1684
39 com.apple.AppKit 0x984bd3a7 -[NSImageTextFieldCell drawWithFrame:inView:] + 399
40 com.apple.AppKit 0x98c0da70 -[NSNavCell drawWithFrame:inView:] + 224
41 com.apple.AppKit 0x984bc111 -[NSTableView _drawContentsAtRow:column:withCellFrame:] + 263
42 com.apple.AppKit 0x984bbfb0 -[NSOutlineView _drawContentsAtRow:column:withCellFrame:] + 87
43 com.apple.AppKit 0x984ba48d -[NSTableView drawRow:clipRect:] + 1500
44 com.apple.AppKit 0x984b9d40 -[NSTableView drawRowIndexes:clipRect:] + 584
45 com.apple.AppKit 0x984b9aed -[NSOutlineView drawRowIndexes:clipRect:] + 104
46 com.apple.AppKit 0x984b7f74 -[NSTableView drawRect:] + 1162
47 com.apple.AppKit 0x98c0e29d -[NSTrackableOutlineView drawRect:] + 70
48 com.apple.AppKit 0x9841e6c9 -[NSView _drawRect:clip:] + 3717
49 com.apple.AppKit 0x9844dae6 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1958
50 com.apple.AppKit 0x9844de87 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2887
51 com.apple.AppKit 0x9844de87 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2887
52 com.apple.AppKit 0x9844de87 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2887
53 com.apple.AppKit 0x9844de87 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2887
54 com.apple.AppKit 0x9844de87 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2887
55 com.apple.AppKit 0x9844de87 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2887
56 com.apple.AppKit 0x9844de87 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2887
57 com.apple.AppKit 0x9844de87 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2887
58 com.apple.AppKit 0x9844de87 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2887
59 com.apple.AppKit 0x9841c026 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topVi ew:] + 708
60 com.apple.AppKit 0x9841b627 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topVi ew:] + 259
61 com.apple.AppKit 0x98416caa -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 4817
62 com.apple.AppKit 0x9840fbd9 -[NSView displayIfNeeded] + 1365
63 com.apple.AppKit 0x9840c99d -[NSWindow displayIfNeeded] + 316
64 com.apple.AppKit 0x984ce977 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 1418
65 com.apple.AppKit 0x98ba1bf9 -[NSNavSavePanel _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 514
66 com.apple.AppKit 0x984ce3e6 -[NSWindow _doOrderWindowWithoutAnimation:relativeTo:findKey:forCounter:force:isModal:] + 79
67 com.apple.AppKit 0x984ce2a7 -[NSWindow _doOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 997
68 com.apple.AppKit 0x9869fa10 -[NSApplication _orderFrontModalWindow:relativeToWindow:] + 782
69 com.apple.AppKit 0x9869f41d -[NSApplication _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector:contextIn fo:] + 918
70 com.apple.AppKit 0x98697413 -[NSApplication beginModalSessionForWindow:] + 72
71 com.apple.AppKit 0x9869fe87 -[NSApplication runModalForWindow:] + 129
72 com.apple.AppKit 0x989779f0 -[NSSavePanel runModal] + 380
73 com.apple.AppKit 0x989745e5 -[NSSavePanel runModalForDirectory:file:types:] + 276
74 com.apple.AppKit 0x98ba6d1c -[NSNavOpenPanel run] + 140
75 com.apple.AppKit 0x98ba885b _NSNavDialogRun + 201
76 com.adobe.illustrator 0x006ab85b AWS_CUI_RevertAlert(OpaqueWindowPtr*, adobe::aws::gen::String<unsigned short>&, adobe::aws::gen::String<unsigned short>&) + 3604147
77 com.adobe.illustrator 0x006a9ad4 AWS_CUI_RevertAlert(OpaqueWindowPtr*, adobe::aws::gen::String<unsigned short>&, adobe::aws::gen::String<unsigned short>&) + 3596588
78 com.adobe.illustrator 0x006aa22e AWS_CUI_RevertAlert(OpaqueWindowPtr*, adobe::aws::gen::String<unsigned short>&, adobe::aws::gen::String<unsigned short>&) + 3598470
79 com.adobe.illustrator 0x000a1579 AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 544037
80 com.adobe.illustrator 0x0009709a AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 501830
81 com.adobe.illustrator 0x0008316c AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 420120
82 com.adobe.illustrator 0x00083507 AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 421043
83 com.adobe.illustrator 0x0033350a AWS_CUI_SaveAlert(OpaqueWindowPtr*, adobe::aws::gen::String<unsigned short>&, adobe::aws::gen::String<unsigned short>&, adobe::aws::gen::String<unsigned short>&) + 149640
84 com.adobe.illustrator 0x005df163 AWS_CUI_RevertAlert(OpaqueWindowPtr*, adobe::aws::gen::String<unsigned short>&, adobe::aws::gen::String<unsigned short>&) + 2766779
85 com.adobe.illustrator 0x00136afa AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 1155750
86 com.apple.HIToolbox 0x93d86c0c _InvokeEventHandlerUPP(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*, long (*)(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)) + 36
87 com.apple.HIToolbox 0x93c02313 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1602
88 com.apple.HIToolbox 0x93c01790 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCall Rec + 482
89 com.apple.HIToolbox 0x93c16571 SendEventToEventTarget + 76
90 com.apple.HIToolbox 0x93d870d0 _ZL18SendHICommandEventmPK9HICommandmmhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 482
91 com.apple.HIToolbox 0x93d8713a SendMenuCommandWithContextAndModifiers + 70
92 com.apple.HIToolbox 0x93df298d SendMenuItemSelectedEvent + 275
93 com.apple.HIToolbox 0x93c52d79 _ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2_ + 129
94 com.apple.HIToolbox 0x93de388c _ZL14MenuSelectCoreP8MenuData5PointdmPP13OpaqueMenuRefPt + 608
95 com.apple.HIToolbox 0x93de3987 MenuSelect + 178
96 com.apple.HIToolbox 0x93d8ac55 HIMenuBar::HandleMouseEvent(OpaqueEventRef*) + 89
97 com.apple.HIToolbox 0x93d8abf2 HIMenuBar::HandleEvent(OpaqueEventHandlerCallRef*, OpaqueEventRef*) + 158
98 com.apple.HIToolbox 0x93c0295f HIObject::EventHook(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 163
99 com.apple.HIToolbox 0x93d86c0c _InvokeEventHandlerUPP(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*, long (*)(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)) + 36
100 com.apple.HIToolbox 0x93c02313 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1602
101 com.apple.HIToolbox 0x93c01790 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCall Rec + 482
102 com.apple.HIToolbox 0x93c16571 SendEventToEventTarget + 76
103 com.apple.HIToolbox 0x93c16d27 _ZL29ToolboxEventDispatcherHandlerP25OpaqueEventHandlerCallRefP14OpaqueEventRefPv + 1969
104 com.apple.HIToolbox 0x93c027ce _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 2813
105 com.apple.HIToolbox 0x93c01790 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCall Rec + 482
106 com.apple.HIToolbox 0x93c16571 SendEventToEventTarget + 76
107 com.adobe.illustrator 0x000a6bea AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 566166
108 com.apple.HIToolbox 0x93d86c0c _InvokeEventHandlerUPP(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*, long (*)(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)) + 36
109 com.apple.HIToolbox 0x93c02313 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1602
110 com.apple.HIToolbox 0x93c01790 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCall Rec + 482
111 com.apple.HIToolbox 0x93c015a8 SendEventToEventTargetWithOptions + 75
112 com.apple.HIToolbox 0x93c171c6 _ZL29ToolboxEventDispatcherHandlerP25OpaqueEventHandlerCallRefP14OpaqueEventRefPv + 3152
113 com.apple.HIToolbox 0x93c027ce _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 2813
114 com.apple.HIToolbox 0x93c01790 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCall Rec + 482
115 com.apple.HIToolbox 0x93c16571 SendEventToEventTarget + 76
116 com.apple.HIToolbox 0x93d86a58 ToolboxEventDispatcher + 82
117 com.apple.HIToolbox 0x93d86b87 RunApplicationEventLoop + 236
118 com.adobe.illustrator 0x000a6e2b AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 566743
119 com.adobe.illustrator 0x0010a688 AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 974388
120 com.adobe.illustrator 0x000cc97e AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 721194
121 com.adobe.illustrator 0x00003346 0x1000 + 9030
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x9367290a kevent + 10
1 libdispatch.dylib 0x9127de04 _dispatch_mgr_invoke + 969
2 libdispatch.dylib 0x9127c853 _dispatch_mgr_thread + 53
Thread 2:: Dispatch queue: TFolderSizingThread::GetFolderSizingQueue
0 com.apple.CoreFoundation 0x902bd879 CFNumberCreate + 377
1 com.apple.CoreServicesInternal 0x99b44e39 _ZL19createVolumeIDValuePK7__CFURLPK15_FileAttributesPv + 58
2 com.apple.CoreServicesInternal 0x99b4c871 _ZL30corePropertyProviderCopyValuesPK7__CFURLPK11__FileCachePKPK10__CFStringPPKvSC_lSB_ + 128
3 com.apple.CoreServicesInternal 0x99b4e5c8 _FSURLCopyResourcePropertyForKey + 114
4 com.apple.CoreFoundation 0x902ec901 CFURLCopyResourcePropertyForKey + 129
5 com.apple.CoreFoundation 0x9034c19a _CFURLCopyFileReferenceURLPath + 234
6 com.apple.CoreFoundation 0x9034bf5c CFURLCreateFileReferenceURL + 348
7 com.apple.DesktopServices 0x96b1748f TFSInfo::Initialize(__CFURL const*) + 243
8 com.apple.DesktopServices 0x96ba5228 TFSInfo::ResolveSharedFileListItem(unsigned long, TCountedPtr<TFSInfo>&) const + 132
9 com.apple.DesktopServices 0x96b20fe6 TNode::ResolveSharedFileListAliasIfNeeded() + 324
10 com.apple.DesktopServices 0x96b5508a __SynchronizeChildren_block_invoke_043 + 59
11 com.apple.DesktopServices 0x96b8f069 ExceptionSafeBlock(void ( block_pointer)()) + 55
12 com.apple.DesktopServices 0x96b5504a __SynchronizeChildren_block_invoke_0 + 79
13 libdispatch.dylib 0x9127bfbd _dispatch_call_block_and_release + 15
14 libdispatch.dylib 0x9127d943 _dispatch_queue_drain + 224
15 libdispatch.dylib 0x9127d7e8 _dispatch_queue_invoke + 47
16 libdispatch.dylib 0x9127cff0 _dispatch_worker_thread2 + 187
17 libsystem_c.dylib 0x9a63bb24 _pthread_wqthread + 346
18 libsystem_c.dylib 0x9a63d6fe start_wqthread + 30
Thread 3:: Dispatch queue: TFSVolumeInfo::GetSyncGCDQueue
0 libsystem_kernel.dylib 0x93672cc2 __pread + 10
1 com.apple.DesktopServices 0x96baffee TPropertyInfo::CreatePropertyList(TCountedPtr<TFSInfo> const&, double&, long long&, bool, bool, TPropertyInfoList*) + 370
2 com.apple.DesktopServices 0x96bafe30 TPropertyInfo::CreatePropertyList(TCountedPtr<TCFURLInfo> const&, double&, long long&, bool, bool, TPropertyInfoList*) + 144
3 com.apple.DesktopServices 0x96b1c7fe THFSPlusPropertyStore::Open(bool, bool) const + 154
4 com.apple.DesktopServices 0x96b1c743 THFSPlusPropertyStore::GetProperties(bool) const + 43
5 com.apple.DesktopServices 0x96b250a4 THFSPlusPropertyStore::CreateUniqueNameList() + 116
6 com.apple.DesktopServices 0x96b0ea72 TNode::ScavengeProperties(bool) + 340
7 com.apple.DesktopServices 0x96b0b6bc TNode::HandleSync(unsigned long) + 1520
8 com.apple.DesktopServices 0x96b191d1 TNode::HandlePopulate(bool) const + 91
9 com.apple.DesktopServices 0x96b58ed6 TNode::HandleNodeRequest(TCountedPtr<TNodeTask> const&, TCountedPtr<TVolumeSyncThread> const&) + 818
10 com.apple.DesktopServices 0x96b7c556 __PostNodeTaskRequest_block_invoke_010 + 87
11 com.apple.DesktopServices 0x96b8f069 ExceptionSafeBlock(void ( block_pointer)()) + 55
12 com.apple.DesktopServices 0x96b7c4f9 __PostNodeTaskRequest_block_invoke_0 + 86
13 libdispatch.dylib 0x9127bfbd _dispatch_call_block_and_release + 15
14 libdispatch.dylib 0x9127d943 _dispatch_queue_drain + 224
15 libdispatch.dylib 0x9127d7e8 _dispatch_queue_invoke + 47
16 libdispatch.dylib 0x9127cff0 _dispatch_worker_thread2 + 187
17 libsystem_c.dylib 0x9a63bb24 _pthread_wqthread + 346
18 libsystem_c.dylib 0x9a63d6fe start_wqthread + 30
Thread 4:
0 libsystem_kernel.dylib 0x9367183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9a63de78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x9a5e582a pthread_cond_wait + 48
3 com.adobe.amt.services 0x0458d126 AMTConditionLock::LockWhenCondition(int) + 46
4 com.adobe.amt.services 0x04585db0 _AMTThreadedPCDService::PCDThreadWorker(_AMTThreadedPCDService*) + 116
5 com.adobe.amt.services 0x0458d18c AMTThread::Worker(void*) + 24
6 libsystem_c.dylib 0x9a639ed9 _pthread_start + 335
7 libsystem_c.dylib 0x9a63d6de thread_start + 34
Thread 5:
0 libsystem_kernel.dylib 0x9367183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9a63de78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x9a63df7b pthread_cond_timedwait_relative_np + 47
3 com.apple.CoreServices.CarbonCore 0x996fe3a7 TSWaitOnConditionTimedRelative + 178
4 com.apple.CoreServices.CarbonCore 0x996fe11d TSWaitOnSemaphoreCommon + 490
5 com.apple.CoreServices.CarbonCore 0x996fdf2e TSWaitOnSemaphoreRelative + 24
6 com.apple.CoreServices.CarbonCore 0x99773398 TimerThread + 292
7 libsystem_c.dylib 0x9a639ed9 _pthread_start + 335
8 libsystem_c.dylib 0x9a63d6de thread_start + 34
Thread 6:
0 libsystem_kernel.dylib 0x9367183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9a63de21 _pthread_cond_wait + 827
2 libsystem_c.dylib 0x9a5ee42c pthread_cond_wait$UNIX2003 + 71
3 com.apple.CoreServices.CarbonCore 0x9978ce62 TSWaitOnCondition + 124
4 com.apple.CoreServices.CarbonCore 0x996fe37d TSWaitOnConditionTimedRelative + 136
5 com.apple.CoreServices.CarbonCore 0x9976067f MPWaitOnQueue + 200
6 AdobeACE 0x015526f1 0x1518000 + 239345
7 AdobeACE 0x015520ed 0x1518000 + 237805
8 com.apple.CoreServices.CarbonCore 0x997615e0 PrivateMPEntryPoint + 68
9 libsystem_c.dylib 0x9a639ed9 _pthread_start + 335
10 libsystem_c.dylib 0x9a63d6de thread_start + 34
Thread 7:
0 libsystem_kernel.dylib 0x9367183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9a63de21 _pthread_cond_wait + 827
2 libsystem_c.dylib 0x9a5ee42c pthread_cond_wait$UNIX2003 + 71
3 com.apple.CoreServices.CarbonCore 0x9978ce62 TSWaitOnCondition + 124
4 com.apple.CoreServices.CarbonCore 0x996fe37d TSWaitOnConditionTimedRelative + 136
5 com.apple.CoreServices.CarbonCore 0x9976067f MPWaitOnQueue + 200
6 AdobeACE 0x015526f1 0x1518000 + 239345
7 AdobeACE 0x015520ed 0x1518000 + 237805
8 com.apple.CoreServices.CarbonCore 0x997615e0 PrivateMPEntryPoint + 68
9 libsystem_c.dylib 0x9a639ed9 _pthread_start + 335
10 libsystem_c.dylib 0x9a63d6de thread_start + 34
Thread 8:
0 libsystem_kernel.dylib 0x9367183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9a63de21 _pthread_cond_wait + 827
2 libsystem_c.dylib 0x9a5ee42c pthread_cond_wait$UNIX2003 + 71
3 com.apple.CoreServices.CarbonCore 0x9978ce62 TSWaitOnCondition + 124
4 com.apple.CoreServices.CarbonCore 0x996fe37d TSWaitOnConditionTimedRelative + 136
5 com.apple.CoreServices.CarbonCore 0x9976067f MPWaitOnQueue + 200
6 AdobeACE 0x015526f1 0x1518000 + 239345
7 AdobeACE 0x015520ed 0x1518000 + 237805
8 com.apple.CoreServices.CarbonCore 0x997615e0 PrivateMPEntryPoint + 68
9 libsystem_c.dylib 0x9a639ed9 _pthread_start + 335
10 libsystem_c.dylib 0x9a63d6de thread_start + 34
Thread 9:
0 libsystem_kernel.dylib 0x9367183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9a63de78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x9a5e582a pthread_cond_wait + 48
3 AdobeAGM 0x0198b8f5 AGMInitialize + 3243373
4 AdobeAGM 0x0198c545 AGMInitialize + 3246525
5 AdobeAGM 0x01992138 AGMInitialize + 3270064
6 libsystem_c.dylib 0x9a639ed9 _pthread_start + 335
7 libsystem_c.dylib 0x9a63d6de thread_start + 34
Thread 10:
0 libsystem_kernel.dylib 0x93671bb2 __semwait_signal + 10
1 libsystem_c.dylib 0x9a5ee7b9 nanosleep$UNIX2003 + 187
2 com.adobe.illustrator.plugins.AISaveForWeb 0x13c0c89b CEveFunctionPropertyList::AddItem(char const*, Eve::DataType, std::string const&) + 106329
3 com.adobe.illustrator.plugins.AISaveForWeb 0x13c072e3 CEveFunctionPropertyList::AddItem(char const*, Eve::DataType, std::string const&) + 84385
4 com.adobe.illustrator.plugins.AISaveForWeb 0x13c0c9a8 CEveFunctionPropertyList::AddItem(char const*, Eve::DataType, std::string const&) + 106598
5 libsystem_c.dylib 0x9a639ed9 _pthread_start + 335
6 libsystem_c.dylib 0x9a63d6de thread_start + 34
Thread 11:
0 libsystem_kernel.dylib 0x9366fc76 semaphore_timedwait_trap + 10
1 com.apple.CoreServices.CarbonCore 0x99760a96 MPWaitOnSemaphore + 104
2 MultiProcessor Support 0x14f3a0f0 ThreadFunction(void*) + 78
3 com.apple.CoreServices.CarbonCore 0x997615e0 PrivateMPEntryPoint + 68
4 libsystem_c.dylib 0x9a639ed9 _pthread_start + 335
5 libsystem_c.dylib 0x9a63d6de thread_start + 34
Thread 12:
0 libsystem_kernel.dylib 0x9366fc76 semaphore_timedwait_trap + 10
1 com.apple.CoreServices.CarbonCore 0x99760a96 MPWaitOnSemaphore + 104
2 MultiProcessor Support 0x14f3a0f0 ThreadFunction(void*) + 78
3 com.apple.CoreServices.CarbonCore 0x997615e0 PrivateMPEntryPoint + 68
4 libsystem_c.dylib 0x9a639ed9 _pthread_start + 335
5 libsystem_c.dylib 0x9a63d6de thread_start + 34
Thread 13:
0 libsystem_kernel.dylib 0x9366fc76 semaphore_timedwait_trap + 10
1 com.apple.CoreServices.CarbonCore 0x99760a96 MPWaitOnSemaphore + 104
2 MultiProcessor Support 0x14f3a0f0 ThreadFunction(void*) + 78
3 com.apple.CoreServices.CarbonCore 0x997615e0 PrivateMPEntryPoint + 68
4 libsystem_c.dylib 0x9a639ed9 _pthread_start + 335
5 libsystem_c.dylib 0x9a63d6de thread_start + 34
Thread 14:
0 libsystem_kernel.dylib 0x9367183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9a63de78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x9a5e582a pthread_cond_wait + 48
3 com.adobe.adobeswfl 0x19c371af APXGetHostAPI + 2599055
4 com.adobe.adobeswfl 0x199d0b0f APXGetHostAPI + 82415
5 com.adobe.adobeswfl 0x19c3729c APXGetHostAPI + 2599292
6 com.adobe.adobeswfl 0x19c37307 APXGetHostAPI + 2599399
7 com.adobe.adobeswfl 0x19c37426 APXGetHostAPI + 2599686
8 libsystem_c.dylib 0x9a639ed9 _pthread_start + 335
9 libsystem_c.dylib 0x9a63d6de thread_start + 34
Thread 15:
0 libsystem_kernel.dylib 0x9367183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9a63de78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x9a5e582a pthread_cond_wait + 48
3 com.adobe.adobeswfl 0x19c371af APXGetHostAPI + 2599055
4 com.adobe.adobeswfl 0x199d0b0f APXGetHostAPI + 82415
5 com.adobe.adobeswfl 0x19c3729c APXGetHostAPI + 2599292
6 com.adobe.adobeswfl 0x19c37307 APXGetHostAPI + 2599399
7 com.adobe.adobeswfl 0x19c37426 APXGetHostAPI + 2599686
8 libsystem_c.dylib 0x9a639ed9 _pthread_start + 335
9 libsystem_c.dylib 0x9a63d6de thread_start + 34
Thread 16:
0 libsystem_kernel.dylib 0x9367183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9a63de78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x9a5e582a pthread_cond_wait + 48
3 com.adobe.adobeswfl 0x19c371af APXGetHostAPI + 2599055
4 com.adobe.adobeswfl 0x199d0b0f APXGetHostAPI + 82415
5 com.adobe.adobeswfl 0x19c3729c APXGetHostAPI + 2599292
6 com.adobe.adobeswfl 0x19c37307 APXGetHostAPI + 2599399
7 com.adobe.adobeswfl 0x19c37426 APXGetHostAPI + 2599686
8 libsystem_c.dylib 0x9a639ed9 _pthread_start + 335
9 libsystem_c.dylib 0x9a63d6de thread_start + 34
Thread 17:
0 libsystem_kernel.dylib 0x9367183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9a63de78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x9a5e582a pthread_cond_wait + 48
3 com.adobe.adobeswfl 0x19c371af APXGetHostAPI + 2599055
4 com.adobe.adobeswfl 0x199d0b0f APXGetHostAPI + 82415
5 com.adobe.adobeswfl 0x19c3729c APXGetHostAPI + 2599292
6 com.adobe.adobeswfl 0x19c37307 APXGetHostAPI + 2599399
7 com.adobe.adobeswfl 0x19c37426 APXGetHostAPI + 2599686
8 libsystem_c.dylib 0x9a639ed9 _pthread_start + 335
9 libsystem_c.dylib 0x9a63d6de thread_start + 34
Thread 18:
0 libsystem_kernel.dylib 0x93671bb2 __semwait_signal + 10
1 libsystem_c.dylib 0x9a5ee7b9 nanosleep$UNIX2003 + 187
2 com.adobe.illustrator.plugins.Scripting Support 0x1040383b PluginMain + 447467
3 com.adobe.illustrator.plugins.Scripting Support 0x103e5a13 PluginMain + 325059
4 com.adobe.illustrator.plugins.Scripting Support 0x10403948 PluginMain + 447736
5 libsystem_c.dylib 0x9a639ed9 _pthread_start + 335
6 libsystem_c.dylib 0x9a63d6de thread_start + 34
Thread 19:
0 libsystem_kernel.dylib 0x93671a9a __recvfrom + 10
1 libsystem_c.dylib 0x9a5ee4a2 recv$UNIX2003 + 54
2 ServiceManager-Launcher.dylib 0x0ec136cf Invoke + 54887
3 ServiceManager-Launcher.dylib 0x0ec1276e Invoke + 50950
4 ServiceManager-Launcher.dylib 0x0ec1161f Invoke + 46519
5 ServiceManager-Launcher.dylib 0x0ec11671 Invoke + 46601
6 ServiceManager-Launcher.dylib 0x0ec116fb Invoke + 46739
7 ServiceManager-Launcher.dylib 0x0ec0bafe Invoke + 23190
8 ServiceManager-Launcher.dylib 0x0ec0bce7 Invoke + 23679
9 ServiceManager-Launcher.dylib 0x0ec0c8c7 Invoke + 26719
10 ServiceManager-Launcher.dylib 0x0ec0c9c5 Invoke + 26973
11 ServiceManager-Launcher.dylib 0x0ec0fdb0 Invoke + 40264
12 ServiceManager-Launcher.dylib 0x0ec10059 Invoke + 40945
13 ServiceManager-Launcher.dylib 0x0ec10687 Invoke + 42527
14 ServiceManager-Launcher.dylib 0x0ec10884 Invoke + 43036
15 ServiceManager-Launcher.dylib 0x0ec02826 Login + 1654
16 ServiceManager-Launcher.dylib 0x0ec03c71 Login + 6849
17 ServiceManager-Launcher.dylib 0x0ec10df3 Invoke + 44427
18 ServiceManager-Launcher.dylib 0x0ec13341 Invoke + 53977
19 libsystem_c.dylib 0x9a639ed9 _pthread_start + 335
20 libsystem_c.dylib 0x9a63d6de thread_start + 34
Thread 20:
0 libsystem_kernel.dylib 0x9367183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9a63de78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x9a63df7b pthread_cond_timedwait_relative_np + 47
3 com.adobe.adobeswfl 0x19c37177 APXGetHostAPI + 2598999
4 com.adobe.adobeswfl 0x19c520ee APXGetHostAPI + 2709454
5 com.adobe.adobeswfl 0x19c3729c APXGetHostAPI + 2599292
6 com.adobe.adobeswfl 0x19c37307 APXGetHostAPI + 2599399
7 com.adobe.adobeswfl 0x19c37426 APXGetHostAPI + 2599686
8 libsystem_c.dylib 0x9a639ed9 _pthread_start + 335
9 libsystem_c.dylib 0x9a63d6de thread_start + 34
Thread 21:
0 libsystem_kernel.dylib 0x9367183e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9a63de78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x9a63df7b pthread_cond_timedwait_relative_np + 47
3 com.adobe.adobeswfl 0x19c37177 APXGetHostAPI + 2598999
4 com.adobe.adobeswfl 0x19dae4b8 APXGetHostAPI + 4135832
5 com.adobe.adobeswfl 0x19c3729c APXGetHostAPI + 2599292
6 com.adobe.adobeswfl 0x19c37307 APXGetHostAPI + 2599399
7 com.adobe.adobeswfl 0x19c37426 APXGetHostAPI + 2599686
8 libsystem_c.dylib 0x9a639ed9 _pthread_start + 335
9 libsystem_c.dylib 0x9a63d6de thread_start + 34
Thread 22:: Dispatch queue: com.apple.root.low-overcommit-priority
0 cl_kernels 0x148fdebe _target_.program_wrapper + 990
Thread 23:: Dispatch queue: com.apple.root.low-overcommit-priority
0 cl_kernels 0x148fdebe _target_.program_wrapper + 990
Thread 24:: Dispatch queue: com.apple.root.low-overcommit-priority
0 cl_kernels 0x148fdebe _target_.program_wrapper + 990
Thread 25 Crashed:: Dispatch queue: com.apple.root.low-overcommit-priority
0 cl_kernels 0x148fdebe _target_.program_wrapper + 990
Thread 26:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x93671b42 __select + 10
1 com.apple.CoreFoundation 0x9031ae15 __CFSocketManager + 1557
2 libsystem_c.dylib 0x9a639ed9 _pthread_start + 335
3 libsystem_c.dylib 0x9a63d6de thread_start + 34
Thread 27:
0 libsystem_kernel.dylib 0x9367202e __workq_kernreturn + 10
1 libsystem_c.dylib 0x9a63bccf _pthread_wqthread + 773
2 libsystem_c.dylib 0x9a63d6fe start_wqthread + 30
Thread 25 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x00000011 ecx: 0xb0dce1d0 edx: 0xb0dcd7d0
edi: 0x00000004 esi: 0x148fdaef ebp: 0x0abdfe60 esp: 0xb0dcd200
ss: 0x00000023 efl: 0x00010286 eip: 0x148fdebe cs: 0x0000001b
ds: 0x00000023 es: 0x00000023 fs: 0x00000023 gs: 0x0000000f
cr2: 0xffffffa4
Logical CPU: 1
Binary Images:
0x1000 - 0xff7ff6 +com.adobe.illustrator (399 - 15.0.0) <E4A81060-96D8-01B9-093D-04CBB8C0459B> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/MacOS/Adobe Illustrator
0x12d9000 - 0x13a6fe7 +AdobeAXEDOMCore (??? - ???) <F76D74DC-FD5A-9783-C447-2E58773DA7E1> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AdobeAXEDOMCore.framework/Versions/A/AdobeAXEDOMCore
0x1415000 - 0x1425fff com.apple.carbonframeworktemplate (1.0 - 1.0) <5E8425F4-3852-F874-5091-CA17727F863C> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/Alcid.framework/Versions/A/Alcid
0x142a000 - 0x1445ff9 +AdobePDFSettings (??? - ???) /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AdobePDFSettings.framework/Versions/A/AdobePDFSetting s
0x145f000 - 0x14a3fff +com.adobe.illustrator.aiport (AIPort version 1.0 - 1.0) <D16914DF-84AF-46F5-DBE7-4E69FDF57C2B> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AIPort.framework/Versions/A/AIPort
0x1506000 - 0x1506fff +SPBasic (??? - ???) <9025F209-C255-BA15-EE86-BCF54706917D> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/SPBasic.framework/Versions/A/SPBasic
0x150a000 - 0x1510ffb +com.adobe.coretech.adobesplashkit (AdobeSplashKit version 1.0 - 1.0) <5B4C881B-6885-96F2-BD05-BE9C44A7546C> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AdobeSplashKit.framework/Versions/A/AdobeSplashKit
0x1518000 - 0x162cfff +AdobeACE (??? - ???) <DD291A17-ECF4-FE20-5837-AC1F5BC76940> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AdobeACE.framework/Versions/A/AdobeACE
0x164f000 - 0x1b75fff +AdobeAGM (??? - ???) <BD6EEC99-2691-BD5F-5888-2436562E5227> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AdobeAGM.framework/Versions/A/AdobeAGM
0x1cb6000 - 0x1cf2fff +AdobeARE (??? - ???) <EFF04636-11C5-BFF0-6DC4-0E4909802EEA> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AdobeARE.framework/Versions/A/AdobeARE
0x1cfb000 - 0x1d21ff6 +AdobeAXE8SharedExpat (??? - ???) <5848BBCE-3A3E-66EE-5527-97A96F0CA4CC> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AdobeAXE8SharedExpat.framework/Versions/A/AdobeAXE8Sh aredExpat
0x1d32000 - 0x1d4dfff +AdobeBIB (??? - ???) <6E3DC6A9-066C-B736-6465-7F91D18860FB> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AdobeBIB.framework/Versions/A/AdobeBIB
0x1d57000 - 0x1d78ff7 +AdobeBIBUtils (??? - ???) <0405CA59-8136-7A32-CCDE-D5289F02B4EC> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AdobeBibUtils.framework/Versions/A/AdobeBIBUtils
0x1d84000 - 0x2076ff7 +AdobeCoolType (??? - ???) <AEC9EB8F-2122-1708-3207-2A8BE3308FFA> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AdobeCoolType.framework/Versions/A/AdobeCoolType
0x20fe000 - 0x2196fff +com.adobe.AdobeExtendScript (ExtendScript 4.1.23 - 4.1.23.7573) <F68E96A7-E657-7275-09DF-4C412554CD4A> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AdobeExtendScript.framework/Versions/A/AdobeExtendScr ipt
0x21f5000 - 0x22d8fef +AdobePDFPort (??? - ???) <A3B34989-24B0-04AF-D9BC-2B2718803809> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AdobePDFPort.framework/Versions/A/AdobePDFPort
0x230d000 - 0x2941feb +AdobePDFL (??? - ???) <1A619F3E-A9D4-A99C-791E-92B564F64609> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AdobePDFL.framework/Versions/A/AdobePDFL
0x2a6d000 - 0x2afaff7 +com.adobe.AdobeScCore (ScCore 4.1.23 - 4.1.23.7573) <6A15402A-09B2-B1F8-5ECC-D7871EC054C3> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AdobeScCore.framework/Versions/A/AdobeScCore
0x2b3f000 - 0x2bdffef +AdobeSVGExport (??? - ???) <9B8AE7D4-C7C8-B594-9E31-BEDC07A98A56> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AdobeSVGExport.framework/Versions/A/AdobeSVGExport
0x2c09000 - 0x2ea7ff2 +AdobeSVGRE (??? - ???) <95F2CE86-4B2D-C3DE-A783-8E0A0B24F74C> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AdobeSVGRE.framework/Versions/A/AdobeSVGRE
0x2f80000 - 0x2fd8ff7 +AdobeXMP (??? - ???) <73329999-C364-2451-6574-4D0277057D19> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AdobeXMP.framework/Versions/A/AdobeXMP
0x2fe7000 - 0x3073fef +AdobeXMPFiles (??? - ???) <A72BD678-CAD0-0C2A-0989-11E87B154AB5> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AdobeXMPFiles.framework/Versions/A/AdobeXMPFiles
0x30aa000 - 0x3177ff3 +libicui18n.dylib.36.0 (36.0.0 - compatibility 36.0.0) <08F15219-7F35-574E-7725-1ACAA1B18A00> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/ICUInternationalization.framework/Versions/3.6/libicu i18n.dylib.36.0
0x31da000 - 0x32b4fef +libicuuc.dylib.36.0 (36.0.0 - compatibility 36.0.0) <5EE72009-40B3-7FB7-3A49-576AEDE0D400> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/ICUUnicode.framework/Versions/3.6/libicuuc.dylib.36.0
0x32f4000 - 0x3ca4fff +libicudata.dylib.36.0 (36.0.0 - compatibility 36.0.0) <02108DEA-3DD2-14BE-DAEB-BE522B619C1D> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/ICUData.framework/Versions/3.6/libicudata.dylib.36.0
0x3ca7000 - 0x407fff7 +AdobeMPS (??? - ???) <272DAEDE-FC7E-B412-7C97-CF47FF6BF242> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AdobeMPS.framework/Versions/A/AdobeMPS
0x41ae000 - 0x4214ffb +com.adobe.amtlib (amtlib 3.0.0.64 - 3.0.0.64) <DD471011-9120-1BC2-F1B5-D6FF09D0859F> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/amtlib.framework/Versions/A/amtlib
0x4244000 - 0x42d5ff7 +libicucnv.dylib.36.0 (36.0.0 - compatibility 36.0.0) <581475CC-C039-1B42-49BA-71811D8B4E15> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/ICUConverter.framework/Versions/3.6/libicucnv.dylib.3 6.0
0x42f4000 - 0x44daff7 +com.adobe.linguistic.LinguisticManager (5.0.0 - 11696) <AF804353-8B13-7180-F2C8-832361EB2D5A> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AdobeLinguistic.framework/Versions/3/AdobeLinguistic
0x4568000 - 0x45cffea +com.adobe.amt.services (AMTServices 3.0.0.64 [BuildVersion: 3.0; BuildDate: Mon Jan 26 2010 21:49:00] - 3.0.0.64) <EE468E2C-A6BD-E2EE-7ABE-69168B143B44> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/amtservices.framework/Versions/A/amtservices
0x460e000 - 0x468bfff +AdobeOwlCanvas (??? - ???) <6718BCAA-AAF5-07C2-B2F5-D7CD3BF5B924> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AdobeOwlCanvas.framework/Versions/A/AdobeOwlCanvas
0x46a7000 - 0x47dffe7 +WRServices (??? - ???) <87183F9D-17F4-6BDC-66A9-8FD34F320118> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/WRServices.framework/Versions/A/WRServices
0x4821000 - 0x4825ffc +com.adobe.AdobeCrashReporter (3.0 - 3.0.20100302) <E6437929-0E69-8A56-E69F-F64305E82DD9> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AdobeCrashReporter.framework/Versions/A/AdobeCrashRep orter
0x482c000 - 0x487fffb +com.adobe.headlights.LogSessionFramework (??? - 2.0.1.011) <4F2BFF03-01D2-A07D-E5E2-7F88D4C2DEC4> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/LogSession.framework/Versions/A/LogSession
0x48c7000 - 0x48d9fff +com.adobe.pip (??? - 5.0.0.2021) <5251926B-C2C0-282C-B3A9-94A9FEF0FCB8> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AdobePIP.framework/Versions/A/AdobePIP
0x48e2000 - 0x5625fff +com.adobe.psl (AdobePSL 12.0.0.7524 - 12.0.0.7524) <CFBCB19A-03F7-D095-1F48-8D68F05A25C5> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AdobePSL.framework/Versions/A/AdobePSL
0x5964000 - 0x5ae1fef +com.adobe.dvacore.framework (dvacore version 5.0.0 - 5.0.0.0) <565B8F4B-EFEA-D847-91FE-17B8ED169DF2> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/dvacore.framework/Versions/A/dvacore
0x5c5c000 - 0x5f4cfef +com.adobe.dvaui.framework (dvaui version 5.0.0 - 5.0.0.0) <7E7F77B3-0CB3-8885-915E-EDACEE27500E> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/dvaui.framework/Versions/A/dvaui
0x6274000 - 0x65baff3 +com.adobe.dvaadameve.framework (dvaadameve version 5.0.0 - 5.0.0.0) <0E97C356-CEE3-9CA3-3C90-8196F560164E> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/dvaadameve.framework/Versions/A/dvaadameve
0x6ac9000 - 0x6adbfef +com.adobe.dvaai.framework (dvaai version 5.0.0 - 5.0.0.0) <2D9772CA-D866-6A7F-CF74-FD7F485350B2> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/dvaai.framework/Versions/A/dvaai
0x6aec000 - 0x6af2fef +com.adobe.boost_date_time.framework (boost_date_time version 5.0.0 - 5.0.0.0) <FB5A16A5-D6E7-71B7-78A8-A174A64EF477> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/boost_date_time.framework/Versions/A/boost_date_time
0x6b03000 - 0x6b0eff3 +com.adobe.boost_filesystem.framework (boost_filesystem version 5.0.0 - 5.0.0.0) <604EA207-EEF2-AC6E-A8B1-26737E5AB0A7> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/boost_filesystem.framework/Versions/A/boost_filesyste m
0x6b22000 - 0x6ba0fe2 +com.adobe.boost_regex.framework (boost_regex version 5.0.0 - 5.0.0.0) <F95BC864-6CFC-EAF4-A6DF-27608A5DD30E> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/boost_regex.framework/Versions/A/boost_regex
0x6c04000 - 0x6c0efff +com.adobe.boost_signals.framework (boost_signals version 5.0.0 - 5.0.0.0) <08C988D8-10F3-66EF-AE15-B086AD240942> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/boost_signals.framework/Versions/A/boost_signals
0x6c21000 - 0x6c23ffb +com.adobe.boost_system.framework (boost_system version 5.0.0 - 5.0.0.0) <7ACBC8B3-0BEA-7B7B-04FF-95C6A93E3E7E> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/boost_system.framework/Versions/A/boost_system
0x6c2a000 - 0x6c31ff2 +com.adobe.boost_threads.framework (boost_threads version 5.0.0 - 5.0.0.0) <4942ACFF-5944-0F7F-8481-49CAF902D15F> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/boost_threads.framework/Versions/A/boost_threads
0x6c41000 - 0x6c9ffe2 +com.adobe.boost_serialization.framework (boost_serialization version 5.0.0 - 5.0.0.0) <FBAA7D86-4F90-3337-4657-022BA313C894> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/boost_serialization.framework/Versions/A/boost_serial ization
0x6d76000 - 0x6f15fe7 +com.adobe.owl (AdobeOwl version 3.0.89 - 3.0.89) <04CA525C-D4E0-DE62-BF07-D9EF6386AA58> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AdobeOwl.framework/Versions/A/AdobeOwl
0x6f7e000 - 0x6febfef +FileInfo (??? - ???) <4A4C74F9-CA83-B174-F56D-F7671DC61389> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/FileInfo.framework/Versions/A/FileInfo
0x7006000 - 0x70b3ff7 libcrypto.0.9.7.dylib (0.9.7 - compatibility 0.9.7) <7B6DB792-C9E5-3772-8734-8D0052757B8C> /usr/lib/libcrypto.0.9.7.dylib
0x70f8000 - 0x7135fff com.apple.vmutils (4.2.1 - 107) <43B3BFA5-8362-3EBD-B44B-32DCE9885082> /System/Library/PrivateFrameworks/vmutils.framework/Versions/A/vmutils
0x714f000 - 0x7152ff8 +com.adobe.ape.shim (adbeape version 3.1.65.7508 - 3.1.65.7508) <FFDDAB7A-220F-7344-F12B-010CA0C41DAB> /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/AI have
U and reinstalled AICS5
Trashed Preferences
Fixed permissions
Trashed com.adobe.illustrator.plist
STILL I cannot get AICS5 to open or save a file. I can create a new document, but any "save" or "open" command results in an immediate crash.
It all started when I installed Astute Graphics: VectorScribe2 Trial. I immediately deleted it. Astute has acknowledged my requests for for assistance, but have not yet offered any solution.
I would appreciate any other suggestions from my friends on this forum. -
Help Getting Simple ODCI program to work.
Hello. I am trying to understand a pipelined table function / cartridge example given in the oracle docs:
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14289/dcitblfnxemp.htm#sthref859
But, I can't seem to get my example to work. I basically made some modifications so that the pipelined table will read from a function, the values of Books. I never get to the point where it can actually do a read. The code is below, but let me explain what I see.
Here's what appears to be my problem: the value of self in ODCITableStart is different than thevalue of self passed to ODCITableFetch. I don't know if that could be the problem, but is this normal?
So what happens is in ODCITableStart, a key is generated. And I can see the value being 1. This is assigned to self->key.
Later, in ODCITableFetch, we try to get the key back. We call GetStoredCtx(), which tries to retrieve the key from self->key. This should be a pointer, but what gets returned iis a null value. Then, ofcourse, the whole thing fails.
Anyways, what am I doing wrong here?
thanks.
book.sql
-- Create the types for the table function's output collection
-- and collection elements
CREATE OR REPLACE TYPE BookType AS OBJECT
lastname VARCHAR(30),
firstname VARCHAR(30),
title VARCHAR(30)
CREATE OR REPLACE TYPE BookTypeSet AS TABLE OF BookType;
-- Create the external library object
CREATE OR REPLACE LIBRARY BookLib IS '/home/me/playcode/book.so';
-- Create the implementation type
CREATE OR REPLACE TYPE BookImpl AS OBJECT
key RAW(4),
STATIC FUNCTION ODCITableStart(sctx IN OUT BookImpl, filename in varchar2)
RETURN PLS_INTEGER
AS LANGUAGE C
LIBRARY BookLib
NAME "ODCITableStart"
WITH CONTEXT
PARAMETERS (
context,
sctx,
sctx INDICATOR STRUCT,
filename,
RETURN INT
MEMBER FUNCTION ODCITableFetch(self IN OUT BookImpl, nrows IN NUMBER,
outSet OUT BookTypeSet) RETURN PLS_INTEGER
AS LANGUAGE C
LIBRARY BookLib
NAME "ODCITableFetch"
WITH CONTEXT
PARAMETERS (
context,
self,
self INDICATOR STRUCT,
nrows,
outSet,
outSet INDICATOR,
RETURN INT
MEMBER FUNCTION ODCITableClose(self IN BookImpl) RETURN PLS_INTEGER
AS LANGUAGE C
LIBRARY BookLib
NAME "ODCITableClose"
WITH CONTEXT
PARAMETERS (
context,
self,
self INDICATOR STRUCT,
RETURN INT
-- Create table function
CREATE OR REPLACE FUNCTION BookFunc( lastname in varchar2) RETURN BookTypeSet
PIPELINED USING BookImpl;
-- Cleanup
drop type BookImpl;
drop function BookFunc;
drop type BookTypeSet;
drop type BookType;
book.c:
#include <assert.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <signal.h>
#include <errno.h>
#include <time.h>
#ifndef OCI_ORACLE
# include <oci.h>
#endif
#ifndef ODCI_ORACLE
# include <odci.h>
#endif
PRIVATE TYPES AND CONSTANTS
/* The struct holding the user's stored context */
struct StoredCtx
OCIStmt* stmthp;
FILE *fio;
char filename[50];
typedef struct StoredCtx StoredCtx;
/* OCI Handles */
struct Handles_t
OCIExtProcContext* extProcCtx;
OCIEnv* envhp;
OCISvcCtx* svchp;
OCIError* errhp;
OCISession* usrhp;
typedef struct Handles_t Handles_t;
/********************** SQL Types C representation **********************/
/* Table function's implementation type */
struct BookImpl
//short _atomic;
OCIRaw *key;
char *filename;
typedef struct BookImpl BookImpl;
struct BookImpl_ind
//short atomic;
short key;
short filename;
typedef struct BookImpl_ind BookImpl_ind;
/* Table function's output collection element type */
struct BookType
OCIString* lastname;
OCIString* firstname;
OCIString* title;
typedef struct BookType BookType;
struct BookType_ind
//short _atomic;
short lastname;
short firstname;
short title;
typedef struct BookType_ind BookType_ind;
/* Table function's output collection type */
typedef OCITable BookTypeSet;
/* Static Functions */
static int GetHandles(OCIExtProcContext* extProcCtx, Handles_t* handles);
static StoredCtx* GetStoredCtx(Handles_t* handles, BookImpl* self,
BookImpl_ind* self_ind);
static int checkerr(Handles_t* handles, sword status);
/* Functions definitions */
/* Callout for ODCITableStart */
int ODCITableStart(OCIExtProcContext* extProcCtx, BookImpl* self,
BookImpl_ind* self_ind, char *filename)
Handles_t handles; /* OCI hanldes */
StoredCtx* storedCtx; /* Stored context pointer */
ub4 key; /* key to retrieve stored context */
/* Get OCI handles */
if (GetHandles(extProcCtx, &handles))
return ODCI_ERROR;
/* Allocate memory to hold the stored context */
if (checkerr(&handles, OCIMemoryAlloc((dvoid*) handles.usrhp, handles.errhp,
(dvoid**) &storedCtx,
OCI_DURATION_STATEMENT,
(ub4) sizeof(StoredCtx),
OCI_MEMORY_CLEARED)))
return ODCI_ERROR;
/* store the input ref cursor in the stored context */
//storedCtx->stmthp=*cur;
strcpy( storedCtx->filename, filename);
storedCtx->fio = fopen( storedCtx->filename, "r");
/* generate a key */
if (checkerr(&handles, OCIContextGenerateKey((dvoid*) handles.usrhp,
handles.errhp, &key)))
return ODCI_ERROR;
/* associate the key value with the stored context address */
if (checkerr(&handles, OCIContextSetValue((dvoid*)handles.usrhp,
handles.errhp,
OCI_DURATION_STATEMENT,
(ub1*) &key, (ub1) sizeof(key),
(dvoid*) storedCtx)))
return ODCI_ERROR;
/* stored the key in the scan context */
if (checkerr(&handles, OCIRawAssignBytes(handles.envhp, handles.errhp,
(ub1*) &key, (ub4) sizeof(key),
&(self->key))))
return ODCI_ERROR;
/* set indicators of the scan context */
// self_ind->atomic = OCIIND_NOTNULL;
self_ind->key = OCI_IND_NOTNULL;
// For debugging
ub4 keylen; /* length of key */
keylen = OCIRawSize(handles.envhp, self->key);
return ODCI_SUCCESS;
/* Callout for ODCITableFetch */
int ODCITableFetch(OCIExtProcContext* extProcCtx, BookImpl* self,
BookImpl_ind* self_ind, OCINumber* nrows,
BookTypeSet** outSet, short* outSet_ind)
Handles_t handles; /* OCI hanldes */
StoredCtx* storedCtx; /* Stored context pointer */
int nrowsval; /* number of rows to return */
char readbuffer[1024];
char *fval = NULL;
/* Get OCI handles */
if (GetHandles(extProcCtx, &handles))
return ODCI_ERROR;
/* Get the stored context */
storedCtx=GetStoredCtx(&handles,self,self_ind);
if (!storedCtx) return ODCI_ERROR;
/* get value of nrows */
if (checkerr(&handles, OCINumberToInt(handles.errhp, nrows, sizeof(nrowsval),
OCI_NUMBER_SIGNED, (dvoid *)&nrowsval)))
return ODCI_ERROR;
/* return up to 10 rows at a time */
if (nrowsval>10) nrowsval=10;
/* Initially set the output to null */
*outSet_ind=OCI_IND_NULL;
while (nrowsval>0)
BookType elem; /* current collection element */
BookType_ind elem_ind; /* current element indicator */
#if 0
OCIDefine* defnp1=(OCIDefine*)0; /* define handle */
OCIDefine* defnp2=(OCIDefine*)0; /* define handle */
OCIDefine* defnp3=(OCIDefine*)0; /* define handle */
#endif
char lastname[30];
char firstname[30];
char title[30];
#if 0
char ticker[5];
float openprice;
float closeprice;
char PriceType[2];
/* Define the fetch buffer for ticker symbol */
if (checkerr(&handles, OCIDefineByPos(storedCtx->stmthp, &defnp1,
handles.errhp, (ub4) 1,
(dvoid*) &lastname,
(sb4) sizeof(lastname),
SQLT_STR, (dvoid*) 0, (ub2*) 0,
(ub2*) 0, (ub4) OCI_DEFAULT)))
return ODCI_ERROR;
if (checkerr(&handles, OCIDefineByPos(storedCtx->stmthp, &defnp1,
handles.errhp, (ub4) 1,
(dvoid*) &firstname,
(sb4) sizeof(firstname),
SQLT_STR, (dvoid*) 0, (ub2*) 0,
(ub2*) 0, (ub4) OCI_DEFAULT)))
return ODCI_ERROR;
if (checkerr(&handles, OCIDefineByPos(storedCtx->stmthp, &defnp1,
handles.errhp, (ub4) 1,
(dvoid*) &title,
(sb4) sizeof(title),
SQLT_STR, (dvoid*) 0, (ub2*) 0,
(ub2*) 0, (ub4) OCI_DEFAULT)))
return ODCI_ERROR;
/* fetch a row from the input ref cursor */
status = OCIStmtFetch(storedCtx->stmthp, handles.errhp, (ub4) 1,
(ub4) OCI_FETCH_NEXT, (ub4) OCI_DEFAULT);
/* finished if no more data */
if (status!=OCI_SUCCESS && status!=OCI_SUCCESS_WITH_INFO) break;
#endif
/* Initialize the element indicator struct */
// elem_ind._atomic=OCI_IND_NOTNULL;
elem_ind.lastname=OCI_IND_NOTNULL;
elem_ind.firstname=OCI_IND_NOTNULL;
elem_ind.title=OCI_IND_NOTNULL;
// Read from file.
char field1,field2,*field3;
char comma1, comma2;
fval = fgets( readbuffer, sizeof( readbuffer), storedCtx->fio);
if( fval == NULL)
break;
readbuffer[strlen(readbuffer)] = '\0'; // Chop newline.
comma1 = strchr( readbuffer, ',');
comma2 = strchr( comma1+1, ',');
*comma1 = '\0';
*comma2 = '\0';
strcpy( lastname, readbuffer);
strcpy( firstname, comma1+1);
strcpy( title, comma2+1);
#if 0
field1 = readbuffer;
field2 = strchr(field1+1, ',')+1; // +1 to move past the ','
field3 = strchr(field2+1, ',')+1;
memset( lastname, 0, sizeof(lastname));
memset( firstname, 0, sizeof( firstname));
memset( title, 0, sizeof(title));
strncpy( lastname , field1, field2 - field1 - 1);
strncpy( firstname, field2, field3 - field2 - 1);
strncpy( title, field3, strlen(readbuffer) - field2 - 1);
#endif
} // Reading from file.
/* assign the ticker name */
elem.lastname=NULL;
if (checkerr(&handles, OCIStringAssignText(handles.envhp, handles.errhp,
(text*) lastname,
(ub2) strlen(lastname),
&elem.lastname)))
return ODCI_ERROR;
/* assign the ticker name */
elem.firstname=NULL;
if (checkerr(&handles, OCIStringAssignText(handles.envhp, handles.errhp,
(text*) firstname,
(ub2) strlen(firstname),
&elem.firstname)))
return ODCI_ERROR;
/* assign the ticker name */
elem.title=NULL;
if (checkerr(&handles, OCIStringAssignText(handles.envhp, handles.errhp,
(text*) title,
(ub2) strlen(title),
&elem.title)))
return ODCI_ERROR;
#if 0
/* assign the price */
if (checkerr(&handles, OCINumberFromReal(handles.errhp, &openprice,
sizeof(openprice), &elem.price)))
return ODCI_ERROR;
#endif
/* append element to output collection */
if (checkerr(&handles, OCICollAppend(handles.envhp, handles.errhp,
&elem, &elem_ind, *outSet)))
return ODCI_ERROR;
/* set collection indicator to not null */
*outSet_ind=OCI_IND_NOTNULL;
nrowsval-=1;
return ODCI_SUCCESS;
/* Callout for ODCITableClose */
int ODCITableClose(OCIExtProcContext* extProcCtx, BookImpl* self,
BookImpl_ind* self_ind)
Handles_t handles; /* OCI hanldes */
StoredCtx* storedCtx; /* Stored context pointer */
/* Get OCI handles */
if (GetHandles(extProcCtx, &handles))
return ODCI_ERROR;
/* Get the stored context */
storedCtx=GetStoredCtx(&handles,self,self_ind);
if (!storedCtx) return ODCI_ERROR;
fclose( storedCtx->fio);
/* Free the memory for the stored context */
if (checkerr(&handles, OCIMemoryFree((dvoid*) handles.usrhp, handles.errhp,
(dvoid*) storedCtx)))
return ODCI_ERROR;
return ODCI_SUCCESS;
/* Get the stored context using the key in the scan context */
static StoredCtx* GetStoredCtx(Handles_t* handles, BookImpl* self,
BookImpl_ind* self_ind)
StoredCtx storedCtx; / Stored context pointer */
ub1 key; / key to retrieve context */
ub4 keylen; /* length of key */
/* return NULL if the PL/SQL context is NULL */
// if (self_ind->atomic == OCIIND_NULL) return NULL;
/* Get the key */
key = OCIRawPtr(handles->envhp, self->key);
keylen = OCIRawSize(handles->envhp, self->key);
/* Retrieve stored context using the key */
if (checkerr(handles, OCIContextGetValue((dvoid*) handles->usrhp,
handles->errhp,
key, (ub1) keylen,
(dvoid**) &storedCtx)))
return NULL;
return storedCtx;
/* Get OCI handles using the ext-proc context */
static int GetHandles(OCIExtProcContext* extProcCtx, Handles_t* handles)
/* store the ext-proc context in the handles struct */
handles->extProcCtx=extProcCtx;
/* Get OCI handles */
if (checkerr(handles, OCIExtProcGetEnv(extProcCtx, &handles->envhp,
&handles->svchp, &handles->errhp)))
return -1;
/* get the user handle */
if (checkerr(handles, OCIAttrGet((dvoid*)handles->svchp,
(ub4)OCI_HTYPE_SVCCTX,
(dvoid*)&handles->usrhp,
(ub4*) 0, (ub4)OCI_ATTR_SESSION,
handles->errhp)))
return -1;
return 0;
/* Check the error status and throw exception if necessary */
static int checkerr(Handles_t* handles, sword status)
text errbuf[512]; /* error message buffer */
sb4 errcode; /* OCI error code */
switch (status)
case OCI_SUCCESS:
case OCI_SUCCESS_WITH_INFO:
return 0;
case OCI_ERROR:
OCIErrorGet ((dvoid*) handles->errhp, (ub4) 1, (text *) NULL, &errcode,
errbuf, (ub4) sizeof(errbuf), (ub4) OCI_HTYPE_ERROR);
sprintf((char*)errbuf, "OCI ERROR code %d",errcode);
break;
default:
sprintf((char*)errbuf, "Warning - error status %d",status);
break;
OCIExtProcRaiseExcpWithMsg(handles->extProcCtx, 29400, errbuf,
strlen((char*)errbuf));
return -1;
}Thanks for perusing the code.
Here's what I have for a makefile. I had to change the prefix and install_sh paths to hide my name, and other private info. Also, there's a mycomp* references. This is another module that I have to play around with ODCI. You can take that out.
CC=gcc -pipe -m32
CXX=g++ -pipe -m32
svn_root=../../..
prefix=/home/me/stage
exec_prefix=${prefix}
install_sh=/home/me/install-sh
LIB=${exec_prefix}/lib
INC=-I${prefix}/include -I$(ORACLE_HOME)/rdbms/public
CFLAGS=-g -O0
override CFLAGS := -Wall -std=c99 -fno-strict-aliasing $(CFLAGS) $(INC)
all:
$(CC) $(CFLAGS) -c -fPIC book.c
$(CC) $(CFLAGS) -c -fPIC mycomp_exec.c
$(CC) $(CFLAGS) -shared -fPIC -o book.so book.o -L$(LIB)
$(CC) $(CFLAGS) -shared -fPIC -o mycomp_exec.so mycomp_exec.o -L$(LIB) -ldtpq
install: mycomp_exec.so
${install_sh} -d $(LIB)/ora
${install_sh} -t $(LIB)/ora book.so
${install_sh} -t $(LIB)/ora mycomp_exec.so
clean:
rm -rf book.o book.so
rm -rf mycomp_exec.o mycomp_exec.so
.PHONY: install all clean
Anyways, I think the problem is, I don't create the type in ODCITableStart. So, I think Oracle instantiates a BookImpl twice; once for the start function, and another for the fetch function.
What I think I will do is create an PL/SQL version ODCITableStart program that will instantiate a a BookImplType like so:
self := BookImpl( filename );
then calls the C function above which will be renamed to somethine like _TableStart.
thanks. -
I used following code ,still not getting actual value.
DATA : DTIME(50) TYPE C.
CALL FUNCTION 'FLTP_CHAR_CONVERSION_FROM_SI'
EXPORTING
CHAR_UNIT = 'FLTP'
UNIT_IS_OPTIONAL = ' '
DECIMALS = 15
EXPONENT = 0
FLTP_VALUE_SI = ITAB-AUSZT
INDICATOR_VALUE = ' '
MASC_SYMBOL = ' '
IMPORTING
CHAR_VALUE = ITAB-DTIME
EXCEPTIONS
NO_UNIT_GIVEN = 1
UNIT_NOT_FOUND = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.Hi Varun,
Refer to
fltp_char_conversion_from_si
Re: Convert Float to Char
hope it helps you.
Regards! -
Reading voltages into a USB6210 using CVI
I have had this board working ok until I connected it to some other equipment.
the first 3 inputs are connected to load cell amps and the fourth to measure the output of the test machine appling load to the load cells.
Its when I conect to this test machine the voltages go all over the place.
I have the inputs wired in differential mode.
I got into Test panels and selected differential then ran the program, then selected create a task so I could select four inputs and all the channels read ok.
So what I think I need is some way to configure my code to set the USB6210 to be in differential mode.
I have searched the NI examples and can not find an example.
this is the code I use to set up the USB6210
int32 error=0;
TaskHandle taskHandle=0;
char chan[256];
float64 min=-10.0,max=10.0,rate=10000;
uInt32 sampsPerChan=100;
int32 numRead,a;
uInt32 numChannels;
float64 *data=NULL;
int log;
char errBuff[2048]={'\0'};
uInt32 i;
float Floatnum;
char NumString[30];
// DAQmx Configure Code
DAQmxErrChk (DAQmxCreateTask("",&taskHandle));
DAQmxErrChk (DAQmxCreateAIVoltageChan(taskHandle,"Dev1/ai1,Dev1/ai2,Dev1/ai3,Dev1/ai4","",DAQmx_Val_Cfg_Default,min,max,DAQmx_Val_Volts,NULL));
DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandle,"",rate,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,sampsPerChan));
DAQmxErrChk (DAQmxGetTaskAttribute(taskHandle,DAQmx_Task_NumChans,&numChannels));
if( (data=malloc(sampsPerChan*numChannels*sizeof(float64)))==NULL )
MessagePopup("Error","Not enough memory");
goto Error;
// DAQmx Start Code
DAQmxErrChk (DAQmxStartTask(taskHandle));
Solved!
Go to Solution.You may have to use:
DAQmxSetChanAttribute (taskHandle, "", DAQmx_AI_TermCfg, DAQmx_Val_Diff, 0);
This will affect all channels in the task.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos?
Maybe you are looking for
-
I need to transfer all my old music library thats now on my ext h.d. to my new library on my new computor, can anyone help please.
-
Hi, Can anyone send me the flow or steps for EDI 824 transaction document.... Thanks, Priya
-
Can someone please tell me I can only see one album cover for all the albums on my player? How can I make it so that it shows the correct ones or just none at all?
-
Re: Tutorial: Using an EJB Project
I am a computer engineering student who is learning weblogic. I appreciate if anyone can help me with my question on Using an EJB Project This tutorial can be found in weblogic 8.1: go to workshop ->help->Tutorials and samples-> Using an EJB project
-
OSX Maverick and Adobe CS6 compatibilty
OSX Maverick and Adobe CS6 compatibilty Any issues to note?