Having trouble with this kernel panic

Hi everyone. I've been having kernel panics for the past few months and I've been having trouble figuring out what's causing it.
I have an early 2011 15" MacBook Pro, with a quad core 2GHz i7
My OS is 10.8.2
Here is the  most recent panic:
Interval Since Last Panic Report:  2700 sec
Panics Since Last Report:          1
Anonymous UUID:                    D636001D-4751-46AF-931B-D57E9A0E8962
Fri Nov 16 17:45:29 2012
panic(cpu 6 caller 0xffffff8006eb7bd5): Kernel trap at 0xffffff80070ef7f8, type 13=general protection, registers:
CR0: 0x000000008001003b, CR2: 0x000000010e49c000, CR3: 0x0000000009892000, CR4: 0x00000000000606e0
RAX: 0xffffff802a67eaa0, RBX: 0xf7ffff80401e1ec8, RCX: 0x0000000009000000, RDX: 0xffffff80401e6a28
RSP: 0xffffff81d830bd10, RBP: 0xffffff81d830bd30, RSI: 0x0000000000000002, RDI: 0xf7ffff80401e1ec8
R8:  0x0000000000000001, R9:  0x0000000000000000, R10: 0xffffff802b985808, R11: 0x0000000000000010
R12: 0x00000000331919d3, R13: 0xffffff80274ceb70, R14: 0x0000000000000002, R15: 0xffffff802a67eaa0
RFL: 0x0000000000010246, RIP: 0xffffff80070ef7f8, CS:  0x0000000000000008, SS:  0x0000000000000010
Fault CR2: 0x000000010e49c000, Error code: 0x0000000000000000, Fault CPU: 0x6
Backtrace (CPU 6), Frame : Return Address
0xffffff81d830b9b0 : 0xffffff8006e1d626
0xffffff81d830ba20 : 0xffffff8006eb7bd5
0xffffff81d830bbf0 : 0xffffff8006ece4ed
0xffffff81d830bc10 : 0xffffff80070ef7f8
0xffffff81d830bd30 : 0xffffff8007106045
0xffffff81d830bd60 : 0xffffff8006eee797
0xffffff81d830bdd0 : 0xffffff8007105e4b
0xffffff81d830be80 : 0xffffff8006efa3bf
0xffffff81d830beb0 : 0xffffff8006ef3af7
0xffffff81d830bf10 : 0xffffff8006f03eee
0xffffff81d830bf30 : 0xffffff8007272fc6
0xffffff81d830bf60 : 0xffffff8006e3dcde
0xffffff81d830bfb0 : 0xffffff8006eb26b7
BSD process name corresponding to current thread: kernel_task
Mac OS version:
12C60
Kernel version:
Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64
Kernel UUID: 69A5853F-375A-3EF4-9247-478FD0247333
Kernel slide:     0x0000000006c00000
Kernel text base: 0xffffff8006e00000
System model name: MacBookPro8,2 (Mac-94245A3940C91C80)
System uptime in nanoseconds: 3054737506995
last loaded kext at 1140684625770: com.apple.filesystems.smbfs          1.8 (addr 0xffffff7f891d6000, size 229376)
last unloaded kext at 208356032253: com.apple.driver.AppleUSBUHCI          5.2.5 (addr 0xffffff7f877d0000, size 65536)
loaded kexts:
com.apple.filesystems.smbfs          1.8
com.apple.driver.AppleHWSensor          1.9.5d0
com.apple.filesystems.ntfs          3.10
com.apple.filesystems.autofs          3.0
com.apple.iokit.IOBluetoothSerialManager          4.0.9f33
com.apple.driver.AudioAUUC          1.60
com.apple.driver.AGPM          100.12.69
com.apple.driver.AppleMikeyHIDDriver          122
com.apple.driver.AppleUpstreamUserClient          3.5.10
com.apple.driver.AppleHDA          2.3.1f2
com.apple.iokit.IOUserEthernet          1.0.0d1
com.apple.kext.AMDFramebuffer          8.0.0
com.apple.driver.AppleMikeyDriver          2.3.1f2
com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport          4.0.9f33
com.apple.AMDRadeonAccelerator          1.0.0
com.apple.driver.AppleIntelHD3000Graphics          8.0.0
com.apple.Dont_Steal_Mac_OS_X          7.0.0
com.apple.driver.SMCMotionSensor          3.0.2d6
com.apple.driver.AppleSMCPDRC          1.0.0
com.apple.driver.ApplePolicyControl          3.2.11
com.apple.driver.AppleSMCLMU          2.0.2d0
com.apple.driver.AppleLPC          1.6.0
com.apple.driver.ACPI_SMC_PlatformPlugin          1.0.0
com.apple.driver.AppleIntelSNBGraphicsFB          8.0.0
com.apple.driver.AppleMuxControl          3.2.11
com.apple.driver.AppleMCCSControl          1.0.33
com.apple.driver.AppleUSBTCButtons          235.4
com.apple.driver.AppleUSBTCKeyboard          235.4
com.apple.driver.AppleIRController          320.15
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
com.apple.BootCache          34
com.apple.iokit.SCSITaskUserClient          3.5.1
com.apple.driver.XsanFilter          404
com.apple.iokit.IOAHCIBlockStorage          2.2.2
com.apple.driver.AppleUSBHub          5.2.5
com.apple.driver.AppleSDXC          1.2.2
com.apple.iokit.AppleBCM5701Ethernet          3.2.5b3
com.apple.driver.AppleFWOHCI          4.9.6
com.apple.driver.AirPort.Brcm4331          602.15.22
com.apple.driver.AppleAHCIPort          2.4.1
com.apple.driver.AppleUSBEHCI          5.4.0
com.apple.driver.AppleEFINVRAM          1.6.1
com.apple.driver.AppleSmartBatteryManager          161.0.0
com.apple.driver.AppleACPIButtons          1.6
com.apple.driver.AppleRTC          1.5
com.apple.driver.AppleHPET          1.7
com.apple.driver.AppleSMBIOS          1.9
com.apple.driver.AppleACPIEC          1.6
com.apple.driver.AppleAPIC          1.6
com.apple.driver.AppleIntelCPUPowerManagementClient          196.0.0
com.apple.nke.applicationfirewall          4.0.39
com.apple.security.quarantine          2
com.apple.driver.AppleIntelCPUPowerManagement          196.0.0
com.apple.kext.triggers          1.0
com.apple.iokit.IOSerialFamily          10.0.6
com.apple.driver.DspFuncLib          2.3.1f2
com.apple.iokit.IOAudioFamily          1.8.9fc10
com.apple.kext.OSvKernDSPLib          1.6
com.apple.iokit.IOSurface          86.0.3
com.apple.iokit.IOBluetoothFamily          4.0.9f33
com.apple.iokit.AppleBluetoothHCIControllerUSBTransport          4.0.9f33
com.apple.iokit.IOAcceleratorFamily          19.0.26
com.apple.driver.AppleSMBusPCI          1.0.10d0
com.apple.iokit.IOFireWireIP          2.2.5
com.apple.driver.AppleHDAController          2.3.1f2
com.apple.iokit.IOHDAFamily          2.3.1f2
com.apple.driver.IOPlatformPluginLegacy          1.0.0
com.apple.driver.IOPlatformPluginFamily          5.2.0d16
com.apple.driver.AppleSMC          3.1.4d2
com.apple.kext.AMD6000Controller          8.0.0
com.apple.kext.AMDSupport          8.0.0
com.apple.driver.AppleGraphicsControl          3.2.11
com.apple.driver.AppleBacklightExpert          1.0.4
com.apple.iokit.IONDRVSupport          2.3.5
com.apple.driver.AppleSMBusController          1.0.10d0
com.apple.iokit.IOGraphicsFamily          2.3.5
com.apple.driver.AppleThunderboltDPInAdapter          1.8.5
com.apple.driver.AppleThunderboltDPAdapterFamily          1.8.5
com.apple.driver.AppleThunderboltPCIDownAdapter          1.2.5
com.apple.driver.AppleUSBMultitouch          235.7
com.apple.iokit.IOUSBHIDDriver          5.2.5
com.apple.driver.AppleUSBMergeNub          5.2.5
com.apple.driver.AppleUSBComposite          5.2.5
com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.5.1
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.5.0
com.apple.iokit.IOSCSIArchitectureModelFamily          3.5.1
com.apple.driver.AppleThunderboltNHI          1.6.0
com.apple.iokit.IOThunderboltFamily          2.1.1
com.apple.iokit.IOUSBUserClient          5.2.5
com.apple.iokit.IOEthernetAVBController          1.0.2b1
com.apple.iokit.IOFireWireFamily          4.5.5
com.apple.iokit.IO80211Family          500.15
com.apple.iokit.IONetworkingFamily          3.0
com.apple.iokit.IOAHCIFamily          2.2.1
com.apple.iokit.IOUSBFamily          5.4.0
com.apple.driver.AppleEFIRuntime          1.6.1
com.apple.iokit.IOHIDFamily          1.8.0
com.apple.iokit.IOSMBusFamily          1.1
com.apple.security.sandbox          220
com.apple.kext.AppleMatch          1.0.0d1
com.apple.security.TMSafetyNet          7
com.apple.driver.DiskImages          344
com.apple.iokit.IOStorageFamily          1.8
com.apple.driver.AppleKeyStore          28.21
com.apple.driver.AppleACPIPlatform          1.6
com.apple.iokit.IOPCIFamily          2.7.2
com.apple.iokit.IOACPIFamily          1.4
com.apple.kec.corecrypto          1.0
Model: MacBookPro8,2, BootROM MBP81.0047.B27, 4 processors, Intel Core i7, 2 GHz, 16 GB, SMC 1.69f3
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 512 MB
Graphics: AMD Radeon HD 6490M, AMD Radeon HD 6490M, PCIe, 256 MB
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1333 MHz, 0x029E, 0x434D534F384758334D314131333333433920
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1333 MHz, 0x029E, 0x434D534F384758334D314131333333433920
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (5.106.98.81.22)
Bluetooth: Version 4.0.9f33 10885, 2 service, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: WDC WD7500BPKT-80PK4T0, 750.16 GB
Serial ATA Device: MATSHITADVD-R   UJ-898
USB Device: hub_device, 0x0424  (SMSC), 0x2513, 0xfd100000 / 2
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd110000 / 3
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0xfa200000 / 3
USB Device: hub_device, 0x0424  (SMSC), 0x2513, 0xfa100000 / 2
USB Device: BRCM2070 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 5
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821a, 0xfa113000 / 8
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0245, 0xfa120000 / 4
Any help would be greatly appreciated. Thanks!
Edit: I forgot to mention that I already did several memory tests on the RAM, and have wiped and reinstalled the OS and the problem persists.

