InputStream / OutputStream Help

I have in a series 10 commands to be executed on a server. so i am using Buffered OutputStream and DataOutputStream to write those commands to server.
these commands have a set of protocol rule to be followed.
for example i am creating a byte array and i am appending those protocol rules to the byte array and then finally to the stream and then writing to the socket of the server.
everything works fine here.
After that i must read the messages from the server.
this is also fine but t�he problem is everytime i read different input for each command.
i dont know why!!!!
so my read function is as follows,
import java.net.*;
public class xxxxx
InputStream instream;
OutputStream outstream;
public void OpenConnection() throws ConnectException,UnknownHostException
try
     tcpipSocket = new Socket(tcpipparameters.getIpAddress(),tcpipparameters.getPortNumber());
catch(IOException exception)
     System.out.println(exception.toString());
try
     outstream = tcpipSocket.getOutputStream();
     instream = tcpipSocket.getInputStream();
     dos = new DataOutputStream(outstream);
     BufferedOutputStream bos= new BufferedOutputStream(dos);
     dis = new DataInputStream(instream);
     BufferedInputStream bis = new BufferedInputStream(dis);
////////// now i start the command execution on the server
///// The 1st Command --------------(The INIT Command)
     byte[] init = {0,6,0,2};
     init = createMessage.calculateCheckSum(init);
     int len = init.length;
     //dos.write(init,0,len);
     bos.write(init);
     bos.flush();
     int available;
     while((available = bis.available()) > 0)
          byte[] data = new byte[available];
          bis.read(data);
          for(int i = 0 ; i < data.length; i++)
               System.out.print(data);
////////////////// The 2nd Command -------------------(IDENTIFY)
byte[] identify = {0,16,0,20};
// The protocol version number is inserted in to the IDENTIFY byte[]array
int protocol_version_number = 512;
byte[] protocol = {(byte)(protocol_version_number/256) ,(byte)(protocol_version_number%256) };
byte[] temp = new byte[ identify.length +  protocol.length] ;
System.arraycopy( identify, 0, temp, 0, identify.length ) ;
System.arraycopy(protocol, 0, temp, identify.length, protocol.length ) ;
identify = temp ;
String PR_SName = "PRS2.0";
identify = createString.stringData(identify,PR_SName);
identify = createMessage.calculateCheckSum(identify);
len = identify.length;
bos.write(identify);
bos.flush();
int length1 = bis.available();
System.out.println("length of the BufferedInputStream = " + length1);
StringBuffer sb = new StringBuffer();
for (int i=1; i<=length1; i++)
     char reply = (char)bis.read();
     sb.append(reply);
System.out.println(sb.toString());
////////////////// The 3rd Command and So on................................
catch(IOException exception)
     System.err.println("message = " + exception.getMessage());
catch(InterruptedException e)
     System.err.println("Error =" + e);
finally
     try
          //flush and close both "Instream" and "Outstream"
          dos.close();
          dis.close();
          instream.close();
          outstream.close();
     catch (IOException ex)
          ex.printStackTrace();
every time the reading from the server is different.
but i want to have the exact number of bytes to read everytime.
so please correct me where i am wrong.
With regards,
Ashok
          public void CloseConnection()throws IOException
                    tcpipSocket.close();

I would say the answer is in my previous replies to your question. I suggest you have another read of them.

