[pthread - Solaris 8] pthread_mutex_lock / pthread_mutex_unlock weird pb

Hi all,
I actually have the current problem : I create 2 threads, one thread works a lot and spend most of its time in the critical session and the other one sleeps most of the time (outside the critical section)
The problem is : the slow thread never get the mutex so it never access to the critical session and the big worker seems to unlock/relock to fast to let the other thread work.
The problem occurs under Solaris 8 but I have no problem under Solaris 10 (most of our workstations still work under Solaris 8 so I must make it work under Solaris 8)
Here is a very simple code (main.cpp) you can compile/try on your Sun Solaris 8 workstation :
#include <pthread.h>
#include <stdio.h>
#include <iostream.h>
#include <unistd.h>
pthread_mutex_t mutex;
extern "C" void bigWorkerThr(void pClosure)
     while(1)
          if(0 != pthread_mutex_lock(&mutex)) exit(0);
          char str[5];
          strcpy(str, "test"); // short time operation
          if(0 != pthread_mutex_unlock(&mutex)) exit(0);
          //usleep(1);
     return(NULL);
extern "C" void slowWorkerThr(void pClosure)
     while(1)
          sleep(1);
          if(0 != pthread_mutex_lock(&mutex)) exit(0);
          cerr << "HELLO WORLD" << endl; // display "HELLO WORLD" means it works
          if(0 != pthread_mutex_unlock(&mutex)) exit(0);
     return(NULL);
int main()
     cerr << "STARTING ..." << endl;
     pthread_mutex_init(&mutex, NULL);
     pthread_t bigWorkerThrID;
     if(0 != pthread_create(&bigWorkerThrID, NULL, bigWorkerThr, NULL)) exit(0); // big worker
     pthread_t slowWorkerThrID;
     if(0 != pthread_create(&slowWorkerThrID, NULL, slowWorkerThr, NULL)) exit(0); // slow worker
     void *res = NULL;
     pthread_join(slowWorkerThrID, &res);
     pthread_join(bigWorkerThrID, &res);
Here is my compiling command and environment:
# $ uname -a
# SunOS mscorail 5.8 Generic_117350-45 sun4u sparc SUNW,Sun-Fire-V210
(SunFire V210 (2 x 1336 MHz) with 4 Go of memory)
# $ CC -V
# CC: Sun C++ 5.8 2005/10/13
# $ CC -mt main.cpp -o main

