| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Is there something so bad (apart from the windows.h include) in the following lines of code (a C++ Tool with this code in main.cpp):_______________________________________________
#include <iostream>
#ifndef CPlugin_h
#define CPlugin_h
#ifdef __APPLE__
#include <CoreFoundation/CoreFoundation.h>
#else
#include <windows.h>
#endif
template <typename _T> class CPlugin
{
public:
};
int main (int argc, const char * argv[])
{
// insert code here...
std::cout << "Hello, I'm feeling a bit crashy toonight!\n";
return 0;
}
to cause cc1plus to crash in 100% of case?
Date/Time: 2003-06-27 22:41:48 +0200
OS Version: 10.2.6 (Build 6L60)
Host: Mave.local.
Command: cc1plus
PID: 905
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x0000000c
Thread 0 Crashed:
#0 0x0002998c in 0x2998c
#1 0x0002a510 in 0x2a510
#2 0x00023f3c in 0x23f3c
#3 0x00078958 in 0x78958
#4 0x00086e10 in 0x86e10
#5 0x000c2308 in 0xc2308
#6 0x000c76f8 in 0xc76f8
#7 0x000c77f4 in 0xc77f4
#8 0x00001ddc in 0x1ddc
#9 0x00001c5c in 0x1c5c
PPC Thread State:
srr0: 0x0002998c srr1: 0x0200d930 vrsave: 0x00000000
xer: 0x20000000 lr: 0x0002a510 ctr: 0x000b2140 mq: 0x00000000
r0: 0x0002a510 r1: 0xbfffe7c0 r2: 0x28022442 r3: 0x00000000
r4: 0x00000000 r5: 0x00000001 r6: 0x00000000 r7: 0x00000000
r8: 0x00000000 r9: 0x00000000 r10: 0x00400380 r11: 0x00400380
r12: 0x000b2140 r13: 0x00000190 r14: 0x000000e4 r15: 0x00000002
r16: 0x00000000 r17: 0xbfffeb20 r18: 0x0000004c r19: 0x00000000
r20: 0x00000000 r21: 0x48002442 r22: 0x00000000 r23: 0xbfffe990
r24: 0x00000000 r25: 0x00000000 r26: 0x00000000 r27: 0x00000000
r28: 0x00000000 r29: 0x00000000 r30: 0x016f91c0 r31: 0x003c224c
_______________________________________________
projectbuilder-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/projectbuilder-users
Do not post admin requests to the list. They will be ignored.
| References: | |
| >cc1plus known crasher? (From: Stéphane Sudre <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.