Similar Messages

  • Inputstream & outputstreams in network programming

    Hi
    I have been experimenting with inputstreams & outputstreams through sockets, and have been having some annoying problems.
    First off, is it possible to have multiple outputstream types going through the same socket, eg a printwriter to send strings, and an OutputStream to send bytes (files), so that first i can send the file name, then file size, using the writers println methods, then send a byte array via the OutputStreams write method. Do i need to do some clean up etc after each transmission through the socket.
    My client is set up to recieve two strings, then a byte array.
    Sometimes it works, sometimes it doesnt.
    I have even tried setting the buffer sizes of the sockets etc, but still to no success. I think the outputstreams are getting cluttered, but to be honest I dont know. Has anyone successfully and reliably done this type of thing before, if so can you help.
    Steve

    At least say flush() after having finihhed with one and before turning to the other.

  • InputStream/OutputStream ...

    Hello
    For my socket communications, I am thinking of using InputStream/OutputStream to read/write data. Just realized that InputStream and OutputStream are abstract classes. In particular, the read() and write () are abstract methods
    with no actual implementation.
    =================================
    public abstract int read() throws IOException
    Reads the next byte of data from the input stream. The value byte is returned as an int in the range 0 to 255. If no byte is available because the end of the stream has been reached, the value -1 is returned. This method blocks until input data is available, the end of the stream is detected, or an exception is thrown.
    A subclass must provide an implementation of this method.
    Returns:
    the next byte of data, or -1 if the end of the stream is reached.
    Throws:
    IOException - if an I/O error occurs.
    ============================================
    However, when I call these methodes, they actually work!
    What is going on here?
    What is your recommendation for socket I/O? should i stick with my InputStream/OutputStream, or I should use DataInputStream/DataOutputStream?
    Thanks for your help,
    Alex

    Hello
    For my socket communications, I am thinking of using
    InputStream/OutputStream to read/write data. Just
    realized that InputStream and OutputStream are
    abstract classes. In particular, the read() and write
    () are abstract methods
    with no actual implementation.
    =================================
    public abstract int read() throws IOException
    Reads the next byte of data from the input stream. The
    value byte is returned as an int in the range 0 to
    255. If no byte is available because the end of the
    stream has been reached, the value -1 is returned.
    This method blocks until input data is available, the
    end of the stream is detected, or an exception is
    thrown.
    A subclass must provide an implementation of this
    method.
    Returns:
    the next byte of data, or -1 if the end of the stream
    is reached.
    Throws:
    IOException - if an I/O error occurs.
    ============================================
    However, when I call these methodes, they actually
    work!
    What is going on here?There is nothing strange about that. The type of the object that Socket.getInputStream() returns is a subclass of class InputStream. Read a book about Java interfaces and abstract classes (or look it up in the tutorial: http://java.sun.com/docs/books/tutorial/java/index.html).
    What is your recommendation for socket I/O? should i
    stick with my InputStream/OutputStream, or I should
    use DataInputStream/DataOutputStream?That depends on what data you want to communicate over the socket. DataInputStream and DataOutputStream make it easy for you to send and receive Java primitive types over the socket. You can create a DataInputStream that wraps the input stream of your socket as follows:
    Socket s = ...;   // create the socket etc.
    InputStream sis = s.getInputStream();
    DataInputStream dis = new DataInputStream(sis);
    // ... now use dis to read dataJesper

  • InputStream - OutputStream: Reader - Writer

    What was not possible by InputStream & OutputStream that JAVA had to provide Reader and Writer. I have found out that if I use InputStream to read a Chinese HTML page, it reads it. I can create a copy of the same HTML page by using OutputStream, the data remaining un-affected. Then, why do I go for Reader and Writer?
    What happens if InputStream encounters some unicode charchters to be read? How does InputStream and OutputStream function internally?

    Well, you can go look at the source of InputStream/OutputStream.
    The reason we have Reader/Writer as well is because the streams don't deal with character encoding (or at least, they tried to and did it very badly). So you would normally use streams for dealing with binary data and reader/writer for dealing with character data. If you're using streams to copy a file and this file happens be be HTML with Chinese characters, this will work fine because you're just duplicating bytes. But if you try and use a stream to read this file into memory, you will have problems because it won't understand the Unicode characters in the file. In this case, you need to use a Reader and tell it what the character encoding of the file is.

  • InputStream & OutputStream Lockup

    Hi,
    I am using applet-servlet communication to get servlet to get the BLOB field from database and passing
    it through applet using InputStream and OutputStream. I am not getting any errors but it crashes when its
    reading the InputStream from Servlet and reading it to byte[] (s). Any help is always appreciated.
    Thanks in advance.
    Here is the code.
    /--------- SERVLET CODE-----------/
    public class getImage extends HttpServlet{
    Connection myCon;
    Statement myStmt;
    public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException{
    try{
    System.out.println("Inside the doGet");
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    System.out.println("after class.forname");
    Connection myCon = DriverManager.getConnection("jdbc:odbc:SCANODBC","SYSDBA","masterkey");
    System.out.println("after Connection myCon");
    Statement myStmt = myCon.createStatement();
    System.out.println("after Statement myStmt");
    myStmt.executeQuery("SELECT IMAGE FROM UNMATCH WHERE UINDEX=1");
    System.out.println("after myStmt.executeQuery");
    ResultSet rset = null;
    rset = myStmt.getResultSet();
    System.out.println("after rset= myStmt.getResultSet()");
    rset.next();
    int samir=0;
    InputStream stream = rset.getBinaryStream(1);
    res.setContentType("image/tiff");
    byte[] s = new byte[1];
    int lengthRead = 0;
    while((lengthRead = stream.read(s)) != -1){
    ++samir;
    System.out.println(samir);
    byte[] b = new byte[samir];
    while((lengthRead = stream.read(b)) != -1){
    res.getOutputStream().write(b);
    res.getOutputStream().flush();
    res.getOutputStream().close();
    catch(FileNotFoundException fnfe){
    System.out.println(fnfe);
    catch(IOException ioe){
    System.out.println(ioe);
    catch(ClassNotFoundException cnfe){
    System.out.println(cnfe);
    catch(SQLException se){
    System.out.println(se);
    /-----------AppletCode---------------/
    public class ImageApplet extends JApplet {
    private boolean isStandalone = false;
    private JPanel jPanel1 = new JPanel();
    private BorderLayout borderLayout1 = new BorderLayout();
    private String hostName = "localhost";
    private int port = 8080;
    private String servletPath = "/examples/servlet/imageappletservlet.getImage";
    private String webServerStr = null;
    private JButton jButton1 = new JButton();
    //Get a parameter value
    public String getParameter(String key, String def) {
    return isStandalone ? System.getProperty(key, def) :
    (getParameter(key) != null ? getParameter(key) : def);
    //Construct the applet
    public ImageApplet() {
    //Initialize the applet
    public void init() {
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    //Component initialization
    private void jbInit() throws Exception {
    this.setSize(new Dimension(500,500));
    jPanel1.setLayout(borderLayout1);
    jButton1.setText("jButton1");
    jButton1.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    jButton1_actionPerformed(e);
    this.getContentPane().add(jPanel1, BorderLayout.CENTER);
    jPanel1.add(jButton1, BorderLayout.CENTER);
    //Get Applet information
    public String getAppletInfo() {
    return "Applet Information";
    //Get parameter info
    public String[][] getParameterInfo() {
    return null;
    //static initializer for setting look & feel
    static {
    try {
    //UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    //UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
    catch(Exception e) {
    protected void log(String msg)
    System.out.println(msg + "\n");
    void jButton1_actionPerformed(ActionEvent e) {
    try {
    URL hostURL = getCodeBase();
    hostName = hostURL.getHost();
    port = hostURL.getPort();
    webServerStr ="http://localhost:8080/examples/servlet/imageappletservlet.getImage";
    log("Web String full = " + webServerStr);
    String servletGET = webServerStr;
    log(servletGET);
    log("Connecting...");
    URL imageDBServlet = new URL(servletGET);
    URLConnection servletConnection = imageDBServlet.openConnection();
    log("Getting InputStream");
    InputStream is = null;
    is = servletConnection.getInputStream();
    int samir=0;
    byte[] s = new byte[1];
    int lengthRead = 0;
    while(is.read(s) != -1){                // this is where it lockes up
    System.out.println(samir); //
    ++samir;
    System.out.println(samir);
    catch (IOException ex){
    System.out.println(ex);

    Cross-posting is frowned upon! You posted this to 4 different forums!

  • Java OutputStream help

    Hello all,
    I am relatively new to using Java's Output and Input streams. I know the basics and I know how to use them but what is driving me crazy is I am not entirely sure how it works. For example I know the following code writes a file from an InputStream to an OutputStream:
    InputStream in = new FileInputStream(inputFile);
    OutputStream out = new FileOutputStream(outputFile);
    byte[] buffer = new byte[1024];
    int len;
    while((len = in.read(buffer))>0) {
        out.write(buffer, 0, len);
    }So if some one could be so kind as to explain a little about the following I would really appreciate it. (I don't know much about bytes)
    byte[] buffer = new byte[1024];
    Now I know this is an array of bytes but what role does this line of code play in writing to an OutputStream and why a size of 1024 and not 4000 or some other number?
    out.write(buffer, 0, len);
    I know under the java docs it says that len is the amount of bytes to write but isn't it just writing one byte at a time anyway? Lets say len had a value of one all the time, would that simply just write one byte at a time to the Output stream?
    out.write(byte[] b, int off, int len);
    Now under the java docs it explains that the byte array b is "the data" which I don't understand, is the OutputStream writing 1024 bytes to the byte array and then writing that byte array to the Output file? Why do I need a byte array in the first place?
    I know i'm asking a lot of questions but believe me I've tried to figure it out on my own. I've spent the last 4 hours trying to figure out how this code works by reading the java docs and looking it up on google etc but I can't seem to find a good tutorial or explanation for the questions I've asked. So thank you for reading this and thank you in advance for any input, its most appreciated.

    int[] sourceData = new int[1024]; // same as inputFile
    for(int i = 0; i < 1024; i++)
      sourceData[i] = (int)(Math.random() * 1024);
    int[] buffer = new int[1024];
    for(int i = 0; i < 1024; i++)
      buffer[i] = sourceData;
    int[] destinationData = new int[1024]; // same as outputFile
    for(int i = 0; i < 1024; i++)
    destinationData[i] = buffer[i];
    }If you can understand what this code is doing, then you got it--despite the fact that I'm using int[] instead of byte[].                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Error in feeding JMF with inputstream, please help

    Hi,
    in order to feed JMF with inputstreams, audioinputstreams actually, you have to modify the DataSource.java and write a custom one so that it accepts inputstreams for the construction of the datasource, because with MediaLocator you can only specify existing files in the hard disk or somewhere in the network.
    Searching I found this ByteBufferDataSource, which allows you to construct a DataSource from a ByteBuffer object.
    The problem is that when using it and trying to send the stream via RTP to another machine, i get the following error:
    Exception in thread "JMF thread: com.sun.media.ProcessEngine@d6a05e[ com.sun.media.ProcessEngine@d6a05e ] ( configureThread)" java.lang.NullPointerException
         at com.sun.media.ProcessEngine.isRTPFormat(ProcessEngine.java:99)
         at com.sun.media.ProcessEngine.reenableHintTracks(ProcessEngine.java:107)
         at com.sun.media.ProcessEngine.doConfigure(ProcessEngine.java:63)
         at com.sun.media.ConfigureWorkThread.process(BasicController.java:1370)
         at com.sun.media.StateTransitionWorkThread.run(BasicController.java:1339)
    This error has appeared in some other post, but haven�t found the solution to it, I guess is something to do with the file format.
    So please, I really need your help with this, as I�m getting stuck in a academical project because of this. I attach the bytebufferdatasource
    Thank you for your time,
    bye
    import javax.media.protocol.ContentDescriptor;
    import javax.media.protocol.PullDataSource;
    import java.nio.ByteBuffer;
    import java.io.IOException;
    import javax.media.MediaLocator;
    import javax.media.Duration;
    import javax.media.Time;
    * @author Chad McMillan
    public class ByteBufferDataSource extends PullDataSource {
    protected ContentDescriptor contentType;
    protected SeekableStream[] sources;
    protected boolean connected;
    protected ByteBuffer anInput;
    protected ByteBufferDataSource(){
    * Construct a <CODE>ByteBufferDataSource</CODE> from a <CODE>ByteBuffer</CODE>.
    * @param source The <CODE>ByteBuffer</CODE> that is used to create the
    * the <CODE>DataSource</CODE>.
    public ByteBufferDataSource(ByteBuffer input, String contentType) throws IOException {
    anInput = input;
    this.contentType = new ContentDescriptor(contentType);
    connected = false;
    * Open a connection to the source described by
    * the <CODE>ByteBuffer/CODE>.
    * <p>
    * The <CODE>connect</CODE> method initiates communication with the source.
    * @exception IOException Thrown if there are IO problems
    * when <CODE>connect</CODE> is called.
    public void connect() throws java.io.IOException {
    connected = true;
    sources = new SeekableStream [1];
    sources[0] = new SeekableStream(anInput);
    * Close the connection to the source described by the locator.
    * <p>
    * The <CODE>disconnect</CODE> method frees resources used to maintain a
    * connection to the source.
    * If no resources are in use, <CODE>disconnect</CODE> is ignored.
    * If <CODE>stop</CODE> hasn't already been called,
    * calling <CODE>disconnect</CODE> implies a stop.
    public void disconnect() {
    if(connected) {
    sources[0].close();
    connected = false;
    * Get a string that describes the content-type of the media
    * that the source is providing.
    * <p>
    * It is an error to call <CODE>getContentType</CODE> if the source is
    * not connected.
    * @return The name that describes the media content.
    public String getContentType() {
    if( !connected) {
    throw new java.lang.Error("Source is unconnected.");
    return contentType.getContentType();
    public Object getControl(String str) {
    return null;
    public Object[] getControls() {
    return new Object[0];
    public javax.media.Time getDuration() {
    return Duration.DURATION_UNKNOWN;
    * Get the collection of streams that this source
    * manages. The collection of streams is entirely
    * content dependent. The MIME type of this
    * <CODE>DataSource</CODE> provides the only indication of
    * what streams can be available on this connection.
    * @return The collection of streams for this source.
    public javax.media.protocol.PullSourceStream[] getStreams() {
    if( !connected) {
    throw new java.lang.Error("Source is unconnected.");
    return sources;
    * Initiate data-transfer. The <CODE>start</CODE> method must be
    * called before data is available.
    *(You must call <CODE>connect</CODE> before calling <CODE>start</CODE>.)
    * @exception IOException Thrown if there are IO problems with the source
    * when <CODE>start</CODE> is called.
    public void start() throws IOException {
    * Stop the data-transfer.
    * If the source has not been connected and started,
    * <CODE>stop</CODE> does nothing.
    public void stop() throws IOException {
    }

    Sorry for the formatting, I attach it again here with well format:
    the error was:
    Exception in thread "JMF thread: com.sun.media.ProcessEngine@d6a05e[ com.sun.media.ProcessEngine@d6a05e ] ( configureThread)" java.lang.NullPointerException
         at com.sun.media.ProcessEngine.isRTPFormat(ProcessEngine.java:99)
         at com.sun.media.ProcessEngine.reenableHintTracks(ProcessEngine.java:107)
         at com.sun.media.ProcessEngine.doConfigure(ProcessEngine.java:63)
         at com.sun.media.ConfigureWorkThread.process(BasicController.java:1370)
         at com.sun.media.StateTransitionWorkThread.run(BasicController.java:1339)
    and the java file for generating the datasource from the bytebuffer was:
    import javax.media.protocol.ContentDescriptor;
    import javax.media.protocol.PullDataSource;
    import java.nio.ByteBuffer;
    import java.io.IOException;
    import javax.media.MediaLocator;
    import javax.media.Duration;
    import javax.media.Time;
    * @author  Chad McMillan
    public class ByteBufferDataSource extends PullDataSource {
        protected ContentDescriptor contentType;
        protected SeekableStream[] sources;
        protected boolean connected;
        protected ByteBuffer anInput;
        protected ByteBufferDataSource(){
         * Construct a <CODE>ByteBufferDataSource</CODE> from a <CODE>ByteBuffer</CODE>.
         * @param source The <CODE>ByteBuffer</CODE> that is used to create the
         * the <CODE>DataSource</CODE>.
        public ByteBufferDataSource(ByteBuffer input, String contentType) throws IOException {
            anInput = input;
            this.contentType = new ContentDescriptor(contentType);
            connected = false;
         * Open a connection to the source described by
         * the <CODE>ByteBuffer/CODE>.
         * <p>
         * The <CODE>connect</CODE> method initiates communication with the source.
         * @exception IOException Thrown if there are IO problems
         * when <CODE>connect</CODE> is called.
        public void connect() throws java.io.IOException {
            connected = true;
            sources = new SeekableStream [1];
            sources[0] = new SeekableStream(anInput);
         * Close the connection to the source described by the locator.
         * <p>
         * The <CODE>disconnect</CODE> method frees resources used to maintain a
         * connection to the source.
         * If no resources are in use, <CODE>disconnect</CODE> is ignored.
         * If <CODE>stop</CODE> hasn't already been called,
         * calling <CODE>disconnect</CODE> implies a stop.
        public void disconnect() {
            if(connected) {
                sources[0].close();
            connected = false;
         * Get a string that describes the content-type of the media
         * that the source is providing.
         * <p>
         * It is an error to call <CODE>getContentType</CODE> if the source is
         * not connected.
         * @return The name that describes the media content.
        public String getContentType() {
            if( !connected) {
           throw new java.lang.Error("Source is unconnected.");
            return contentType.getContentType();
        public Object getControl(String str) {
            return null;
        public Object[] getControls() {
            return new Object[0];
        public javax.media.Time getDuration() {
            return Duration.DURATION_UNKNOWN;
         * Get the collection of streams that this source
         * manages. The collection of streams is entirely
         * content dependent. The  MIME type of this
         * <CODE>DataSource</CODE> provides the only indication of
         * what streams can be available on this connection.
         * @return The collection of streams for this source.
        public javax.media.protocol.PullSourceStream[] getStreams() {
            if( !connected) {
           throw new java.lang.Error("Source is unconnected.");
            return sources;
         * Initiate data-transfer. The <CODE>start</CODE> method must be
         * called before data is available.
         *(You must call <CODE>connect</CODE> before calling <CODE>start</CODE>.)
         * @exception IOException Thrown if there are IO problems with the source
         * when <CODE>start</CODE> is called.
        public void start() throws IOException {
         * Stop the data-transfer.
         * If the source has not been connected and started,
         * <CODE>stop</CODE> does nothing.
        public void stop() throws IOException {
    }

  • Java.rmi.NoSuchObjectException with custom InputStream/OutputStream

    I'm experiencing a strange problem here...and have spent the night digging for an answer,
    but I don't see any...
    I am using a custom client/server socket factory, which works great until I return my
    custom In/Out streams from the custom Socket. I can return a BufferedInputStream
    wrapping the socket's InputStream, but if I write a subclass BufferedInputStream
    (and override no methods) I get the NoSuchObjectException...
    any ideas?
    public class BInputStream extends java.io.BufferedInputStream {
      private InputStream in = null;
      public BInputStream(InputStream in) {
        super(in);
        this.in = in;
    }

    What I am trying to do (and have done with the minor limitation that I cannot use
    custom streams to compress the RMI traffic...) is create a totally transparent proxy
    for RMI services.
    The Proxy object is for any Remote object. A Proxy is returned to the client
    containing a Remote Invoker that is called by the Proxy's InvocationHandler.
    Since this is for a known environment, there is no need for dynamic class loading,
    so the JVMs must all have the classes to talk to one another...
      A <---> B <---> CI want to, now, compress the A <--> B link, because it is over a saturated link, and
    a cursory look at the actual data tells me I can compress 300k, which is a standard
    transaction size (after pruning classpath entries from the clients), to around 40k
    (conservative estimate). Obviously, this is a huge improvement in any environment,
    but an especially appealing one considering the fact that this link slows, literally, to
    a crawl at times. I already have the inflate/deflate streams worked out as far as I can
    test them, so all I need to do is get past this current stumbling block and test the
    compression bits in an environment more representative of the deployment env.
    Anyway, that's the highest level goal :-)
    So, a question...to confirm what I believe I found earlier that led me into this bowl
    of noodles (really, it's not that bad, except that I can't debug the code once
    it wanders off into RMI land, which may indicate a problem in my design :-P)...
    [after some more time poking around to make sure I'm not asking a stupid
    question]
    It seems my spaghetti (the exporting of the Invoker inside of the InvocationHandler)
    is necessary for the transparency I desire. As it turns out, I know enough now to
    find useful information from google on this subject :-) That's some progress!
    It seems springframework has something exactly like the server half of my
    system, so I'm gonna take a look at that as I wind this day down.
    cheers.
    b

  • BufferedInputStream / OutputStream Help

    My File I/O program is up and running fine, but when I copy a text file to another location it adds a few more characters to the end of the file.
    File fileF = new File( "H:\Java_Projects\db.rtf" );
    File newFile = new File( H:"\Java_Projects\db2.rtf" );
    //db2.rtf does not exist yet
    BufferedInputStream bufIn = new BufferedInputStream( new FileInputStream( fileF ) );
    BufferedOutputStream bufOut = new BufferedOutputStream ( new FileOutputStream( newFile ) );
    int check;
    byte [] buff = new byte[128];
    while( ( check = bufIn.read( buff, 0, 128 ) ) != -1 ) {
    bufOut.write( buff, 0, 128 );
    bufOut.flush();
    This code will copy any file type that you specify, but with long text files I get xtra characters at the very end.
    Anybody know how to fix this? Thx!!

    I'd replace this --
    bufOut.write( buff, 0, 128 );with this --
    bufOut.write( buff, 0, check );kind regards,
    Jos

  • [multithread] newbie here ... is inputStream shared?

    Hi, a newbie here. I've been playing with java for six month now and it's been pretty fun. Looking forward to learn more about java from this forum. Now I have a question about this little project I've been doing.
    I'm currently developing a multi-threaded client-server application (both client and server are multi-threaded). The idea is very easy which is to create threads that send http request to one server which will send back XML to the
    corresponding thread.
    I've managed to make it work. My application can now make http request and get the XML it's looking for. However, problem occurs when I try this scenario:
    1. Client Thread 1 http request> server -> creates server thread 1
    I made Server Thread 1 sleep for awhile so Client Thread 1 has to wait for the response.
    Then, while Server Thread 1 is still on sleep, I make another http request:
    2. Client Thread 2 http request> server -> creates server thread 2
    I again Server Thread 2 sleep for awhile so Client Thread 2 has to wait for the response.
    Now, Server Thread 1 wakes up and returns the XML response message. Now the funny thing is the Client Thread that accepts this response is not Client Thread 1, but Client Thread 2:
    3. Server Thread 1 wakes up -- XML response --> Client Thread 2 reads the response instead of Client Thread 1.
    What could be the problem!? What's also weird to me is that, if I try to do this scenario using a browser (by executing http request), the problem doesn't happen. Client Thread 1 returns to Server Thread 1 and Client Thread 2 returns to Server Thread 2.
    The code I wrote consist of a thread objects which has it's own private UrlConnection, InputStream, OutputStream, etc.
    This is a snippet of my code:
    public class Process {
    // this is how I create my threads
    public void execute(DataSource datasource, ADData ad)
    HttpProcess httpRequestor;
    try
    httpRequestor = new HttpProcess(datasource,ad);
    httpRequestor.start();
    catch (Exception e)
    e.printStackTrace();
    public class HttpProcess extends Thread {
    private URL url;
    private HttpURLConnection urlConn;
    private DataSource ds;
    private ADData adData;
    private BufferedReader d;
    private BufferedWriter t;
    private InputStream in;
    private OutputStream out;
    private DataInputStream din;
    private DataOutputStream dout;
    public HttpProcess (DataSource datasource, ADData ad)
    this.ds = datasource;
    this.adData = ad;
    // this is how I implement my run method
    public void run ()
    try
    String urlmsg = "http://localhost:9050" +
    "/?field1=" + adData.getField1()+
    "&field2=" + adData.getField2()+
    "&field3="+ adData.getField3();
    System.out.print("Sending URL message : " + urlmsg);
    url = new URL(urlmsg);
    urlConn = (HttpURLConnection)url.openConnection();
    urlConn.setRequestMethod("GET");
    urlConn.setDoOutput (true);
    urlConn.setRequestProperty("Content-Type",
    "application/x-www-form-urlencoded");
    out = new BufferedOutputStream(((HttpURLConnection)urlConn).getOutputStream());
    dout = new DataOutputStream(out);
    t = new BufferedWriter(new OutputStreamWriter(dout));
    t.flush();
    while(listening)
    in = new BufferedInputStream(((HttpURLConnection)urlConn).getInputStream());
    din = new DataInputStream(in);
    d = new BufferedReader(new
    InputStreamReader(din));
    String inputStr;
    if ((inputStr = d.readLine())!=null)
    din.close();
    XMLParser xmlparser = new
    XMLParser(ds,adData,ajData);
    listening = false;
    d.close();
    I thought I had it right by having private inputStream for each thread. but the behavior looks like the inputStream is shared by the two threads. However, I'm still new with java so I know my conclusion worth zero. Has anybody ever bumped into this kind of problem? Looking forward to hear back what you guys think. I'm just really really really curious about this problem
    Thanks so much.

    Please use code tags (&#91;code] and &#91;/code]). It's also quite possible the problem is in your server code, or your test jig, etc. You should post a small example that replicates your problem.
    Also, the while(listening) loop looks really screwy. I'm not sure what's going on there (why would you wrap your input stream inside a loop, especially since you close the input stream in the loop)?

  • Some help needed on strings....urgent

    We as a part of our project are dealing with something called info reference which is actually a stream of bytes which has hex values in it. Values can range form 00 to FF. Now the API to which this has to be sent expects a String. We tried putting the information in a string and sending it but the sytem at site rejects the info reference in two cases:
    1. When the info reference is of form: 11 23 45 00 00 56 56 (This is print of content of each byte of the string in Hex format. If we print is it as a string then we will see control chars printed)
    The first 00 is taken to be as a NULL and the reading of the string stops there itself and hence the system rejects is as Invalid format error.
    2. When the info stream has form : 11 23 89 89 80 80
    Here UTF coding error is coming since the string is made up of chars and for Hex values more that 7F there is no valid char represention. So the 89 and 80 and any Hex value more than 7F is replaced by the REPLACEMENT CHARACTER e.g. EFBFBD.
    We want to pass the info reference as it is. Is there any way in which java strings can be tweaked to take care of the above mentioned situaton? Its strings only.....byte arrays wont be accepted.
    Please do reply.
    Sorry again if this is not related to the forum but I really need a solution to this.
    Anticipating early reply,

    amit_rai wrote:
    We want to pass the info reference as it is. Is there any way in which java strings can be tweaked to take care of the above mentioned situaton? Its strings only.....byte arrays wont be accepted.That's stupid. If you handle binary data, you must stay away from String/char[]/Reader/Writer. They are for text exclusively.
    If you handle binary data, you need to use byte[]/InputStream/OutputStream.
    Trying to warp Strings into handling binary data is a very bad idea and will only lead to unreadable code and lots of pain during debugging.

  • JavaMapping: Convert String to OutputStream?

    Hi everybody,
    how can I convert a String to OutputStream?
    Thanks, Regards Mario

    You have to convert String to OutputStream by means of using getBytes() method..
    See the example
    public void execute(InputStream inputstream, OutputStream outputstream) throws StreamTransformationException  {
      outputstream.write("<?xml version = '1.0' encoding = 'utf-8'>".getBytes());
      outputstream.write(<ns0:outputinfo ns0=\urn:xyz\File_File\>".getBytes());
      String newline=null;
      BufferedReader br = new BufferedReader(new InputStreamReader(inputstream));
      StringBuffer sb = new StringBuffer();
      while(newline = br.readLine())!=null)
       String empno=null;
       String empname=null;
       String native=null;
       char[] chr = new char[100];
       chr = newline.toCharArray();
       String[] data = new String[10];
       int a = 0;
       int b = 2;
       for(int i=0;i<newline.length(); i++)
        if(chr<i>==',')
    data[a]=newline.substring(b,i);      
    a=a+1;      
    b=i+1;   }
        empno=data[0];
        empname=data[1];
        native=data[2];
        outputstream.write("<Data>".getBytes());
        outputstream.write("<Record>".getBytes());
        outputstream.write(("<EmpNo>"empno"</Empno>").getBytes());
        outputstream.write(("<EmpName>"empname"</Empname>").getBytes());
        outputstream.write(("<Native>"native"</Native>").getBytes());
        outputstream.write(("</Record>".getBytes());
        outputstream.write("</Data>".getBytes());
       outputstream.write("</ns0:outputinfo>".getBytes());
      br.close();
      inputstream.close();
      outputstream.close();

  • Why using BefferedReder and PrintWriter if we have Input/OutputStream

    hi
    i've been wondering if we have an InputStream and OutputStream why using PrintWriter and BufferedReader
                    in=s.getInputStream();
                    out=s.getOutputStream();
                    bfr=new BufferedReader(new InputStreamReader(in));
                    writer=new PrintWriter(out,true);where s ia a socket
    Edited by: scrolldown on Mar 29, 2008 3:03 AM
    Edited by: scrolldown on Mar 29, 2008 3:04 AM

    Everything that is a InputStream/OutputStream is used to handle raw byte streams.
    Everything that is a Reader/Writer is used to handle character data.
    In your case the InputStreamReader provides the conversion from raw bytes to character data. Usually it does so using some specified encoding, in your case it uses your platform default encoding.
    The PrintWriter does the same for the output, but doesn't allow you to specify an encoding (for this you'd have to use an OutputStreamWriter).
    And please note, that it's usually an error to do any byte -> character or character -> byte conversion without specifying a character set, especially when handling sockets, because then the platform default encoding will be used which can be different from computer to computer and thus you don't know what exactly is sent over the wire.
    If you don't know what I'm talking about, then read [The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)|http://www.joelonsoftware.com/articles/Unicode.html], an excellent article that gives a good overview over the matter.

  • XModem via TCP for Java

    I am sure that many of you experienced developers have read requests in the past concerning implmentation of Ward Christenen's XModem protocol over a TCP socket. If not, well... you are about to...
    This is a major hack... but it is starting to come together... thanks to Fred Potter for his source code to start this project...
    Objective:
    Basically, I want to create a console application which accepts an incoming connection and starts the receive mode for a XModem file transfer. I am using CGTerm (for Commodore retrocomputing) but can test with HyperTerminal as well...
    The user who connects to the server selects SEND and the FILE to send for a XModem file transfer... and the transfer begins...
    The incoming blocks of 128 bytes are written to a file
    After the transfer is over the server disconnects the client terminal.
    Here is what I have so far:
    import java.net.*;
    import java.lang.*;
    import java.io.*;
    // X-Modem Server implementation via TCP/IP socket
    public class XServer {
    public static FileWriter fw;
    public static void main(String[] args) throws IOException {
    // define the file
    try {   
    fw = new FileWriter("filename.txt");
    } catch (Exception e) {
    System.out.println(e);
    System.exit(0);
    int port = Integer.parseInt(args[0]);
    ServerSocket server = new ServerSocket(port);
    System.out.println("X-Server v1.0 - waiting for connection");
    Socket client = server.accept();
    // Handle a connection and exit.
    try {
    InputStream inputStream = client.getInputStream();
    OutputStream outputStream = client.getOutputStream();
    new PrintStream(outputStream).println("Go to send file mode!"); // sent to client
    System.out.println("Ready to receive file via X-Modem...");
    * BEGIN TRANSFER HERE!
    // set the debug flag
    XModem.debug = true;
    * Here we are instantiating a new InputStream that represents the remote
    * file that we are receiving. In this single line we are attempting to
    * start the flow.
    * Behind The Scenes: We're sending a NAK across the serial line repeatedly
    * until we finaly start seeing the data flow. If we don't see the data
    * flow, then we throw an exception.
    System.out.println("Sending NAK to start receive mode...");
    InputStream incomingFile;
    try {
    incomingFile = new XModemRXStream(inputStream, outputStream);
    } catch (IOException e) {
    System.out.println("ERROR! Unable to start file transfer!");
    e.printStackTrace();
    return;
    System.out.println("Starting file transfer...");
    * Here we are reading from the incoming file, byte by byte, and printing out.
    * Behind The Scenes: Internally, the read() method is handling the task of
    * asking for the next data block from the remote computer, processing it (i.e.
    * parsing, running checksums), and then putting it in an internal buffer. Not
    * all calls to read() will request a new data block as each block contains at
    * least 128 bytes of data. Sometimes you will only hit the buffer.
    try {
    for (;;) {
    int c = incomingFile.read();
    if (c==-1)
    break; // End of File
    // print character / byte
    System.out.print(c+",");
    // write to file
    try {       
    //System.out.print(".");
    fw.write(c);
    } catch (Exception e) {
    System.out.println(e);
    System.exit(0);
    } catch (IOException e) {
    System.out.println("error while reading the incoming file.");
    e.printStackTrace();
    return;
    // done
    System.out.println("File sent.");
    new PrintStream(outputStream).println("");
    new PrintStream(outputStream).println("transfer successful!");
    } finally {
    //client.close();
    // save the file
    try {   
    fw.close();
    System.out.println("file saved.");
    } catch (Exception e) {
    System.out.println(e);
    System.exit(0);
    * XModem keeps track of settings that the Receive and Transmit Stream classes will
    * reference.
    * <p>Copyright: Copyright (c) 2004</p>
    * @author Fred Potter
    * @version 0.1
    class XModem {
    public static boolean debug = false;
    * XModemRXStream is an easy to use class for receiving files via the XModem protocol.
    * @author Fred Potter
    * @version 0.1
    class XModemRXStream
    extends InputStream {
    // CONSTANTS
    private static final int SOH = 0x01;
    private static final int EOT = 0x04;
    private static final int ACK = 0x06;
    private static final int NAK = 0x15;
    private static final int CAN = 0x18;
    private static final int CR = 0x0d;
    private static final int LF = 0x0a;
    private static final int EOF = 0x1a;
    // block size - DON'T CHANGE - I toyed with the idea of adding 1K support but the code is NOT there yet.
    private static final int bs = 128;
    // PRIVATE STUFF
    private int ebn; // expected incoming block #
    private byte[] data; // our data buffer
    private int dataPos; // our position with the data buffer
    private InputStream in;
    private OutputStream out;
    * Creates a new InputStream allowing you to read the incoming file. All of the XModem
    * protocol functions are handled transparently.
    * As soon as this class is instantiated, it will attempt to iniatate the transfer
    * with the remote computer - if unsuccessful, an IOException will be thrown. If it
    * is successful, reading may commense.
    * NOTE: It is important not to wait too long in between calls to read() - the remote
    * computer will resend a data block if too much time has passed or even just give up
    * on the transfer altogether.
    * @param in InputStream from Serial Line
    * @param out OutputStream from Serial Line
    public XModemRXStream(InputStream in, OutputStream out) throws
    IOException {
    this.in = in;
    this.out = out;
    // Initiate the receive sequence - basically, we send a NAK until the data
    // starts flowing.
    init:for (int t = 0; t < 10; t++) {
    if (XModem.debug) {
    System.out.println("Waiting for response [ try #" + t + " ]");
    long mark = System.currentTimeMillis();
    out.write(NAK);
    // Frequently check to see if the data is flowing, give up after a couple seconds.
    for (; ; ) {
    if (in.available() > 0) {
    break init;
    try {
    Thread.sleep(10);
    catch (Exception e) {}
    if (System.currentTimeMillis() - mark > 2000) {
    break;
    // We have either successfully negotiated the transfer, OR, it was
    // a failure and timed out. Check in.available() to see if we have incoming
    // bytes and that will be our sign.
    if (in.available() == 0) {
    throw new IOException();
    // Initialize some stuff
    ebn = 1; // the first block we see should be #1
    data = new byte[bs];
    dataPos = bs;
    * Reads the next block of data from the remote computer. Most of the real XModem protocol
    * is encapsulated within this method.
    * @throws IOException
    private synchronized void getNextBlock() throws IOException {
    if (XModem.debug) {
    //System.out.println("Getting block #" + ebn);
    // Read block into buffer. There is a 1 sec timeout for each character,
    // otherwise we NAK and start over.
    byte[] buffer;
    recv:for (; ; ) {
    buffer = new byte[bs + 4];
    for (int t = 0; t < 10; t++) {
    System.out.println("\nReceiving block [ #" + ebn + " ]");
    // Read in block
    buffer = new byte[buffer.length];
    for (int i = 0; i < buffer.length; i++) {
    int b = readTimed(1);
    // if EOT - don't worry about the rest of the block.
    if ( (i == 0) && (b == EOT)) {
    buffer[0] = (byte) (b & 0xff);
    break;
    // if CAN - the other side has cancelled the transfer
    if (b == CAN) {
    throw new IOException("cancelled");
    if (b < 0) {
    if (XModem.debug) {
    System.out.println("Time out... NAK'ing");
    out.write(NAK);
    continue recv;
    else {
    buffer[i] = (byte) (b & 0xFF);
    break;
    int type = buffer[0] & 0xff; // either SOH or EOT
    if (type == EOT) {
    if (XModem.debug) {
    System.out.println("EOT!");
    out.write(ACK);
    break;
    int bn = buffer[1] & 0xff; // block number
    int bnc = buffer[2] & 0xff; // one's complement to block #
    if (
    (bn != ebn) && (bn != (ebn - 1)) ||
    (bn + bnc != 255)) {
    if (XModem.debug) {
    System.out.println("NAK'ing type = " + type + " bn = " + bn +
    " ebn = " +
    ebn + " bnc = " + bnc);
    out.write(NAK);
    continue recv;
    byte chksum = buffer[ (buffer.length - 1)];
    byte echksum = 0;
    for (int i = 3; i < (buffer.length - 1); i++) {
    echksum = (byte) ( ( (echksum & 0xff) + (buffer[i] & 0xff)) & 0xff);
    if (chksum != echksum) {
    out.write(NAK);
    continue recv;
    out.write(ACK);
    if (ebn == 255) {
    ebn = 0;
    else {
    ebn++;
    break;
    // We got our block, now save it in our data buffer.
    data = new byte[bs];
    for (int i = 3; i < (buffer.length - 1); i++) {
    data[(i - 3)] = buffer;
    dataPos = 0;
    public synchronized int read() throws IOException {
    // If at the end of our buffer, refill it.
    if (dataPos == bs) {
    try {
    getNextBlock();
    catch (IOException e) {
    throw new IOException();
    // If we're still at end of buffer, say so.
    if ( dataPos == bs) {
    return -1;
    int d = data[dataPos];
    if (d == EOF)
    return -1;
    dataPos++;
    return d;
    * A wrapper around the native read() call that provides the ability
    * to timeout if no data is available within the specified timeout value.
    * @param timeout timeout value in seconds
    * @throws IOException
    * @return int an integer representing the byte value read.
    private int readTimed(int timeout) throws IOException {
    long start = System.currentTimeMillis();
    for (; ; ) {
    if (in.available() > 0) {
    return (in.read());
    try {
    Thread.sleep(10);
    catch (InterruptedException ex) {
    //if (System.currentTimeMillis() - start > timeout * 1000) {
    if (System.currentTimeMillis() - start > timeout * 5000) {
    return -1;
    Here was the output...
    Original file:
    (Commodore CBM SEQ file exported to PC using DirMaster)
    ��
    � �
    � ��� �� �� ��� ��
    � �� �� ���� �� ��� ��
    � ��� ����������������������������������������������
    �� ����� ������� ����� �� ����� ������ ����� ���
    � �� ������ ������ ��� ��� �� ��� ���� �� ������
    � � ���
    ����
    � � ��OWERED BY �OLOR 64 ��� V8
    �UNNING �ETWORK64 V1.26A

    �UPPORTING 38400 �AUD �ATES
    �����/����/�������

    �ESTING �CHO-�ET V1 BETA

    �EATURING �ESSAGES, �ILES,
    �ET�AIL, AND �NLINE �AMES!
    �YS�P: � � � � � � � � �

    �RESS ANY KEY TO LOGIN\C�
    The result when the file was uploaded and received by my XServer:
    ? ? ??OWERED BY ?OLOR 64 ??? V8
    ?UNNING ?ETWORK64 V1.26A
    ?UPPORTING 38400 ?AUD ?ATES
    ?ESTING ?CHO-?ET V1 BETA
    ?EATURING ?ESSAGES, ?ILES,
    ?ET?AIL, AND ?NLINE ?AMES!
    ?YS?P: ? ? ? ? ? ? ? ? ?
    ?RESS ANY KEY TO LOGIN\C?
    The result is different!
    Can someone help me along here... I have been trying to figure out how to do this for approx. a year or so... it has been a very slow process.
    I could use a guru to help me out so I can write the upload and download routines for my Commodore BBS PETSCII Emulation Server.
    Visit http://www.retrogradebbs.com for details.
    Thanks.
    Please help out a dedicated developer who is in over his head...
    -Dave

    Ok. Fair enough. What about general information about Xmodem. This is a hard project because of how obscure the legacy technology is that I am having to implement using Java and MySQL.
    I have two major issues which I have to figure out how to troubleshoot and debug, if possible.
    1. The 23+ blocks exception when a file is being received
    2. The exception which is thrown immediately if I try to receive a binary file instead of an ASCII file.
    I read that telnet is a 7-bit technology and that is why Xmodem, which is an 8-bit technology is not that popular as a viable protocol via telnet, whereas Kermit is, since it was developed for 7-bit systems, i.e. mainframes and minicomputers.
    Is this correct?
    If that is the case, why does www.serio.com have a viable X-Y-ZModem library available (for several hundred $$$ of course) which can be used with both RS-232 serial ports and TCP socket ports? Obviously, it can be done. They are the ONLY company with this library for sale for Java to do this. I cannot justify that $$$ amount for a mere hobby (writing the BBS emulation server for supporting Commodore PETSCII (CG) callers via CGTerm or a native C-64 terminal program using Jim Brain's TCPSER middleware, which emulates a Hayes modem via telnet for telBBSing/retrocomputing.
    I really want to learn how to implement a file transfer protocol, since back in the 80s, I used Xmodem, Punter, Y/Z Modem, etc., a lot to upload and download files via modem at baud rates of 2400, 14.4, 19.2, and 38.4, respectively.
    It's fun to learn how the old skool gurus of telecommunications technology did it. It is one thing to run a BBS which supports these technologies and features, and it is an entirely other thing to learn how to design and develop them yourself for implementation into a project such as I taken on.
    It CAN be done. It WILL be done. However, I have just started my exhaustive research on how it needs to be done. I have read up as much as I could on XModem by Ward C., the father of the protocol.
    But, I have no information to help me figure out why the communications are acting as they do so far.
    Can someone please download the xserver.zip file on my website at:
    www.retrogradebbs.com/projects/xserver.zip
    Compile it. Run it. Connect using HyperTerminal, Netrunner, or another telnet terminal emulation program which supports Xmodem file transfers using WinSock.
    See what happens. With finals due in the next two days, this project will have to be put on hold until after I submit my two final projects.
    If anyone knows what needs to be done to support both ASCII and BINARY file transfers via Xmodem via a socket instead of a modem with RTS/CTS hardware flow control, please respond.
    I know for a fact that this can be done.
    - Dave

  • Mavericks and App Store

    Help Please.
    Since upgrading to mavericks I have two issues.
    1. When I click on Apps store nothing happens.
    2. When I open mail it crashes and I get the following:
    Process:         Mail [2446]
    Path:            /Applications/Mail.app/Contents/MacOS/Mail
    Identifier:      com.apple.mail
    Version:         7.0 (1816)
    Build Info:      Mail-1816000000000000~1
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [174]
    Responsible:     Mail [2446]
    User ID:         501
    Date/Time:       2013-10-24 18:31:36.995 -0400
    OS Version:      Mac OS X 10.9 (13A603)
    Report Version:  11
    Anonymous UUID:  16DF536F-B129-F739-90E3-F69F09BAFC7F
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Application Specific Information:
    *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[NSViewController loadView] could not load the "MessageView" nib.'
    abort() called
    terminating with uncaught exception of type NSException
    Application Specific Backtrace 1:
    0   CoreFoundation                      0x00007fff8d16b41c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff8f680e75 objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff8d16b2cc +[NSException raise:format:] + 204
    3   AppKit                              0x00007fff8aa2b507 -[NSViewController loadView] + 361
    4   AppKit                              0x00007fff8a959748 -[NSViewController view] + 41
    5   Mail                                0x0000000107a7c64f Mail + 370255
    6   Mail                                0x0000000107a8b3dd Mail + 431069
    7   Mail                                0x0000000107ac201f Mail + 655391
    8   Mail                                0x0000000107ac1f1b Mail + 655131
    9   Mail                                0x0000000107b575d7 Mail + 1267159
    10  Mail                                0x0000000107a8cb2a Mail + 437034
    11  CoreFoundation                      0x00007fff8d0cac34 __NSArrayEnumerate + 564
    12  Mail                                0x0000000107a76331 Mail + 344881
    13  Mail                                0x0000000107a7608e Mail + 344206
    14  CoreFoundation                      0x00007fff8d139fcc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
    15  CoreFoundation                      0x00007fff8d02dc5d _CFXNotificationPost + 2893
    16  AppKit                              0x00007fff8a897023 -[NSView _postFrameChangeNotification] + 434
    17  AppKit                              0x00007fff8a8a0712 -[NSView setFrameSize:] + 1586
    18  AppKit                              0x00007fff8a8c90d2 -[NSClipView setFrameSize:] + 380
    19  AppKit                              0x00007fff8a8a0099 -[NSView setFrame:] + 294
    20  AppKit                              0x00007fff8a8cc038 -[NSScrollView _setContentViewFrame:] + 669
    21  AppKit                              0x00007fff8a8cb98d -[NSScrollView _applyContentAreaLayout:] + 131
    22  AppKit                              0x00007fff8a8c9f64 -[NSScrollView tile] + 1943
    23  AppKit                              0x00007fff8b17eb0e +[NSScrollerImpPair _updateAllScrollerImpPairsForNewRecommendedScrollerStyle:] + 401
    24  CoreFoundation                      0x00007fff8d139fcc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
    25  CoreFoundation                      0x00007fff8d02dc5d _CFXNotificationPost + 2893
    26  Foundation                          0x00007fff8e7504aa -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
    27  libdispatch.dylib                   0x00007fff950181d7 _dispatch_call_block_and_release + 12
    28  libdispatch.dylib                   0x00007fff950152ad _dispatch_client_callout + 8
    29  libdispatch.dylib                   0x00007fff9501cf03 _dispatch_main_queue_callback_4CF + 333
    30  CoreFoundation                      0x00007fff8d0d2839 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
    31  CoreFoundation                      0x00007fff8d08db14 __CFRunLoopRun + 1636
    32  CoreFoundation                      0x00007fff8d08d275 CFRunLoopRunSpecific + 309
    33  HIToolbox                           0x00007fff948a2f0d RunCurrentEventLoopInMode + 226
    34  HIToolbox                           0x00007fff948a2cb7 ReceiveNextEventCommon + 479
    35  HIToolbox                           0x00007fff948a2abc _BlockUntilNextEventMatchingListInModeWithFilter + 65
    36  AppKit                              0x00007fff8a86928e _DPSNextEvent + 1434
    37  AppKit                              0x00007fff8a8688db -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
    38  AppKit                              0x00007fff8a85c9cc -[NSApplication run] + 553
    39  AppKit                              0x00007fff8a847803 NSApplicationMain + 940
    40  libdyld.dylib                       0x00007fff924e55fd start + 1
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib                  0x00007fff9067f866 __pthread_kill + 10
    1   libsystem_pthread.dylib                 0x00007fff8940735c pthread_kill + 92
    2   libsystem_c.dylib                       0x00007fff90500bba abort + 125
    3   libc++abi.dylib                         0x00007fff91d31141 abort_message + 257
    4   libc++abi.dylib                         0x00007fff91d56abc default_terminate_handler() + 264
    5   libobjc.A.dylib                         0x00007fff8f68130d _objc_terminate() + 103
    6   libc++abi.dylib                         0x00007fff91d543e1 std::__terminate(void (*)()) + 8
    7   libc++abi.dylib                         0x00007fff91d54456 std::terminate() + 54
    8   libobjc.A.dylib                         0x00007fff8f6810b0 objc_terminate + 9
    9   libdispatch.dylib                       0x00007fff950152c1 _dispatch_client_callout + 28
    10  libdispatch.dylib                       0x00007fff9501cf03 _dispatch_main_queue_callback_4CF + 333
    11  com.apple.CoreFoundation                0x00007fff8d0d2839 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
    12  com.apple.CoreFoundation                0x00007fff8d08db14 __CFRunLoopRun + 1636
    13  com.apple.CoreFoundation                0x00007fff8d08d275 CFRunLoopRunSpecific + 309
    14  com.apple.HIToolbox                     0x00007fff948a2f0d RunCurrentEventLoopInMode + 226
    15  com.apple.HIToolbox                     0x00007fff948a2cb7 ReceiveNextEventCommon + 479
    16  com.apple.HIToolbox                     0x00007fff948a2abc _BlockUntilNextEventMatchingListInModeWithFilter + 65
    17  com.apple.AppKit                        0x00007fff8a86928e _DPSNextEvent + 1434
    18  com.apple.AppKit                        0x00007fff8a8688db -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
    19  com.apple.AppKit                        0x00007fff8a85c9cc -[NSApplication run] + 553
    20  com.apple.AppKit                        0x00007fff8a847803 NSApplicationMain + 940
    21  libdyld.dylib                           0x00007fff924e55fd start + 1
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib                  0x00007fff90680662 kevent64 + 10
    1   libdispatch.dylib                       0x00007fff9501743d _dispatch_mgr_invoke + 239
    2   libdispatch.dylib                       0x00007fff95017152 _dispatch_mgr_thread + 52
    Thread 2:
    0   libsystem_kernel.dylib                  0x00007fff9067fe6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x00007fff89407f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib                 0x00007fff8940afb9 start_wqthread + 13
    Thread 3:
    0   libsystem_kernel.dylib                  0x00007fff9067fe6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x00007fff89407f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib                 0x00007fff8940afb9 start_wqthread + 13
    Thread 4:
    0   libsystem_kernel.dylib                  0x00007fff9067fe6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x00007fff89407f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib                 0x00007fff8940afb9 start_wqthread + 13
    Thread 5:
    0   libsystem_kernel.dylib                  0x00007fff9067fe6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x00007fff89407f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib                 0x00007fff8940afb9 start_wqthread + 13
    Thread 6:
    0   libsystem_kernel.dylib                  0x00007fff9067fe6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x00007fff89407f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib                 0x00007fff8940afb9 start_wqthread + 13
    Thread 7:
    0   libsystem_kernel.dylib                  0x00007fff9067fe6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x00007fff89407f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib                 0x00007fff8940afb9 start_wqthread + 13
    Thread 8:
    0   libsystem_kernel.dylib                  0x00007fff9067fe6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x00007fff89407f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib                 0x00007fff8940afb9 start_wqthread + 13
    Thread 9:
    0   libsystem_kernel.dylib                  0x00007fff9067fe6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x00007fff89407f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib                 0x00007fff8940afb9 start_wqthread + 13
    Thread 10:
    0   libsystem_kernel.dylib                  0x00007fff9067fe6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x00007fff89407f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib                 0x00007fff8940afb9 start_wqthread + 13
    Thread 11:
    0   libsystem_kernel.dylib                  0x00007fff9067fe6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x00007fff89407f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib                 0x00007fff8940afb9 start_wqthread + 13
    Thread 12:
    0   libsystem_kernel.dylib                  0x00007fff9067fe6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x00007fff89407f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib                 0x00007fff8940afb9 start_wqthread + 13
    Thread 13:
    0   libsystem_kernel.dylib                  0x00007fff9067fe6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x00007fff89407f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib                 0x00007fff8940afb9 start_wqthread + 13
    Thread 14:
    0   libsystem_kernel.dylib                  0x00007fff9067fe6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x00007fff89407f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib                 0x00007fff8940afb9 start_wqthread + 13
    Thread 15:
    0   libsystem_kernel.dylib                  0x00007fff9067fe6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x00007fff89407f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib                 0x00007fff8940afb9 start_wqthread + 13
    Thread 16:: -[MFLibraryIMAPStore openSynchronously]  Dispatch queue: NSOperationQueue 0x6080002212c0
    0   libsystem_kernel.dylib                  0x00007fff9067ba56 semaphore_wait_trap + 10
    1   libdispatch.dylib                       0x00007fff95019a15 _dispatch_semaphore_wait_slow + 206
    2   com.apple.Foundation                    0x00007fff8e786258 -[NSHost blockingResolveUntil:] + 157
    3   com.apple.Foundation                    0x00007fff8e7b23c6 -[NSHost name] + 35
    4   com.apple.Foundation                    0x00007fff8e7b22d0 +[NSStream(NSSocketStreamCreationExtensions) getStreamsToHost:port:inputStream:outputStream:] + 59
    5   com.apple.MailCore                      0x00007fff89bddd05 -[MCSocket _setupStreamsWithHostname:port:needToEstablishInternetConnection:useSSL:isBackg round:error:] + 262
    6   com.apple.MailCore                      0x00007fff89bdd5ee -[MCSocket connectToHost:withPort:isBackground:] + 442
    7   com.apple.MailCore                      0x00007fff89b74dd4 -[MCConnection connectDiscoveringBestSettings:] + 1115
    8   com.apple.Mail.framework                0x00007fff8e564923 -[MFIMAPAccount connectAndAuthenticate:] + 934
    9   com.apple.Mail.framework                0x00007fff8e565a8b -[MFIMAPAccount _recoverFromConnectionlessStateHighPriority:] + 118
    10  com.apple.Mail.framework                0x00007fff8e5657ee -[MFIMAPAccount _getPotentialGatewayForMailbox:options:createdNewConnection:needsSelect:] + 168
    11  com.apple.Mail.framework                0x00007fff8e565486 -[MFIMAPAccount _gatewayForMailbox:name:options:] + 272
    12  com.apple.Mail.framework                0x00007fff8e5bae88 -[MFLibraryIMAPStore _gatewayCreateIfNeeded:options:] + 158
    13  com.apple.Mail.framework                0x00007fff8e5b19ca -[MFLibraryIMAPStore _openSynchronouslyUpdatingMetadata:withOptions:] + 279
    14  com.apple.CoreFoundation                0x00007fff8d056dec __invoking___ + 140
    15  com.apple.CoreFoundation                0x00007fff8d056c54 -[NSInvocation invoke] + 308
    16  com.apple.MailCore                      0x00007fff89bbeb74 -[MCMonitoredInvocation invoke] + 211
    17  com.apple.MailCore                      0x00007fff89be1808 -[MCThrowingInvocationOperation main] + 40
    18  com.apple.MailCore                      0x00007fff89b85f08 -[_MCInvocationOperation main] + 332
    19  com.apple.Foundation                    0x00007fff8e755591 -[__NSOperationInternal _start:] + 631
    20  com.apple.Foundation                    0x00007fff8e75523b __NSOQSchedule_f + 64
    21  libdispatch.dylib                       0x00007fff950152ad _dispatch_client_callout + 8
    22  libdispatch.dylib                       0x00007fff950197ff _dispatch_async_redirect_invoke + 154
    23  libdispatch.dylib                       0x00007fff950152ad _dispatch_client_callout + 8
    24  libdispatch.dylib                       0x00007fff9501709e _dispatch_root_queue_drain + 326
    25  libdispatch.dylib                       0x00007fff95018193 _dispatch_worker_thread2 + 40
    26  libsystem_pthread.dylib                 0x00007fff89407ef8 _pthread_wqthread + 314
    27  libsystem_pthread.dylib                 0x00007fff8940afb9 start_wqthread + 13
    Thread 17:
    0   libsystem_kernel.dylib                  0x00007fff9067fe6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x00007fff89407f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib                 0x00007fff8940afb9 start_wqthread + 13
    Thread 18:
    0   libsystem_kernel.dylib                  0x00007fff9067fe6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x00007fff89407f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib                 0x00007fff8940afb9 start_wqthread + 13
    Thread 19:
    0   libsystem_kernel.dylib                  0x00007fff9067fe6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x00007fff89407f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib                 0x00007fff8940afb9 start_wqthread + 13
    Thread 20:
    0   libsystem_kernel.dylib                  0x00007fff9068064a kevent + 10
    1   libsystem_info.dylib                    0x00007fff8e6ffd3b _mdns_search + 1184
    2   libsystem_info.dylib                    0x00007fff8e70675c mdns_addrinfo + 513
    3   libsystem_info.dylib                    0x00007fff8e70652b search_addrinfo + 183
    4   libsystem_info.dylib                    0x00007fff8e7062c0 si_addrinfo + 1468
    5   libsystem_info.dylib                    0x00007fff8e705c5f getaddrinfo + 171
    6   com.apple.Foundation                    0x00007fff8e7b25a5 -[NSHost __resolveWithFlags:resultArray:handler:] + 242
    7   com.apple.Foundation                    0x00007fff8e78651a __18-[NSHost resolve:]_block_invoke + 341
    8   libdispatch.dylib                       0x00007fff950181d7 _dispatch_call_block_and_release + 12
    9   libdispatch.dylib                       0x00007fff950152ad _dispatch_client_callout + 8
    10  libdispatch.dylib                       0x00007fff9501768f _dispatch_queue_drain + 451
    11  libdispatch.dylib                       0x00007fff950189dd _dispatch_queue_invoke + 110
    12  libdispatch.dylib                       0x00007fff95016fa3 _dispatch_root_queue_drain + 75
    13  libdispatch.dylib                       0x00007fff95018193 _dispatch_worker_thread2 + 40
    14  libsystem_pthread.dylib                 0x00007fff89407ef8 _pthread_wqthread + 314
    15  libsystem_pthread.dylib                 0x00007fff8940afb9 start_wqthread + 13
    Thread 21:
    0   libsystem_kernel.dylib                  0x00007fff9067fe6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x00007fff89407f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib                 0x00007fff8940afb9 start_wqthread + 13
    Thread 22:
    0   libsystem_kernel.dylib                  0x00007fff9067ba1a mach_msg_trap + 10
    1   libsystem_kernel.dylib                  0x00007fff9067ad18 mach_msg + 64
    2   com.apple.CoreFoundation                0x00007fff8d08e315 __CFRunLoopServiceMachPort + 181
    3   com.apple.CoreFoundation                0x00007fff8d08d939 __CFRunLoopRun + 1161
    4   com.apple.CoreFoundation                0x00007fff8d08d275 CFRunLoopRunSpecific + 309
    5   com.apple.AppKit                        0x00007fff8aa091ce _NSEventThread + 144
    6   libsystem_pthread.dylib                 0x00007fff89406899 _pthread_body + 138
    7   libsystem_pthread.dylib                 0x00007fff8940672a _pthread_start + 137
    8   libsystem_pthread.dylib                 0x00007fff8940afc9 thread_start + 13
    Thread 0 crashed with X86 Thread State (64-bit):
      rax: 0x0000000000000000  rbx: 0x00007fff78052310  rcx: 0x00007fff581dbe88  rdx: 0x0000000000000000
      rdi: 0x0000000000000707  rsi: 0x0000000000000006  rbp: 0x00007fff581dbeb0  rsp: 0x00007fff581dbe88
       r8: 0x00007fff91d57ab4   r9: 0x00007fff90528900  r10: 0x0000000008000000  r11: 0x0000000000000206
      r12: 0x00007fff581dc010  r13: 0x00007fff581dc4e0  r14: 0x0000000000000006  r15: 0x00007fff581dbef0
      rip: 0x00007fff9067f866  rfl: 0x0000000000000206  cr2: 0x0000000109a24000
    Logical CPU:     0
    Error Code:      0x02000148
    Trap Number:     133
    Binary Images:
           0x107a22000 -        0x107d11fff  com.apple.mail (7.0 - 1816) <E8B5953C-FD5C-3D3B-B481-34F23E45730A> /Applications/Mail.app/Contents/MacOS/Mail
           0x1096de000 -        0x1096e0fff  apop.so (170) <79E840B4-6D30-3CBB-99D3-345D6C77D5DF> /usr/lib/sasl2/apop.so
           0x1096e4000 -        0x1096f4fff  dhx.so (170) <A9EBA1D4-8ED8-37BB-BA1E-263091EAF96E> /usr/lib/sasl2/dhx.so
           0x109700000 -        0x109708fff  digestmd5WebDAV.so (170) <9DBE65CE-9B5C-37A3-8112-40F39BE3B5F8> /usr/lib/sasl2/digestmd5WebDAV.so
           0x10970d000 -        0x10970ffff  libanonymous.2.so (170) <D1297C21-A57B-311E-9006-C3FB8689849A> /usr/lib/sasl2/libanonymous.2.so
           0x109713000 -        0x109715fff  libcrammd5.2.so (170) <940A42FC-C634-354E-AD74-691CD90A1427> /usr/lib/sasl2/libcrammd5.2.so
           0x10971a000 -        0x109722ff7  libdigestmd5.2.so (170) <122C0383-F9B2-34D1-89AF-D317BC4D5164> /usr/lib/sasl2/libdigestmd5.2.so
           0x109727000 -        0x10972bfff  libgssapiv2.2.so (170) <AA58D85E-916C-3B0B-959A-DCC58497D0F2> /usr/lib/sasl2/libgssapiv2.2.so
           0x109730000 -        0x109732fff  login.so (170) <7D801D4E-A1A4-32FC-BF2E-9F25DB902523> /usr/lib/sasl2/login.so
           0x109736000 -        0x10973bfff  libntlm.so (170) <18693B29-154F-339C-A329-4C42A43F6428> /usr/lib/sasl2/libntlm.so
           0x109740000 -        0x109747fff  libotp.2.so (170) <D1C70F92-1C75-340B-AD53-0C2CD79144FF> /usr/lib/sasl2/libotp.2.so
           0x109750000 -        0x109752fff  libplain.2.so (170) <E9C3B22A-5958-3869-B778-55948D1EC2B7> /usr/lib/sasl2/libplain.2.so
           0x109756000 -        0x10975afff  libpps.so (170) <9BAB4F91-A2DF-3F11-A2E4-8E353562ECC8> /usr/lib/sasl2/libpps.so
           0x10975f000 -        0x109762ff7  mschapv2.so (170) <7B006E8A-BEB7-3004-9C16-134D37C077A5> /usr/lib/sasl2/mschapv2.so
           0x109767000 -        0x10978fff6  com.apple.DirectoryService.PasswordServerFramework (10.9 - 36) <C36B818F-C1FE-3F3F-A01C-F4613F570D4D> /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordS erver
           0x1097a5000 -        0x1097a7fff  pwauxprop.so (400) <924056F9-D203-3DAD-B78D-61439A2E6BE8> /usr/lib/sasl2/pwauxprop.so
           0x1097ac000 -        0x1097aefff  shadow_auxprop.so (170) <2E0153C3-9D36-3496-8885-DE8B91838036> /usr/lib/sasl2/shadow_auxprop.so
           0x1097b3000 -        0x1097b5fff  smb_nt.so (170) <903A6BA5-5B1F-305A-98EA-27BE757A7CFF> /usr/lib/sasl2/smb_nt.so
           0x1097ba000 -        0x1097bcfff  smb_ntlmv2.so (170) <15A0B3C1-DA72-3B4C-8234-EF24132FEB0B> /usr/lib/sasl2/smb_ntlmv2.so
           0x109ace000 -        0x109ad1fff  libspindump.dylib (161) <588EDDE0-B20A-3649-92B7-C2226EB237E8> /usr/lib/libspindump.dylib
           0x109ad7000 -        0x109ad8fff  com.apple.AddressBook.LocalSourceBundle (8.0 - 1365) <260EDDAA-A812-3097-BE14-A63EA4BEDD31> /System/Library/Address Book Plug-Ins/LocalSource.sourcebundle/Contents/MacOS/LocalSource
           0x10c77a000 -        0x10c77eff7  com.apple.DirectoryServicesSource (8.0 - 1365) <2F2D5BAA-F006-3701-922C-37EF076DE3D1> /System/Library/Address Book Plug-Ins/DirectoryServices.sourcebundle/Contents/MacOS/DirectoryServices
           0x10c785000 -        0x10c7d1ff6  com.apple.AddressBook.CardDAVPlugin (10.9 - 424) <C5AC5902-39C2-3A08-9967-5EAA000228EE> /System/Library/Address Book Plug-Ins/CardDAVPlugin.sourcebundle/Contents/MacOS/CardDAVPlugin
           0x10cc7b000 -        0x10cc82ff7  com.apple.SyncedDefaults (1.3 - 91.30) <FC5A4423-3D91-3A34-853A-C49971EEAE4E> /System/Library/PrivateFrameworks/SyncedDefaults.framework/SyncedDefaults
           0x10db98000 -        0x10db99ff9 +cl_kernels (???) <A5BA224F-5EC1-4D66-BF37-9E7EE220310D> cl_kernels
           0x10db9f000 -        0x10dba0ffa +cl_kernels (???) <669293A2-C6D8-40F1-AC2B-FCD37D38FAE7> cl_kernels
           0x10dc35000 -        0x10dd1bfef  unorm8_bgra.dylib (2.3.58) <9FF943D1-4EF7-36CA-852D-B61C2E554713> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/ImageFormats/u norm8_bgra.dylib
           0x10dd5d000 -        0x10de3dff7  unorm8_rgba.dylib (2.3.58) <DDD1AFEB-FD30-34D2-958A-823C3EFD649A> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/ImageFormats/u norm8_rgba.dylib
           0x10dee7000 -        0x10dee7feb +cl_kernels (???) <51A045A2-AE8C-46ED-9D3C-EE1F14675CD7> cl_kernels
           0x10df94000 -        0x10df95fe2 +cl_kernels (???) <499BA34F-D5BA-4D84-8F6D-2EB8CC9D2969> cl_kernels
           0x10df9f000 -        0x10dfa0fee +cl_kernels (???) <EFD11046-3D43-4211-9826-DCE770D3BF24> cl_kernels
           0x10dfa9000 -        0x10dfa9fe7 +cl_kernels (???) <4EF4D412-72DE-40AF-BDA2-3B72129CBE7C> cl_kernels
           0x10dfb4000 -        0x10dfb4fe7 +cl_kernels (???) <6FFDC918-C971-4CBF-91F2-DBA7344C872B> cl_kernels
           0x10e0ff000 -        0x10e100fe4 +cl_kernels (???) <6BA2FC90-5490-4BD6-A8FA-3E94A72BC4B8> cl_kernels
        0x7fff66811000 -     0x7fff66844817  dyld (239.3) <D1DFCF3F-0B0C-332A-BCC0-87A851B570FF> /usr/lib/dyld
        0x7fff87cb0000 -     0x7fff87d0dfff  com.apple.imfoundation (10.0 - 1000) <122D84B9-871D-3885-9D8D-840CD529028F> /System/Library/PrivateFrameworks/IMFoundation.framework/Versions/A/IMFoundatio n
        0x7fff87d0e000 -     0x7fff87d0fff7  com.apple.print.framework.Print (9.0 - 260) <EE00FAE1-DA03-3EC2-8571-562518C46994> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
        0x7fff87d10000 -     0x7fff87d10fff  com.apple.quartzframework (1.5 - 1.5) <3B2A72DB-39FC-3C5B-98BE-605F37777F37> /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz
        0x7fff87d11000 -     0x7fff88144ffb  com.apple.vision.FaceCore (3.0.0 - 3.0.0) <F42BFC9C-0B16-35EF-9A07-91B7FDAB7FC5> /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
        0x7fff88184000 -     0x7fff88186ff3  libsystem_configuration.dylib (596.12) <C4F633D9-94C8-35D9-BB2D-84C5122533C7> /usr/lib/system/libsystem_configuration.dylib
        0x7fff88187000 -     0x7fff882f5ff7  libBLAS.dylib (1094.5) <DE93A590-5FA5-32A2-A16C-5D7D7361769F> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
        0x7fff882f6000 -     0x7fff88325ff5  com.apple.GSS (4.0 - 2.0) <ED98D992-CC14-39F3-9ABC-8D7F986487CC> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
        0x7fff8833f000 -     0x7fff88388fff  com.apple.CoreMedia (1.0 - 1273.29) <4ACD30BA-E9FE-3842-A8B7-E3BD63747867> /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
        0x7fff88389000 -     0x7fff8838bffb  libutil.dylib (34) <DAC4A6CF-A1BB-3874-9569-A919316D30E8> /usr/lib/libutil.dylib
        0x7fff8838c000 -     0x7fff88390ff7  libGIF.dylib (1038) <C29B4323-1B9E-36B9-96C2-7CEDBAA124F0> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
        0x7fff88391000 -     0x7fff883f5ff3  com.apple.datadetectorscore (5.0 - 354.0) <9ACF24B8-3268-3134-A5BC-D72C9371A195> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDe tectorsCore
        0x7fff883f6000 -     0x7fff88412fff  com.apple.frameworks.preferencepanes (16.0 - 16.0) <059E99D8-67C2-3B59-B5E7-850DD7A92D75> /System/Library/Frameworks/PreferencePanes.framework/Versions/A/PreferencePanes
        0x7fff88413000 -     0x7fff8842eff7  libPng.dylib (1038) <EF781AF8-C2E6-3179-B8A1-A584783070F1> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
        0x7fff8842f000 -     0x7fff884fafff  libvDSP.dylib (423.32) <3BF732BE-DDE0-38EB-8C54-E4E3C64F77A7> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
        0x7fff884fb000 -     0x7fff884fbfff  com.apple.Accelerate.vecLib (3.9 - vecLib 3.9) <F8D0CC77-98AC-3B58-9FE6-0C25421827B6> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
        0x7fff884fc000 -     0x7fff88518fff  libresolv.9.dylib (54) <11C2C826-F1C6-39C6-B4E8-6E0C41D4FA95> /usr/lib/libresolv.9.dylib
        0x7fff8853f000 -     0x7fff885a9ff7  com.apple.framework.IOKit (2.0.1 - 907.1.13) <C1E95F5C-B79B-31BE-9F2A-1B25163C1F16> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
        0x7fff885aa000 -     0x7fff88617fff  com.apple.SearchKit (1.4.0 - 1.4.0) <B9B8D510-A27E-36B0-93E9-17146D9E9045> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
        0x7fff88618000 -     0x7fff88623ff7  com.apple.NetAuth (5.0 - 5.0) <C811E662-9EC3-3B74-808A-A75D624F326B> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
        0x7fff88624000 -     0x7fff8862cfff  libMatch.1.dylib (19) <021293AB-407D-309A-87F5-8E782F46753E> /usr/lib/libMatch.1.dylib
        0x7fff8862d000 -     0x7fff88648ff7  libsystem_malloc.dylib (23.1.10) <FFE5C472-B23A-318A-85BF-77CDE61900D1> /usr/lib/system/libsystem_malloc.dylib
        0x7fff88649000 -     0x7fff88662ff7  com.apple.Ubiquity (1.3 - 289) <C7F1B734-CE81-334D-BE41-8B20D95A1F9B> /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity
        0x7fff8869d000 -     0x7fff886b4fff  com.apple.CFOpenDirectory (10.9 - 173.1.1) <3FB4D5FE-860B-3BDE-BAE2-3531D919EF10> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpen Directory.framework/Versions/A/CFOpenDirectory
        0x7fff8870d000 -     0x7fff8877cff1  com.apple.ApplicationServices.ATS (360 - 363.1) <88976B22-A9B8-3E7B-9AE6-0B8E09A968FC> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
        0x7fff8877d000 -     0x7fff88781ff7  libheimdal-asn1.dylib (323.12) <063A01C2-E547-39D9-BB42-4CC8E64ADE70> /usr/lib/libheimdal-asn1.dylib
        0x7fff88782000 -     0x7fff88794ff7  com.apple.addressbook.ContactsAutocomplete (8.0 - 1365) <9EF30F4C-2C3F-321C-8C32-1445395FD9C7> /System/Library/PrivateFrameworks/ContactsAutocomplete.framework/Versions/A/Con tactsAutocomplete
        0x7fff88795000 -     0x7fff88797fff  libRadiance.dylib (1038) <55F99274-5074-3C73-BAC5-AF234E71CF38> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.d ylib
        0x7fff88798000 -     0x7fff887a4ff7  com.apple.OpenDirectory (10.9 - 173.1.1) <6B78BD7B-5622-38E6-8FC6-86A117E3ACCA> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
        0x7fff887b2000 -     0x7fff887daffb  libRIP.A.dylib (599.7) <6F528EE3-99F8-3871-BD60-1306495C27D5> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A .dylib
        0x7fff887db000 -     0x7fff887e9fff  com.apple.CommerceCore (1.0 - 42) <ACC2CE3A-913A-39E0-8344-B76F8F694EF5> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/C ommerceCore.framework/Versions/A/CommerceCore
        0x7fff887ea000 -     0x7fff887fefff  com.apple.aps.framework (4.0 - 4.0) <F529A05B-FB03-397E-B06A-3A60B808FA11> /System/Library/PrivateFrameworks/ApplePushService.framework/Versions/A/ApplePu shService
        0x7fff887ff000 -     0x7fff88803fff  com.apple.CommonPanels (1.2.6 - 96) <6B434AFD-50F8-37C7-9A56-162C17E375B3> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
        0x7fff88804000 -     0x7fff88846ff7  libauto.dylib (185.5) <F45C36E8-B606-3886-B5B1-B6745E757CA8> /usr/lib/libauto.dylib
        0x7fff88847000 -     0x7fff888a0fff  libTIFF.dylib (1038) <5CBFE0C2-9DD8-340B-BA63-A94CE2E476F2> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
        0x7fff888a1000 -     0x7fff88e11fff  com.apple.CoreAUC (6.22.08 - 6.22.08) <F306D552-2220-3160-88EA-C916193C5EFD> /System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC
        0x7fff88e12000 -     0x7fff88e1bff7  com.apple.MailService (7.0 - 1816) <962A2816-E884-365B-A518-AA561082D64E> /System/Library/PrivateFrameworks/MailService.framework/Versions/A/MailService
        0x7fff88e1c000 -     0x7fff88e1ffff  libCoreVMClient.dylib (58.1) <EBC36C69-C896-3C3D-8589-3E9023E7E56F> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClien t.dylib
        0x7fff88e34000 -     0x7fff88e39ff7  com.apple.EmailAddressing (7.0 - 1816) <811B7A0A-5B01-364F-B916-E5B11BBB1DE1> /System/Library/PrivateFrameworks/EmailAddressing.framework/Versions/A/EmailAdd ressing
        0x7fff88e3a000 -     0x7fff88e8dff7  com.apple.ical.EventKit (2.0 - 152) <34FD327F-0E27-3B0F-B801-0C8FF2B4814A> /System/Library/Frameworks/EventKit.framework/Versions/A/EventKit
        0x7fff88e8e000 -     0x7fff89162fc7  com.apple.vImage (7.0 - 7.0) <D241DBFA-AC49-31E2-893D-EAAC31890C90> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
        0x7fff89405000 -     0x7fff8940cff7  libsystem_pthread.dylib (53.1.4) <AB498556-B555-310E-9041-F67EC9E00E2C> /usr/lib/system/libsystem_pthread.dylib
        0x7fff8940f000 -     0x7fff89531ff1  com.apple.avfoundation (2.0 - 651.12) <03E595B7-A559-3D4D-90E9-BCA603E3A39E> /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation
        0x7fff89532000 -     0x7fff8958dffb  com.apple.AE (665.5 - 665.5) <BBA230F9-144C-3CAB-A77A-0621719244CD> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
        0x7fff8958e000 -     0x7fff89592fff  libpam.2.dylib (20) <B93CE8F5-DAA8-30A1-B1F6-F890509513CB> /usr/lib/libpam.2.dylib
        0x7fff896fa000 -     0x7fff898b2ff3  libicucore.A.dylib (511.25) <3ED7B656-416E-3071-AEC8-E85C90232F78> /usr/lib/libicucore.A.dylib
        0x7fff898b3000 -     0x7fff8990afff  com.apple.IMAP (7.0 - 1816) <179520FB-A7AD-3039-A277-62F8FB175878> /System/Library/PrivateFrameworks/IMAP.framework/Versions/A/IMAP
        0x7fff8990b000 -     0x7fff899a6ff7  com.apple.PDFKit (2.9 - 2.9) <AD968A31-6567-30A7-A699-154C88DB56D0> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framew ork/Versions/A/PDFKit
        0x7fff899a7000 -     0x7fff899e6fff  libGLU.dylib (9.0.83) <8B457205-513B-3477-AE9C-3AD979D5FE11> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
        0x7fff899e7000 -     0x7fff89a35fff  libcorecrypto.dylib (161.1) <F3973C28-14B6-3006-BB2B-00DD7F09ABC7> /usr/lib/system/libcorecrypto.dylib
        0x7fff89a36000 -     0x7fff89a94ff7  com.apple.corelocation (1486.17 - 1486.24) <9FBB29F0-E000-3190-A96C-9EAA5CCCA2A0> /System/Library/Frameworks/CoreLocation.framework/Versions/A/CoreLocation
        0x7fff89a95000 -     0x7fff89acfff3  com.apple.bom (12.0 - 192) <989690DB-B9CC-3DB5-89AE-B5D33EDC474E> /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
        0x7fff89ad2000 -     0x7fff89b32fff  com.apple.ISSupport (1.9.9 - 57) <E1E343D7-222C-3458-9D1F-FC600B7F1C50> /System/Library/PrivateFrameworks/ISSupport.framework/Versions/A/ISSupport
        0x7fff89b33000 -     0x7fff89b5ffff  com.apple.CoreServicesInternal (184.8 - 184.8) <707E05AE-DDA8-36FD-B0FF-7F15A061B46A> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/Cor eServicesInternal
        0x7fff89b60000 -     0x7fff89c09ff7  com.apple.MailCore (7.0 - 1816) <5E8A558E-B776-3582-AE62-FA80655751E7> /System/Library/PrivateFrameworks/MailCore.framework/Versions/A/MailCore
        0x7fff89c7f000 -     0x7fff89c80fff  com.apple.TrustEvaluationAgent (2.0 - 25) <334A82F4-4AE4-3719-A511-86D0B0723E2B> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/Tru stEvaluationAgent
        0x7fff89cab000 -     0x7fff89cadff7  libquarantine.dylib (71) <7A1A2BCB-C03D-3A25-BFA4-3E569B2D2C38> /usr/lib/system/libquarantine.dylib
        0x7fff89cae000 -     0x7fff89cb1fff  com.apple.TCC (1.0 - 1) <32A075D9-47FD-3E71-95BC-BFB0D583F41C> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
        0x7fff89cb2000 -     0x7fff89f0aff1  com.apple.security (7.0 - 55471) <233831C5-C457-3AD5-AFE7-E3E2DE6929C9> /System/Library/Frameworks/Security.framework/Versions/A/Security
        0x7fff89f61000 -     0x7fff89f86ff7  com.apple.CoreVideo (1.8 - 117.2) <4674339E-26D0-35FA-9958-422832B39B12> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
        0x7fff89f87000 -     0x7fff89f93ff3  com.apple.AppleFSCompression (56 - 1.0) <5652B0D0-EB08-381F-B23A-6DCF96991FB5> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/Apple FSCompression
        0x7fff8a01b000 -     0x7fff8a027ff7  com.apple.CalendarAgentLink (7.0 - 138) <B8B63D14-D853-3478-B001-BC67B7E9F993> /System/Library/PrivateFrameworks/CalendarAgentLink.framework/Versions/A/Calend arAgentLink
        0x7fff8a029000 -     0x7fff8a0ecff7  com.apple.backup.framework (1.5 - 1.5) <92C8038F-CC00-3202-90D8-3C3AEC90986F> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
        0x7fff8a0ed000 -     0x7fff8a0ffff7  com.apple.MultitouchSupport.framework (245.13 - 245.13) <D5E7416D-45AB-3690-86C6-CC4B5FCEA2D2> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/Multit ouchSupport
        0x7fff8a100000 -     0x7fff8a118ff7  com.apple.GenerationalStorage (2.0 - 160.2) <79629AC7-896F-3302-8AC1-4939020F08C3> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/Gene rationalStorage
        0x7fff8a154000 -     0x7fff8a284ff7  com.apple.desktopservices (1.8 - 1.8) <09DC9BB8-432F-3C7A-BB08-956A2DDFC2DE> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
        0x7fff8a285000 -     0x7fff8a28bff7  libCGXCoreImage.A.dylib (599.7) <AC38090E-BA96-33C0-92F3-8EF6231582C4> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXCo reImage.A.dylib
        0x7fff8a3b2000 -     0x7fff8a44ffff  com.apple.imcore (10.0 - 1000) <027E09B4-B4B6-3710-8806-B4CE41DF3242> /System/Library/PrivateFrameworks/IMCore.framework/Versions/A/IMCore
        0x7fff8a450000 -     0x7fff8a4dfff7  com.apple.Metadata (10.7.0 - 800.12) <04486C95-3E49-36C4-89B6-925E925BB417> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
        0x7fff8a4e0000 -     0x7fff8a5cefff  libJP2.dylib (1038) <6C8179F5-8063-3ED6-A7C2-D5603DECDF28> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
        0x7fff8a5cf000 -     0x7fff8a60cfff  com.apple.MailUI (7.0 - 1816) <0DF3A4A8-B97D-3B10-A682-D7911838BABA> /System/Library/PrivateFrameworks/MailUI.framework/Versions/A/MailUI
        0x7fff8a60d000 -     0x7fff8a7a9ff7  com.apple.QuartzCore (1.8 - 332.0) <994D1E0A-64B6-398C-B9A2-C362F02DE943> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
        0x7fff8a83f000 -     0x7fff8a844ff7  libunwind.dylib (35.3) <78DCC358-2FC1-302E-B395-0155B47CB547> /usr/lib/system/libunwind.dylib
        0x7fff8a845000 -     0x7fff8b3b9ff7  com.apple.AppKit (6.9 - 1265) <0E9FC8BF-DA3C-34C5-91CC-12BC922B5F01> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
        0x7fff8b3ba000 -     0x7fff8b4a9fff  libFontParser.dylib (111.1) <835A8253-6AB9-3AAB-9CBF-171440DEC486> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontParser.dylib
        0x7fff8b4aa000 -     0x7fff8b4d6ff7  com.apple.framework.SystemAdministration (1.0 - 1.0) <36C562FF-5D91-318C-A19C-6B4453FB78B9> /System/Library/PrivateFrameworks/SystemAdministration.framework/Versions/A/Sys temAdministration
        0x7fff8b4d7000 -     0x7fff8b4defff  libcompiler_rt.dylib (35) <4CD916B2-1B17-362A-B403-EF24A1DAC141> /usr/lib/system/libcompiler_rt.dylib
        0x7fff8b4df000 -     0x7fff8b61ffff  com.apple.QTKit (7.7.3 - 2826) <7A110F61-D4DD-3C84-950D-E5F486DE5765> /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit
        0x7fff8b6d5000 -     0x7fff8b950ff7  com.apple.RawCamera.bundle (4.09 - 711) <0040632D-09A9-32DE-98E8-BFA99F9F6526> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
        0x7fff8b951000 -     0x7fff8b9b7fff  com.apple.framework.CoreWiFi (2.0 - 200.21.1) <5491896D-78C5-30B6-96E9-D8DDECF3BE73> /System/Library/Frameworks/CoreWiFi.framework/Versions/A/CoreWiFi
        0x7fff8b9b8000 -     0x7fff8b9b8ffd  com.apple.audio.units.AudioUnit (1.9 - 1.9) <6E89F3CB-CC41-3728-9F9A-FDFC151E8261> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
        0x7fff8bec7000 -     0x7fff8bf07ff7  com.apple.CalDAV (7.0 - 155.1) <6912C282-D362-3473-90E3-655A36C0CC21> /System/Library/PrivateFrameworks/CalDAV.framework/Versions/A/CalDAV
        0x7fff8bf08000 -     0x7fff8bf4fff7  libcups.2.dylib (372) <348EED62-6C20-35D6-8EFB-E80943965100> /usr/lib/libcups.2.dylib
        0x7fff8bf59000 -     0x7fff8bfa4fff  com.apple.ImageCaptureCore (5.0 - 5.0) <F529EDDC-E2F5-30CA-9938-AF23296B5C5B> /System/Library/Frameworks/ImageCaptureCore.framework/Versions/A/ImageCaptureCo re
        0x7fff8bfa5000 -     0x7fff8c008ff7  com.apple.SystemConfiguration (1.13 - 1.13) <F05F4149-981B-380B-8F50-51CE804BBB89> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
        0x7fff8c009000 -     0x7fff8c00dfff  libsystem_stats.dylib (93.1.26) <B9E26A9E-FBBC-3938-B8B7-6CF7CA8C99AD> /usr/lib/system/libsystem_stats.dylib
        0x7fff8c00e000 -     0x7fff8c038ff7  libpcap.A.dylib (42) <91D3FF51-D6FE-3C05-98C9-1182E0EC3D58> /usr/lib/libpcap.A.dylib
        0x7fff8c0a4000 -     0x7fff8c106ff7  com.apple.WhitePagesFramework (10.7.0 - 141.0) <F95E1174-37B7-300C-8ECE-E67A711B6721> /System/Library/PrivateFrameworks/WhitePages.framework/Versions/A/WhitePages
        0x7fff8c857000 -     0x7fff8c868ff7  com.apple.idsfoundation (10.0 - 1000) <0BC25100-092B-3C5A-8245-F7C963380785> /System/Library/PrivateFrameworks/IDSFoundation.framework/Versions/A/IDSFoundat ion
        0x7fff8c869000 -     0x7fff8c8e0fff  com.apple.CoreServices.OSServices (600.4 - 600.4) <36B2B009-C35E-3F21-824E-E0D00E7808C7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
        0x7fff8c8e1000 -     0x7fff8c8eafff  com.apple.DisplayServicesFW (2.8 - 360.8.14) <816A9CED-1BC0-3C76-8103-1B9BE0F723BB> /System/Library/PrivateFrameworks/DisplayServices.framework/Versions/A/DisplayS ervices
        0x7fff8c8eb000 -     0x7fff8c932fff  libFontRegistry.dylib (127) <A77A0480-AA5D-3CC8-8B68-69985CD546DC> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontRegistry.dylib
        0x7fff8c933000 -     0x7fff8c93aff3  libcopyfile.dylib (103) <5A881779-D0D6-3029-B371-E3021C2DDA5E> /usr/lib/system/libcopyfile.dylib
        0x7fff8c93b000 -     0x7fff8c93bfff  com.apple.Carbon (154 - 157) <45A9A40A-78FF-3EA0-8FAB-A4F81052FA55> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
        0x7fff8c93c000 -     0x7fff8c93dff7  libDiagnosticMessagesClient.dylib (100) <4CDB0F7B-C0AF-3424-BC39-495696F0DB1E> /usr/lib/libDiagnosticMessagesClient.dylib
        0x7fff8c93e000 -     0x7fff8c940fff  com.apple.EFILogin (2.0 - 2) <C360E8AF-E9BB-3BBA-9DF0-57A92CEF00D4> /System/Library/PrivateFrameworks/EFILogin.framework/Versions/A/EFILogin
        0x7fff8cbca000 -     0x7fff8cc0afff  com.apple.PassKit (1.0 - 1) <CE4A0FC6-6E65-38AC-BC8E-74821D713B43> /System/Library/PrivateFrameworks/PassKit.framework/Versions/A/PassKit
        0x7fff8cc0b000 -     0x7fff8cc0efff  com.apple.AppleSystemInfo (3.0 - 3.0) <4D032152-AA40-350E-BB96-44BC55C5C69C> /System/Library/PrivateFrameworks/AppleSystemInfo.framework/Versions/A/AppleSys temInfo
        0x7fff8cc0f000 -     0x7fff8cc48ff7  com.apple.QD (3.50 - 298) <C1F20764-DEF0-34CF-B3AB-AB5480D64E66> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
        0x7fff8cc49000 -     0x7fff8cc6bfff  com.apple.framework.familycontrols (4.1 - 410) <4FDBCD10-CAA2-3A9C-99F2-06DCB8E81DEE> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyCon trols
        0x7fff8cc8b000 -     0x7fff8cc8dff7  com.apple.diagnosticlogcollection (10.0 - 1000) <5CA6D8A2-DEA6-33C3-91BC-F3B076C0500B> /System/Library/PrivateFrameworks/DiagnosticLogCollection.framework/Versions/A/ DiagnosticLogCollection
        0x7fff8cca6000 -     0x7fff8d01cffa  com.apple.JavaScriptCore (9537 - 9537.65) <7E76880C-832E-385B-9591-ACCF57A68385> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
        0x7fff8d01d000 -     0x7fff8d202ff7  com.apple.CoreFoundation (6.9 - 855.11) <E22C6A1F-8996-349C-905E-96C3BBE07C2F> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
        0x7fff8d203000 -     0x7fff8d216ff7  com.apple.AppContainer (3.0 - 1) <A90C058D-46E8-3BAB-AF17-AF9C7C273069> /System/Library/PrivateFrameworks/AppContainer.framework/Versions/A/AppContaine r
        0x7fff8d217000 -     0x7fff8d21eff7  com.apple.phonenumbers (1.1.1 - 105) <767A63EB-244C-34F1-9FFA-D1A6BED60C31> /System/Library/PrivateFrameworks/PhoneNumbers.framework/Versions/A/PhoneNumber s
        0x7fff8d21f000 -     0x7fff8d221fff  com.apple.marco (10.0 - 1000) <FC7EF8C7-5EDF-3720-BAEC-281F12A7A3F8> /System/Library/PrivateFrameworks/Marco.framework/Versions/A/Marco
        0x7fff8d222000 -     0x7fff8d301fff  libcrypto.0.9.8.dylib (50) <B95B9DBA-39D3-3EEF-AF43-44608B28894E> /usr/lib/libcrypto.0.9.8.dylib
        0x7fff8d38c000 -     0x7fff8d38dffb  libremovefile.dylib (33) <3543F917-928E-3DB2-A2F4-7AB73B4970EF> /usr/lib/system/libremovefile.dylib
        0x7fff8d38e000 -     0x7fff8d39bfff  com.apple.Sharing (132.2 - 132.2) <F983394A-226D-3244-B511-FA51FDB6ADDA> /System/Library/PrivateFrameworks/Sharing.framework/Versions/A/Sharing
        0x7fff8d39c000 -     0x7fff8d427fff  libCoreStorage.dylib (380) <AE14C2F3-0EF1-3DCD-BF2B-A24D97D3B372> /usr/lib/libCoreStorage.dylib
        0x7fff8d428000 -     0x7fff8d438fff  libbsm.0.dylib (33) <2CAC00A2-1352-302A-88FA-C567D4D69179> /usr/lib/libbsm.0.dylib
        0x7fff8d439000 -     0x7fff8d440ff7  liblaunch.dylib (842.1.4) <FCBF0A02-0B06-3F97-9248-5062A9DEB32C> /usr/lib/system/liblaunch.dylib
        0x7fff8d451000 -     0x7fff8d480fd2  libsystem_m.dylib (3047.16) <B7F0E2E4-2777-33FC-A787-D6430B630D54> /usr/lib/system/libsystem_m.dylib
        0x7fff8dd45000 -     0x7fff8dd4afff  libmacho.dylib (845) <1D2910DF-C036-3A82-A3FD-44FF73B5FF9B> /usr/lib/system/libmacho.dylib
        0x7fff8dd4b000 -     0x7fff8dd55ff7  com.apple.bsd.ServiceManagement (2.0 - 2.0) <2D27B498-BB9C-3D88-B05A-76908A8A26F3> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManage ment
        0x7fff8dd56000 -     0x7fff8dd60ff7  com.apple.ProtocolBuffer (1 - 182.1.3) <82E68598-A8AA-3AF1-843E-2A64F19472D4> /System/Library/PrivateFrameworks/ProtocolBuffer.framework/Versions/A/ProtocolB uffer
        0x7fff8dd9b000 -     0x7fff8dd9cfff  liblangid.dylib (117) <9546E641-F730-3AB0-B3CD-E0E2FDD173D9> /usr/lib/liblangid.dylib
        0x7fff8dd9d000 -     0x7fff8ddcaff2  com.apple.frameworks.CoreDaemon (1.3 - 1.3) <43A137C4-3E72-37DC-945F-92569C12AAD4> /System/Library/PrivateFrameworks/CoreDaemon.framework/Versions/B/CoreDaemon
        0x7fff8de00000 -     0x7fff8df53ff7  com.apple.audio.toolbox.AudioToolbox (1.9 - 1.9) <A0B7B007-9BD8-30E2-B644-47856DA29FEE> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
        0x7fff8df54000 -     0x7fff8e335ffe  libLAPACK.dylib (1094.5) <7E7A9B8D-1638-3914-BAE0-663B69865986> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
        0x7fff8e35a000 -     0x7fff8e378ff7  com.apple.CalendarFoundation (7.0 - 111) <D5CEE7AE-3325-3E7E-924B-12834AE7D218> /System/Library/PrivateFrameworks/CalendarFoundation.framework/Versions/A/Calen darFoundation
        0x7fff8e379000 -     0x7fff8e379fff  com.apple.Cocoa (6.8 - 20) <E90E99D7-A425-3301-A025-D9E0CD11918E> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
        0x7fff8e37a000 -     0x7fff8e4eaff6  com.apple.CFNetwork (673.0.3 - 673.0.3) <42CFC3DB-35C8-3652-AF37-4BCC73D8BDEF> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
        0x7fff8e4eb000 -     0x7fff8e6fcff7  com.apple.Mail.framework (7.0 - 1816) <748EB39A-3BB4-3911-B1D1-05F002923E65> /System/Library/PrivateFrameworks/Mail.framework/Versions/A/Mail
        0x7fff8e6fd000 -     0x7fff8e724ffb  libsystem_info.dylib (449.1.3) <7D41A156-D285-3849-A2C3-C04ADE797D98> /usr/lib/system/libsystem_info.dylib
        0x7fff8e725000 -     0x7fff8e728ffa  libCGXType.A.dylib (599.7) <2FC9C2BC-B5C5-3C27-93F9-51C6C4512E9D> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXTy pe.A.dylib
        0x7fff8e742000 -     0x7fff8e748fff  com.apple.AddressBook.ContactsFoundation (8.0 - 1365) <CFB1A744-8096-3FAB-B55E-2E6C410A0376> /System/Library/PrivateFrameworks/ContactsFoundation.framework/Versions/A/Conta ctsFoundation
        0x7fff8e749000 -     0x7fff8e74cfff  com.apple.help (1.3.3 - 46) <AE763646-D07A-3F9A-ACD4-F5CBD734EE36> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
        0x7fff8e74d000 -     0x7fff8ea4cfff  com.apple.Foundation (6.9 - 1056) <D608EDFD-9634-3573-9B7E-081C7D085F7A> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
        0x7fff8ea4d000 -     0x7fff8ea57ff7  com.apple.CrashReporterSupport (10.9 - 538) <B487466B-3AA1-3854-A808-A61F049FA794> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/Cra shReporterSupport
        0x7fff8ea58000 -     0x7fff8ea61ff7  libcldcpuengine.dylib (2.3.58) <A2E1ED7B-FC7E-31F6-830A-FF917689766B> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libcldcpuengin e.dylib
        0x7fff8ea75000 -     0x7fff8eaa3ff7  com.apple.securityinterface (9.0 - 55047) <0346D8A9-2CAA-38F3-A741-5FBA5E9F1E7C> /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
        0x7fff8eba1000 -     0x7fff8ebe6ff7  libcurl.4.dylib (78) <A722B4F0-1F6C-3E16-9CB1-4C6ADC15221E> /usr/lib/libcurl.4.dylib
        0x7fff8ec29000 -     0x7fff8ecfaff7  com.apple.QuickLookUIFramework (5.0 - 622.3) <9741E66B-3978-35F6-8846-B6C528945611> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuickLookUI.f ramework/Versions/A/QuickLookUI
        0x7fff8ee89000 -     0x7fff8eefcffb  com.apple.securityfoundation (6.0 - 55122) <119D1C53-B292-3378-AEE1-A3B1FB02F43F> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
        0x7fff8eefd000 -     0x7fff8ef42ff6  com.apple.HIServices (1.22 - 466) <21807AF8-3BC7-32BB-AB96-7C35CB59D7F6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
        0x7fff8ef43000 -     0x7fff8ef49ff7  com.apple.XPCService (2.0 - 1) <2CE632D7-FE57-36CF-91D4-C57D0F2E0BFE> /System/Library/PrivateFrameworks/XPCService.framework/Versions/A/XPCService
        0x7fff8ef4a000 -     0x7fff8ef4bff7  libsystem_blocks.dylib (63) <FB856CD1-2AEA-3907-8E9B-1E54B6827F82> /usr/lib/system/libsystem_blocks.dylib
        0x7fff8efcb000 -     0x7fff8efd1ff7  libsystem_platform.dylib (24.1.4) <331BA4A5-55CE-3B95-99EB-44E0C89D7FB8> /usr/lib/system/libsystem_platform.dylib
        0x7fff8efd2000 -     0x7fff8f0d7fff  com.apple.ImageIO.framework (3.3.0 - 1038) <2C058216-C6D8-3380-A7EA-92A3F04520C1> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
        0x7fff8f0d8000 -     0x7fff8f109fff  com.apple.MediaKit (15 - 709) <23E33409-5C39-3F93-9E73-2B0E9EE8883E> /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit
        0x7fff8f10a000 -     0x7fff8f112ffc  libGFXShared.dylib (9.0.83) <11A621C3-37A0-39CE-A69B-8739021BD79D> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.d ylib
        0x7fff8f113000 -     0x7fff8f11cfff  com.apple.speech.synthesis.framework (4.6.2 - 4.6.2) <0AAE45F0-FC6E-36B6-A6A7-73E6950A74AC> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
        0x7fff8f11d000 -     0x7fff8f11dfff  com.apple.ApplicationServices (48 - 48) <3E3F01A8-314D-378F-835E-9CC4F8820031> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
        0x7fff8f11e000 -     0x7fff8f126fff  libsystem_dnssd.dylib (522.1.11) <270DCF6C-502D-389A-AA9F-DE4624A36FF7> /usr/lib/system/libsystem_dnssd.dylib
        0x7fff8f4c0000 -     0x7fff8f4c2fff  com.apple.Mangrove (1.0 - 1) <72F5CBC7-4E78-374E-98EA-C3700136904E> /System/Library/PrivateFrameworks/Mangrove.framework/Versions/A/Mangrove
        0x7fff8f4c3000 -     0x7fff8f50bff7  com.apple.ExchangeWebServices (4.0 - 193) <867EDAF0-5863-397E-BA75-855878D68949> /System/Library/PrivateFrameworks/ExchangeWebServices.framework/Versions/A/Exch angeWebServices
        0x7fff8f673000 -     0x7fff8f820f27  libobjc.A.dylib (551.1) <AD7FD984-271E-30F4-A361-6B20319EC73B> /usr/lib/libobjc.A.dylib
        0x7fff8f821000 -     0x7fff8fa69fff  com.apple.CoreData (107 - 481) <E5AFBA07-F73E-3B3F-9099-F51224EE8EAD> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
        0x7fff8fa79000 -     0x7fff8fa86ff4  com.apple.Librarian (1.2 - 1) <F1A2744D-8536-32C7-8218-9972C6300DAE> /System/Library/PrivateFrameworks/Librarian.framework/Versions/A/Librarian
        0x7fff8fb2c000 -     0x7fff8fc16fff  libsqlite3.dylib (158) <00269BF9-43BE-39E0-9C85-24585B9923C8> /usr/lib/libsqlite3.dylib
        0x7fff8fc17000 -     0x7fff8fc65fff  com.apple.opencl (2.3.57 - 2.3.57) <FC03A80D-543A-3448-83FF-D399C3A240D9> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
        0x7fff8fd76000 -     0x7fff8fd80ff7  libcsfde.dylib (380) <3A54B430-EC05-3DE9-86C3-00C1BEAC7F9B> /usr/lib/libcsfde.dylib
        0x7fff8fd81000 -     0x7fff8fd9aff7  com.apple.Kerberos (3.0 - 1) <F108AFEB-198A-3BAF-BCA5-9DFCE55EFF92> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
        0x7fff8fd9b000 -     0x7fff8ff56ff6  com.apple.GeoServices (1.0 - 702.14.9) <A3A4D6AC-72B2-39F3-AAE0-9AF3B88C

    This is really meaningless information to the Forum users.
    When I encounter problems as these I use Disk Utility to repair permissions.
    Then I reboot and see if things cleared up.
    MJ

Maybe you are looking for