Step by Step to fix your Mac

Similar Messages

  • Help me with this Kernel Panic

    Hello guys,
    I just clean installed Mountain Lion and installed iWorks and Logic. Today I received this Kernel Panic, can somebody tell me what's the problem here?
    Wed Sep 26 18:40:41 2012
    panic(cpu 0 caller 0xffffff7f9016bb25): NVRM[0/1:0:0]: Read Error 0x00104008: CFG 0xffffffff 0xffffffff 0xffffffff, BAR0 0xd2000000 0xffffff80aef89000 0x0a5480a2, D0, P2/4
    Backtrace (CPU 0), Frame : Return Address
    0xffffff8085b73ac0 : 0xffffff800fa1d626
    0xffffff8085b73b30 : 0xffffff7f9016bb25
    0xffffff8085b73bc0 : 0xffffff7f902654b3
    0xffffff8085b73c20 : 0xffffff7f9053ab45
    0xffffff8085b73c60 : 0xffffff7f9053b3a0
    0xffffff8085b73c90 : 0xffffff7f9044623c
    0xffffff8085b73cd0 : 0xffffff7f9057aabd
    0xffffff8085b73e10 : 0xffffff7f9028b659
    0xffffff8085b73e40 : 0xffffff7f901758da
    0xffffff8085b73ef0 : 0xffffff800fe472a8
    0xffffff8085b73f30 : 0xffffff800fe45daa
    0xffffff8085b73f80 : 0xffffff800fe45ed9
    0xffffff8085b73fb0 : 0xffffff800fab26b7
          Kernel Extensions in backtrace:
             com.apple.NVDAResman(8.0)[A4C53A36-22B6-3075-82B9-9DE612A9C015]@0xffffff7f90104 000->0xffffff7f90406fff
                dependency: com.apple.iokit.IOPCIFamily(2.7.1)[9901C237-547C-3B52-99DE-C4870A19E2B5]@0xffff ff7f90072000
                dependency: com.apple.iokit.IONDRVSupport(2.3.5)[86DDB71C-A73A-3EBE-AC44-0BC9A38B9A44]@0xff ffff7f900f0000
                dependency: com.apple.iokit.IOGraphicsFamily(2.3.5)[803496D0-ADAD-3ADB-B071-8A0A197DA53D]@0 xffffff7f900ad000
             com.apple.nvidia.nv50hal(8.0)[9F3D09B5-3158-3D9E-BDA3-E71576AAD3B7]@0xffffff7f9 0414000->0xffffff7f90736fff
                dependency: com.apple.NVDAResman(8.0.0)[A4C53A36-22B6-3075-82B9-9DE612A9C015]@0xffffff7f901 04000
                dependency: com.apple.iokit.IOPCIFamily(2.7.1)[9901C237-547C-3B52-99DE-C4870A19E2B5]@0xffff ff7f90072000
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    12C54
    Kernel version:
    Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64
    Kernel UUID: 69A5853F-375A-3EF4-9247-478FD0247333
    Kernel slide:     0x000000000f800000
    Kernel text base: 0xffffff800fa00000
    System model name: MacBookPro6,2 (Mac-F22586C8)
    System uptime in nanoseconds: 2306371196044
    last loaded kext at 2140043960203: com.apple.driver.AppleUSBCDC          4.1.22 (addr 0xffffff7f91d61000, size 16384)
    last unloaded kext at 2201309538115: com.apple.driver.AppleUSBCDC          4.1.22 (addr 0xffffff7f91d61000, size 12288)
    loaded kexts:
    com.apple.driver.AppleHWSensor          1.9.5d0
    com.apple.iokit.IOBluetoothSerialManager          4.0.9f33
    com.apple.driver.AudioAUUC          1.60
    com.apple.driver.AGPM          100.12.69
    com.apple.driver.AppleMikeyHIDDriver          122
    com.apple.driver.AppleHDA          2.3.1f2
    com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport          4.0.9f33
    com.apple.filesystems.autofs          3.0
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.driver.AppleMikeyDriver          2.3.1f2
    com.apple.driver.AppleSMCLMU          2.0.2d0
    com.apple.driver.AppleLPC          1.6.0
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.ApplePolicyControl          3.2.11
    com.apple.driver.ACPI_SMC_PlatformPlugin          1.0.0
    com.apple.driver.AppleUpstreamUserClient          3.5.10
    com.apple.GeForce          8.0.0
    com.apple.driver.AppleIntelHDGraphics          8.0.0
    com.apple.driver.AppleSMCPDRC          1.0.0
    com.apple.driver.AppleMuxControl          3.2.11
    com.apple.driver.AppleMCCSControl          1.0.33
    com.apple.driver.AppleIntelHDGraphicsFB          8.0.0
    com.apple.driver.SMCMotionSensor          3.0.2d6
    com.apple.driver.AppleUSBTCButtons          235.4
    com.apple.driver.AppleUSBTCKeyboard          235.4
    com.apple.driver.AppleUSBCardReader          3.1.0
    com.apple.driver.AppleIRController          320.15
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          34
    com.apple.iokit.SCSITaskUserClient          3.5.1
    com.apple.driver.XsanFilter          404
    com.apple.iokit.IOAHCIBlockStorage          2.2.2
    com.apple.driver.AppleUSBHub          5.2.5
    com.apple.driver.AirPort.Brcm4331          602.15.22
    com.apple.driver.AppleFWOHCI          4.9.6
    com.apple.iokit.AppleBCM5701Ethernet          3.2.5b3
    com.apple.driver.AppleAHCIPort          2.4.1
    com.apple.driver.AppleUSBEHCI          5.4.0
    com.apple.driver.AppleSmartBatteryManager          161.0.0
    com.apple.driver.AppleEFINVRAM          1.6.1
    com.apple.driver.AppleRTC          1.5
    com.apple.driver.AppleACPIButtons          1.6
    com.apple.driver.AppleHPET          1.7
    com.apple.driver.AppleSMBIOS          1.9
    com.apple.driver.AppleACPIEC          1.6
    com.apple.driver.AppleAPIC          1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient          196.0.0
    com.apple.nke.applicationfirewall          4.0.39
    com.apple.security.quarantine          2
    com.apple.driver.AppleIntelCPUPowerManagement          196.0.0
    com.apple.iokit.IOSerialFamily          10.0.6
    com.apple.driver.DspFuncLib          2.3.1f2
    com.apple.iokit.IOAudioFamily          1.8.9fc10
    com.apple.kext.OSvKernDSPLib          1.6
    com.apple.iokit.AppleBluetoothHCIControllerUSBTransport          4.0.9f33
    com.apple.kext.triggers          1.0
    com.apple.iokit.IOSurface          86.0.3
    com.apple.iokit.IOBluetoothFamily          4.0.9f33
    com.apple.iokit.IOFireWireIP          2.2.5
    com.apple.driver.IOPlatformPluginLegacy          1.0.0
    com.apple.driver.AppleSMBusPCI          1.0.10d0
    com.apple.nvidia.nv50hal          8.0.0
    com.apple.NVDAResman          8.0.0
    com.apple.driver.IOPlatformPluginFamily          5.2.0d16
    com.apple.driver.AppleGraphicsControl          3.2.11
    com.apple.driver.AppleBacklightExpert          1.0.4
    com.apple.driver.AppleSMBusController          1.0.10d0
    com.apple.driver.AppleHDAController          2.3.1f2
    com.apple.iokit.IOHDAFamily          2.3.1f2
    com.apple.iokit.IONDRVSupport          2.3.5
    com.apple.iokit.IOGraphicsFamily          2.3.5
    com.apple.driver.AppleSMC          3.1.4d2
    com.apple.driver.AppleUSBMultitouch          235.7
    com.apple.iokit.IOSCSIBlockCommandsDevice          3.5.1
    com.apple.iokit.IOUSBMassStorageClass          3.5.0
    com.apple.iokit.IOUSBHIDDriver          5.2.5
    com.apple.driver.AppleUSBMergeNub          5.2.5
    com.apple.driver.AppleUSBComposite          5.2.5
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.5.1
    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.5.0
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.5.1
    com.apple.iokit.IO80211Family          500.15
    com.apple.iokit.IOUSBUserClient          5.2.5
    com.apple.iokit.IOFireWireFamily          4.5.5
    com.apple.iokit.IOEthernetAVBController          1.0.2b1
    com.apple.iokit.IONetworkingFamily          3.0
    com.apple.iokit.IOAHCIFamily          2.2.1
    com.apple.iokit.IOUSBFamily          5.4.0
    com.apple.driver.AppleEFIRuntime          1.6.1
    com.apple.iokit.IOHIDFamily          1.8.0
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          220
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.security.TMSafetyNet          7
    com.apple.driver.DiskImages          344
    com.apple.iokit.IOStorageFamily          1.8
    com.apple.driver.AppleKeyStore          28.21
    com.apple.driver.AppleACPIPlatform          1.6
    com.apple.iokit.IOPCIFamily          2.7.1
    com.apple.iokit.IOACPIFamily          1.4
    com.apple.kec.corecrypto          1.0
    Kind regards,
    Dominik

    Make a "Genius" appointment at an Apple Store to have the machine tested. You may have to leave it there for several days.
    Print the first page of the panic report and bring it with you.
    Back up all data on the internal drive(s) before you hand over your computer to anyone. If privacy is a concern, erase the data partition(s) with the option to write zeros* (do this only if you have at least two complete, independent backups, and you know how to restore to bare metal from any of them.) Don’t erase the recovery partition, if present.
    *An SSD doesn't need to be zeroed.

  • Importing photos from Iphone to computer and there is a message it is having trouble with this part way through on a phot and then stops

    I am having trouble importing photos onto my Mac book Pro from my Iphone...in the middle of the import I get a message stating that they are having trouble with one of my photos and then stops importing...want to save photos and clear the phone storage

    Hello cindysc
    Try importing the photos using Image Capture and see if that changes things. If it still gets stuck, try and email the photo to your self and download it that way.
    iOS: Unable to import photos to computer
    http://support.apple.com/kb/ts3195
    Regards,
    -Norm G.

  • I'm having trouble with this line: public function initHandler(event:EVENT):void

    I'm building a simple photo gallery in Flash CS4 & I've posted the entire code below, if anyone can see the problem in this code, please let me know....thanks. This code is actually from a tutorial: http://blip.tv/file/1620128/
    The tutorial had no issues with this code so I'm wondering if its just a matter of correcting a property or setting somewhere.....
    package videocode
        import flash.display.*;
        import flash.events.*;
        import flash.net.*;
        public class videoview extends MovieClip
            public var source:*;
            public var loader:Loader;
            public var loaderIndex:Number = 1;
            public function videoview()
            loader = new Loader();
            loader.contentLoaderInfo.addEventListener(Event.INIT, initHandler);
            addChild(loader);
            loadImage();
            public function initHandler(event:EVENT):void
                source = loader.content
                source.alpha = 0;
                source.x = videoarea_mc.x;
                source.y = videoarea_mc.y;
                addEventListener(Event.ENTER_FRAME, enterFrameHandler);
                protected function changeHandler(event:Event):void
                    loaderIndex = photoStepper.value
                    loadImage();
                protected function enterFrameHandler(event:Event):void
                    if (source.alpha <1){
                        source.alpha+= .1;
                    } else{
                        removeEventListener(Event.ENTER_FRAME,enterFrameHandler);
                public function getPath():String
                    return("images/image"+loader.Index+".jpeg")
                public function loadImage():void
                    loader.load(new URLRequest[getPath()]);

    public function initHandler(event:Event):void
    only the 'E' should be uppercase

  • I'm having trouble with "this" and method dependence

    For my Data Structures course, we have to create a simple Word Processor. The constructor contains two stacks, left and right. The way the class populates the strings is pretty straight forward. Any text to the left of the cursor gets pushed onto the left stack and any text to the right of the cursor gets pushed onto the right stack (in reverse order). For example, the phrase "hello" with the cursor between the l's, would push h, then e, then l onto the left stack. o then l is pushed onto the right stack. Follow me so far?
    Next, we have to implement several methods, such as moveLeft, moveRight, delete, insert, and moveToStart. There is also a toString() method which prints the two stacks as a String. The way I have my toString() method mapped out, is first to call the moveToStart() method. This method then pops all values from the left stack and pushes them onto the right stack (left: empty, right: h-e-l-l-o). So now, I simply pop each value from the right stack and store the values in a char[] array. The array is then returned as a String.
    This data structure converts the stacks to a String fine, the only problem is preserving the original stacks. So I tried to copy the value of "this," which should correlate to the EditableString es2 (declared in main), to a temp EditableString, tempEs. I then call moveToStart on tempEs, and pop values from tempEs.right. This is all in hopes to preserve the original es2. However, as you could see from the output at the bottom is that toString() modifies es2. If it didn't, "Hello, how are you" would have printed twice. Instead, an empty string is printed.
    There is obviously something wrong with my moveToStart(). Any suggestions? I apologize for not providing any comments in the code, it's just that I tried to save space. If any further explanation is necessary, don't hesitate to ask. Thanks.
    public class EditableString {
    private Stack left;
    private Stack right;
    private JavaStack l = new JavaStack();
    private JavaStack r = new JavaStack();
    private char[] text;
    private static String cursor = new String("|");
    private EditableString tempEs;
    private Character characterObject;
    private char test1;
    public EditableString() {
    left = new JavaStack();
    right = new JavaStack();
    public EditableString(String left, String right) {
    new EditableString();
    for (int i=0; i < left.length(); i++) {
    characterObject = new Character(left.charAt(i));
    l.push(characterObject);
    for (int i = right.length(); i > 0; i--) {
    characterObject = new Character(right.charAt(i-1));
    r.push(characterObject);
    this.left = l;
    this.right = r;
    public void moveToStart() {
    while (! this.left.isEmpty())
    this.right.push(this.left.pop());
    public String toString() {
    tempEs = this;
    tempEs.moveToStart();
    text = new char[(tempEs.right).size()];
    for (int i=0; i < text.length; i++)
    text[i] = ((Character) (tempEs.right).pop()).charValue();
    return new String(text);
    public static void main(String args[]) {
    System.out.println("Starting Word processor!");
    System.out.println("----------");
    EditableString es2 = new EditableString("Hello, how", " are you");
    System.out.println("es2: " + es2.toString());
    System.out.println("es2: " + es2.toString());
    /* Output:
    Starting Word processor!
    es2: Hello, how are you
    es2:
    */

    Ok, I tried to create a copy(Es) method and modified the toString() method as follows, but I am having the same problem. Ok, in order to test my methods, I print the various sizes of several stacks. In the toString() method, right after tempEs is declared, this.left=10, this.right=8 and tempEs.left=tempEs.right=0. After the copy method is invoked and assigned to tempEs, this.left=tempEs.left=10 and this.right=tempEs.right=8. Follow me?, this is where I have trouble.
    I try to "pop" one value from tempEs.right to see if the action occurs on tempEs and not this. Well, it does. Right after the pop() method, this.left=tempEs.left=10 and this.right=tempEs.right=7. I need this.right to stay at 8. Why are these Editable Strings dependent?
    And for the record, I'm not trying to "pay" anyone to do my homework. I am simply trying to pass, and in turn, graduate. This is the second time I am taking this course (failed it with style the 1st time) and desperately need to pass. I have VERY little Java background and this class is unfortunately required for my engineering degree. So, I am simply looking for some help with my 30+hour homework assignments.
    public EditableString copy(EditableString ES) {
            EditableString xTemp = new EditableString();
            xTemp.left = ES.left;
            xTemp.right = ES.right;
            return xTemp;
        public String toString() {
            EditableString tempEs = new EditableString();
            tempEs = copy(this);
            tempEs.right.pop();
            tempEs.moveToStart();
            text = new char[(tempEs.right).size()];
            for (int i=0; i < text.length; i++)
                text[i] = ((Character) (tempEs.right).pop()).charValue();
            return new String(text);

  • Can someone help me with this kernel panic back trace?

    This is an Xserve dual G4 1.33Ghz with 512 ram, used only as file sharing server it is lockingup / freezing alot
    here's what i have from the panic log:
    Wed Sep 10 06:20:25 2008
    panic(cpu 1 caller 0x000A8A00): Uncorrectable machine check: pc = 00000000004FFE50, msr = 0000000000149030, dsisr = 42000000, dar = 00000000E0A31000
    AsyncSrc = 0000000000000000, CoreFIR = 0000000000000000
    L2FIR = 0000000000000000, BusFir = 0000000000000000
    Latest stack backtrace for cpu 1:
    Backtrace:
    0x000952D8 0x000957F0 0x00026898 0x000A8A00 0x000A7C90 0x000AB980
    Proceeding back via exception chain:
    Exception state (sv=0x27034780)
    PC=0x004FFE50; MSR=0x00149030; DAR=0xE0A31000; DSISR=0x42000000; LR=0x002D3B50; R1=0x0CDC3D60; XCP=0x00000008 (0x200 - Machine check)
    Backtrace:
    0x0003265C 0x002D3B50 0x0003C884 0x000A9514
    Kernel loadable modules in backtrace (with dependencies):
    com.apple.iokit.AppleBCM5701Ethernet(2.1.0d21)@0x4fd000
    dependency: com.apple.iokit.IONetworkingFamily(1.5.0)@0x4de000
    dependency: com.apple.iokit.IOPCIFamily(1.7)@0x469000
    Exception state (sv=0x20B6C000)
    PC=0x00000000; MSR=0x0000D030; DAR=0x00000000; DSISR=0x00000000; LR=0x00000000; R1=0x00000000; XCP=0x00000000 (Unknown)
    Kernel version:
    Darwin Kernel Version 8.10.0: Wed May 23 16:50:59 PDT 2007; root:xnu-792.21.3~1/RELEASE_PPC
    please help

    This is an Xserve dual G4 1.33Ghz with 512 ram, used only as file sharing server it is lockingup / freezing alot
    here's what i have from the panic log:
    Wed Sep 10 06:20:25 2008
    panic(cpu 1 caller 0x000A8A00): Uncorrectable machine check: pc = 00000000004FFE50, msr = 0000000000149030, dsisr = 42000000, dar = 00000000E0A31000
    AsyncSrc = 0000000000000000, CoreFIR = 0000000000000000
    L2FIR = 0000000000000000, BusFir = 0000000000000000
    Latest stack backtrace for cpu 1:
    Backtrace:
    0x000952D8 0x000957F0 0x00026898 0x000A8A00 0x000A7C90 0x000AB980
    Proceeding back via exception chain:
    Exception state (sv=0x27034780)
    PC=0x004FFE50; MSR=0x00149030; DAR=0xE0A31000; DSISR=0x42000000; LR=0x002D3B50; R1=0x0CDC3D60; XCP=0x00000008 (0x200 - Machine check)
    Backtrace:
    0x0003265C 0x002D3B50 0x0003C884 0x000A9514
    Kernel loadable modules in backtrace (with dependencies):
    com.apple.iokit.AppleBCM5701Ethernet(2.1.0d21)@0x4fd000
    dependency: com.apple.iokit.IONetworkingFamily(1.5.0)@0x4de000
    dependency: com.apple.iokit.IOPCIFamily(1.7)@0x469000
    Exception state (sv=0x20B6C000)
    PC=0x00000000; MSR=0x0000D030; DAR=0x00000000; DSISR=0x00000000; LR=0x00000000; R1=0x00000000; XCP=0x00000000 (Unknown)
    Kernel version:
    Darwin Kernel Version 8.10.0: Wed May 23 16:50:59 PDT 2007; root:xnu-792.21.3~1/RELEASE_PPC
    please help

  • I'm having trouble with ABS kernel build

    I built a kernel, as per https://wiki.archlinux.org/index.php/Cu … n_with_ABS .  It seemed pretty straight forward.
    The goal was to set CONFIG_PREEMPT=n so I could compile and native install ZFS.  I managed to get the kernel compiled and installed with the modification.
    Now, when I run configure on the SPL, I get the following error:
    checking kernel source version... Not found
    configure: error: *** Cannot find UTS_RELEASE definition.
    It looks like I've done something wrong on the kernel build but I don't know what.

    I'm sorry I didn't see this before, but anyway I'm leaving this here in case someone else finds this through a search.
    I encountered this error while configuring spl as well, though I had not built my own kernel. The definitions are provided by the kernel26-headers package.
    For those interested in trying out zfs, there is as of 2011-05-31 an issue with zfs-0.6.0-rc4 + the Archlinux kernel (2.6.37 and 2.6.38 confirmed), that causes a deadlock when writing to a zfs pool, effectively making zfs unusable. There seems to be a way of configuring oneself out of this by recompiling the kernel. I shall update if I manage to get it to work.
    More info here: https://github.com/behlendorf/zfs/issues/167

  • Anyone having trouble with this phone and their in car bluetooth?  Calls dropping not recognizing the device.  Had the car bluetooth reset at dealer. They said it is a common problem with the iPhone?

    Bluetooth in car is not recognizing my device and when it does it will only stay connected about 5 minutes.   Blue tooth has been reset at the dealer. They said it is very common with the iPhone? The car is a 2014 Toyota Highlander.  This is very very frustrating as I have a 45 minute commute to work and do not want to have to hold my phone.... Thank you for any help.

    sstaylor2001 wrote:
    I have already done all of that.  It still doesn't work. My husband has the same phone and a 2013 toyota and his is fine. Toyota told me it is the brand new cars and the new apple update.  Need to figure something out.  This phkne is useless now and I've had a iPhone for 5 years
    Wow you would think the newer car is just an updated version of what your husbands has.
    I wonder if your husbands car was updated to the same connect system if his would not connect?
    Does your husbands phone work because he does not have the new iOS from Apple?
    Can he hook to your connect system in the car?

  • It sounds SO SIMPLE but i'm STILL having trouble with this!!

    Well after tinkering with Java for three years i thought i was pretty comfortable with it but lo and behold i am completely stuck on the SIMPLEST problem: The good ole classpath. I've always run javac from the dir that has my .java files and never needed to specify the classpath before.
    But now for this uni assignment i've got to use servlest, requiring sticking the servlet.jar file in the classpath. I CAN'T DO IT!!
    I've tried both setting the CLASSPATH variable in DOS and using the -classpath option in javac, but it just won't recognize it!! My .java files and the servlet.jar file reside in the d:\cse3400 directory.
    I've typed at the D:\> prompt:
    D:\>SET CLASSPATH=D:\cse3400;D:\cse3400\servlet.jar
    then executed javac from the D:\> prompt:
    D:\>javac ServletContainer.java
    and i get the message
    count = 0, total = 52
    error: cannot read: ServletContainer.java
    count = 0, total = 52
    1 error
    if i type,
    D:\>echo %CLASSPATH%
    i get
    D:\cse3400;D:\cse3400\servlet.jar
    i've also tried just typing:
    D:\>javac -classpath d:\cse3400;d:\cse3400\servlet.jar ServletContainer
    but i get the same thing.
    I've tried the above with only one path mentioned (removing the need for ; seperators) but it still can't find the sourcefile unless i'm in that dir or specify the full path with the filename on javac. I've checked and double checked case sensitve stuff, even renaming the dirs to make sure.
    So i really need to get servlet.jar in my classpath somehow, coz otherwise i get the error:
    ServletContainer.java:12: cannot resolve symbol
    symbol : class ServletConfig
    location: package servlet
    import javax.servlet.ServletConfig;
    I've also tried sticking servlet.jar in the d:\jdk1.3.1\jre\lib\ext directory but that don't work either.
    I'm running JDK 1.3.1 for win32 but i've also tried (and failed) with JDK 1.2.2 for win32. I've un-installed them both then just re-installed 1.3.1 incase there was some sort of version conflict or something.
    Could someone pleeeeeez help??? I've spent about 6 hours trying to find solutions in zillions of places and all i get is set the CLASSPATH in dos or use -classpath, and IT DOESNT WORK!!!
    -Frustrated

    It sounds like you're confused between classpath and sourcepath.
    The classpath contains class files - compiled Java.
    Java source is usually compiled from the directory that contains it (its root package anyway) or by specifying the directory that contains the source. Don't do this by giving the full filename to the source file since this might lead to confusion over the package the code belongs to.
    The generated class files then need to be on the classpath for java to run them.
    Compare these two lines, one that does the compiling and one that runs:
    javac -classpath c:/jars/servlet.jar ServletContainer.java
    java -classpath c:/jars/servlet/jar;. ServletContainerNotice that the java command includes the current directory in the classpath since this is where the ServletContainer.class file will be found after compilation. I don't think that it's necessary to include the current directory in the classpath (java used to look there by default) but if you get in the habit of making your classpath explicit every time you'll have fewer problems with it.
    If you wanted to get your code compiled somewhere else you'd do something like this:
    cd src
    javac -classpath c:/jars/servlet.jar -d ../classes ServletContainer.jar
    cd ..
    java -classpath c:/jars/servlet.jar;classes/ ServletContainerThis then looks in the classes directory for classes too.
    Hope this helps.

  • HT1222 Anyone having trouble with this update?  My open / save dialogs stopped working after this update...

    Affected applications seem to be Rosetta ones... 
    HT1222: Apple security updates

    Security Update 2012-001 Bricks Rosetta programs
    Restore method.
    #1 Backup your personal data off the machine.
    Backup files off the computer (not TimeMachine) and disconnect. If you don't have a external drive, get one and connect to the USB port and simply drag and drop copy your User folder to the external drive, it will copy all your files. But installed programs are more complicated and best left to reinstalling via original sources.
    #2 Try Restoring from a TimeMachine or option bootable clone
    If you have TimeMachine drive, or a hold the option key bootable clone use that to erase and restore from.
    Note: A TM restore can take a awfully long time, a clone restore takes under 2 hours in most cases.
    #3 Reinstall OS X 10.6 from disk
    If no TM or bootable clone then:
    Get out your 10.6 install disk and make sure it's clean and polished (very soft cloth and a bit of rubbing alcohol, no scratches) If your disk is borked, you'll have to order a new one from Apple with your serial number.
    Hold c boot off the 10.6 disk (wired keyboard, internal optical drive), use Disk Utility to >Repair Disk and Permissions  (do not format or erase!!), Quit DU and simply re-install 10.6.
    Note: If Disk Repair gives a error that is not repaired, then you have to consider erasing the drive (with Zeros) and try reinstalling 10.6 fresh or replacing the drive.
    Note: Simply reinstalling 10.6 version from disk (without erasing the drive) only replaces 10.6.8 with 10.6.x and bundled Apple programs, won't touch your files (backup anyway)  or most programs, unless they installed a kext file into OS X itself. (only a few on average do this)
    #4 Update to 10.6.8 without Security Update 2012-001
    Reboot and log in, update to 10.6.8 via Software Update, but EXCLUDE THE Security Update 2012-001.
    #5 Reinstall any non-working third party programs
    When you reboot, make sure to reinstall any programs that require kext files installed into OS X, you'll know, they won't work when you launch them or hang for some reason.
    If you get gray screen at any time when booting (possible it might occur when you reinstall old programs), hold the shift key down while booting (Safe Mode, disables kext files) and update your installed third party software so it's compatible with 10.6.8.
    #6 Learn how to have a OS X drive restore ability using TimeMachine or cloning software
    Learn how to clone here
    http://www.bombich.com/get_ready_for_lion.html
    TM help here
    http://pondini.org/OSX/Home.html
    #7 Make copies of your original Snow Leopard
    Learn how to make copies of your 10.6 disks here
    http://www.walterjessen.com/make-a-bootable-backup-snow-leopard-install-disc/
    Learn how to make a bootable SL USB
    http://www.maciverse.com/install-os-x-snow-leopard-from-usb-flash-drive.html
    #8 Deciding on upgrading to Lion?
    Learn which programs ARE NOT compatible with Lion
    http://roaringapps.com/apps:table
    #9 Unverified hacks
    Note: You may see a "hack" for this issue floating around, it has had mixed results as people's software is different.
    You may want to try it, but it's at your own risk. It has worked fast for some and not at all for others, hopefully over time it will work for all.
    The above methods I outline are Apple approved restore methods + based upon experience here and not a quick fix, but are sure to work as Apple recommends such steps themselves.
    https://support.apple.com/kb/TS2570
    If at any time you feel this is beyond your capability, please seek local professional assistance before you lose your data.
    Please maintain at least a TM drive, just hook up a external drive and TM will ask you to make a backup
    If your a bit more skilled, a option bootable clone is much superior than TM drive.
    Good luck
    <Edited by Host>

  • HT201269 Hi!  I have purchased a new computer and have an older ipod 8th generation.  Have had no trouble transferring music purchases until now.  Seem to have no choice but purchase the icloud subscription.  Anyone else having trouble with this?

    Hi!  I have an 8th generation ipod and have purchased a new laptop with windows 8.  I purchased new songs on itunes and can't seem to transfer them to my ipod now.  Doesn't give me an option to check the box under albums like I had to do before my new computer purchase. I have authorized this computer to accept itunes.  Not sure what else to do.  Don't want to lose all my songs already synched.  Help!  Thanks! 

    What exactly happens when you try to sync?
    Was the iPod previous synced to another iTunes library/computer?
    Have you successfully synced from this iTunes library/computer before?
    If so have you done anything like update iTunes on the computer since it last successfully synced?
    Do the songs play in iTunes?          
    Does any media now sync to the iPod?
    Do you have the right boxes checked to sync?
    iTunes: Syncing media content to iOS devices and iPod       
    Try syncing using the manual method                
    Managing content manually on iPhone, iPad, and iPod

  • I have been through all the steps given in help to enable cookies but the site i am trying to log into still says i have to have a cookie enabled browser....i am only having trouble with this one site and it is not blocked

    each time i try to log in as a member to this site i get the message that i have to have a cookie enable browser. all other sites seem to be working fine. cookies are enable, have been cleared and i have nothing blocked at all

    Download a new copy of the Firefox program and save the DMG file to the desktop
    * Firefox 3.6.x: http://www.mozilla.com/en-US/firefox/all-older.html
    * Firefox 4.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Trash the current Firefox application to do a clean (re-)install
    * Install the new version that you have downloaded
    Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so you won't lose your bookmarks and other personal data.

  • I have an Ipod Touch (4th Gen) and I am having troubles with my downloads from purchasing music from the Ipod. On my downloads icon in the Itunes Store (on Ipod) there is a symbol of how many songs I still have waiting to download, but they wont download.

    I have been having troubles with this for months and am extremly tired of not being able to download my songs. I bought these songs off of Itunes as well, so I really hope i can retrieve them. I do not know where to find a personal apple support person yet, does anyone know where to find one on the website?

    See these previous discussions:
    Waiting applications: Apple Support Communities
    Downloading apps stuck on waiting...: Apple Support Communities

  • Are people still having trouble with iPhone/HP Laptops?

    Since I've had my Envy I've had no end of trouble with getting it and the iPhone to play nice. Any my search continues. So far, I have updated every bios, reinstalled Windows 7/iTunes many times, have restored the iPhone far more times than I care to remember and I am STILL having troubles with this thing. Having got through the Syncing issues with the PM55 chipset and iPhone I can now sync with my laptop. However all is not well as it would seem that I cannot sync my photo's. It doesn't matter if I have 0gb, 15gb or 30gb free, iTunes is telling me that there is not enough memory available. This error seems like an old one and there is even some info in the Apple KB but after following all that I still can't get it to sync my photo's.
    Some info on my setup:
    HP Envy 15 (all the latest drivers installed, bios F.24) Core i7-820, 8gb ram etc.
    iPhone 32gb, ver 3.1.3
    iTunes (whatever the latest one is)
    I should add that I can sync my iPhone with an identical install of intunes on my vintage Quad core desktop PC, but as I use my Laptop a lot more (and have all my media, email, and contacts etc on it) I would prefer to sync to it.
    Is there anything that I can do? Its very frustrating to have blown $4k on this equipment and it doesn't work...

    Well I tried deleting the photocache but alas, no luck. I also tried syncing with just the photo's enabled, and it worked! So then I enabled my other media and that copied across too! I thought I was on a bit of a roll here, but now whenever I try and sync it will do one of 3 things:
    iTunes will crash.
    iTunes will indicate that there is not enough memory on the device (+9GB free)
    iTunes will remove the iPhone from the sidebar (and my computer/disk management) even though it will continue to charge.
    Interesting point to note is that it works fine (cable/iphone/itunes/media library) on my desktop and macbook. Still really disappointed that I cannot get these two to cooperate. Also still haven't got any contacts from outlook but that may not be related?

  • Anyone having trouble with Splashtop and Maverick?

    Splash top will not run since installing Maverick.  I have uninstalled and reinstalled, but still no go.  Anyone else?

    I've been having trouble with this since I upgraded to iOS 7.0.2! Logged on tonight to see where I could log the problem with apple to get to fix in the next update! Seen on Facebook that others having same issue.
    I've also had a problem that when I put phone in to airplane mode it isn't reconnecting to the network afterwards!

Maybe you are looking for

  • Switching to Mac

    I am switching to Mac :-D and now I have a few questions that someone can help me out with a few iPod/iTune questions. 1) Will I need to restore my iPod so that it will be able to talk to the Mac. I believe I will but I want to make sure. 2) I have s

  • Overdelivery and Underdelivery Tolerances

    Hi, After creation of info record, material tolerance limits are changed in material master. Is there any procedure to update these information automaticlly in Info records (not using change of Info records). I have crated purchase order and removed

  • My husband and I did the most recent update. Now when we send messages to each other we also receive a duplicate of the message to ourself, what did we do wrong?

    My husband and I did the most recent update. Now when we send messages to each other we also receive a duplicate of the message to ourself, what did we do wrong?

  • How to prevent parser stripping newlines?

    Hi, I'm just starting to work on writing a program to input from an XML file, and then traverse through it, extracting information that I need. One of the attributes has a long string of text which includes newlines (carriage return and line feeds),

  • Checking For Characters

    How do I test to see if a character at a particular position in the String matches a character in the same position of a different String? How do I also test to see if a character at a particular position is a "e" or any other letter? I've tried look