Can any one help me with this chat server

The code below is of a client and server but the problem is that the msg can be sent only from the server and not the client I want that whenever a msg is sent from the server the control for writing the msg should go on to the client n den vise versa n should continue till the connection is terminated..plz help me....!
CoDES
for client
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.InetAddress;
import java.net.Socket;
import java.net.UnknownHostException;
class client {
public static void main(String[] args) throws IOException {
Socket s =null;
BufferedReader b=null;
try{
s=new Socket( InetAddress.getLocalHost(),98);
b=new BufferedReader(new InputStreamReader(s.getInputStream()));
catch(UnknownHostException u) {
System.err.println("i dont know host");
System.exit(0);
String inp;
while((inp=b.readLine())!=null){
System.out.println(inp);
b.close();
s.close();
FOR SERVER$
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.ServerSocket;
import java.net.Socket;
import java.nio.channels.ServerSocketChannel;
public class server {
public static void main(String[] args) throws IOException {
ServerSocket s1=null;
try{
s1=new ServerSocket(98);
}catch(IOException u1)
System.err.println("could not find port 98");
System.exit(1);
Socket c=null;
try{
c=s1.accept();
System.out.println("connection from"+c);
catch(IOException e)
System.out.println("accept failed");
System.exit(1);
PrintWriter out=new PrintWriter(c.getOutputStream(),true);
BufferedReader in=new BufferedReader(new InputStreamReader(c.getInputStream()));
String I;
BufferedReader sin=new BufferedReader(new InputStreamReader(System.in));
System.out.println("i am ready to type now");
while((I=sin.readLine())!=null) {
out.println(I);
out.close();
sin.close();
c.close();
s1.close();
}

What you need is to have two loops running at the same time. One for receiving messages and other for waiting user input. This can be done by using separate threads.
For example after client has made connection to server, start a new thread that runs loop for receiving messages from the socket and printing them to System.out. Then in the default thread start loop for reading users input. The server could have similar structure.
So, what I think you are looking for are threads.

Similar Messages

  • HT204302 i get a message when I plug in my ipod to my laptop saying "cannot use this ipod because apple mobile device is not started" can any one help me with this...I have never had this happen before

    Hello anyone
    I get a message when i plug in my ipod touch saying "cannot use this ipod because apple mobile service is not started" can anyone please help me with this problem...I had this message once before but I forgot how to correct it

    From the More Like This section on the right:
    I get error message when I plug in iPhone 4s saying "This iPhone cannot be used because the Apple Mobile Device service is not started"
    can't get my ipod to connect to tunes error message "cannot be used because the apple mobile device service is not started"  fixes? Using Win XP
    im trying to connect my ipod to itunes and its saying it cannot connect because the "Apple Mobile Device is not started" help
    Or see: iPhone, iPad, iPod touch: How to restart the Apple Mobile Device Service (AMDS) on Windows

  • I can no longer see FaceBook notifications in my notification area on my desk top. Can any one help me with this?

    I can no longer see any Notifications from my FaceBook account in the notifications area on my Mac. I have it in the Notifications Area and it is still not providing me my notifications. Any suggestions?

    Hi Tammy56,
    Welcome to the Support Communities!
    The article below may be able to help you with this.
    Click on the link to see more details and screenshots. 
    iCloud: Troubleshooting iCloud Calendar
    http://support.apple.com/kb/TS3999?viewlocale=en_US
    Cheers,
    - Judy

  • Can any one help me in this code

    Hi all,
    I have created a selection screen and my aim is to display some fields or some block dynamically by choosing some radio button is it possible.
    can any one help me in this.
    REPORT  z_g_test.
    TABLES: spfli,sbook,sscrfields.
    SELECTION-SCREEN BEGIN OF BLOCK 1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS:s_carrid FOR spfli-carrid.
    SELECTION-SCREEN END OF BLOCK 1.
    PARAMETERS:rad1 RADIOBUTTON GROUP g1 USER-COMMAND us1,
               rad2 RADIOBUTTON GROUP g1 DEFAULT 'X' .
    SELECTION-SCREEN BEGIN OF SCREEN 001 as subscreen ."WITH FRAME TITLE text-002.
    SELECT-OPTIONS: s_fldate FOR sbook-fldate.
    SELECTION-SCREEN END OF SCREEN 001.
    DATA ok_code LIKE sy-ucomm.
    INITIALIZATION.
    START-OF-SELECTION.
      SELECT * FROM spfli WHERE carrid IN s_carrid.
      ENDSELECT.
    END-OF-SELECTION.
      WRITE:spfli-carrid.
    AT SELECTION-SCREEN.
      CASE sscrfields-ucomm.
          WHEN'US1'.
    *      call screen 001 starting at 55 40.
      ENDCASE.
    Is i am going on the right way
    Regards,
    Lisa.
    Message was edited by: Lisa Roy
    Message was edited by: Lisa Roy
    Message was edited by: Lisa Roy

    This is what I meant. Copy this and try as it is and see if it serves your purpose.
    REPORT ztest1 .
    TABLES: spfli, sscrfields, sbook.
    SELECTION-SCREEN BEGIN OF TABBED BLOCK tabb1 FOR 4 LINES.
    SELECTION-SCREEN TAB (25) tabs1 USER-COMMAND ucomm1
                         DEFAULT SCREEN 001.
    SELECTION-SCREEN TAB (25) tabs2 USER-COMMAND ucomm2
                         DEFAULT SCREEN 002.
    SELECTION-SCREEN END OF BLOCK tabb1.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE abc.
    PARAMETERS: p_date LIKE sy-datum.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF SCREEN 001 AS SUBSCREEN .
    SELECT-OPTIONS: s_fldate FOR sbook-fldate.
    SELECTION-SCREEN END OF SCREEN 001.
    SELECTION-SCREEN BEGIN OF SCREEN 002 AS SUBSCREEN .
    SELECT-OPTIONS:s_carrid FOR spfli-carrid.
    SELECTION-SCREEN END OF SCREEN 002.
    INITIALIZATION.
      tabs1 = 'Search by flight date'.
      tabs2 = 'Search by flight number'.
      abc   = 'Some other parameters'.
    AT SELECTION-SCREEN OUTPUT.
      CASE sscrfields-ucomm.
        WHEN 'UCOMM1'.
          tabb1-prog = sy-repid.
          tabb1-dynnr   = 001.
          tabb1-activetab = 'TABS1'.
        WHEN 'UCOMM2'.
          tabb1-prog = sy-repid.
          tabb1-dynnr   = 002.
          tabb1-activetab = 'TABS2'.
      ENDCASE.

  • I want to create org data profile in service scenario, with price determination from sales org, distribution centre , can any one help me with these

    i want to create org data profile in service scenario, with price determination from sales org, distribution centre , can any one help me with these
    IF I CREATE SERVICE ORG WITH SERVICE SCENARIO ORG DATA PROFILE,
    MY PRICING IS NOT GETTING DETERMINED AS IT IS LINKED TO SALES ORG AND DISTRIBUTION CHANNEL THROUGH PRICING DETERMINATION SO HOW TO DO THE CUSTOMIZATION FOR THIS SITUATION
    WITH REGARDS,
    SATHISH

    Hi Satish,
    Please assign the org det. rules to org det. profile with Sales and Service scenarios and then assign the org. det. profile to transaction type. The below screenshot is just for your reference.
    Hope it would fix your issue.
    Regards,

  • TS1424 I get "We could not complete your iTunes Store request. An unknown error occurred (4002)  Can any person help me with this on, please?

    I get "We could not complete your iTunes Store request. An unknown error occurred (4002)  Can any person help me with this on, please?

    Turning off iTunes Match and Genius and then turning them back on appears to have worked for some people e.g.
    https://discussions.apple.com/message/22059685#22059685
    https://discussions.apple.com/message/18427550#18427550

  • Can any one help me sending Oracle application server Cloning  document 9.0.4 version

    Can any one help me sending Oracle application server  Cloning document 9.0.4 version (Mail id removed by moderator)
    Many Thanks in advance
    Deepak

    Hi Deepak,
    In first place application server 9.0.2 is desupported since 30th June 2007.So oracle would always recommend its customer to be on the latest versions.
    Please follow the below URL for cloning Appplciation Server 9.0,.4
    Cloning Application Server Middle-Tier Instances
    Regards,
    Prakash.

  • I am restoreing my iphone 3g and on the instaling frameware i keep getting a code 1604 can any one help me with what i am ment to do when i get this error

    as title can any one help me thank you

    Error 1604
    This error is often related to USB timing. Try changing USB ports, using a different dock connector to USB cable, and other available USB troubleshooting steps (troubleshooting USB connections. If you are using a dock, bypass it and connect directly to the white Apple USB dock connector cable. If the issue persists on a known-good computer, the device may need service.
    If the issue is not resolved by USB isolation troubleshooting, and another computer is not available, try these steps to resolve the issue:
    Connect the device to iTunes, confirm that the device is in Recovery Mode. If it's not in Recovery Mode, put it into Recovery Mode.
    Restore and wait for the error.
    When prompted, click OK.
    Close and reopen iTunes while the device remains connected.
    The device should now be recognized in Recovery Mode again.
    Try to restore again.
    If the steps above do not resolve the issue, try restoring using a known-good USB cable, computer, and network connection.

  • My display text of macbook pro 10.7.5 appears blurred , can any body help me with this issue. Everything i open now - chrome, safari - appears blurred

    Everything on my macbook air 10.7.5 appears blurred. I tried searching a few things but didnt get any success.
    Can anybody please help me with this ?

    Nothing looks blurred to me on the screen shot you posted.  However, I did notice that some of the fonts in the tabs are faded.  Which browser are you using?  You should post in a browser forum about that and also the blurring that you see. 
    Since your Finder fonts looks blurry to you, go to System Preferences/Personal/Appearance - play around with the text smoothing setting.  If that does not work, play around with the resolution settings - System Preferences/Displays/Display 

  • I have installed IOS 7 in my 4S but still when i connect it to itunes i am not able to copy music from my Itunes to my Phone any idea why? can some one help me with this. I am using Mac book Pro.

    Hi All,
    Issue 1:
    I have installed IOS 7 in my 4s and when i connect it to my  Mac itunes it detects my phone but i am not able to copy  from the itunes  version 11.1 (126).
    can some one check why i am not able to transfer pics or music from my Mac to iPhone 4s and can let me know on this please.
    Issue 2:
    And to all my apps i am not getting automatic  pop up when i receive a message, It says "Please connect to itunes to use push Notification" can some one say how to go about his.
    Issue 3:
    when i try to launch my facetime from my phone.After entering my user name and password it not launching my Facetime or imessage. dont know whats the reason, I am not able to use both Facetime and imessage from my iphone 4s.
    Looking forward for your reply.
    reagrds
    sathish

    I have the same problem. I think that someone tried my iphone before me because when I want to reset it, I'm invited to enter a password that I didn't set. Also, when I go the Map application, the iphone indicate that I'm locateded in China while I'm in Tunisia. Now, I can't connect to my iphone to itunes, and I can't reset it because it ask me to enter a password that I didn't set.
    This is my post:
    https://discussions.apple.com/thread/4063223
    Please, we need your help.

  • Can any one help me with unlocking my iphone4 or do i have to take it aND HAVE DONE , I THOUGHT THAT WHAT THIS SITE WAS TO HELP PPL LIKE ME , LOL

    DOES ANY ONE KNOW HOW TO UNLOCK AN APPLE IPHONE 4 ???

    Sure, you need to contact your cellular provider to determine if they provide unlocking and if you qualify.

  • Can any one help me with installation of 4.6c on win2000 server.

    Hi ,
       Can any 1 please send me the installation giude for SAP 4,6c on win2000 server. My mail addres : [email protected]
    Thanks
    Jahan

    What you need is to have two loops running at the same time. One for receiving messages and other for waiting user input. This can be done by using separate threads.
    For example after client has made connection to server, start a new thread that runs loop for receiving messages from the socket and printing them to System.out. Then in the default thread start loop for reading users input. The server could have similar structure.
    So, what I think you are looking for are threads.

  • Can any one help me with CD/Audio disc playback problem on media center m8200n running Windows Vista

    I have HP Media Center m8200n Dest top running WINDOWS VISTA HOME PREMIUM 32 BIT edition.It  has MEDIA CENTER and MEDIA PLAYER. I experience problems with the computer being able to play CD music discs.  What happens is that the Disc will play only for 63 seconds exactly and then stop playing the track, the player will then skip tracks, settle on another one, play it for a few moments and then skip to the end and then play nothing. It gives me an error message that it cannot read the disc.  This happens with any and every standard store bought CD new or used. These CDs also do play on my laptop running basically same operating system.  This happens whether I trying to Play a disc or burn the disc to the hard drive.  The drives work great though as they do play DATA discs all the way through. MP3 discs play fine.  It also plays the DVD movies with no problem. Windows media player doesn't make it work, also installed VLC player and REALPLAYER to try some other players and they also don't work for music, only DVDs. They all only produce 63 seconds of music play back  from a disc. I've already tried Changing ENHANCEMENTS, UPDATING DRIVERS, UNINSTALLING THE DISC DRIVE and then re-installing back into WINDOWS but none of that helped. SYSTEM came with the integrated REALTEK HIGH DEFINITION AUDIO on the mother boad for multi channel playback options and I've downloaded those updated drivers again but that doesn't do anything.  Thinking it might be a hardware drive problem I purchased a new LG BLU-RAY DRIVE/BURNER super multi drive which plays fantastic for any video format from Blu-Ray to regular DVD format with the Power DVD software but the machine is causing even this new drive to have the same problem with the audio and it cuts out playing the audio disc within the same 63 seconds running audio disc. . There seems to be a software glitch and I'm wondering if you can help.  Also the sound card seems to work perfectly fine. I downloaded I-Tunes and copied over audio files to the computer via my flash drive and when I play those files from the hard drive, or even the sample windows media files which reside on the hard drive in MY MUSIC, all files play through perfectly, fully, and with great sound. Audio out jacks in back of computer work fine as also does the front head phone jacks upfront. Something in the software when playing a audio disc/file through the dic drives???? I've got hundreds of CD and it's a bummer not beng able to lay them through the system. Does anyone think moving from VISTA PREMIUM to a upgraded version like ULTIMATE or even going up to Windows 7 might solve problem??? What about the 32 bit verses 64 bit editions??? My system should be able to run in the 64 bit frame work also. THANK YOU in advance!!!

    Hi,
    All dimms work individually?  Did you run a bootable memory diagnostic to determine the reliability? Did you run a diagnostic on the hard drive?  I believe that your PC came with PC Doctor and that you can create a bootable diagnostic disk. Did you create that disk?  Be sure to purchase memory dimms from a manufacturer that will stand behind their product with a guarantee such as Crucial, Corsair or Kingston. Buy directly from the manufacturer and they will stand behind the guarantee. Be sure that all of the dimms are identical. Use CPU-Z to determine that the specifications are indeed identical.
    You have some options to consider once you can stablize your PC for updating the BIOS.
    Locate a hard drive and use the HP external recovery media to build a VISTA system. -- safest method
    Use a VISTA repair disk and at the command prompt try executing the HP BIOS update (Admin). -- safe
    Try a bootable BIOS update process as suggested at this site. --  less safe but doable
    HP DV9700, t9300, Nvidia 8600, 4GB, Crucial C300 128GB SSD
    HP Photosmart Premium C309G, HP Photosmart 6520
    HP Touchpad, HP Chromebook 11
    Custom i7-4770k,Z-87, 8GB, Vertex 3 SSD, Samsung EVO SSD, Corsair HX650,GTX 760
    Custom i7-4790k,Z-97, 16GB, Vertex 3 SSD, Plextor M.2 SSD, Samsung EVO SSD, Corsair HX650, GTX 660TI
    Windows 7/8 UEFI/Legacy mode, MBR/GPT

  • Can some one help me with this project

    This project will simulate the behavior of an Integrity Subsystem in validating the data in a database.
    More specifically, assume there are 2 tables, A and B, in a given database. Table A has 4 integer
    attributes names a, b, c, d and table B has 4 integer attributes named e, f, g, h.
    Your program is to input up to 20 integrity rules as discussed below, and store them in some internal
    format of your choosing. Then enter up to 15 tuples for each table. For each tuple, check it against all the
    applicable integrity rules and print out an error message for each rule that is violated. If no rules are
    violated then print a message saying all it well and enter that tuple into the database. Do not enter a tuple
    into a database if any rule is violated for that tuple.
    There are 3 different types of integrity rules: Primary key, Foreign key, and Attribute.
    The formats for the rules are given below:
    Primary key: rule#, P, tablename, attribute name
    1 A or B a,b,c,d,e,f,g, or h
    The meaning of this rule is that the specified attribute name of the specified table is the
    primary key of that table.
    Foreign key: rule#, F, tablename, attribute name, tablename, attributename
    2 A or B a,b,c,d,e,f,g, or h A or B a,b,c,d,e,f,g, or h
    The meaning of this rule is that the first attribute name and tablename is a foreign key
    referencing the second attribute name and tablename.
    Attribute: rule#, A, tablename, attribute name, low value, high value
    3 A or B a,b,c,d,e,f,g, or h 0-9999 0-9999
    The meaning of this rule is that the attribute name in the specified table always have a value lying
    in the range of low value to high value inclusive.
    Your program should implement at least the following 10 rules
    Rules:
    1 P A b
    2 F A d B g
    3 A A a 10 20
    4 A B h 8 9000
    5 P B g
    6 A B g 0 100
    7 F A c B h
    8 A A b 10 30
    9 A B e 0 80
    10 A A a 8 30
    Page 2 of 3
    The following data is provided for your convenience to test the correctness of your program. Remember I
    will use these data and some other new data for the testing.
    Tuples: (Insert in this order)
    A 8 32 30 50
    A 10 20 30 40
    B 5 20 50 100
    B 8 30 40 200
    A 10 20 100 50
    A 10 22 100 40
    A 8 32 30 40
    B 30 40 50 60
    B 80 2000 0 0
    A 9 25 200 50
    A 12 25 60 50
    B 0 0 0 100
    A 10 10 10 10
    A 20 20 200 40
    A 0 0 0 0
    B 0 0 0 0
    B 50 50 50 50
    Specifications:
    1. You can just represent the provided 10 rules and new rules created by yourself in some
    internal data structures. Or you can store the rules in a text file and then read it one by one.
    2. The test data must be stored in a text file �tuples.txt� in which each line has one tuple and
    field items are separated by one or more blank spaces (not comma, or colons).
    3. Bring a project report at the beginning of the class on the due date. The project report
    should have a summary on how you finish the project. For examples, you should discuss
    some key data structures you chosen to store the rules and tuples, how you check the invalid
    tuples and insert valid tuples, and so on. I hope that after reading the report, I should get some
    ideas how you finish the project even without reading the source code.
    4. Also you should print out source code and include in the report. In addition, you need to
    copy the execution output results. I give a sample expected output for your reference. You
    can change it in any way but just make sure it is clear to read for users.
    Sample Outputs (for simplicity only three rules used in this example):
    Integrity Rules (total 3):
    1 P A b
    2 F A d B g
    3 A A a 10 20
    Tuples: (Insert in this order)
    T1: A 8 32 30 50
    Page 3 of 3
    T2: A 10 20 30 40
    T3: B 5 20 50 100
    T4: A 8 25 40 100
    Results:
    T1 is invalid (against rule 3), discard it!
    T2 is valid, insert to DB
    T3 is valid, insert to DB
    T4 is invalid (against rule 1), discard it!
    Summary:
    2 tuples (T2, T3) are inserted to DB
    2 tuples (T1, T4) are discarded
    5. Bring a floppy disk containing the source code and the project report word file. It should
    only have one directory named as your �Firstname.Lastname� For example, if your name is
    John Johnson, the directory name should be �John.Johnson� in the root (your wku email
    should be [email protected] also in most cases).
    Create a subdirectory �Report� to store the report word file. The report name can be
    �CS543_Project_2_Report�. Then create another directory named as �Code� to keep all the
    necessary files to run the program without any further configuration (including �tuples.txt�).
    6. Submit a zip file which contains all the files in your floppy disk to the �Digital Drop Box�.
    The zip file name must be �Firstname.Lastname.zip�. For example, if your name is John
    Johnson, the directory name should be �John.Johnson.zip�. So if I unzip the file, I should get
    exactly same files as the floppy disk.
    7. Follow closely �Program Scoring Rubric For CS Dept� and �Writing/Documentation
    Scoring Rubric for CS Dept�. Your project grading will be based on these two guidelines.
    At least, your code should have a perfect and consistent format style and include sufficient
    comments (generally > 20%) which explain possible confusions clearly. Also always try to
    use constant variables to denote numbers. For example, if you created 20 rules in total, you
    can define a constant variable such as in C++ �#define TOTAL_INTEGRITY_RULES 20�.

    So what is your question?
    People here are not generally inclined to read your homework, and then read your mind to find out what's giving you trouble.
    If you're absolutely lost and have no clue where to start, you should speak to you instructor or engage the services of a private tutor. These forums are simply not an effective venue for that kind of help.
    Otherwise, take your best shot, do as much as you can do, and then post specific questions about the specific bits that are giving you trouble. Be as thorough and precise as possible about what you're trying to do and what didn't work. Copy/paste the complete text of any error messages. Add println statements to your code and include comments like "I expected it to print xyz here but it printed abc".

  • Can any one help me read this panic report

    Ok first let me tell you the story how i got this mac. The ex owner decided to put it on his driveway for some reason and totally forgot he put it there when he came out of his driveway with his pick up truck and boom this mac actually looks like it was ran over lol so he gave it to a friend of mine(as a gift don't know why) he couldn't fix it so then my friend gave it to me i got it up and running everything kinda works even tho the logic board and the casing are bended so this is how how got to the mac world I've played games with it watched movies and use several programs. now my problem is that i use to have mac os lion and now i upgraded to yosemite now every time try to start the mac i get this panic result and the mac keeps restarting i did have the same problem when i had lion but at least after the third or fourth time the mac will boot up I'm trying to fix it peace by peace since i can't afford a brand new one wich pretty much ill end up paying the same price as a new one wich i don't mind since its not gonna be in one shot ok here my report ps I'm in safemode and i just wanna say i fell in love with mac ever since i got this macbook pro
    Anonymous UUID:       9C833C45-DC0A-CF26-7029-AD4C373CFD8A
    Fri Feb  6 01:33:17 2015
    *** Panic Report ***
    panic(cpu 1 caller 0xffffff801541e80a): Kernel trap at 0xffffff7f96e9b483, type 14=page fault, registers:
    CR0: 0x000000008001003b, CR2: 0x0000000000000010, CR3: 0x000000007c64a000, CR4: 0x0000000000002660
    RAX: 0x674c25fc9cce0001, RBX: 0xffffff8045b2d000, RCX: 0xffffff80699c5000, RDX: 0xffffff806ee0b908
    RSP: 0xffffff806ee0bac0, RBP: 0xffffff806ee0bac0, RSI: 0x0000000000000000, RDI: 0x0000000000000000
    R8:  0x000000000000002b, R9:  0xffffff801dd4804f, R10: 0x0000000000000010, R11: 0x000000000000002b
    R12: 0x0000000000000000, R13: 0xffffff801de27800, R14: 0xffffff8045b2d000, R15: 0xffffff8045b2d000
    RFL: 0x0000000000010293, RIP: 0xffffff7f96e9b483, CS:  0x0000000000000008, SS:  0x0000000000000010
    Fault CR2: 0x0000000000000010, Error code: 0x0000000000000000, Fault CPU: 0x1
    Backtrace (CPU 1), Frame : Return Address
    0xffffff806ee0b770 : 0xffffff801533a811
    0xffffff806ee0b7f0 : 0xffffff801541e80a
    0xffffff806ee0b9b0 : 0xffffff801543a443
    0xffffff806ee0b9d0 : 0xffffff7f96e9b483
    0xffffff806ee0bac0 : 0xffffff7f96e8492a
    0xffffff806ee0bb10 : 0xffffff7f96e84878
    0xffffff806ee0bb30 : 0xffffff7f96e60116
    0xffffff806ee0bb70 : 0xffffff7f95e396df
    0xffffff806ee0bbc0 : 0xffffff7f95e395f2
    0xffffff806ee0bbe0 : 0xffffff7f95e3d90a
    0xffffff806ee0bc70 : 0xffffff7f95e358ac
    0xffffff806ee0bcb0 : 0xffffff7f95e85fe8
    0xffffff806ee0bd00 : 0xffffff80158b85b1
    0xffffff806ee0bd50 : 0xffffff80158ff0b5
    0xffffff806ee0bdc0 : 0xffffff80153ea95e
    0xffffff806ee0be10 : 0xffffff801533e91c
    0xffffff806ee0be40 : 0xffffff80153235a3
    0xffffff806ee0be90 : 0xffffff8015333e8d
    0xffffff806ee0bf10 : 0xffffff801540a142
    0xffffff806ee0bfb0 : 0xffffff801543ac66
          Kernel Extensions in backtrace:
             com.apple.iokit.IOGraphicsFamily(2.4.1)[6D99A3BE-D531-3780-880B-13F2FC894A4A]@0 xffffff7f95e2b000->0xffffff7f95e65fff
                dependency: com.apple.iokit.IOPCIFamily(2.9)[87711C74-47D5-3545-8A62-035E1C7C4198]@0xffffff 7f95b24000
             com.apple.nvidia.classic.NVDAResmanTesla(10.0)[796AE430-39FB-3255-8161-D52AFA28 EE2B]@0xffffff7f95e82000->0xffffff7f960ebfff
                dependency: com.apple.iokit.IOPCIFamily(2.9)[87711C74-47D5-3545-8A62-035E1C7C4198]@0xffffff 7f95b24000
                dependency: com.apple.iokit.IONDRVSupport(2.4.1)[F4738C55-B507-3627-A9CA-3D29A5230A03]@0xff ffff7f95e72000
                dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[6D99A3BE-D531-3780-880B-13F2FC894A4A]@0 xffffff7f95e2b000
             com.apple.GeForceTesla(10.0)[97A18479-CC43-3073-AEB2-C5C92195067A]@0xffffff7f96 e5c000->0xffffff7f96f29fff
                dependency: com.apple.iokit.IOPCIFamily(2.9)[87711C74-47D5-3545-8A62-035E1C7C4198]@0xffffff 7f95b24000
                dependency: com.apple.iokit.IONDRVSupport(2.4.1)[F4738C55-B507-3627-A9CA-3D29A5230A03]@0xff ffff7f95e72000
                dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[6D99A3BE-D531-3780-880B-13F2FC894A4A]@0 xffffff7f95e2b000
                dependency: com.apple.nvidia.classic.NVDAResmanTesla(10.0.0)[796AE430-39FB-3255-8161-D52AFA 28EE2B]@0xffffff7f95e82000
    BSD process name corresponding to current thread: WindowServer
    Mac OS version:
    14A379b
    Kernel version:
    Darwin Kernel Version 14.0.0: Sat Sep 27 03:58:47 PDT 2014; root:xnu-2782.1.97~11/RELEASE_X86_64
    Kernel UUID: D1F807E1-A660-3126-96DF-6A9E65444DA3
    Kernel slide:     0x0000000015000000
    Kernel text base: 0xffffff8015200000
    __HIB  text base: 0xffffff8015100000
    System model name: MacBookPro5,2 (Mac-F2268EC8)
    System uptime in nanoseconds: 77869146695
    last loaded kext at 77595893148: com.apple.driver.AppleHWSensor 1.9.5d0 (addr 0xffffff7f974c1000, size 36864)
    loaded kexts:
    com.apple.driver.AppleHWSensor 1.9.5d0
    com.apple.driver.AppleHDAHardwareConfigDriver 266.5
    com.apple.driver.AppleTyMCEDriver 1.0.2d2
    com.apple.driver.AGPM 100.14.32
    com.apple.driver.AppleMikeyHIDDriver 124
    com.apple.driver.AppleHDA 266.5
    com.apple.filesystems.autofs 3.0
    com.apple.iokit.IOBluetoothSerialManager 4.3.0f9
    com.apple.driver.AppleOSXWatchdog 1
    com.apple.driver.AppleMikeyDriver 266.5
    com.apple.iokit.IOUserEthernet 1.0.1
    com.apple.Dont_Steal_Mac_OS_X 7.0.0
    com.apple.driver.AppleHWAccess 1
    com.apple.driver.AppleHV 1
    com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
    com.apple.driver.AppleLPC 1.7.3
    com.apple.GeForceTesla 10.0.0
    com.apple.driver.AppleSMCLMU 2.0.4d1
    com.apple.driver.AppleUpstreamUserClient 3.6.1
    com.apple.nvidia.NVDAStartup 10.0.0
    com.apple.iokit.IOBluetoothUSBDFU 4.3.0f9
    com.apple.driver.AppleMuxControl 3.7.19
    com.apple.driver.AppleBacklight 170.4.12
    com.apple.driver.AppleMCCSControl 1.2.10
    com.apple.driver.SMCMotionSensor 3.0.4d1
    com.apple.driver.AppleUSBTCButtons 240.2
    com.apple.driver.AppleUSBTCKeyEventDriver 240.2
    com.apple.driver.AppleUSBTCKeyboard 240.2
    com.apple.driver.AppleIRController 327.5
    com.apple.driver.AppleFileSystemDriver 3.0.1
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
    com.apple.BootCache 35
    com.apple.iokit.SCSITaskUserClient 3.7.0
    com.apple.driver.XsanFilter 404
    com.apple.iokit.IOAHCIBlockStorage 2.6.5
    com.apple.driver.AppleFWOHCI 5.5.2
    com.apple.driver.AppleUSBHub 705.4.1
    com.apple.driver.AppleAHCIPort 3.0.7
    com.apple.nvenet 2.0.22
    com.apple.driver.AppleUSBEHCI 705.4.14
    com.apple.driver.AppleUSBOHCI 656.4.1
    com.apple.driver.AirPort.Brcm4331 800.20.24
    com.apple.driver.AppleSmartBatteryManager 161.0.0
    com.apple.driver.AppleHPET 1.8
    com.apple.driver.AppleRTC 2.0
    com.apple.driver.AppleACPIButtons 3.1
    com.apple.driver.AppleSMBIOS 2.1
    com.apple.driver.AppleACPIEC 3.1
    com.apple.driver.AppleAPIC 1.7
    com.apple.driver.AppleIntelCPUPowerManagementClient 218.0.0
    com.apple.nke.applicationfirewall 161
    com.apple.security.quarantine 3
    com.apple.security.TMSafetyNet 8
    com.apple.driver.AppleIntelCPUPowerManagement 218.0.0
    com.apple.AppleGraphicsDeviceControl 3.7.19
    com.apple.driver.DspFuncLib 266.5
    com.apple.kext.OSvKernDSPLib 1.15
    com.apple.iokit.IOAudioFamily 200.6
    com.apple.vecLib.kext 1.2.0
    com.apple.kext.triggers 1.0
    com.apple.iokit.IOSerialFamily 11
    com.apple.driver.AppleSMBusPCI 1.0.12d1
    com.apple.iokit.IOSurface 97
    com.apple.iokit.IOBluetoothFamily 4.3.0f9
    com.apple.driver.AppleHDAController 266.5
    com.apple.iokit.IOHDAFamily 266.5
    com.apple.driver.IOPlatformPluginLegacy 1.0.0
    com.apple.driver.IOPlatformPluginFamily 5.8.0d49
    com.apple.nvidia.classic.NVDANV50HalTesla 10.0.0
    com.apple.nvidia.classic.NVDAResmanTesla 10.0.0
    com.apple.iokit.IOUSBUserClient 705.4.0
    com.apple.iokit.IOFireWireIP 2.2.6
    com.apple.driver.AppleGraphicsControl 3.7.19
    com.apple.driver.AppleBacklightExpert 1.1.0
    com.apple.iokit.IONDRVSupport 2.4.1
    com.apple.driver.AppleSMBusController 1.0.13d1
    com.apple.iokit.IOGraphicsFamily 2.4.1
    com.apple.driver.AppleSMC 3.1.9
    com.apple.iokit.IOSCSIBlockCommandsDevice 3.7.0
    com.apple.iokit.IOUSBMassStorageClass 3.7.0
    com.apple.driver.AppleUSBMultitouch 245.2
    com.apple.iokit.IOUSBHIDDriver 705.4.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.7.0
    com.apple.iokit.IOBDStorageFamily 1.7
    com.apple.iokit.IODVDStorageFamily 1.7.1
    com.apple.iokit.IOCDStorageFamily 1.7.1
    com.apple.iokit.IOAHCISerialATAPI 2.6.1
    com.apple.iokit.IOSCSIArchitectureModelFamily 3.7.0
    com.apple.driver.AppleUSBMergeNub 705.4.0
    com.apple.driver.AppleUSBComposite 705.4.9
    com.apple.iokit.IOFireWireFamily 4.5.6
    com.apple.iokit.IOAHCIFamily 2.7.0
    com.apple.driver.NVSMU 2.2.9
    com.apple.iokit.IOUSBFamily 705.4.14
    com.apple.iokit.IO80211Family 700.52
    com.apple.iokit.IONetworkingFamily 3.2
    com.apple.driver.AppleEFINVRAM 2.0
    com.apple.driver.AppleEFIRuntime 2.0
    com.apple.iokit.IOHIDFamily 2.0.0
    com.apple.iokit.IOSMBusFamily 1.1
    com.apple.security.sandbox 300.0
    com.apple.kext.AppleMatch 1.0.0d1
    com.apple.driver.AppleKeyStore 2
    com.apple.driver.AppleMobileFileIntegrity 1.0.5
    com.apple.driver.AppleCredentialManager 1.0
    com.apple.driver.DiskImages 389.1
    com.apple.iokit.IOStorageFamily 2.0
    com.apple.iokit.IOReportFamily 31
    com.apple.driver.AppleFDEKeyStore 28.30
    com.apple.driver.AppleACPIPlatform 3.1
    com.apple.iokit.IOPCIFamily 2.9
    com.apple.iokit.IOACPIFamily 1.4
    com.apple.kec.corecrypto 1.0
    com.apple.kec.Libm 1
    com.apple.kec.pthread 1
    Unable to gather system configuration information.Model: MacBookPro5,2, BootROM MBP52.008E.B05, 2 processors, Intel Core 2 Duo, 2.8 GHz, 2 GB, SMC 1.42f4
    Graphics: NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 MB
    Graphics: NVIDIA GeForce 9600M GT, NVIDIA GeForce 9600M GT, PCIe, 512 MB
    Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334548312D4346382020
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.106.98.100.24)
    Bluetooth: Version 4.3.0f9 14854, 3 services, 27 devices, 0 incoming serial ports
    Network Service: Wi-Fi, AirPort, en1
    Serial ATA Device: WDC WD1600BEVS-00UST0, 160.04 GB
    Serial ATA Device: HL-DT-ST DVDRW  GS21N, 3.92 GB
    USB Device: Built-in iSight
    USB Device: USB 2.0  SATA BRIDGE
    USB Device: BRCM2046 Hub
    USB Device: Bluetooth USB Host Controller
    USB Device: Apple Internal Keyboard / Trackpad
    USB Device: IR Receiver
    Thunderbolt Bus:

    GPU problem or memory problem.
    OS X- About kernel panics
    Visit The XLab FAQs and read the FAQ on diagnosing kernel panics.

Maybe you are looking for

  • Problems with drivers and Windows after restoring

    Hey All,  I hope you can help because I have myself a confusing problem. I have a Satellite A500 series laptop running Windows 7 Premium. I recently had a hard drive fail.  I have replaced the hard drive and used the restore/recovery disks provided t

  • Show errors in pl/sql

    Hi All I am getting the following message if i give show errors command in SQL Prompt in SQL PLUS after executing the package. Normally if i give this show errors command it will display the errors properly. Currently it displays the following messag

  • Change Slideshow Thumbnail Photo States Via Crop Tool?

    In a slideshow widget, I've noticed the only way I can change one of the thumbnail image's "states" to a different image (like a sepia version of the same image) is to double click on the thumbnail "image frame" and then slide the current image out o

  • User Profile getting deleted

    What happens when a user profile gets deleted? Does it prevent that user from accessing the sharepoint site or any site he has access to? One of our users have been moved from one OU to the other and manager got an email about his mysite getting dele

  • What is the z reports in sap fico

    HI guyz Could anybody plz explain what is Z reports in SAP FICO Could anybody explain me with an example. Regards Anil