The way you are programming the locks is incorrect. You cannot depend on
the "unlock" statement to cause the other thread to run. The most EFFICIENT way for the OS to run a threaded program, is to keep running the same
thread until it must block for some reason. If you want two threads to
hand off back and forth to share a resource, you have to add explicit
variables or extra synchronization to directly cause the threads take
turns the way you want.
--chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • BI Publisher Installation in Solaris 10 x86 failing.

    Hello all,
    I am trying to install BI Publisher on Solaris 10. During the pre-requisites check, it fails for Checking OS recommended patches, 127111-02 and 137111-04. If I ignore and continue, then the Distributing Repository is failing throwing the error
    Error executing nqudmlexec - return code: 1stdout:
    stderr:
    How can I solve the issue.
    Please help its urgent.
    Thank you
    Cheers
    Ash

    Hello All,
    Finally the installation got finished. The two things that held me for long are these
    1) Operating System required Patches showing the wrong patch number. While you run the installer for the OBIEE 11g, during the pre-requisites check it failed for the fore said item. I had to run a lot for the answer.
    The answer was pretty simple, the patch number shown by the installer was wrong (127111-02, 137111-04) These two patches are for the Solaris SPARC OS. Weirdly I was running the installation on a Intel Solaris VM. The respective patches for Intel Solaris 10 are 127112-02 and 137112-04, so moral of the story is ensure that these patches are in and ignore the failure message click NEXT
    2) Now getting back to the error message posted here "Error executing nqudmlexec - return code: 1stdout:" This is because the LOCALE was not set to UTF-8
    Steps to set the locale
    i) ensure that UTF-8 is installed in you machine "localeadm -a en_US.UTF-8 -d /cdrom/cdrom0/Solaris_10/Product"
    ii) can do a listing using locale -a to make sure that UTF-8 is in.
    iii) make sure that the following packages are in "pkgadd SUNWi1cs SUNWi15cs SUNWnamos"
    iv) set the LANG variable "export LANG=UTF-8"
    And I had a smooth run. :) The pain was over...
    Ash

  • RWBoolean problem on Solaris10...

    Guys!
    We know that the class variables initialize to default values when not initialize explicitly... for ex., RWBoolean initialize to false. I am running roguewave CD8 on solaris 10, encountering a weird behavior. When I do not initialize a class member of RWBoolean datatype... it is taking different value for each run... one time 0, one time 1...
    Can someone can explain me whats happening???'
    Thx!
    Rahul.

    Hi;
    Actually i completed all pre-requests need before installing the CRS.
    what I can't understand is, that the first time I started to install Clusterware every thing was fine, at that time the problem was briefed with my laptop resources it was hanging when I run the script root.sh
    Now when i changed my laptop with a better one this problem I mentioned(java....) arise. So really I don't know..
    Thanks for you reply..
    Waiting for more.
    Best Regards
    M. Barakat

  • Weird behaviour of firefox in solaris 10

    Hi forum,
    I have noticed some weird (at least to me) of Firefox on Solaris.
    My desktop system is OpenSuse 11.1 and when I login to the Solaris server using ssh -X and then start Firefox remotely on the server one of 2 things happen.
    1- If I am not running firefox on my desktop Firefox is started remotely on the server and displayed locally, exactly as you expect it to.
    2- If ,however, I am already running Firefox on my OpenSuse system, the weird thing happens: even though I start Firefox remotely it actually (somehow) runs another instance of Firefox on my desktop as is obvious from the bookmarks end the ps command.
    Frankly I do not understand how this clever feature works, but I would like to switch this of definitely.
    Any ideas please?

    Firefox is looking at the X server to see if a copy is already running, then sending an X message to it to open another window.
    I'm not sure if there's an option to modify the behavior.
    Darren

  • Memory leak using pthreads on Solaris 7

    I'm on Solaris 7
    uname -a:
    SunOS zelda 5.7 Generic_106541-18 sun4u sparc SUNW,Ultra-250
    compiling with g++ (2.95.2)
    purify 5.2
    I consistently get memory leaks related (apparently)
    to the pthreads lib. I've set the error reporting chain length to 30 (way big), the start of the chain in every case starts with threadstart [ libthread.so.1 ]
    when I end my process, I Join the threads before deleting them. What else can I do to get rid of these leaks?
    thanks,
    rich

    is it worth upgrading to a 64 bit OS with more ram.
    Well you're talking a fairly hefty investment in fact your best bets buying a new machine at that point since the motherboard would need to be upgraded as well as memory and OS.
    Now  I run on a 64 bit OS 12 gigs of ram, but i love my plug-ins, and most are 32 bit, so you would still be using the 32 bit Photoshop if you want the majority of all plugins for photoshop to work. Well while the 32 bit version still have the memory limitations on how much memory it can use, Because its in the 64 bit OS, you have available the full amount of that limitation available to the application.
    I can run several different memory intensive applications at one time and normally not have an issue.  I say normally cause, sometimes i will crash my graphics driver if i open one too many 3d apps hooked into the Nvidia drivers.
    I normally only reboot maybe once a week.
    So in short, would it help you to be able to go 64 bit with more ram, Most Certainly even more so if you could care less about plug-ins and want to use the 64 bit version. should you go to 16 gigs of ram.. That depends on your budget really,
    Personally I always plan to upgrade when I build my systems, Putting in the largest chips you can with out filling all the slots leaving room for upgrading if needed. that way you're not filling all your slots with cheaper lower memory ram that you would have to replace them all to upgrade.
    Hope this helps a bit

  • Weird IP address issue in Solaris 10 6/06

    I installed the OS with a particular external IP address but now when I try and change the IP address, the IP address reverts to the one entered during install time after I perform a reboot.
    I changed the IP address for the interface using ifconfig. I followed this up by modifying my /etc/hosts, /etc/hostname.hme0, /etc/defaultrouter and I removed the old default gateway and replaced it with one that corresponds to the new IP address.
    But on the reboot, it is as if I hadn't made these changes. Is there something in Solaris 10 that is causing this?

    You missed /etc/inet/ipnodes
    Its new in solaris 10.
    You might also need to modify the netmasks.
    Also nodename if you changed the hostname as well as the IP.
    A usefule resource is the sys-unconfig man page.
    Even if you don't use the command, the list of files it modifies is relevant.

  • Help !!! My forms from NT to Sun Solaris .. weird now

    Hello,
    I have brought my forms, originally developed on NT,
    to UNIX Sun Solaris and every single fonts in the forms
    have changed.
    Is there a command to fix the fonts when bring to another
    platform ?
    Thanks so much in advance.
    Thuy
    null

    T.P.
    I am sorry but we don't deal with Oracle Forms.
    Oracle Migration Workbench Team.
    T.P (guest) wrote:
    : Hi,
    : I need to bring my forms60 originally developed on NT to
    : Sun Solaris. Do I need to write a script and is the fonts
    : going to be change?
    : Thanks very much.
    : Thuy
    Oracle Technology Network
    http://technet.oracle.com
    null

  • Pthreads on Solaris 64 bit

    Hi all;
    This is kinda of a vague question but maybe ye can help.
    I am trying to compile a process using pthreads and in the link line and orginally i got a problem with sigwait but this flag -D_POSIX_PTHREAD_SEMANTICS sorted it. Now i am getting a problem with SIGKILL so i was wondering is their any other flags i need to set in relation to pthreads?
    Thanks!

    What kind of problem you get with SIGKILL?
    As for posix stuff - there is controlling macro POSIXC_SOURCE.
    Taking a look at /usr/include/sys/feature_tests.h:
    *      Values of _POSIX_C_SOURCE
    *              undefined       not a POSIX compilation
    *                      1       POSIX.1-1990 compilation
    *                      2       POSIX.2-1992 compilation
    *                199309L       POSIX.1b-1993 compilation (Real Time)
    *                199506L       POSIX.1c-1995 compilation (POSIX Threads)
    */It looks like you might want to set it to 199506L.
    regards,
    __Fedor.

  • Weird message when installing Solaris from CDROM

    Has anybody see something as follow:
    {0} ok boot cdrom
    Boot device: /pci@7c0/pci@0/pci@1/pci@0/ide@8/cdrom@0,0:f  File and args:
    SunOS Release 5.10 Version Generic_118833-33 64-bit Copyright 1983-2006 Sun Microsystems, Inc.  All rights reserved.
    Use is subject to license terms.
    WARNING: mac_open e1000g0 failed
    WARNING: mac_open e1000g0 failed
    WARNING: mac_open e1000g0 failed
    WARNING: Unable to setup switching mode
    Configuring devices.
    WARNING: bypass cookie failure 71ece
    NOTICE: tavor0: error during attach: hw_init_eqinitall_fail
    NOTICE: tavor0: driver attached (for maintenance mode only)
    NOTICE: pciex8086,105e - e1000g[0] : Adapter 1000Mbps full duplex copper link is  up.What's wrong with the e1000g0 network interface?

    I've had similiar messages on the Solaris Developer Edition with my machine that uses the rtls driver, and I simply ignored it, as it did still connect to the internet. I can't check it right now, as I'm currently running S10 U3 on that machine. If I remember correctly, I did do a sys-unconfig to try to get rid of some of the messages.

  • Pthread_mutex_lock

    Hello-
    I'm using the pthread library on a Solaris 8 machine. The problem is when I perform a pthread_mutex_lock on a mutex that has been initialized with the PTHREAD_PRIORITY_INHERIT protocol form a pthread that has been created with scheduling attributes other than the default, I get an error (EPERM). The error only occurs when I'm a user other that root, as root it runs fine. Does anyone have any insight into this? Below is some test code that results in an error when I'm not root.
    Thanks
    #define POSIXSOURCE
    #define POSIXC_SOURCE 199309
    #include <stdio.h>
    #include <sys/types.h>
    #include <errno.h>
    #include <fcntl.h>
    #include <signal.h>
    #include <unistd.h>
    #include <stdlib.h>
    #include <ucontext.h>
    #include <pthread.h>
    #include <sched.h>
    #include "vmeintr.h"
    void test();
    void threadTest();
    pthread_mutex_t testMutex;
    * Function:     main- system's boardMain function
    int main(void) {
    int status;
    struct sched_param priority_param;
    pthread_attr_t thread_attr;
    pthread_attr_init(&thread_attr);
    pthread_attr_setinheritsched(&thread_attr, PTHREAD_EXPLICIT_SCHED);
    pthread_attr_setschedpolicy(&thread_attr, SCHED_RR);
    int fifo_max_prio = sched_get_priority_max(SCHED_RR);
    int fifo_min_prio = sched_get_priority_min(SCHED_RR);
    priority_param.sched_priority = ((fifo_max_prio+fifo_min_prio)/2);
    pthread_attr_setschedparam(&thread_attr, &priority_param);
    pthread_t testThread;
    if( pthread_create(&testThread,
              &thread_attr,
              (void * (*)(void *))threadTest,
              NULL) != 0) {
    fprintf (stderr,"(%s):%d Initialization thread could not be created, exiting!\n",__FILE__, __LINE__);
    if(pthread_join(testThread, NULL) != 0) {
    fprintf(stderr, "Thread could not be joined! \n");
    test();
    while(1){};
    exit(0);
    void test() {
    int status = pthread_mutex_lock(&testMutex);
    if(status != 0) {
    fprintf(stderr,"%s:(%d) Mutex lock error %d.\n",__FILE__,__LINE__,status);
    fprintf(stderr,"%s:(%d) This is what we locked %d.\n",__FILE__,__LINE__,status);
    status = pthread_mutex_unlock(&testMutex);
    if(status != 0) {
    fprintf(stderr,"%s:(%d) Mutex unlock error %d.\n",__FILE__,__LINE__,status);
    void threadTest() {
    pthread_mutexattr_t mutexAttr;
    int mutex_protocol;
    int status;
    #ifdef POSIXTHREAD_PRIO_INHERIT
    fprintf(stderr,"%s(%d): _POSIX_THREAD_PRIO_INHERIT is defined. \n",__FILE__,__LINE__);
    #endif
    pthread_mutexattr_init(&mutexAttr);
    int fifo_max_prio = sched_get_priority_max(SCHED_RR);
    if(pthread_mutexattr_setprotocol(&mutexAttr,PTHREAD_PRIO_INHERIT) != 0) {
    fprintf(stderr,"%s(%d): pthread_mutexattr_setprotocol failed. \n",__FILE__,__LINE__);
    status = pthread_mutex_init(&testMutex, &mutexAttr);
    if(status != 0) {
    fprintf(stderr,"%s:(%d) mutex_init error %d.\n",__FILE__,__LINE__,status);
    test();

    Hi,
    I have never used priority inheritence, I have forgotten everything about PTHREADS that I did know, and I am replying a month late, so I am effectively useless.
    One thing I wanted to suggest is that you try BOTH pthread libraries on Solaris 8. The alternative threading library (which is a backport of the Solaris 9 1:1 threading library) might behave a little differently. Here is a snippet from a doc (http://wwws.sun.com/software/whitepapers/solaris9/multithread.pdf):
    Two Libsthread
    The old threads implementation resided in /usr/lib:
    /usr/lib/libthread.so.1 (32-bit)
    /usr/lib/sparcv9/libthread.so.1 (64-bit)
    The new implementation was in /usr/lib/lwp:
    /usr/lib/lwp/libthread.so.1 (32-bit)
    /usr/lib/lwp/sparcv9/libthread.so.1 (64-bit)
    The Pthreads filter library (libpthread) used whichever libthread was selected, and so remained in
    /usr/lib:
    /usr/lib/libpthread.so.1 (32-bit)
    /usr/lib/sparcv9/libpthread.so.1 (64-bit)
    To select the alternate libthread at runtime, dynamic linker search path could be set as follows:
    LD_LIBRARY_PATH=/usr/lib/lwp (32-bit)
    LD_LIBRARY_PATH_64=/usr/lib/lwp/sparcv9 (64-bit)
    To build a binary that would default to the alternate libthread, specify a runpath at link time:
    cc -mt ... -R /usr/lib/lwp (32-bit)
    cc -mt ... -R /usr/lib/lwp/sparcv9 (64-bit)
    Fuller details can be found in the threads(3THR) manpage.
    I do hope this helps.
    jonnie savell

  • Pthread crash

    HI,
    Using this on solaris 8 to sleep/wake-up threads
    pthread_cond_wait(&m_condition,&m_conditionLock);
    Where m_xxx are declared as: pthread_cond_t m_condition and pthread_mutex_t m_conditionLock;
    This in-frequently crashes the application. Any fixes or alternative implementation strategies ?
    Peter

    Now trying:
    pthread_mutex_lock(&m_conditionLock);
    pthread_cond_wait(&m_condition,&m_conditionLock);
    pthread_mutex_unlock(&m_conditionLock);
    both init to :
    pthread_cond_init (&m_condition, 0);
    pthread_mutex_init (&m_conditionLock, 0);
    is this better ? Difficult to tell from man-pages..

  • Problem linking in Solaris 10

    Hi Guys.
    We have a project done by some employees that ported it to Solaris, these guys are left the company (but we know the project compiled on Solaris for sure) and we cannot handle the complete compilation under Solaris 10. I will drop you the steps we made and the errors that were produced. Any idea how to succeed in this? Thanks.
    tome@colo15 [~/mike/BETA8081]$ aclocal
    /opt/sfw/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION
    run info '(automake)Extending aclocal'
    or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal
    /opt/sfw/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS
    /opt/sfw/share/aclocal/xdelta.m4:7: warning: underquoted definition of AM_PATH_XDELTA
    /opt/sfw/share/aclocal/vorbis.m4:9: warning: underquoted definition of XIPH_PATH_VORBIS
    /opt/sfw/share/aclocal/sdl.m4:11: warning: underquoted definition of AM_PATH_SDL
    /opt/sfw/share/aclocal/progtest.m4:13: warning: underquoted definition of AM_PATH_PROG_WITH_TEST
    /opt/sfw/share/aclocal/ogg.m4:8: warning: underquoted definition of XIPH_PATH_OGG
    /opt/sfw/share/aclocal/lcmessage.m4:11: warning: underquoted definition of AM_LC_MESSAGES
    /opt/sfw/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB
    /opt/sfw/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB
    /opt/sfw/share/aclocal/gimpprint.m4:8: warning: underquoted definition of AM_PATH_GIMPPRINT
    /opt/sfw/share/aclocal/gimp.m4:8: warning: underquoted definition of AM_PATH_GIMP
    /opt/sfw/share/aclocal/gettext.m4:11: warning: underquoted definition of AM_WITH_NLS
    /opt/sfw/share/aclocal/gettext.m4:196: warning: underquoted definition of AM_GNU_GETTEXT
    /opt/sfw/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO
    /usr/share/aclocal/vorbis.m4:9: warning: underquoted definition of XIPH_PATH_VORBIS
    /usr/share/aclocal/vorbis-old.m4:9: warning: underquoted definition of AM_PATH_VORBIS
    /usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
    /usr/share/aclocal/ogg.m4:8: warning: underquoted definition of XIPH_PATH_OGG
    /usr/share/aclocal/ogg-old.m4:8: warning: underquoted definition of AM_PATH_OGG
    /usr/share/aclocal/esd.m4:10: warning: underquoted definition of AM_PATH_ESD
    /usr/share/aclocal/esd.m4:175: warning: underquoted definition of AM_ESD_SUPPORTS_MULTIPLE_RECORD
    /usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
    /usr/sfw/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
    /usr/sfw/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
    /usr/sfw/share/aclocal/gimpprint.m4:8: warning: underquoted definition of AM_PATH_GIMPPRINT
    tome@colo15 [~/mike/BETA8081]$ autoconf
    tome@colo15 [~/mike/BETA8081]$ automake
    tome@colo15 [~/mike/BETA8081]$ ./configure
    checking for a BSD-compatible install... /opt/sfw/bin//ginstall -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for g++... g++
    checking for C++ compiler default output file name... a.out
    checking whether the C++ compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking for style of include used by make... GNU
    checking dependency style of g++... gcc3
    checking build system type... i386-pc-solaris2.10
    checking host system type... i386-pc-solaris2.10
    checking for gcc... gcc
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking dependency style of gcc... gcc3
    checking for a sed that does not truncate output... /opt/sfw/bin//gsed
    checking for egrep... egrep
    checking for ld used by gcc... /usr/ccs/bin/ld
    checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
    checking for /usr/ccs/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/ccs/bin/nm -p
    checking whether ln -s works... yes
    checking how to recognise dependent libraries... pass_all
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking how to run the C++ preprocessor... g++ -E
    checking for g77... no
    checking for f77... f77
    checking whether we are using the GNU Fortran 77 compiler... no
    checking whether f77 accepts -g... yes
    checking the maximum length of command line arguments... 262144
    checking command to parse /usr/ccs/bin/nm -p output from gcc object... ok
    checking for objdir... .libs
    checking for ar... false
    checking for ranlib... :
    checking for strip... :
    checking if gcc static flag works... yes
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC
    checking if gcc PIC flag -fPIC works... yes
    checking if gcc supports -c -o file.o... yes
    checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... yes
    checking dynamic linker characteristics... solaris2.10 ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... no
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    configure: creating libtool
    appending configuration tag "CXX" to libtool
    checking for ld used by g++... /usr/ccs/bin/ld
    checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
    checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC
    checking if g++ PIC flag -fPIC works... yes
    checking if g++ supports -c -o file.o... yes
    checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... solaris2.10 ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... no
    appending configuration tag "F77" to libtool
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking for f77 option to produce PIC... -fPIC
    checking if f77 PIC flag -fPIC works... no
    checking if f77 supports -c -o file.o... no
    checking whether the f77 linker (/usr/ccs/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... f90: Warning: Option -print-search-dirs passed to ld, if ld is invoked, ignored otherwise
    Usage: f90 [ options ] files. Use 'f90 -flags' for details
    solaris2.10 ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... no
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands
    tome@colo15 [~/mike/BETA8081]$ make
    make all-recursive
    make[1]: Entering directory `/home/tome/mike/BETA8081'
    Making all in src
    make[2]: Entering directory `/home/tome/mike/BETA8081/src'
    if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT wdog.o -MD -MP -MF ".deps/wdog.Tpo" -c -o wdog.o wdog.cpp; \
    then mv -f ".deps/wdog.Tpo" ".deps/wdog.Po"; else rm -f ".deps/wdog.Tpo"; exit 1; fi
    if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT watchdog.o -MD -MP -MF ".deps/watchdog.Tpo" -c -o watchdog.o watchdog.cpp; \
    then mv -f ".deps/watchdog.Tpo" ".deps/watchdog.Po"; else rm -f ".deps/watchdog.Tpo"; exit 1; fi
    if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT event.o -MD -MP -MF ".deps/event.Tpo" -c -o event.o event.cpp; \
    then mv -f ".deps/event.Tpo" ".deps/event.Po"; else rm -f ".deps/event.Tpo"; exit 1; fi
    if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT eventfactory.o -MD -MP -MF ".deps/eventfactory.Tpo" -c -o eventfactory.o eventfactory.cpp; \
    then mv -f ".deps/eventfactory.Tpo" ".deps/eventfactory.Po"; else rm -f ".deps/eventfactory.Tpo"; exit 1; fi
    if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT eventdecorator.o -MD -MP -MF ".deps/eventdecorator.Tpo" -c -o eventdecorator.o eventdecorator.cpp; \
    then mv -f ".deps/eventdecorator.Tpo" ".deps/eventdecorator.Po"; else rm -f ".deps/eventdecorator.Tpo"; exit 1; fi
    if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT serverdownevent.o -MD -MP -MF ".deps/serverdownevent.Tpo" -c -o serverdownevent.o serverdownevent.cpp; \
    then mv -f ".deps/serverdownevent.Tpo" ".deps/serverdownevent.Po"; else rm -f ".deps/serverdownevent.Tpo"; exit 1; fi
    if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT shutdownevent.o -MD -MP -MF ".deps/shutdownevent.Tpo" -c -o shutdownevent.o shutdownevent.cpp; \
    then mv -f ".deps/shutdownevent.Tpo" ".deps/shutdownevent.Po"; else rm -f ".deps/shutdownevent.Tpo"; exit 1; fi
    if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT statusevent.o -MD -MP -MF ".deps/statusevent.Tpo" -c -o statusevent.o statusevent.cpp; \
    then mv -f ".deps/statusevent.Tpo" ".deps/statusevent.Po"; else rm -f ".deps/statusevent.Tpo"; exit 1; fi
    if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT networkmanager.o -MD -MP -MF ".deps/networkmanager.Tpo" -c -o networkmanager.o networkmanager.cpp; \
    then mv -f ".deps/networkmanager.Tpo" ".deps/networkmanager.Po"; else rm -f ".deps/networkmanager.Tpo"; exit 1; fi
    if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT ctextprocessor.o -MD -MP -MF ".deps/ctextprocessor.Tpo" -c -o ctextprocessor.o ctextprocessor.cpp; \
    then mv -f ".deps/ctextprocessor.Tpo" ".deps/ctextprocessor.Po"; else rm -f ".deps/ctextprocessor.Tpo"; exit 1; fi
    if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT watchdogstatus.o -MD -MP -MF ".deps/watchdogstatus.Tpo" -c -o watchdogstatus.o watchdogstatus.cpp; \
    then mv -f ".deps/watchdogstatus.Tpo" ".deps/watchdogstatus.Po"; else rm -f ".deps/watchdogstatus.Tpo"; exit 1; fi
    if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT cmlcriticalsection.o -MD -MP -MF ".deps/cmlcriticalsection.Tpo" -c -o cmlcriticalsection.o cmlcriticalsection.cpp; \
    then mv -f ".deps/cmlcriticalsection.Tpo" ".deps/cmlcriticalsection.Po"; else rm -f ".deps/cmlcriticalsection.Tpo"; exit 1; fi
    if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT cmlsocket.o -MD -MP -MF ".deps/cmlsocket.Tpo" -c -o cmlsocket.o cmlsocket.cpp; \
    then mv -f ".deps/cmlsocket.Tpo" ".deps/cmlsocket.Po"; else rm -f ".deps/cmlsocket.Tpo"; exit 1; fi
    if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT cutils.o -MD -MP -MF ".deps/cutils.Tpo" -c -o cutils.o cutils.cpp; \
    then mv -f ".deps/cutils.Tpo" ".deps/cutils.Po"; else rm -f ".deps/cutils.Tpo"; exit 1; fi
    /bin/sh ../libtool --mode=link g++  -g -O2   -o wdog  -pthread -lnsl wdog.o watchdog.o event.o eventfactory.o eventdecorator.o serverdownevent.o shutdownevent.o statusevent.o networkmanager.o ctextprocessor.o watchdogstatus.o cmlcriticalsection.o cmlsocket.o cutils.o
    mkdir .libs
    g++ -g -O2 -o wdog -pthread wdog.o watchdog.o event.o eventfactory.o eventdecorator.o serverdownevent.o shutdownevent.o statusevent.o networkmanager.o ctextprocessor.o watchdogstatus.o cmlcriticalsection.o cmlsocket.o cutils.o -lnsl
    g++: unrecognized option `-pthread'
    Undefined first referenced
    symbol in file
    recv cmlsocket.o
    send cmlsocket.o
    __xnet_connect cmlsocket.o
    __xnet_socket networkmanager.o
    getsockname cmlsocket.o
    accept networkmanager.o
    listen networkmanager.o
    setsockopt networkmanager.o
    getpeername cmlsocket.o
    __xnet_bind networkmanager.o
    ld: fatal: Symbol referencing errors. No output written to wdog
    collect2: ld returned 1 exit status
    make[2]: *** [wdog] Error 1
    make[2]: Leaving directory `/home/tome/mike/BETA8081/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/tome/mike/BETA8081'
    make: *** [all] Error 2
    tome@colo15 [~/mike/BETA8081]$ cd src
    tome@colo15 [~/mike/BETA8081/src]$ /bin/sh ../libtool tag=CXX mode=link g++ -g -O2 -o wdog -D_REENTRANT -pthreads -m32 -lnsl wdog.o watchdog.o event.o eventfactory.o eventdecorator.o serverdownevent.o shutdownevent.o statusevent.o networkmanager.o ctextprocessor.o watchdogstatus.o cmlcriticalsection.o cmlsocket.o cutils.o
    g++ -g -O2 -o wdog -D_REENTRANT -pthreads -m32 wdog.o watchdog.o event.o eventfactory.o eventdecorator.o serverdownevent.o shutdownevent.o statusevent.o networkmanager.o ctextprocessor.o watchdogstatus.o cmlcriticalsection.o cmlsocket.o cutils.o -lnsl
    Undefined first referenced
    symbol in file
    recv cmlsocket.o
    send cmlsocket.o
    __xnet_connect cmlsocket.o
    __xnet_socket networkmanager.o
    getsockname cmlsocket.o
    accept networkmanager.o
    listen networkmanager.o
    setsockopt networkmanager.o
    getpeername cmlsocket.o
    __xnet_bind networkmanager.o
    ld: fatal: Symbol referencing errors. No output written to wdog
    collect2: ld returned 1 exit status
    tome@colo15 [~/mike/BETA8081/src]$

    errors that were produced. Any idea how to succeed in
    this? Thanks.Hire someone who knows what they're doing! :-)
    alan
    tome@colo15 [~/mike/BETA8081]$ aclocal
    /opt/sfw/share/aclocal/xmms.m4:17: warning:
    underquoted definition of XMMS_TEST_VERSION
    run info '(automake)Extending aclocal'
    or see
    http://sources.redhat.com/automake/automake.html#Exten
    ding%20aclocal
    /opt/sfw/share/aclocal/xmms.m4:62: warning:
    underquoted definition of AM_PATH_XMMSThis part looks like someone is trying to setup autoconf to gen the Makefile
    tome@colo15 [~/mike/BETA8081]$ ./configure
    checking for a BSD-compatible install...
    /opt/sfw/bin//ginstall -cthis part is running configure after autoconf
    before this there were a lot of mv'ing around
    /bin/sh ../libtool --mode=link g++  -g -O2   -o
    wdog -pthread -lnsl wdog.o watchdog.o event.o
    eventfactory.o eventdecorator.o serverdownevent.o
    shutdownevent.o statusevent.o networkmanager.o
    ctextprocessor.o watchdogstatus.o
    cmlcriticalsection.o cmlsocket.o cutils.o
    mkdir .libs
    do you actually have the .o files so that there is something to link?
    tome@colo15 [~/mike/BETA8081]$ cd src
    tome@colo15 [~/mike/BETA8081/src]$ /bin/sh
    ../libtool tag=CXX mode=link g++ -g -O2 -o
    wdog -D_REENTRANT -pthreads -m32 -lnsl wdog.o
    watchdog.o event.o eventfactory.o eventdecorator.o
    serverdownevent.o shutdownevent.o statusevent.o
    networkmanager.o ctextprocessor.o watchdogstatus.o
    cmlcriticalsection.o cmlsocket.o cutils.o
    cd'ing to the directory to where the bad code is does nothing. :-)
    Time to spend some money or do a lot of reading.
    alan

  • MacbookPro Mid 2012 13" weird crash window (sometimes during gameplay)

    Hey guys...
    strange error occurs even don't really know how to describe, I'll try but the video will describe it better, of course.
    Configuration:
    Macbook Pro 13" Mid 2012
    8gb RAM (originally 4gb, self upgrade to 8gb (Corsair Vengeance SoDimm CL9 PC3-12800 8GB 1600MHz DD3-RAM Kit))
    Intel HD 4000
    Mountain Lion
    Error:
    Reproducible: Yes! (Many times), by playing a game (simple games like Virtual City Playground, or some real games like Starcraft II)
    Description:
    Playing a game or sometimes without running any real heavy applications/ games my MBP totally freaks out. Flickering on the screen and a weird repeating warn-signal or whatever appears so that I can't do anything than turning it completely off by using the Power-Button. After a restart Macbook Spotlight indicates again and it seems like the TimeMachine Update needs a lot more time to run, to analyse where it stopped or whatever. Please take a look on the Vid, to see the error. Applications and everything seem to be up-to-date. For me it seems like a graphic-card issue, but can't remember having this problem using Lion (but had Lion just a week or two, so not a lot of experience with it).
    http://youtu.be/MQX4UZaPYXQ
    Console since StarCraftII start to simulate the error:
    11.09.12 22:07:03,861 StarCraft II[2606]: Current process is NOT running as Admin: -60007
    11.09.12 22:07:04,000 kernel[0]: CODE SIGNING: cs_invalid_page(0x1000): p=2615[Blizzard Launche] clearing CS_VALID
    11.09.12 22:07:22,082 Dock[279]: no information back from LS about running process
    11.09.12 22:07:22,342 Agent[2608]: objc[2608]: Object 0x20c75b0 of class __NSCFData autoreleased with no pool in place - just leaking - break on objc_autoreleaseNoPool() to debug
    11.09.12 22:07:24,526 WindowServer[91]: Display 0x42730c0 captured by conn 0x1339b
    11.09.12 22:07:44,544 coreservicesd[63]: SendFlattenedData, got error #268435459 (ipc/send) invalid destination port from ::mach_msg(), sending notification kLSNotifyApplicationDeath to notificationID=6594
    11.09.12 22:14:45,000 bootlog[0]: BOOT_TIME 1347423285 0
    11.09.12 22:15:03,000 kernel[0]: PMAP: PCID enabled
    11.09.12 22:15:03,000 kernel[0]: PMAP: Supervisor Mode Execute Protection enabled
    11.09.12 22:15:03,000 kernel[0]: Darwin Kernel Version 12.1.0: Tue Aug 14 13:29:55 PDT 2012; root:xnu-2050.9.2~1/RELEASE_X86_64
    11.09.12 22:15:03,000 kernel[0]: vm_page_bootstrap: 1993035 free pages and 87733 wired pages
    11.09.12 22:15:03,000 kernel[0]: kext submap [0xffffff7f8073e000 - 0xffffff8000000000], kernel text [0xffffff8000200000 - 0xffffff800073e000]
    11.09.12 22:15:03,000 kernel[0]: zone leak detection enabled
    11.09.12 22:15:03,000 kernel[0]: standard timeslicing quantum is 10000 us
    11.09.12 22:15:03,000 kernel[0]: standard background quantum is 2500 us
    11.09.12 22:15:03,000 kernel[0]: mig_table_max_displ = 74
    11.09.12 22:15:03,000 kernel[0]: TSC Deadline Timer supported and enabled
    11.09.12 22:15:03,000 kernel[0]: corecrypto kext started!
    11.09.12 22:15:03,000 kernel[0]: Running kernel space in FIPS MODE
    11.09.12 22:15:03,000 kernel[0]: Plist hmac value is    735d392b68241ef173d81097b1c8ce9ba283521626d1c973ac376838c466757d
    11.09.12 22:15:03,000 kernel[0]: Computed hmac value is 735d392b68241ef173d81097b1c8ce9ba283521626d1c973ac376838c466757d
    11.09.12 22:15:03,000 kernel[0]: corecrypto.kext FIPS integrity POST test passed!
    11.09.12 22:15:03,000 kernel[0]: corecrypto.kext FIPS AES CBC POST test passed!
    11.09.12 22:15:03,000 kernel[0]: corecrypto.kext FIPS TDES CBC POST test passed!
    11.09.12 22:15:03,000 kernel[0]: corecrypto.kext FIPS AES ECB AESNI POST test passed!
    11.09.12 22:15:03,000 kernel[0]: corecrypto.kext FIPS AES XTS AESNI POST test passed!
    11.09.12 22:15:03,000 kernel[0]: corecrypto.kext FIPS SHA POST test passed!
    11.09.12 22:15:03,000 kernel[0]: corecrypto.kext FIPS HMAC POST test passed!
    11.09.12 22:15:03,000 kernel[0]: corecrypto.kext FIPS ECDSA POST test passed!
    11.09.12 22:15:03,000 kernel[0]: corecrypto.kext FIPS DRBG POST test passed!
    11.09.12 22:15:03,000 kernel[0]: corecrypto.kext FIPS POST passed!
    11.09.12 22:15:03,000 kernel[0]: AppleACPICPU: ProcessorId=1 LocalApicId=0 Enabled
    11.09.12 22:15:03,000 kernel[0]: AppleACPICPU: ProcessorId=2 LocalApicId=2 Enabled
    11.09.12 22:15:03,000 kernel[0]: AppleACPICPU: ProcessorId=3 LocalApicId=1 Enabled
    11.09.12 22:15:03,000 kernel[0]: AppleACPICPU: ProcessorId=4 LocalApicId=3 Enabled
    11.09.12 22:15:03,000 kernel[0]: AppleACPICPU: ProcessorId=5 LocalApicId=255 Disabled
    11.09.12 22:15:03,000 kernel[0]: AppleACPICPU: ProcessorId=6 LocalApicId=255 Disabled
    11.09.12 22:15:03,000 kernel[0]: AppleACPICPU: ProcessorId=7 LocalApicId=255 Disabled
    11.09.12 22:15:03,000 kernel[0]: AppleACPICPU: ProcessorId=8 LocalApicId=255 Disabled
    11.09.12 22:15:03,000 kernel[0]: calling mpo_policy_init for TMSafetyNet
    11.09.12 22:15:03,000 kernel[0]: Security policy loaded: Safety net for Time Machine (TMSafetyNet)
    11.09.12 22:15:03,000 kernel[0]: calling mpo_policy_init for Sandbox
    11.09.12 22:15:03,000 kernel[0]: Security policy loaded: Seatbelt sandbox policy (Sandbox)
    11.09.12 22:15:03,000 kernel[0]: calling mpo_policy_init for Quarantine
    11.09.12 22:15:03,000 kernel[0]: Security policy loaded: Quarantine policy (Quarantine)
    11.09.12 22:15:03,000 kernel[0]: Copyright (c) 1982, 1986, 1989, 1991, 1993
    11.09.12 22:15:03,000 kernel[0]: The Regents of the University of California. All rights reserved.
    11.09.12 22:15:03,000 kernel[0]: MAC Framework successfully initialized
    11.09.12 22:15:03,000 kernel[0]: using 16384 buffer headers and 10240 cluster IO buffer headers
    11.09.12 22:15:03,000 kernel[0]: IOAPIC: Version 0x20 Vectors 64:87
    11.09.12 22:15:03,000 kernel[0]: ACPI: System State [S0 S3 S4 S5] (S3)
    11.09.12 22:15:03,000 kernel[0]: AppleIntelCPUPowerManagement: Turbo Ratios 0046
    11.09.12 22:15:03,000 kernel[0]: AppleIntelCPUPowerManagement: (built 23:03:24 Jun 24 2012) initialization complete
    11.09.12 22:15:03,000 kernel[0]: PFM64 (36 cpu) 0xf10000000, 0xf0000000
    11.09.12 22:15:03,000 kernel[0]: [ PCI configuration begin ]
    11.09.12 22:15:03,000 kernel[0]: console relocated to 0xf10000000
    11.09.12 22:15:03,000 kernel[0]: PCI configuration changed (bridge=15 device=4 cardbus=0)
    11.09.12 22:15:03,000 kernel[0]: [ PCI configuration end, bridges 11 devices 15 ]
    11.09.12 22:15:03,000 kernel[0]: mbinit: done [96 MB total pool size, (64/32) split]
    11.09.12 22:15:03,000 kernel[0]: Pthread support ABORTS when sync kernel primitives misused
    11.09.12 22:15:03,000 kernel[0]: rooting via boot-uuid from /chosen: E18B8BC2-6344-3067-A4CE-FC695124E956
    11.09.12 22:15:03,000 kernel[0]: Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
    11.09.12 22:15:03,000 kernel[0]: com.apple.AppleFSCompressionTypeZlib kmod start
    11.09.12 22:15:03,000 kernel[0]: com.apple.AppleFSCompressionTypeDataless kmod start
    11.09.12 22:15:03,000 kernel[0]: com.apple.AppleFSCompressionTypeZlib load succeeded
    11.09.12 22:15:03,000 kernel[0]: com.apple.AppleFSCompressionTypeDataless load succeeded
    11.09.12 22:15:03,000 kernel[0]: AppleIntelCPUPowerManagementClient: ready
    11.09.12 22:15:03,000 kernel[0]: BTCOEXIST off
    11.09.12 22:15:03,000 kernel[0]: BRCM tunables:
    11.09.12 22:15:03,000 kernel[0]: pullmode[1] txringsize[  256] reapmin[   32] reapcount[  128]
    11.09.12 22:15:03,000 kernel[0]: highWaterMark: VO[  192]  VI[  192]  BE[  192]  BK[  192]
    11.09.12 22:15:03,000 kernel[0]: Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleIntelPchS eriesAHCI/PRT0@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOB lockStorageDriver/TOSHIBA MK5065GSXF Media/IOGUIDPartitionScheme/Customer@2
    11.09.12 22:15:03,000 kernel[0]: BSD root: disk0s2, major 1, minor 2
    11.09.12 22:15:03,000 kernel[0]: jnl: unknown-dev: replay_journal: from: 17126912 to: 19440640 (joffset 0xe8a000)
    11.09.12 22:15:03,000 kernel[0]: FireWire (OHCI) Lucent ID 5901 built-in now active, GUID 003ee1fffe10e820; max speed s800.
    11.09.12 22:15:03,000 kernel[0]: AppleUSBMultitouchDriver::checkStatus - received Status Packet, Payload 2: device was reinitialized
    11.09.12 22:15:03,000 kernel[0]: jnl: unknown-dev: journal replay done.
    11.09.12 22:15:03,000 kernel[0]: Kernel is LP64
    11.09.12 22:15:03,000 kernel[0]: hfs: Removed 34 orphaned / unlinked files and 907 directories
    11.09.12 22:14:48,919 com.apple.launchd[1]: *** launchd[1] has started up. ***
    11.09.12 22:14:48,919 com.apple.launchd[1]: *** Shutdown logging is enabled. ***
    11.09.12 22:15:01,075 com.apple.launchd[1]: (com.apple.automountd) Unknown key for boolean: NSSupportsSuddenTermination
    11.09.12 22:15:06,107 hidd[47]: Posting 'com.apple.iokit.hid.displayStatus' notifyState=1
    11.09.12 22:15:06,110 fseventsd[48]: event logs in /.fseventsd out of sync with volume.  destroying old logs. (2685 21 2757)
    11.09.12 22:15:06,111 fseventsd[48]: log dir: /.fseventsd getting new uuid: E41FE4C6-F5B9-4468-97D2-76653665DDEB
    11.09.12 22:15:11,000 kernel[0]: Waiting for DSMOS...
    11.09.12 22:15:11,000 kernel[0]: macx_swapon SUCCESS
    11.09.12 22:15:11,000 kernel[0]: BCM5701Enet: Ethernet address 40:6c:8f:41:93:a9
    11.09.12 22:15:11,000 kernel[0]: AirPort_Brcm4331: Ethernet address 7c:d1:c3:73:05:32
    11.09.12 22:15:11,000 kernel[0]: IO80211Controller::dataLinkLayerAttachComplete():  adding AppleEFINVRAM notification
    11.09.12 22:15:11,000 kernel[0]: IO80211Interface::efiNVRAMPublished(): 
    11.09.12 22:15:12,003 mDNSResponder[40]: mDNSResponder mDNSResponder-379.27.1 (Aug  1 2012 20:12:04) starting OSXVers 12
    11.09.12 22:15:12,117 appleeventsd[53]: main: Starting up
    11.09.12 22:15:12,130 hidd[47]: void __IOHIDLoadBundles(): Loaded 0 HID plugins
    11.09.12 22:15:12,155 airportd[69]: _processDLILEvent: en1 attached (down)
    11.09.12 22:15:12,222 com.apple.usbmuxd[26]: usbmuxd-268.5 on Apr  5 2012 at 15:33:48, running 64 bit
    11.09.12 22:15:12,228 coreservicesd[63]: FindBestLSSession(), no match for inSessionID 0xfffffffffffffffc auditTokenInfo( uid=0 euid=0 auSessionID=100000 create=false
    11.09.12 22:15:12,000 kernel[0]: createVirtIf(): ifRole = 1
    11.09.12 22:15:12,000 kernel[0]: in func createVirtualInterface ifRole = 1
    11.09.12 22:15:12,000 kernel[0]: AirPort_Brcm4331_P2PInterface::init name <p2p0> role 1 this 0xffffff8016a11800
    11.09.12 22:15:12,000 kernel[0]: AirPort_Brcm4331_P2PInterface::init() <p2p> role 1
    11.09.12 22:15:12,000 kernel[0]: Created virtif 0xffffff8016a11800 p2p0
    11.09.12 22:15:12,000 kernel[0]: IOBluetoothUSBDFU::probe
    11.09.12 22:15:12,000 kernel[0]: IOBluetoothUSBDFU::probe ProductID - 0x821D FirmwareVersion - 0x0086
    11.09.12 22:15:12,000 kernel[0]: [BroadcomBluetoothHCIControllerUSBTransport][start] -- completed
    11.09.12 22:15:12,000 kernel[0]: Previous Shutdown Cause: 3
    11.09.12 22:15:12,000 kernel[0]: [IOBluetoothHCIController][staticBluetoothHCIControllerTransportShowsUp] -- Received Bluetooth Controller register service notification
    11.09.12 22:15:12,000 kernel[0]: [IOBluetoothHCIController][start] -- completed
    11.09.12 22:15:12,000 kernel[0]: [IOBluetoothHCIController::setConfigState] calling registerService
    11.09.12 22:15:12,000 kernel[0]: DSMOS has arrived
    11.09.12 22:15:12,794 WindowServer[76]: Server is starting up
    11.09.12 22:15:13,035 WindowServer[76]: Session 256 retained (2 references)
    11.09.12 22:15:13,035 WindowServer[76]: Session 256 released (1 references)
    11.09.12 22:15:13,044 WindowServer[76]: Session 256 retained (2 references)
    11.09.12 22:15:13,045 WindowServer[76]: init_page_flip: page flip mode is on
    11.09.12 22:15:13,126 mds[39]: (Normal) FMW: FMW 0 0
    11.09.12 22:15:13,146 WindowServer[76]: mux_initialize: kAGCGetMuxState (kMuxControl, kMuxControl_switchingMode) failed (0xe0000001)
    11.09.12 22:15:13,146 WindowServer[76]: mux_initialize: Mode is safe
    11.09.12 22:15:13,163 WindowServer[76]: GLCompositor enabled for tile size [256 x 256]
    11.09.12 22:15:13,163 WindowServer[76]: CGXGLInitMipMap: mip map mode is on
    11.09.12 22:15:13,183 WindowServer[76]: WSMachineUsesNewStyleMirroring: false
    11.09.12 22:15:13,183 WindowServer[76]: Display 0x042730c0: GL mask 0x1; bounds (0, 0)[1280 x 800], 10 modes available
    Main, Active, on-line, enabled, built-in, boot, Vendor 610, Model 9cc3, S/N 0, Unit 0, Rotation 0
    UUID 0x0000061000009cc300000000042730c0
    11.09.12 22:15:13,184 WindowServer[76]: Display 0x003f003f: GL mask 0x8; bounds (0, 0)[0 x 0], 1 modes available
    off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 3, Rotation 0
    UUID 0xffffffffffffffffffffffff003f003f
    11.09.12 22:15:13,184 WindowServer[76]: Display 0x003f003e: GL mask 0x4; bounds (0, 0)[0 x 0], 1 modes available
    off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 2, Rotation 0
    UUID 0xffffffffffffffffffffffff003f003e
    11.09.12 22:15:13,184 WindowServer[76]: Display 0x003f003d: GL mask 0x2; bounds (0, 0)[0 x 0], 1 modes available
    off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 1, Rotation 0
    UUID 0xffffffffffffffffffffffff003f003d
    11.09.12 22:15:13,193 WindowServer[76]: Created shield window 0x5 for display 0x042730c0
    11.09.12 22:15:13,193 WindowServer[76]: Created shield window 0x6 for display 0x003f003f
    11.09.12 22:15:13,193 WindowServer[76]: Created shield window 0x7 for display 0x003f003e
    11.09.12 22:15:13,193 WindowServer[76]: Created shield window 0x8 for display 0x003f003d
    11.09.12 22:15:13,200 WindowServer[76]: Display 0x042730c0: GL mask 0x1; bounds (0, 0)[1280 x 800], 10 modes available
    Main, Active, on-line, enabled, built-in, boot, Vendor 610, Model 9cc3, S/N 0, Unit 0, Rotation 0
    UUID 0x0000061000009cc300000000042730c0
    11.09.12 22:15:13,200 WindowServer[76]: Display 0x003f003f: GL mask 0x8; bounds (2304, 0)[1 x 1], 1 modes available
    off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 3, Rotation 0
    UUID 0xffffffffffffffffffffffff003f003f
    11.09.12 22:15:13,200 WindowServer[76]: Display 0x003f003e: GL mask 0x4; bounds (2305, 0)[1 x 1], 1 modes available
    off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 2, Rotation 0
    UUID 0xffffffffffffffffffffffff003f003e
    11.09.12 22:15:13,200 WindowServer[76]: Display 0x003f003d: GL mask 0x2; bounds (2306, 0)[1 x 1], 1 modes available
    off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 1, Rotation 0
    UUID 0xffffffffffffffffffffffff003f003d
    11.09.12 22:15:13,201 WindowServer[76]: CGXPerformInitialDisplayConfiguration
    11.09.12 22:15:13,201 WindowServer[76]:   Display 0x042730c0: MappedDisplay Unit 0; Vendor 0x610 Model 0x9cc3 S/N 0 Dimensions 11.26 x 7.05; online enabled built-in, Bounds (0,0)[1280 x 800], Rotation 0, Resolution 1
    11.09.12 22:15:13,201 WindowServer[76]:   Display 0x003f003f: MappedDisplay Unit 3; Vendor 0xffffffff Model 0xffffffff S/N -1 Dimensions 0.00 x 0.00; offline enabled, Bounds (2304,0)[1 x 1], Rotation 0, Resolution 1
    11.09.12 22:15:13,201 WindowServer[76]:   Display 0x003f003e: MappedDisplay Unit 2; Vendor 0xffffffff Model 0xffffffff S/N -1 Dimensions 0.00 x 0.00; offline enabled, Bounds (2305,0)[1 x 1], Rotation 0, Resolution 1
    11.09.12 22:15:13,201 WindowServer[76]:   Display 0x003f003d: MappedDisplay Unit 1; Vendor 0xffffffff Model 0xffffffff S/N -1 Dimensions 0.00 x 0.00; offline enabled, Bounds (2306,0)[1 x 1], Rotation 0, Resolution 1
    11.09.12 22:15:13,201 WindowServer[76]: CGXMuxBoot: Unexpected boot switch return value (0xe00002c7)
    11.09.12 22:15:13,253 launchctl[80]: launchctl: Dubious permissions on file (skipping): /Library/LaunchAgents/com.teamviewer.teamviewer.plist
    11.09.12 22:15:13,253 launchctl[80]: launchctl: Dubious permissions on file (skipping): /Library/LaunchAgents/com.teamviewer.teamviewer_desktop.plist
    11.09.12 22:15:13,287 WindowServer[76]: GLCompositor: GL renderer id 0x01024400, GL mask 0x0000000f, accelerator 0x00003e17, unit 0, caps QEX|QGL|MIPMAP, vram 580 MB
    11.09.12 22:15:13,287 WindowServer[76]: GLCompositor: GL renderer id 0x01024400, GL mask 0x0000000f, texture units 8, texture max 16384, viewport max {16384, 16384}, extensions FPRG|NPOT|GLSL|FLOAT
    11.09.12 22:15:13,297 WindowServer[76]: Unable to open IOHIDSystem (e00002bd)
    11.09.12 22:15:13,000 kernel[0]: virtual bool IOHIDEventSystemUserClient::initWithTask(task_t, void *, UInt32): Client task not privileged to open IOHIDSystem for mapping memory (e00002c1)
    11.09.12 22:15:14,188 mds[39]: (Warning) Server: No stores registered for metascope "kMDQueryScopeComputer"
    11.09.12 22:15:14,188 mds[39]: (Warning) Server: No stores registered for metascope "kMDQueryScopeComputer"
    11.09.12 22:15:14,236 mds[39]: (Warning) Server: No stores registered for metascope "kMDQueryScopeComputer"
    11.09.12 22:15:14,340 launchctl[85]: launchctl: Dubious permissions on file (skipping): /Library/LaunchAgents/com.teamviewer.teamviewer.plist
    11.09.12 22:15:14,340 launchctl[85]: launchctl: Dubious permissions on file (skipping): /Library/LaunchAgents/com.teamviewer.teamviewer_desktop.plist
    11.09.12 22:15:14,000 kernel[0]: nspace-handler-set-snapshot-time: 1347423316
    11.09.12 22:15:14,543 com.apple.SecurityServer[15]: Session 100000 created
    11.09.12 22:15:15,000 kernel[0]: AirPort: Link Down on en1. Reason 1 (Unspecified).
    11.09.12 22:15:15,000 kernel[0]: en1::IO80211Interface::postMessage bssid changed
    11.09.12 22:15:15,132 configd[18]: network changed.
    11.09.12 22:15:15,133 configd[18]: setting hostname to "MBP-Simon.local"
    11.09.12 22:15:15,194 WindowServer[76]: **DMPROXY** (2) Found `/System/Library/CoreServices/DMProxy'.
    11.09.12 22:15:16,291 WindowServer[76]: MPAccessSurfaceForDisplayDevice: Set up page flip mode on display 0x042730c0 device: 0x10f80e320  isBackBuffered: 1 numComp: 3 numDisp: 3
    11.09.12 22:15:27,002 com.apple.SecurityServer[15]: Entering service
    11.09.12 22:15:27,076 loginwindow[43]: Login Window Application Started
    11.09.12 22:15:27,113 apsd[59]: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1102)
    11.09.12 22:15:27,128 apsd[59]: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1102)
    11.09.12 22:15:27,132 WindowServer[90]: Server is starting up
    11.09.12 22:15:27,134 WindowServer[90]: Session 256 retained (2 references)
    11.09.12 22:15:27,134 WindowServer[90]: Session 256 released (1 references)
    11.09.12 22:15:27,142 WindowServer[90]: Session 256 retained (2 references)
    11.09.12 22:15:27,143 UserEventAgent[11]: Captive: [HandleNetworkInformationChanged:2435] nwi_state_copy returned NULL
    11.09.12 22:15:27,143 WindowServer[90]: init_page_flip: page flip mode is on
    11.09.12 22:15:27,148 awacsd[57]: Starting awacsd connectivity-77 (Jun 20 2012 15:40:49)
    11.09.12 22:15:27,165 awacsd[57]: InnerStore CopyAllZones: no info in Dynamic Store
    11.09.12 22:15:27,169 WindowServer[90]: mux_initialize: kAGCGetMuxState (kMuxControl, kMuxControl_switchingMode) failed (0xe0000001)
    11.09.12 22:15:27,169 WindowServer[90]: mux_initialize: Mode is safe
    11.09.12 22:15:27,186 WindowServer[90]: GLCompositor enabled for tile size [256 x 256]
    11.09.12 22:15:27,186 WindowServer[90]: CGXGLInitMipMap: mip map mode is on
    11.09.12 22:15:27,196 netbiosd[86]: Unable to start NetBIOS name service:
    11.09.12 22:15:27,199 WindowServer[90]: WSMachineUsesNewStyleMirroring: false
    11.09.12 22:15:27,199 WindowServer[90]: Display 0x042730c0: GL mask 0x1; bounds (0, 0)[1280 x 800], 10 modes available
    Main, Active, on-line, enabled, built-in, boot, Vendor 610, Model 9cc3, S/N 0, Unit 0, Rotation 0
    UUID 0x0000061000009cc300000000042730c0
    11.09.12 22:15:27,199 WindowServer[90]: Display 0x003f003f: GL mask 0x8; bounds (0, 0)[0 x 0], 1 modes available
    off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 3, Rotation 0
    UUID 0xffffffffffffffffffffffff003f003f
    11.09.12 22:15:27,199 WindowServer[90]: Display 0x003f003e: GL mask 0x4; bounds (0, 0)[0 x 0], 1 modes available
    off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 2, Rotation 0
    UUID 0xffffffffffffffffffffffff003f003e
    11.09.12 22:15:27,200 WindowServer[90]: Display 0x003f003d: GL mask 0x2; bounds (0, 0)[0 x 0], 1 modes available
    off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 1, Rotation 0
    UUID 0xffffffffffffffffffffffff003f003d
    11.09.12 22:15:27,211 WindowServer[90]: Created shield window 0x4 for display 0x042730c0
    11.09.12 22:15:27,211 WindowServer[90]: Created shield window 0x5 for display 0x003f003f
    11.09.12 22:15:27,211 WindowServer[90]: Created shield window 0x6 for display 0x003f003e
    11.09.12 22:15:27,211 WindowServer[90]: Created shield window 0x7 for display 0x003f003d
    11.09.12 22:15:27,224 WindowServer[90]: Display 0x042730c0: GL mask 0x1; bounds (0, 0)[1280 x 800], 10 modes available
    Main, Active, on-line, enabled, built-in, boot, Vendor 610, Model 9cc3, S/N 0, Unit 0, Rotation 0
    UUID 0x0000061000009cc300000000042730c0
    11.09.12 22:15:27,224 WindowServer[90]: Display 0x003f003f: GL mask 0x8; bounds (2304, 0)[1 x 1], 1 modes available
    off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 3, Rotation 0
    UUID 0xffffffffffffffffffffffff003f003f
    11.09.12 22:15:27,224 WindowServer[90]: Display 0x003f003e: GL mask 0x4; bounds (2305, 0)[1 x 1], 1 modes available
    off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 2, Rotation 0
    UUID 0xffffffffffffffffffffffff003f003e
    11.09.12 22:15:27,225 WindowServer[90]: Display 0x003f003d: GL mask 0x2; bounds (2306, 0)[1 x 1], 1 modes available
    off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 1, Rotation 0
    UUID 0xffffffffffffffffffffffff003f003d
    11.09.12 22:15:27,225 WindowServer[90]: CGXPerformInitialDisplayConfiguration
    11.09.12 22:15:27,225 WindowServer[90]:   Display 0x042730c0: MappedDisplay Unit 0; Vendor 0x610 Model 0x9cc3 S/N 0 Dimensions 11.26 x 7.05; online enabled built-in, Bounds (0,0)[1280 x 800], Rotation 0, Resolution 1
    11.09.12 22:15:27,225 WindowServer[90]:   Display 0x003f003f: MappedDisplay Unit 3; Vendor 0xffffffff Model 0xffffffff S/N -1 Dimensions 0.00 x 0.00; offline enabled, Bounds (2304,0)[1 x 1], Rotation 0, Resolution 1
    11.09.12 22:15:27,225 WindowServer[90]:   Display 0x003f003e: MappedDisplay Unit 2; Vendor 0xffffffff Model 0xffffffff S/N -1 Dimensions 0.00 x 0.00; offline enabled, Bounds (2305,0)[1 x 1], Rotation 0, Resolution 1
    11.09.12 22:15:27,225 WindowServer[90]:   Display 0x003f003d: MappedDisplay Unit 1; Vendor 0xffffffff Model 0xffffffff S/N -1 Dimensions 0.00 x 0.00; offline enabled, Bounds (2306,0)[1 x 1], Rotation 0, Resolution 1
    11.09.12 22:15:27,225 WindowServer[90]: CGXMuxBoot: Unexpected boot switch return value (0xe00002c7)
    11.09.12 22:15:27,233 WindowServer[90]: GLCompositor: GL renderer id 0x01024400, GL mask 0x0000000f, accelerator 0x00003d17, unit 0, caps QEX|QGL|MIPMAP, vram 580 MB
    11.09.12 22:15:27,233 WindowServer[90]: GLCompositor: GL renderer id 0x01024400, GL mask 0x0000000f, texture units 8, texture max 16384, viewport max {16384, 16384}, extensions FPRG|NPOT|GLSL|FLOAT
    11.09.12 22:15:27,242 loginwindow[43]: **DMPROXY** Found `/System/Library/CoreServices/DMProxy'.
    11.09.12 22:15:27,301 digest-service[100]: label: default
    11.09.12 22:15:27,301 digest-service[100]:           dbname: od:/Local/Default
    11.09.12 22:15:27,301 digest-service[100]:           mkey_file: /var/db/krb5kdc/m-key
    11.09.12 22:15:27,301 digest-service[100]:           acl_file: /var/db/krb5kdc/kadmind.acl
    11.09.12 22:15:27,303 digest-service[100]: digest-request: uid=0
    11.09.12 22:15:27,320 aosnotifyd[102]: bootstrap_look_up failed (44e)
    11.09.12 22:15:27,323 rpcsvchost[111]: sandbox_init: com.apple.msrpc.netlogon.sb succeeded
    11.09.12 22:15:27,325 digest-service[100]: digest-request: init request
    11.09.12 22:15:27,329 digest-service[100]: digest-request: init return domain: BUILTIN server: MBP-SIMON
    11.09.12 22:15:29,213 WindowServer[90]: **DMPROXY** (2) Found `/System/Library/CoreServices/DMProxy'.
    11.09.12 22:15:30,241 WindowServer[90]: MPAccessSurfaceForDisplayDevice: Set up page flip mode on display 0x042730c0 device: 0x10c13b320  isBackBuffered: 1 numComp: 3 numDisp: 3
    11.09.12 22:15:32,202 systemkeychain[68]: done file: /var/run/systemkeychaincheck.done
    11.09.12 22:15:32,221 configd[18]: network changed: DNS*
    11.09.12 22:15:32,000 kernel[0]: MacAuthEvent en1   Auth result for: 20:76:00:07:c6:dc  MAC AUTH succeeded
    11.09.12 22:15:32,000 kernel[0]: wlEvent: en1 en1 Link UP virtIf = 0
    11.09.12 22:15:32,000 kernel[0]: AirPort: Link Up on en1
    11.09.12 22:15:32,000 kernel[0]: en1: BSSID changed to 20:76:00:07:c6:dc
    11.09.12 22:15:32,000 kernel[0]: en1::IO80211Interface::postMessage bssid changed
    11.09.12 22:15:32,000 kernel[0]: AirPort: RSN handshake complete on en1
    11.09.12 22:15:35,074 configd[18]: network changed: DNS*
    11.09.12 22:15:35,078 mDNSResponder[40]: D2D_IPC: Loaded
    11.09.12 22:15:35,078 mDNSResponder[40]: D2DInitialize succeeded
    11.09.12 22:15:35,082 awacsd[57]: Configuring lazy AWACS client: 1366256562.p04.members.btmm.icloud.com.
    11.09.12 22:15:39,210 mDNSResponder[40]: Adding registration domain 1366256562.members.btmm.icloud.com.
    11.09.12 22:15:44,287 awacsd[57]: KV HTTP 0
    11.09.12 22:15:46,630 DMProxy[87]: CGSShutdownServerConnections: Detaching application from window server
    11.09.12 22:15:46,630 DMProxy[87]: CGSDisplayServerShutdown: Detaching display subsystem from window server
    11.09.12 22:15:46,647 WindowServer[90]: Created shield window 0x8 for display 0x042730c0
    11.09.12 22:15:46,648 WindowServer[90]: Display 0x042730c0: MappedDisplay Unit 0; ColorProfile { 2, "Color LCD"}; TransferTable (256, 3)
    11.09.12 22:15:46,665 WindowServer[90]: Display 0x042730c0: MappedDisplay Unit 0; ColorProfile { 2, "Color LCD"}; TransferTable (256, 3)
    11.09.12 22:15:47,075 configd[18]: network changed: v4(en1+:192.168.1.74) DNS+ Proxy+ SMB
    11.09.12 22:15:47,100 UserEventAgent[11]: Captive: en1: Not probing 'TELUS7187' (protected network)
    11.09.12 22:15:47,104 configd[18]: network changed: v4(en1!:192.168.1.74) DNS Proxy SMB
    11.09.12 22:15:47,896 ntpd[95]: proto: precision = 1.000 usec
    11.09.12 22:15:47,911 WindowServer[90]: Display 0x042730c0: MappedDisplay Unit 0; ColorProfile { 2, "Color LCD"}; TransferTable (256, 3)
    11.09.12 22:15:47,912 WindowServer[90]: Display 0x042730c0: MappedDisplay Unit 0; ColorProfile { 2, "Color LCD"}; TransferTable (256, 3)
    11.09.12 22:15:47,918 launchctl[174]: launchctl: Dubious permissions on file (skipping): /Library/LaunchAgents/com.teamviewer.teamviewer.plist
    11.09.12 22:15:47,918 launchctl[174]: launchctl: Dubious permissions on file (skipping): /Library/LaunchAgents/com.teamviewer.teamviewer_desktop.plist
    11.09.12 22:15:47,947 launchctl[174]: com.apple.findmymacmessenger: Already loaded
    11.09.12 22:15:47,973 com.apple.SecurityServer[15]: Session 100005 created
    11.09.12 22:15:48,002 hidd[47]: CGSShutdownServerConnections: Detaching application from window server
    11.09.12 22:15:48,002 hidd[47]: CGSDisplayServerShutdown: Detaching display subsystem from window server
    11.09.12 22:15:48,012 WindowServer[90]: Display 0x042730c0: MappedDisplay Unit 0; ColorProfile { 2, "Color LCD"}; TransferTable (256, 3)
    11.09.12 22:15:48,028 loginwindow[43]: Login Window Started Security Agent
    11.09.12 22:15:48,076 locationd[44]: NOTICE,Location icon should now be in state 0
    11.09.12 22:15:48,077 locationd[44]: locationd was started after an unclean shutdown
    11.09.12 22:15:48,140 SecurityAgent[182]: This is the first run
    11.09.12 22:15:48,140 SecurityAgent[182]: MacBuddy was run = 0
    11.09.12 22:15:48,339 launchctl[186]: launchctl: Dubious permissions on file (skipping): /Library/LaunchAgents/com.teamviewer.teamviewer.plist
    11.09.12 22:15:48,340 launchctl[186]: launchctl: Dubious permissions on file (skipping): /Library/LaunchAgents/com.teamviewer.teamviewer_desktop.plist
    11.09.12 22:15:48,421 UserEventAgent[176]: cannot find useragent 1102
    11.09.12 22:15:49,169 com.apple.launchd[1]: (com.apple.xprotectupdater[24]) Exited with code: 252
    11.09.12 22:15:49,766 airportd[69]: _doAutoJoin: Already associated to “TELUS7187”. Bailing on auto-join.
    11.09.12 22:15:49,787 airportd[69]: _doAutoJoin: Already associated to “TELUS7187”. Bailing on auto-join.
    11.09.12 22:15:49,807 airportd[69]: _doAutoJoin: Already associated to “TELUS7187”. Bailing on auto-join.
    11.09.12 22:15:50,863 awacsd[57]: InnerStore GetWakeInfoForZone: no external port for 1366256562.members.btmm.icloud.com.
    11.09.12 22:15:51,198 awacsd[57]: InnerStore GetWakeInfoForZone: no external port for 1366256562.members.btmm.icloud.com.
    11.09.12 22:15:51,000 kernel[0]: utun_ctl_connect: creating interface utun0
    11.09.12 22:15:52,000 kernel[0]: ast_pending=0xffffff8003aa71b0
    11.09.12 22:15:52,000 kernel[0]: cpu_interrupt=0xffffff8003abe650
    11.09.12 22:15:52,000 kernel[0]: vboxdrv: fAsync=0 offMin=0x11cb offMax=0x1d7a
    11.09.12 22:15:52,000 kernel[0]: VBoxDrv: version 4.1.20 r80170; IOCtl version 0x190000; IDC version 0x10000; dev major=34
    11.09.12 22:15:52,000 kernel[0]: VBoxFltDrv: version 4.1.20 r80170
    11.09.12 22:15:52,000 kernel[0]: VBoxAdpDrv: version 4.1.20 r80170
    11.09.12 22:15:52,958 SecurityAgent[182]: User info context values set for simscheel
    11.09.12 22:15:53,096 SecurityAgent[182]: Login Window login proceeding
    11.09.12 22:15:53,299 loginwindow[43]: Login Window - Returned from Security Agent
    11.09.12 22:15:53,323 loginwindow[43]: USER_PROCESS: 43 console
    11.09.12 22:15:53,336 launchctl[237]: launchctl: Dubious permissions on file (skipping): /Library/LaunchAgents/com.teamviewer.teamviewer.plist
    11.09.12 22:15:53,336 launchctl[237]: launchctl: Dubious permissions on file (skipping): /Library/LaunchAgents/com.teamviewer.teamviewer_desktop.plist
    11.09.12 22:15:53,355 airportd[69]: _doAutoJoin: Already associated to “TELUS7187”. Bailing on auto-join.
    11.09.12 22:15:53,474 launchctl[240]: launchctl: Dubious permissions on file (skipping): /Library/LaunchAgents/com.teamviewer.teamviewer.plist
    11.09.12 22:15:53,474 launchctl[240]: launchctl: Dubious permissions on file (skipping): /Library/LaunchAgents/com.teamviewer.teamviewer_desktop.plist
    11.09.12 22:15:53,489 com.apple.launchd.peruser.501[236]: (com.apple.ReportCrash) Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self
    11.09.12 22:15:53,493 loginwindow[43]: Connection with distnoted server was invalidated
    11.09.12 22:15:53,506 distnoted[241]: # distnote server agent  absolute time: 68.111959738   civil time: Tue Sep 11 22:15:53 2012   pid: 241 uid: 501  root: no
    11.09.12 22:15:53,763 WindowServer[90]: **DMPROXY** (2) Found `/System/Library/CoreServices/DMProxy'.
    11.09.12 22:15:53,776 Little Snitch Agent[249]: Little Snitch Agent version 3871 started.
    11.09.12 22:15:53,830 com.apple.SecurityServer[15]: Session 100007 created
    11.09.12 22:15:53,846 WindowServer[90]: Display 0x042730c0: MappedDisplay Unit 0; ColorProfile { 2, "Color LCD"}; TransferTable (256, 3)
    11.09.12 22:15:53,932 Little Snitch Network Monitor[255]: Little Snitch Netzwerkmonitor version 3871 started.
    11.09.12 22:15:54,958 coreaudiod[260]: 2012-09-11 10:15:54.957627 PM [AirPlay] Started browsing for _airplay._tcp.
    11.09.12 22:15:54,958 coreaudiod[260]: 2012-09-11 10:15:54.958113 PM [AirPlay] Started browsing for _raop._tcp.
    11.09.12 22:15:55,361 awacsd[57]: InnerStore GetWakeInfoForZone: no external port for 1366256562.members.btmm.icloud.com.
    11.09.12 22:15:56,657 com.apple.launchd.peruser.501[236]: (com.apple.afpstat-qfa[278]) Exited with code: 2
    11.09.12 22:15:56,000 kernel[0]: CODE SIGNING: cs_invalid_page(0x1000): p=279[GoogleSoftwareUp] clearing CS_VALID
    11.09.12 22:15:56,869 coreservicesd[63]: SendFlattenedData, got error #268435460 (ipc/send) timed out from ::mach_msg(), sending notification kLSNotifyChildApplicationLaunch to notificationID=129
    11.09.12 22:15:57,991 com.apple.SecurityServer[15]: Session 100008 created
    11.09.12 22:15:57,993 coreservicesd[63]: SendFlattenedData, got error #268435460 (ipc/send) timed out from ::mach_msg(), sending notification kLSNotifyApplicationDeath to notificationID=152
    11.09.12 22:15:58,001 SocialPushAgent[265]: Error: unable to get the current device-token:(null) and/or the uuid:(null)
    11.09.12 22:15:58,004 SocialPushAgent[265]: Error: unable to get the current device-token:(null) and/or the uuid:(null)
    11.09.12 22:15:58,117 appleprofilepolicyd[302]: appleprofilepolicyd: profiling drivers not loaded, loading
    11.09.12 22:15:58,153 NotificationCenter[268]: Unable to simultaneously satisfy constraints:
        "<NSLayoutConstraint:0x7fc842c34ee0 H:[NSView:0x7fc842a5d9f0]-(0)-|(LTR)   (Names: widgetView:0x7fc842c31d90, '|':widgetView:0x7fc842c31d90 )>",
        "<NSLayoutConstraint:0x7fc842c4f490 H:|-(100)-[NSView:0x7fc842a5d9f0](LTR)   (Names: widgetView:0x7fc842c31d90, '|':widgetView:0x7fc842c31d90 )>",
        "<NSLayoutConstraint:0x7fc842c1c000 H:|-(0)-[NSView:0x7fc84286fa80]   (Names: '|':NSView:0x7fc842a5d9f0 )>",
        "<NSLayoutConstraint:0x7fc842c4f720 H:[NSView:0x7fc84286fa80]-(0)-|   (Names: '|':NSView:0x7fc842a5d9f0 )>",
        "<NSAutoresizingMaskLayoutConstraint:0x7fc84282bbd0 h=--& v=-&- H:[widgetView(385)]   (Names: widgetView:0x7fc842c31d90 )>",
        "<NSLayoutConstraint:0x7fc84286c720 H:[NCSwitchButton:0x7fc84286bbd0]-(>=9)-|   (Names: '|':NSView:0x7fc84286fa80 )>",
        "<NSLayoutConstraint:0x7fc84286c6b0 H:|-(35)-[NSTextField:0x7fc84286c1f0]   (Names: '|':NSView:0x7fc84286fa80 )>",
        "<NSLayoutConstraint:0x7fc842819df0 H:[NCSwitchButton:0x7fc84286bbd0(64)]>",
        "<NSLayoutConstraint:0x7fc842800c90 H:[NSTextField:0x7fc84286c1f0]-(NSSpace(8))-[NCSwitchButton:0x7fc84286bbd0]>",
        "<NSLayoutConstraint:0x7fc84286c2c0 H:[NSTextField:0x7fc84286c1f0(184)]>"
    Will attempt to recover by breaking constraint
    <NSLayoutConstraint:0x7fc84286c2c0 H:[NSTextField:0x7fc84286c1f0(184)]>
    Set the NSUserDefault NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have -[NSWindow visualizeConstraints:] automatically called when this happens.  And/or, break on objc_exception_throw to catch this in the debugger.
    11.09.12 22:15:58,153 lsboxd[301]: @AE relay 4755524c:4755524c
    11.09.12 22:15:58,184 lsboxd[301]: @AE relay 4755524c:4755524c
    11.09.12 22:15:58,196 NetworkBrowserAgent[304]: Starting NetworkBrowserAgent
    11.09.12 22:15:58,259 blued[300]: kBTXPCUpdateUserPreferences gConsoleUserUID = 501
    11.09.12 22:15:58,769 Battery Health[291]: Receipt at /Applications/Battery Health.app/Contents/_MASReceipt/receipt Ok!
    11.09.12 22:16:00,688 ClamXavSentry[286]: clamd not running. Now trying to launch it...
    11.09.12 22:16:04,902 com.apple.time[264]: Interval minimum value is 30 seconds (specified value: 21).
    11.09.12 22:16:06,140 ClamXavSentry[286]: clamd launched successfully.  Continuing...
    11.09.12 22:16:06,148 ClamXavSentry[286]: scan email files
    11.09.12 22:16:06,148 ClamXavSentry[286]: I will quarantine infected files
    11.09.12 22:16:06,856 sudo[336]:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/local/clamXav/bin/freshclam --log=/usr/local/clamXav/share/clamav/freshclam.log --on-update-execute=EXIT_1
    11.09.12 22:16:13,464 com.apple.launchd[1]: (com.apple.coreservices.appleid.authentication[180]) Exit timeout elapsed (20 seconds). Killing
    11.09.12 22:16:14,591 sudo[352]:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/sbin/chown -R clamav:clamav /usr/local/clamXav/share/clamav
    11.09.12 22:16:14,618 sudo[354]:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/chmod 0775 /usr/local/clamXav/share/clamav
    11.09.12 22:16:14,638 sudo[356]:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/chmod 0664 /usr/local/clamXav/share/clamav/bytecode.cld /usr/local/clamXav/share/clamav/daily.cld /usr/local/clamXav/share/clamav/freshclam.log /usr/local/clamXav/share/clamav/main.cvd /usr/local/clamXav/share/clamav/mirrors.dat
    11.09.12 22:16:14,656 sudo[358]:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/touch /usr/local/clamXav/share/clamav/freshclam.log
    11.09.12 22:16:14,676 sudo[360]:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/chmod a+rw /usr/local/clamXav/share/clamav/freshclam.log
    11.09.12 22:16:29,345 launchctl[378]: launchctl: Dubious permissions on file (skipping): /Library/LaunchAgents/com.teamviewer.teamviewer.plist
    11.09.12 22:16:29,346 launchctl[378]: launchctl: Dubious permissions on file (skipping): /Library/LaunchAgents/com.teamviewer.teamviewer_desktop.plist
    11.09.12 22:16:29,867 com.apple.SecurityServer[15]: Session 100004 created
    11.09.12 22:17:05,092 Google Chrome[421]: Unsure about the internals of CFAllocator but going to patch them anyway. If there is a crash inside of CFAllocatorAllocate, please report it at http://crbug.com/117476 . If there is a crash and it is NOT inside of CFAllocatorAllocate, it is NOT RELATED. DO NOT REPORT IT THERE but rather FILE A NEW BUG.
    11.09.12 22:17:05,000 kernel[0]: CODE SIGNING: cs_invalid_page(0x1000): p=422[ksadmin] clearing CS_VALID
    11.09.12 22:17:05,956 Google Chrome Helper[424]: Unsure about the internals of CFAllocator but going to patch them anyway. If there is a crash inside of CFAllocatorAllocate, please report it at http://crbug.com/117476 . If there is a crash and it is NOT inside of CFAllocatorAllocate, it is NOT RELATED. DO NOT REPORT IT THERE but rather FILE A NEW BUG.
    11.09.12 22:17:06,333 Google Chrome Helper[427]: Unsure about the internals of CFAllocator but going to patch them anyway. If there is a crash inside of CFAllocatorAllocate, please report it at http://crbug.com/117476 . If there is a crash and it is NOT inside of CFAllocatorAllocate, it is NOT RELATED. DO NOT REPORT IT THERE but rather FILE A NEW BUG.
    11.09.12 22:17:06,000 kernel[0]: CODE SIGNING: cs_invalid_page(0x1000): p=426[ksadmin] clearing CS_VALID
    11.09.12 22:17:06,506 Google Chrome Helper[430]: Unsure about the internals of CFAllocator but going to patch them anyway. If there is a crash inside of CFAllocatorAllocate, please report it at http://crbug.com/117476 . If there is a crash and it is NOT inside of CFAllocatorAllocate, it is NOT RELATED. DO NOT REPORT IT THERE but rather FILE A NEW BUG.
    11.09.12 22:17:06,507 Google Chrome Helper[429]: Unsure about the internals of CFAllocator but going to patch them anyway. If there is a crash inside of CFAllocatorAllocate, please report it at http://crbug.com/117476 . If there is a crash and it is NOT inside of CFAllocatorAllocate, it is NOT RELATED. DO NOT REPORT IT THERE but rather FILE A NEW BUG.
    11.09.12 22:17:06,610 Google Chrome Helper[424]: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1100)
    11.09.12 22:17:06,648 Google Chrome Helper[431]: Unsure about the internals of CFAllocator but going to patch them anyway. If there is a crash inside of CFAllocatorAllocate, please report it at http://crbug.com/117476 . If there is a crash and it is NOT inside of CFAllocatorAllocate, it is NOT RELATED. DO NOT REPORT IT THERE but rather FILE A NEW BUG.
    11.09.12 22:17:06,846 Google Chrome Helper[427]: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1100)
    11.09.12 22:17:07,090 Google Chrome Helper[431]: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1100)
    11.09.12 22:17:07,556 Google Chrome Helper[429]: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1100)
    11.09.12 22:17:07,635 Google Chrome[421]: Couldn't contact spell checker for Deutsch
    11.09.12 22:17:09,267 Google Chrome Helper[435]: Unsure about the internals of CFAllocator but going to patch them anyway. If there is a crash inside of CFAllocatorAllocate, please report it at http://crbug.com/117476 . If there is a crash and it is NOT inside of CFAllocatorAllocate, it is NOT RELATED. DO NOT REPORT IT THERE but rather FILE A NEW BUG.
    11.09.12 22:17:09,369 Google Chrome Helper[436]: Unsure about the internals of CFAllocator but going to patch them anyway. If there is a crash inside of CFAllocatorAllocate, please report it at http://crbug.com/117476 . If there is a crash and it is NOT inside of CFAllocatorAllocate, it is NOT RELATED. DO NOT REPORT IT THERE but rather FILE A NEW BUG.
    11.09.12 22:17:09,439 Google Chrome Helper[437]: Unsure about the internals of CFAllocator but going to patch them anyway. If there is a crash inside of CFAllocatorAllocate, please report it at http://crbug.com/117476 . If there is a crash and it is NOT inside of CFAllocatorAllocate, it is NOT RELATED. DO NOT REPORT IT THERE but rather FILE A NEW BUG.
    11.09.12 22:17:09,602 Google Chrome Helper[438]: Unsure about the internals of CFAllocator but going to patch them anyway. If there is a crash inside of CFAllocatorAllocate, please report it at http://crbug.com/117476 . If there is a crash and it is NOT inside of CFAllocatorAllocate, it is NOT RELATED. DO NOT REPORT IT THERE but rather FILE A NEW BUG.
    11.09.12 22:17:09,910 Google Chrome Helper[437]: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1100)
    11.09.12 22:17:10,192 Google Chrome Helper[440]: Unsure about the internals of CFAllocator but going to patch them anyway. If there is a crash inside of CFAllocatorAllocate, please report it at http://crbug.com/117476 . If there is a crash and it is NOT inside of CFAllocatorAllocate, it is NOT RELATED. DO NOT REPORT IT THERE but rather FILE A NEW BUG.
    11.09.12 22:17:10,228 Google Chrome Helper[438]: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1100)
    11.09.12 22:17:10,798 Google Chrome Helper EH[441]: Unsure about the internals of CFAllocator but going to patch them anyway. If there is a crash inside of CFAllocatorAllocate, please report it at http://crbug.com/117476 . If there is a crash and it is NOT inside of CFAllocatorAllocate, it is NOT RELATED. DO NOT REPORT IT THERE but rather FILE A NEW BUG.
    11.09.12 22:17:10,952 Google Chrome Helper[436]: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1100)
    11.09.12 22:17:11,221 Google Chrome Helper[440]: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1100)
    11.09.12 22:17:11,613 Google Chrome Helper EH[443]: Unsure about the internals of CFAllocator but going to patch them anyway. If there is a crash inside of CFAllocatorAllocate, please report it at http://crbug.com/117476 . If there is a crash and it is NOT inside of CFAllocatorAllocate, it is NOT RELATED. DO NOT REPORT IT THERE but rather FILE A NEW BUG.
    11.09.12 22:17:12,726 Google Chrome Helper[435]: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1100)
    11.09.12 22:17:13,461 Google Chrome Helper EH[446]: Unsure about the internals of CFAllocator but going to patch them anyway. If there is a crash inside of CFAllocatorAllocate, please report it at http://crbug.com/117476 . If there is a crash and it is NOT inside of CFAllocatorAllocate, it is NOT RELATED. DO NOT REPORT IT THERE but rather FILE A NEW BUG.
    11.09.12 22:17:27,353 WindowServer[90]: CGXSetWindowBackgroundBlurRadius: Invalid window 0xffffffff
    11.09.12 22:17:27,397 loginwindow[43]: find_shared_window: WID -1
    11.09.12 22:17:27,397 loginwindow[43]: CGSGetWindowTags: Invalid window 0xffffffff
    11.09.12 22:17:27,398 loginwindow[43]: find_shared_window: WID -1
    11.09.12 22:17:27,398 loginwindow[43]: CGSSetWindowTags: Invalid window 0xffffffff
    11.09.12 22:17:27,501 coreservicesd[63]: Application App:"loginwindow" [ 0x0/0x1001]  @ 0x0x7f81a0609e00 tried to be brought forward, but isn't in fPermittedFrontASNs ( ( ASN:0x0-0x7b07b:) ), so denying.
    11.09.12 22:17:27,501 WindowServer[90]: [cps/setfront] Failed setting the front application to loginwindow, psn 0x0-0x1001, securitySessionID=0x186a5, err=-13066
    11.09.12 22:17:27,681 loginwindow[43]: *** WARNING: -[NSImage compositeToPoint:operation:fraction:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead.
    11.09.12 22:17:27,682 loginwindow[43]: *** WARNING: -[NSImage compositeToPoint:fromRect:operation:fraction:] is deprecated in MacOSX 10.8 and later. Please use -[NSImage drawAtPoint:fromRect:operation:fraction:] instead.
    11.09.12 22:17:33,932 Dock[282]: no information back from LS about running process
    A response with any suggestions would be great! Am actually off for a business trip and can't visit my local Apple Store where I bought my MBP and even don't really want that
    Thanks in advance!
    Regards
    Simon

    quax88 wrote:
    11.09.12 22:16:06,148 ClamXavSentry[286]: scan email files
    11.09.12 22:16:06,148 ClamXavSentry[286]: I will quarantine infected files
    This doesn't have anything to do with your problem, but it will likely cause other issues with your e-mail.
    Here's my standard recommendation concerting the use of A-V software to deal with potentially infected messages:
    Never use ClamXav (or any other A-V software) to move (quarantine) or delete e-mail. It will corrupt the mailbox index which could cause loss of other e-mail and other issues with functions such as searching. It may also leave the original e-mail on your ISP's e-mail server and will be re-downloaded to your hard drive the next time you check for new mail.
    So, if you choose to "Scan e-mail content for malware and phishing" in the General Preferences, make sure you do not elect to either Quarantine or Delete infected files.
    When possibly infected e-mail files are found:
    Right-click/Control-click on either the infection or file name in the ClamXav window.
    Select "Reveal In Finder" from the pop-up menu.
    When the window opens, double-click on the file to open the message in your e-mail client application.
    Read the message and if you agree that it is junk/spam/phishing then use the e-mail client's delete button to delete it (this is especially important when the word "Heuristics" appears in the infection name).
    If you disagree and choose to retain the message, return to ClamXav and choose "Exclude From Future Scans" from the pop-up menu.
    If this is a g-mail account and those messages continue to show up after you have deleted them in the above manner, you may need to log in to webmail using your browser, go to the "All Mail" folder, find the message(s) and use the delete button there to permanently delete them from the server.
    To fix the corrupted mailbox index(es), highlight each one that was corrupted and choose Rebuild from the appropriate menu.

  • Problem with Jni on Solaris

    Hello I am using a Native code that is working perfect on Windows .
    I have used DllMain calls to initialize my threads .
    I attach my lower stack threads to the JNI by using these methods.
    Well I want to know what is way to put the same functionality on Solaris.As this particular method is specific to Windows Platform only.
    BOOL APIENTRY DllMain( HANDLE hModule,                     // handle to DLL module
    DWORD ul_reason_for_call,      // reason for calling function
    LPVOID lpReserved                // reserved
         BOOL returnValue = FALSE;
    switch (ul_reason_for_call)
              case DLL_PROCESS_ATTACH:
                   // We do not perform any initialization
                   // within this section. Instead we have
                   // chosen to use the JNI_OnLoad function
                   // as the library initialization point.
                   returnValue = TRUE;
                   break;
              case DLL_THREAD_ATTACH:
                   // We are to initialize the thread local storage
                   // variables in this call.
                   if( BridgeUtility::getInstance() -> threadInitialize() != 0 ) {
                        returnValue = FALSE;
                        printf(" Thread initialize failed..\n");
                   }else {
                        printf(" Thread initialize succed..\n");
                        returnValue = TRUE;
                   break;
              case DLL_THREAD_DETACH:
                   // We are to uninitialize the thread local storage
                   // variables in this call.
                   if( BridgeUtility::getInstance() -> threadUninitialize() != 0 )
                        returnValue = FALSE;
                   else
                        returnValue = TRUE;
                   break;
              case DLL_PROCESS_DETACH:
                   // We do not perform any uninitialization
                   // within this section. Instead we have
                   // chosen to use the JNI_OnUnload function
                   // as the library initialization point.
                   returnValue = TRUE;
                   break;

    If your aim is to load the library and initialize it
    that one time, consider using the pthread once routines
    to handle library initialization. See, for example,
    chapter 5 of Butenhof's "Programming with POSIX
    threads".

  • Utf-8 encoding problem on solaris

    Hello all.
    I am using weblogic 9.2 and I am facing a very weird problem regarding the encoding. I fetch data from the db (informix btw) and I forward data as utf-8 to jsps. I have set up everything succesfully on my web.xml, weblogic.xml and all jsps include the page directive for utf-8. When I deploy my application on windows 2k machine everything goes smooth. But when the deployment happens on a solaris machine my jsps show "?" instead of letters. Has anyone faced this problem before? Could you plz direct me towards a solution because this thing has taken me days and days and I still haven't managed to find a solution
    Thanx in advance
    axel

    Hi,
    Start the app, and hook an Eclipse debug project to it. Check if the enconding problem is while retrieving from the DB or while generating the response. If the issue is on the DB, you may need to define the enconding on the connection (I am not sure what driver you are using, but should be able to check this out.) If the issue is while generating the response, just XML escape every character.
    Regards,
    LG

Maybe you are looking for