Xcode main.c File type is Puzzling

Howdy,
In working through a C kinda book, I created several C projects. They run fine via Xcode and terminal using clang works fine on the main.c file. However while in terminal I ran the file command on the main.c file and got:
file main.c
main.c: ASCII C++ program text
I was expecting something along the lines of ". . . C program text".
So I tried:
$ clang++ main.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
Interesting note, if I go into the project folder, duplicate and rename the copy to main.cpp, using clang++ works fine; no warning message
So my question --- is Xcode really creating a c++ file even when C was selected when making the project?  Just curious.

In the first case, the "file" command is an old UNIX tool that uses definitions in /usr/share/file/magic. It doesn't have any other meaning for the system. See the magic directory and/or "man file" for more information. In this case, it is confused by the "//" which it thinks indicate C++.
In the second case, you are simply trying to compile a C file with the C++ compiler. Clang works just like GCC in this respect. When you add the "++", it adds all of the necessary flags and include directories for C++. Even if you wrote straight up C code, there are some subtle differences between C and C++.

Similar Messages

  • File Type Support in the Future?

    Hi all,
    I'm really tempted to buy either the 16GB or 32GB iPod Touch. I currently have a creative Zen Touch 20GB, so the touch will be my first iPod.
    Basically, the one thing I'm not too impressed with atm is the low level of file type support. Is it likely that in the future, the iPod Touch will accept AVIs, WMVs and WMAs etc through a firmware update?
    Thanks!

    PlaneHazza wrote:
    Thanks. I ask mainly because file types such as WMV, WMA, AVI etc are common and easy to manipulate files.
    So are the file types supported by QuickTime, iTunes and iPods.
    Patrick

  • Spritekit Collada file type support

    does spritekit provide support for Collada files?  If so, where to look tor doc?

    PlaneHazza wrote:
    Thanks. I ask mainly because file types such as WMV, WMA, AVI etc are common and easy to manipulate files.
    So are the file types supported by QuickTime, iTunes and iPods.
    Patrick

  • New file type for XCode

    Hi!
    I want the XCode to apply C syntax coloring to the .nc files, which are not recognized by it. There are settings to change coloring schemes for known types, but i couldn't find anything to add a new file type. Each time I open a .nc file, I need to select the syntax coloring scheme manually..
    Anybody has any idea on where to find settings for that?
    best,
    Onur.

    I ran into this same problem just yesterday and I was glad to even find out that I could temporarily fix the problem by relaunching the finder. It also happened to my while I was renaming files. It allowed it for a few files and then all of a sudden, nothing. I couldn't type, or do any key commands with anything related to the finder, although all of my application files were fine.
    I am clueless as to how to permanently fix this problem, although i am thankful to read on how to relaunch the finder to fix it for a bit.
    I'll keep checking back to see if some guru stops by with the answer.
    Thanks for posting!

  • XCode SVN not comparing some file types on commit

    Hello,
    I'm new to XCode development. I've been looking around for SVN clients and there are a few options, but I know that XCode has a SVN client so I wanted to give it a try.
    The thing is that, when commiting, the file diff embedded on the SVN client does not compares certain file types on the Version Editor pane, just shows the file icon on left-right compare panes, instead of the actual text comparisson.
    I tried using the FileMerge XCode tool to compare two files with the same extension and it works, it shows me the left-right files on each pane. But when I use the SVN client... they are not shown, only the icon.
    Any guess?

    anybody help?

  • Turning Auto Creation of Main.cpp file in Xcode 4

    I am taking a C++ class. I'm brand new to programing but Xcode is bugging me. It is automatically creating the main.cpp file in my projects for C++. I need to turn this function off so that I can create the file from stratch myself. In the future this feature will come in handy for spead but I'm new and need to learn to how to create this file and code it from memory. How do I stop Xcode from creating the main.cpp file automatically when I start a new project?

    The Developer Forum is here https://discussions.apple.com/community/developer_forums
    Might be best to ask there.
    Stefan

  • Data Recover From Formatted Drive? What is the best program to use to get back Logic Projects and any other file type?

    I was in the process of reorganising my hard drives so I could RAID them however I managed to corrupt one drive and had to format it which meant I lost all my Logic Files and some other files. I managed to save a lot of files (mainly video files) before I had to format the drive but I need a Data Recovery service that will not alter anything on the hard drive and will put all the formatted files (regardless of the type) back for me so I can get the rest of the ones I need.
    Thanks in advance.

    What about folders and such?
    No. FS doesn't reconstruct folders. However, Data Rescue does, depending on how you use it. About the only thing in Data Rescue a Quick Scan ever seems to show you are files that are already live.
    So that leaves you with a Deep Scan, or a Deleted Files scan. The first pass of a Deep Scan will attempt to retrieve folders and files, along with their original names. The second pass only looks for file patterns. Like recognizing a Photoshop .psd file. It will recover it, but give it a nonsense name. A Deleted Files scan only results in nonsense names of recognized file types; no folders.
    What were you using File Salvage on? A hard drive?
    Yes, though you can use it on a flash drive, or any other mounted drive.
    At the moment it is estimating 289 hours remaining on a 1TB drive. Can it not go faster?
    No, both of the software mentioned are slower than molasses in January. When you delete anything in Windows, its file table entry simply tagged as deleted. So to unerase them, the tag is removed. That's why it works to quickly and easily (assuming you haven't already overwritten the data to be recovered).
    In OS X though, the whole idea of the underlying UNIX structure is all about security. It's not supposed to be easy to retrieve deleted items. When you delete items, their file table entries are erased. So the only way to find deleted items is to scour the entire drive for BOF (Beginning Of File) markers that don't have a matching starting block to anything that is in the file table.
    Another question, half the drive was empty. Will it fly over that empty space or will it sieve through it incase there was some files stored on it?
    If you use the Expert mode is FS, you can choose to do that:

  • Adobe Premiere CS6 keeps crashing - Crashed Thread:  0  Dispatch queue: com.apple.main-thread     Exception Type:  EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

    Please help!  I've been wrestling with this all day!  Everytime I come to a clip on the timeline that has been adjusted via speed/duration the program crashes.  I've already deleted the preference files for all Adobe products.  Any suggestions?
    ~bdh
    Process:         Adobe Premiere Pro CS6 [955]
    Path:            /Applications/Adobe Premiere Pro CS6/Adobe Premiere Pro CS6.app/Contents/MacOS/Adobe Premiere Pro CS6
    Identifier:      com.adobe.AdobePremierePro
    Version:         6.0.2 (6.0.2)
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [277]
    User ID:         501
    Date/Time:       2013-04-29 19:09:02.439 -0500
    OS Version:      Mac OS X 10.8.3 (12D78)
    Report Version:  10
    Interval Since Last Report:          141185 sec
    Crashes Since Last Report:           19
    Per-App Interval Since Last Report:  99397 sec
    Per-App Crashes Since Last Report:   10
    Anonymous UUID:                      00F758BA-37B7-1854-7225-6B1330BFA109
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
    VM Regions Near 0:
    -->
        __TEXT                 0000000100000000-0000000100004000 [   16K] r-x/rwx SM=COW  /Applications/Adobe Premiere Pro CS6/Adobe Premiere Pro CS6.app/Contents/MacOS/Adobe Premiere Pro CS6
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   com.adobe.dvaui.framework               0x00000001034a6d3a dvaui::ui::UI_Node::GetViewScaleFactor() const + 10
    1   com.adobe.UIFramework.framework          0x0000000103cc7066 UIF::TabViewImpl::UI_Draw(dvaui::drawbot::Drawbot*) const + 730
    2   com.adobe.dvaui.framework               0x00000001034addbb void dvaui::drawbot::InvokeDrawbotFromRegionT<dvaui::ui::OS_View, std::const_mem_fun1_ref_t<void, dvaui::ui::OS_View, dvaui::drawbot::Drawbot*>, NSView*>(dvaui::ui::OS_View const&, std::const_mem_fun1_ref_t<void, dvaui::ui::OS_View, dvaui::drawbot::Drawbot*> const&, dvaui::drawbot::SupplierInterface const&, NSView*, __HIShape const*, dvaui::drawbot::SurfaceInterface*, bool) + 187
    3   com.adobe.dvaui.framework               0x00000001034adf79 void dvaui::drawbot::InvokeDrawbot<dvaui::ui::OS_View, std::const_mem_fun1_ref_t<void, dvaui::ui::OS_View, dvaui::drawbot::Drawbot*>, NSView*>(dvaui::ui::OS_View const&, std::const_mem_fun1_ref_t<void, dvaui::ui::OS_View, dvaui::drawbot::Drawbot*> const&, dvaui::drawbot::SupplierInterface const&, NSView*, __HIShape const*, dvaui::drawbot::SurfaceInterface*, std::vector<dvacore::geom::RectT<int>, std::allocator<dvacore::geom::RectT<int> > >*, bool) + 313
    4   com.adobe.dvaui.framework               0x00000001034a6381 dvaui::ui::OS_View::UI_HandlePlatformDrawEvent(dvaui::drawbot::SurfaceInterface *) + 397
    5   com.adobe.dvacore.framework             0x000000010018b9ee int dvacore::config::ErrorManager::ExecuteFunction<void>(boost::function0<void>*, void*) + 28
    6   com.adobe.premiere.frontend             0x000000010c748725 FE::ApplicationErrorManager::ExecuteFunctionWithTopLevelExceptionHandler(boost: :function0<int>) + 57
    7   com.adobe.dvacore.framework             0x000000010018b8e0 void dvacore::config::ErrorManager::ExecuteFunctionWithTopLevelExceptionHandler<void >(boost::function0<void>, bool*) + 112
    8   com.adobe.dvacore.framework             0x000000010018de1d void dvacore::config::ExecuteTopLevelFunction<void>(boost::function0<void>, bool*) + 125
    9   com.adobe.dvaui.framework               0x000000010349c7bd -[DVAMacContainerView drawRect:] + 125
    10  com.apple.AppKit                        0x00007fff88bcf094 -[NSView _drawRect:clip:] + 4217
    11  com.apple.AppKit                        0x00007fff88bcd6f1 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1656
    12  com.apple.AppKit                        0x00007fff88bcb722 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 817
    13  com.apple.AppKit                        0x00007fff88bcca74 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 5763
    14  com.apple.AppKit                        0x00007fff88bcca74 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 5763
    15  com.apple.AppKit                        0x00007fff88bcca74 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 5763
    16  com.apple.AppKit                        0x00007fff88bcb173 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 314
    17  com.apple.AppKit                        0x00007fff88bc6d9d -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 4675
    18  com.apple.AppKit                        0x00007fff88b90cc3 -[NSView displayIfNeeded] + 1830
    19  com.apple.AppKit                        0x00007fff88b901fc _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 738
    20  com.apple.Foundation                    0x00007fff85910af3 __NSFireTimer + 96
    21  com.apple.CoreFoundation                0x00007fff8477b804 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
    22  com.apple.CoreFoundation                0x00007fff8477b31d __CFRunLoopDoTimer + 557
    23  com.apple.CoreFoundation                0x00007fff84760ad9 __CFRunLoopRun + 1529
    24  com.apple.CoreFoundation                0x00007fff847600e2 CFRunLoopRunSpecific + 290
    25  com.apple.HIToolbox                     0x00007fff84d26eb4 RunCurrentEventLoopInMode + 209
    26  com.apple.HIToolbox                     0x00007fff84d26c52 ReceiveNextEventCommon + 356
    27  com.apple.HIToolbox                     0x00007fff84ce7044 IsUserStillTracking(MenuSelectData*, unsigned char*) + 194
    28  com.apple.HIToolbox                     0x00007fff84cd089a TrackMenuCommon(MenuSelectData&, unsigned char*) + 307
    29  com.apple.HIToolbox                     0x00007fff84e66e04 PopUpMenuSelectCore(MenuData*, Point, double, Point, unsigned short, unsigned int, Rect const*, unsigned short, unsigned int, Rect const*, Rect const*, __CFString const*, OpaqueMenuRef**, unsigned short*) + 1556
    30  com.apple.HIToolbox                     0x00007fff84e66794 _HandlePopUpMenuSelection7 + 629
    31  com.apple.AppKit                        0x00007fff88e2f54b _NSSLMPopUpCarbonMenu3 + 3916
    32  com.apple.AppKit                        0x00007fff88e2e5d8 -[NSCarbonMenuImpl _popUpContextMenu:withEvent:forView:withFont:] + 189
    33  com.apple.AppKit                        0x00007fff88f88fe3 -[NSMenu _popUpContextMenu:withEvent:forView:withFont:] + 200
    34  com.adobe.dvaui.framework               0x00000001034c44b6 dvaui::utility::OS_Menu_MAC::DoPopupMenu(dvaui::utility::OS_Menu_MAC&, dvaui::ui::UI_Node const*, dvacore::geom::RectT<float> const&, bool, bool) + 764
    35  com.adobe.dvaui.framework               0x00000001034c45b9 dvaui::utility::OS_Menu_MAC::DoContextMenu(dvaui::utility::OS_Menu_MAC&, dvaui::ui::UI_Node const*, dvacore::geom::PointT<float> const&, bool) + 55
    36  com.adobe.dvaui.framework               0x000000010343773b dvaui::ui::UI_DoContextMenu(dvaui::utility::OS_Menu&, dvaui::ui::UI_Node const&, dvacore::geom::PointT<float> const&) + 27
    37  com.adobe.UIFramework.framework          0x0000000103c7e978 UIF::MenuUtils::TrackPopupMenu(boost::intrusive_ptr<dvaui::utility::OS_Menu>, dvaui::ui::UI_Node const&, ASL::ParamPoint<int> const&) + 40
    38  com.adobe.HandlerTimeline.framework          0x0000000109c40f97 HandlerTimeline::TrackViewArea::DoClipContextMenuWithEffects(ASL::ParamPoint<in t> const&, UIF::KeyModifiers const&, HandlerTimeline::TrackContentView*, ASL::InterfaceRef<BE::ITrackItem, BE::ITrackItem>, char const*) + 1929
    39  com.adobe.HandlerTimeline.framework          0x0000000109c41aaa HandlerTimeline::TrackViewArea::DoContextMenu(ASL::ParamPoint<int> const&, UIF::KeyModifiers const&, HandlerTimeline::TrackContentView*, ASL::InterfaceRef<BE::ITrackItem, BE::ITrackItem>, unsigned int) + 514
    40  com.adobe.HandlerTimeline.framework          0x0000000109c421c3 HandlerTimeline::TrackViewArea::HandleContextMenuInContentView(ASL::ParamPoint< int> const&, UIF::KeyModifiers const&, HandlerTimeline::TrackContentView*) + 1115
    41  com.adobe.HandlerTimeline.framework          0x0000000109b525bb HandlerTimeline::EditorController::RightButtonUp(ASL::ParamPoint<int> const&, UIF::KeyModifiers const&, HandlerTimeline::TrackContentView*) + 169
    42  com.adobe.UIFramework.framework          0x0000000103cbf29f UIF::SubViewImpl::UI_DoMouseEvent(dvaui::ui::UI_Node*, dvaui::ui::MouseEvent const&) + 981
    43  com.adobe.dvaui.framework               0x000000010343c4a8 dvaui::ui::UI_Node::DispatchMouseEvent::operator()(dvaui::ui::UI_Node*, dvaui::ui::UI_Node*, dvacore::geom::PointT<float> const&) const + 184
    44  com.adobe.dvaui.framework               0x000000010344605b std::pair<bool, dvaui::ui::UI_Node*> dvaui::ui::UI_Node::UI_DispatchMouseEventTowardsLeafT<dvaui::ui::UI_Node::Dispa tchMouseEvent>(dvaui::ui::UI_Node::DispatchMouseEvent&, dvacore::geom::PointT<float> const&, bool) + 91
    45  com.adobe.dvaui.framework               0x00000001034460a5 std::pair<bool, dvaui::ui::UI_Node*> dvaui::ui::UI_Node::UI_DispatchMouseEventTowardsLeafT<dvaui::ui::UI_Node::Dispa tchMouseEvent>(dvaui::ui::UI_Node::DispatchMouseEvent&, dvacore::geom::PointT<float> const&, bool) + 165
    46  com.adobe.dvaui.framework               0x00000001034460a5 std::pair<bool, dvaui::ui::UI_Node*> dvaui::ui::UI_Node::UI_DispatchMouseEventTowardsLeafT<dvaui::ui::UI_Node::Dispa tchMouseEvent>(dvaui::ui::UI_Node::DispatchMouseEvent&, dvacore::geom::PointT<float> const&, bool) + 165
    47  com.adobe.dvaui.framework               0x00000001034460a5 std::pair<bool, dvaui::ui::UI_Node*> dvaui::ui::UI_Node::UI_DispatchMouseEventTowardsLeafT<dvaui::ui::UI_Node::Dispa tchMouseEvent>(dvaui::ui::UI_Node::DispatchMouseEvent&, dvacore::geom::PointT<float> const&, bool) + 165
    48  com.adobe.dvaui.framework               0x00000001034460a5 std::pair<bool, dvaui::ui::UI_Node*> dvaui::ui::UI_Node::UI_DispatchMouseEventTowardsLeafT<dvaui::ui::UI_Node::Dispa tchMouseEvent>(dvaui::ui::UI_Node::DispatchMouseEvent&, dvacore::geom::PointT<float> const&, bool) + 165
    49  com.adobe.dvaui.framework               0x00000001034460a5 std::pair<bool, dvaui::ui::UI_Node*> dvaui::ui::UI_Node::UI_DispatchMouseEventTowardsLeafT<dvaui::ui::UI_Node::Dispa tchMouseEvent>(dvaui::ui::UI_Node::DispatchMouseEvent&, dvacore::geom::PointT<float> const&, bool) + 165
    50  com.adobe.dvaui.framework               0x00000001034460a5 std::pair<bool, dvaui::ui::UI_Node*> dvaui::ui::UI_Node::UI_DispatchMouseEventTowardsLeafT<dvaui::ui::UI_Node::Dispa tchMouseEvent>(dvaui::ui::UI_Node::DispatchMouseEvent&, dvacore::geom::PointT<float> const&, bool) + 165
    51  com.adobe.dvaui.framework               0x00000001034460a5 std::pair<bool, dvaui::ui::UI_Node*> dvaui::ui::UI_Node::UI_DispatchMouseEventTowardsLeafT<dvaui::ui::UI_Node::Dispa tchMouseEvent>(dvaui::ui::UI_Node::DispatchMouseEvent&, dvacore::geom::PointT<float> const&, bool) + 165
    52  com.adobe.dvaui.framework               0x000000010343c615 dvaui::ui::UI_Node::UI_DispatchMouseEventTowardsLeaf(dvaui::ui::MouseEvent const&, bool) + 75
    53  com.adobe.dvaui.framework               0x000000010344027e dvaui::ui::UI_Node::UI_DispatchMouseEventToTarget(dvaui::ui::UI_Node*, dvaui::ui::MouseEvent const&, bool) + 136
    54  com.adobe.dvaui.framework               0x000000010344031f dvaui::ui::UI_Node::UI_DispatchMouseEvent(dvaui::ui::MouseEvent const&, bool) + 63
    55  com.adobe.dvaui.framework               0x00000001034a7bf2 dvaui::ui::OS_View::UI_DispatchPlatformMouseEvent(dvaui::ui::MouseEvent const&, bool) + 702
    56  com.adobe.dvaui.framework               0x00000001034a5cfa dvaui::ui::OS_View::UI_DispatchPlatformMouseClickEvent(dvaui::ui::OS_Event const&) + 470
    57  com.adobe.dvaui.framework               0x00000001034a4919 dvaui::ui::OS_View::UI_DispatchEvent(dvaui::ui::OS_Event*) + 123
    58  com.adobe.dvaui.framework               0x00000001034a5fe8 dvaui::ui::OS_View::UI_HandleOSEvent(dvaui::ui::OS_Event*) + 28
    59  com.adobe.dvaui.framework               0x00000001034a2ac7 dvaui::ui::OS_View::UI_HandlePlatformEvent(NSEvent*) + 57
    60  com.adobe.dvacore.framework             0x000000010018b9ee int dvacore::config::ErrorManager::ExecuteFunction<void>(boost::function0<void>*, void*) + 28
    61  com.adobe.premiere.frontend             0x000000010c748725 FE::ApplicationErrorManager::ExecuteFunctionWithTopLevelExceptionHandler(boost: :function0<int>) + 57
    62  com.adobe.dvacore.framework             0x000000010018b8e0 void dvacore::config::ErrorManager::ExecuteFunctionWithTopLevelExceptionHandler<void >(boost::function0<void>, bool*) + 112
    63  com.adobe.dvacore.framework             0x000000010018de1d void dvacore::config::ExecuteTopLevelFunction<void>(boost::function0<void>, bool*) + 125
    64  com.adobe.dvaui.framework               0x000000010349bc8f -[DVAMacContainerView rightMouseUp:] + 127
    65  com.apple.AppKit                        0x00007fff88c7277d -[NSWindow sendEvent:] + 7428
    66  com.apple.AppKit                        0x00007fff88c6e674 -[NSApplication sendEvent:] + 5761
    67  com.adobe.dvaui.framework               0x0000000103495bb6 -[DVAMacApplication sendEvent:] + 630
    68  com.adobe.premiere.frontend             0x000000010c781520 -[PremiereCocoaMacApplication sendEvent:] + 304
    69  com.apple.AppKit                        0x00007fff88b8424a -[NSApplication run] + 636
    70  com.adobe.premiere.frontend             0x000000010c782784 FE::MacApplication::RunSelf() + 44
    71  com.adobe.premiere.frontend             0x000000010c72cdef FE::Application::Run(std::basic_string<unsigned short, std::char_traits<unsigned short>, dvacore::utility::SmallBlockAllocator::STLAllocator<unsigned short> > const&) + 5681
    72  com.adobe.premiere.frontend             0x000000010c783cfc AppMain + 380
    73  com.adobe.premiere.startup              0x000000010c8f41d7 Run + 247
    74  com.adobe.AdobePremierePro              0x00000001000038b7 main + 647
    75  com.adobe.AdobePremierePro              0x000000010000361c start + 52
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib                  0x00007fff82eecd16 kevent + 10
    1   libdispatch.dylib                       0x00007fff85512dea _dispatch_mgr_invoke + 883
    2   libdispatch.dylib                       0x00007fff855129ee _dispatch_mgr_thread + 54
    Thread 2:
    0   libsystem_kernel.dylib                  0x00007fff82eec0fa __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x00007fff8cfa8fe9 _pthread_cond_wait + 869
    2   com.apple.CoreServices.CarbonCore          0x00007fff89c22210 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore          0x00007fff89c223e7 TSWaitOnConditionTimedRelative + 132
    4   com.apple.CoreServices.CarbonCore          0x00007fff89b84b14 MPWaitOnQueue + 252
    5   com.adobe.ASLFoundation.framework          0x00000001005c0770 ASL::(anonymous namespace)::TaskProc(void*) + 160
    6   com.apple.CoreServices.CarbonCore          0x00007fff89bf97e0 PrivateMPEntryPoint + 58
    7   libsystem_c.dylib                       0x00007fff8cfa47a2 _pthread_start + 327
    8   libsystem_c.dylib                       0x00007fff8cf911e1 thread_start + 13
    Thread 3:
    0   libsystem_kernel.dylib                  0x00007fff82eec0fa __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x00007fff8cfa8fe9 _pthread_cond_wait + 869
    2   com.apple.CoreServices.CarbonCore          0x00007fff89c22210 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore          0x00007fff89c223e7 TSWaitOnConditionTimedRelative + 132
    4   com.apple.CoreServices.CarbonCore          0x00007fff89b84b14 MPWaitOnQueue + 252
    5   com.adobe.dvacore.framework             0x00000001001f8f54 dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr<dvacore::t hreads::AllocatedFunctionT<boost::function<void ()> > >&, int) + 200
    6   com.adobe.dvacore.framework             0x00000001001f6253 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr<dvacore::threads::T hreadSafeDelayQueue> const&, boost::shared_ptr<dvacore::threads::Gate> const&) + 115
    7   com.adobe.dvacore.framework             0x00000001001f3943 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0<void> const&, dvacore::threads::ThreadPriority, boost::function<void ()> const&, boost::function<void ()> const&) + 163
    8   com.adobe.boost_threads.framework          0x000000010012aace thread_proxy + 158
    9   libsystem_c.dylib                       0x00007fff8cfa47a2 _pthread_start + 327
    10  libsystem_c.dylib                       0x00007fff8cf911e1 thread_start + 13
    Thread 4:
    0   libsystem_kernel.dylib                  0x00007fff82eec0fa __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x00007fff8cfa8fe9 _pthread_cond_wait + 869
    2   com.apple.CoreServices.CarbonCore          0x00007fff89c22210 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore          0x00007fff89c223e7 TSWaitOnConditionTimedRelative + 132
    4   com.apple.CoreServices.CarbonCore          0x00007fff89b84b14 MPWaitOnQueue + 252
    5   com.adobe.dvacore.framework             0x00000001001f8f54 dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr<dvacore::t hreads::AllocatedFunctionT<boost::function<void ()> > >&, int) + 200
    6   com.adobe.dvacore.framework             0x00000001001f6253 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr<dvacore::threads::T hreadSafeDelayQueue> const&, boost::shared_ptr<dvacore::threads::Gate> const&) + 115
    7   com.adobe.dvacore.framework             0x00000001001f3943 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0<void> const&, dvacore::threads::ThreadPriority, boost::function<void ()> const&, boost::function<void ()> const&) + 163
    8   com.adobe.boost_threads.framework          0x000000010012aace thread_proxy + 158
    9   libsystem_c.dylib                       0x00007fff8cfa47a2 _pthread_start + 327
    10  libsystem_c.dylib                       0x00007fff8cf911e1 thread_start + 13
    Thread 5:
    0   libsystem_kernel.dylib                  0x00007fff82eecd16 kevent + 10
    1   com.adobe.dvatransport.framework          0x000000010079bf12 boost::asio::detail::kqueue_reactor::run(bool, boost::asio::detail::op_queue<boost::asio::detail::task_io_service_operation>&) + 240
    2   com.adobe.dvatransport.framework          0x00000001007a60da boost::asio::detail::task_io_service::do_one(boost::asio::detail::scoped_lock<b oost::asio::detail::posix_mutex>&, boost::asio::detail::task_io_service::idle_thread_info*) + 512
    3   com.adobe.dvatransport.framework          0x00000001007a6467 boost::asio::detail::task_io_service::run(boost::system::error_code&) + 291
    4   com.adobe.dvatransport.framework          0x0000000100792fbd SkyConnectionEnv::MainLoop() + 129
    5   com.adobe.dvatransport.framework          0x000000010079303b SkyConnectionEnv::StaticThreadFunc(SkyConnectionEnv*) + 9
    6   com.adobe.boost_threads.framework          0x000000010012aace thread_proxy + 158
    7   libsystem_c.dylib                       0x00007fff8cfa47a2 _pthread_start + 327
    8   libsystem_c.dylib                       0x00007fff8cf911e1 thread_start + 13
    Thread 6:
    0   libsystem_kernel.dylib                  0x00007fff82eec0fa __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x00007fff8cfa8fe9 _pthread_cond_wait + 869
    2   com.adobe.dvatransport.framework          0x00000001007a604b boost::asio::detail::task_io_service::do_one(boost::asio::detail::scoped_lock<b oost::asio::detail::posix_mutex>&, boost::asio::detail::task_io_service::idle_thread_info*) + 369
    3   com.adobe.dvatransport.framework          0x00000001007a6467 boost::asio::detail::task_io_service::run(boost::system::error_code&) + 291
    4   com.adobe.dvatransport.framework          0x0000000100793c2a boost::asio::detail::posix_thread::func<boost::asio::detail::resolver_service_b ase::work_io_service_runner>::run() + 42
    5   com.adobe.dvatransport.framework          0x0000000100796c33 boost_asio_detail_posix_thread_function + 19
    6   libsystem_c.dylib                       0x00007fff8cfa47a2 _pthread_start + 327
    7   libsystem_c.dylib                       0x00007fff8cf911e1 thread_start + 13
    Thread 7:
    0   libsystem_kernel.dylib                  0x00007fff82eec0fa __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x00007fff8cfa8fe9 _pthread_cond_wait + 869
    2   com.apple.CoreServices.CarbonCore          0x00007fff89c22210 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore          0x00007fff89c223e7 TSWaitOnConditionTimedRelative + 132
    4   com.apple.CoreServices.CarbonCore          0x00007fff89b84b14 MPWaitOnQueue + 252
    5   com.adobe.dvacore.framework             0x00000001001f8f54 dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr<dvacore::t hreads::AllocatedFunctionT<boost::function<void ()> > >&, int) + 200
    6   com.adobe.dvacore.framework             0x00000001001f6253 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr<dvacore::threads::T hreadSafeDelayQueue> const&, boost::shared_ptr<dvacore::threads::Gate> const&) + 115
    7   com.adobe.dvacore.framework             0x00000001001f3943 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0<void> const&, dvacore::threads::ThreadPriority, boost::function<void ()> const&, boost::function<void ()> const&) + 163
    8   com.adobe.boost_threads.framework          0x000000010012aace thread_proxy + 158
    9   libsystem_c.dylib                       0x00007fff8cfa47a2 _pthread_start + 327
    10  libsystem_c.dylib                       0x00007fff8cf911e1 thread_start + 13
    Thread 8:
    0   libsystem_kernel.dylib                  0x00007fff82eec0fa __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x00007fff8cfa8fe9 _pthread_cond_wait + 869
    2   com.apple.CoreServices.CarbonCore          0x00007fff89c22210 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore          0x00007fff89c223e7 TSWaitOnConditionTimedRelative + 132
    4   com.apple.CoreServices.CarbonCore          0x00007fff89b84b14 MPWaitOnQueue + 252
    5   com.adobe.dvacore.framework             0x00000001001f8f54 dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr<dvacore::t hreads::AllocatedFunctionT<boost::function<void ()> > >&, int) + 200
    6   com.adobe.dvacore.framework             0x00000001001f6253 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr<dvacore::threads::T hreadSafeDelayQueue> const&, boost::shared_ptr<dvacore::threads::Gate> const&) + 115
    7   com.adobe.dvacore.framework             0x00000001001f3943 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0<void> const&, dvacore::threads::ThreadPriority, boost::function<void ()> const&, boost::function<void ()> const&) + 163
    8   com.adobe.boost_threads.framework          0x000000010012aace thread_proxy + 158
    9   libsystem_c.dylib                       0x00007fff8cfa47a2 _pthread_start + 327
    10  libsystem_c.dylib                       0x00007fff8cf911e1 thread_start + 13
    Thread 9:
    0   libsystem_kernel.dylib                  0x00007fff82eec0fa __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x00007fff8cfa8fe9 _pthread_cond_wait + 869
    2   com.apple.CoreServices.CarbonCore          0x00007fff89c22210 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore          0x00007fff89c223e7 TSWaitOnConditionTimedRelative + 132
    4   com.apple.CoreServices.CarbonCore          0x00007fff89b84b14 MPWaitOnQueue + 252
    5   com.adobe.dvacore.framework             0x00000001001f8f54 dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr<dvacore::t hreads::AllocatedFunctionT<boost::function<void ()> > >&, int) + 200
    6   com.adobe.dvacore.framework             0x00000001001f6253 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr<dvacore::threads::T hreadSafeDelayQueue> const&, boost::shared_ptr<dvacore::threads::Gate> const&) + 115
    7   com.adobe.dvacore.framework             0x00000001001f3943 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0<void> const&, dvacore::threads::ThreadPriority, boost::function<void ()> const&, boost::function<void ()> const&) + 163
    8   com.adobe.boost_threads.framework          0x000000010012aace thread_proxy + 158
    9   libsystem_c.dylib                       0x00007fff8cfa47a2 _pthread_start + 327
    10  libsystem_c.dylib                       0x00007fff8cf911e1 thread_start + 13
    Thread 10:
    0   libsystem_kernel.dylib                  0x00007fff82eec0fa __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x00007fff8cfa8fe9 _pthread_cond_wait + 869
    2   com.apple.CoreServices.CarbonCore          0x00007fff89c22210 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore          0x00007fff89c223e7 TSWaitOnConditionTimedRelative + 132
    4   com.apple.CoreServices.CarbonCore          0x00007fff89b84b14 MPWaitOnQueue + 252
    5   com.adobe.dvacore.framework             0x00000001001f8f54 dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr<dvacore::t hreads::AllocatedFunctionT<boost::function<void ()> > >&, int) + 200
    6   com.adobe.dvacore.framework             0x00000001001f6253 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr<dvacore::threads::T hreadSafeDelayQueue> const&, boost::shared_ptr<dvacore::threads::Gate> const&) + 115
    7   com.adobe.dvacore.framework             0x00000001001f3943 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0<void> const&, dvacore::threads::ThreadPriority, boost::function<void ()> const&, boost::function<void ()> const&) + 163
    8   com.adobe.boost_threads.framework          0x000000010012aace thread_proxy + 158
    9   libsystem_c.dylib                       0x00007fff8cfa47a2 _pthread_start + 327
    10  libsystem_c.dylib                       0x00007fff8cf911e1 thread_start + 13
    Thread 11:
    0   libsystem_kernel.dylib                  0x00007fff82eec0fa __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x00007fff8cfa8fe9 _pthread_cond_wait + 869
    2   com.apple.CoreServices.CarbonCore          0x00007fff89c22210 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore          0x00007fff89c223e7 TSWaitOnConditionTimedRelative + 132
    4   com.apple.CoreServices.CarbonCore          0x00007fff89b84b14 MPWaitOnQueue + 252
    5   com.adobe.dvacore.framework             0x00000001001f8f54 dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr<dvacore::t hreads::AllocatedFunctionT<boost::function<void ()> > >&, int) + 200
    6   com.adobe.dvacore.framework             0x00000001001f6253 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr<dvacore::threads::T hreadSafeDelayQueue> const&, boost::shared_ptr<dvacore::threads::Gate> const&) + 115
    7   com.adobe.dvacore.framework             0x00000001001f3943 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0<void> const&, dvacore::threads::ThreadPriority, boost::function<void ()> const&, boost::function<void ()> const&) + 163
    8   com.adobe.boost_threads.framework          0x000000010012aace thread_proxy + 158
    9   libsystem_c.dylib                       0x00007fff8cfa47a2 _pthread_start + 327
    10  libsystem_c.dylib                       0x00007fff8cf911e1 thread_start + 13
    Thread 12:
    0   libsystem_kernel.dylib                  0x00007fff82eec122 __psynch_mutexwait + 10
    1   libsystem_c.dylib                       0x00007fff8cfa9dfd pthread_mutex_lock + 536
    2   com.adobe.AudioSupport.framework          0x000000010308b132 ML::MonitorMixer::Stop() + 30
    3   com.adobe.PlayerHost.framework          0x00000001049b79b4 ML::VideoPlayer::PlayerCallback_StopAudio() + 256
    4   com.adobe.PlayerHost.framework          0x00000001049d6ad6 ML::SDKCallback_StopAudio(int) + 86
    5   com.adobe.PlayerMediaCore.framework          0x0000000119de812d AdobePlayer::PlayerAudioHost::StopPlayback() + 137
    6   com.adobe.TransmitHost.framework          0x000000010d1e0aa0 ML::TransmitManager::StopPlayback() + 182
    7   com.adobe.PlayerMediaCore.framework          0x0000000119de9754 AdobePlayer::PlayerClock::SetState(AdobePlayer::PlayState, PrActivationEvent) + 828
    8   com.adobe.PlayerMediaCore.framework          0x0000000119df88a3 AdobePlayer::PlayerMain::ForceStop() + 253
    9   com.adobe.PlayerMediaCore.framework          0x0000000119df89e3 AdobePlayer::PlayerMain::OnStop() + 79
    10  com.adobe.PlayerMediaCore.framework          0x0000000119e05926 PrPlayModule<AdobePlayer::PlayerMain>::PlayEntry(int, pmStdParms*, void*, void*) + 302
    11  com.adobe.PlayerHost.framework          0x000000010499b0c9 ML::CallPlayerModuleGuarded(int (*)(int, pmStdParms*, void*, void*), int, pmStdParms*, void*, void*, int*, std::basic_string<unsigned short, std::char_traits<unsigned short>, dvacore::utility::SmallBlockAllocator::STLAllocator<unsigned short> > const&) + 137
    12  com.adobe.PlayerHost.framework          0x000000010499bf94 ML::PlayerModule::CallPlugin(int, void*, void*) + 130
    13  com.adobe.PlayerHost.framework          0x00000001049c0e77 ML::VideoPlayer::CallPlayModuleSelector_Stop() + 79
    14  com.adobe.PlayerHost.framework          0x00000001049abb16 ML::VideoPlayer::StopPlayback(bool, bool) + 64
    15  com.adobe.PlayerHost.framework          0x00000001049a0500 ML::PlayModuleThreadQueue::ExecuteDeferredCall(ASL::ObjectPtr<ML::DeferredCallB ase, ASL::AtomicValue>) + 280
    16  com.adobe.PlayerHost.framework          0x00000001049a1537 ML::PlayModuleThreadQueue::ServiceQueue() + 253
    17  com.adobe.ASLFoundation.framework          0x00000001005b3232 void boost::_mfi::mf0<void, ASL::IThreadedQueueRequest>::call<ASL::InterfaceRef<ASL::IThreadedQueueRequest, ASL::IThreadedQueueRequest> >(ASL::InterfaceRef<ASL::IThreadedQueueRequest, ASL::IThreadedQueueRequest>&, void const*) const + 54
    18  com.adobe.dvacore.framework             0x00000001001f62a2 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr<dvacore::threads::T hreadSafeDelayQueue> const&, boost::shared_ptr<dvacore::threads::Gate> const&) + 194
    19  com.adobe.dvacore.framework             0x00000001001f3943 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0<void> const&, dvacore::threads::ThreadPriority, boost::function<void ()> const&, boost::function<void ()> const&) + 163
    20  com.adobe.boost_threads.framework          0x000000010012aace thread_proxy + 158
    21  libsystem_c.dylib                       0x00007fff8cfa47a2 _pthread_start + 327
    22  libsystem_c.dylib                       0x00007fff8cf911e1 thread_start + 13
    Thread 13:
    0   libsystem_kernel.dylib                  0x00007fff82eec0fa __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x00007fff8cfa8fe9 _pthread_cond_wait + 869
    2   com.apple.CoreServices.CarbonCore          0x00007fff89c22210 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore          0x00007fff89c223e7 TSWaitOnConditionTimedRelative + 132
    4   com.apple.CoreServices.CarbonCore          0x00007fff89b84b14 MPWaitOnQueue + 252
    5   com.adobe.dvacore.framework             0x00000001001f8f54 dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr<dvacore::t hreads::AllocatedFunctionT<boost::function<void ()> > >&, int) + 200
    6   com.adobe.dvacore.framework             0x00000001001f6253 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr<dvacore::threads::T hreadSafeDelayQueue> const&, boost::shared_ptr<dvacore::threads::Gate> const&) + 115
    7   com.adobe.dvacore.framework             0x00000001001f3943 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0<void> const&, dvacore::threads::ThreadPriority, boost::function<void ()> const&, boost::function<void ()> const&) + 163
    8   com.adobe.boost_threads.framework          0x000000010012aace thread_proxy + 158
    9   libsystem_c.dylib                       0x00007fff8cfa47a2 _pthread_start + 327
    10  libsystem_c.dylib                       0x00007fff8cf911e1 thread_start + 13
    Thread 14:
    0   libsystem_kernel.dylib                  0x00007fff82eec0fa __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x00007fff8cfa8fe9 _pthread_cond_wait + 869
    2   com.apple.CoreServices.CarbonCore          0x00007fff89c22210 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore          0x00007fff89c223e7 TSWaitOnConditionTimedRelative + 132
    4   com.apple.CoreServices.CarbonCore          0x00007fff89b84b14 MPWaitOnQueue + 252
    5   com.adobe.dvacore.framework             0x00000001001f8f54 dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr<dvacore::t hreads::AllocatedFunctionT<boost::function<void ()> > >&, int) + 200
    6   com.adobe.dvacore.framework             0x00000001001f6253 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr<dvacore::threads::T hreadSafeDelayQueue> const&, boost::shared_ptr<dvacore::threads::Gate> const&) + 115
    7   com.adobe.dvacore.framework             0x00000001001f3943 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0<void> const&, dvacore::threads::ThreadPriority, boost::function<void ()> const&, boost::function<void ()> const&) + 163
    8   com.adobe.boost_threads.framework          0x000000010012aace thread_proxy + 158
    9   libsystem_c.dylib                       0x00007fff8cfa47a2 _pthread_start + 327
    10  libsystem_c.dylib                       0x00007fff8cf911e1 thread_start + 13
    Thread 15:
    0   libsystem_kernel.dylib                  0x00007fff82eea686 mach_msg_trap + 10
    1   libsystem_kernel.dylib                  0x00007fff82ee9c42 mach_msg + 70
    2   com.apple.CoreFoundation                0x00007fff8475b233 __CFRunLoopServiceMachPort + 195
    3   com.apple.CoreFoundation                0x00007fff84760916 __CFRunLoopRun + 1078
    4   com.apple.CoreFoundation                0x00007fff847600e2 CFRunLoopRunSpecific + 290
    5   com.apple.AVCVideoServices              0x0000000119c71ad0 AVS::AVCVideoServicesThreadStart(AVS::AVCVideoServicesThreadParams*) + 186
    6   libsystem_c.dylib                       0x00007fff8cfa47a2 _pthread_start + 327
    7   libsystem_c.dylib                       0x00007fff8cf911e1 thread_start + 13
    Thread 16:
    0   libsystem_kernel.dylib                  0x00007fff82eea686 mach_msg_trap + 10
    1   libsystem_kernel.dylib                  0x00007fff82ee9c42 mach_msg + 70
    2   com.apple.CoreFoundation                0x00007fff8475b233 __CFRunLoopServiceMachPort + 195
    3   com.apple.CoreFoundation                0x00007fff84760916 __CFRunLoopRun + 1078
    4   com.apple.CoreFoundation                0x00007fff847600e2 CFRunLoopRunSpecific + 290
    5   com.apple.AVCVideoServices              0x0000000119c71ad0 AVS::AVCVideoServicesThreadStart(AVS::AVCVideoServicesThreadParams*) + 186
    6   libsystem_c.dylib                       0x00007fff8cfa47a2 _pthread_start + 327
    7   libsystem_c.dylib                       0x00007fff8cf911e1 thread_start + 13
    Thread 17:
    0   libsystem_kernel.dylib                  0x00007fff82eec0fa __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x00007fff8cfa9023 _pthread_cond_wait + 927
    2   com.apple.CoreServices.CarbonCore          0x00007fff89c22406 TSWaitOnConditionTimedRelative + 163
    3   com.apple.CoreServices.CarbonCore          0x00007fff89b84b14 MPWaitOnQueue + 252
    4   com.adobe.dvacore.framework             0x00000001001f8f54 dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr<dvacore::t hreads::AllocatedFunctionT<boost::function<void ()> > >&, int) + 200
    5   com.adobe.dvacore.framework             0x00000001001f6253 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr<dvacore::threads::T hreadSafeDelayQueue> const&, boost::shared_ptr<dvacore::threads::Gate> const&) + 115
    6   com.adobe.dvacore.framework             0x00000001001f3943 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0<void> const&, dvacore::threads::ThreadPriority, boost::function<void ()> const&, boost::function<void ()> const&) + 163
    7   com.adobe.boost_threads.framework          0x000000010012aace thread_proxy + 158
    8   libsystem_c.dylib                       0x00007fff8cfa47a2 _pthread_start + 327
    9   libsystem_c.dylib                       0x00007fff8cf911e1 thread_start + 13
    Thread 18:
    0   libsystem_kernel.dylib                  0x00007fff82eea686 mach_msg_trap + 10
    1   libsystem_kernel.dylib                  0x00007fff82ee9c42 mach_msg + 70
    2   com.apple.CoreServices.CarbonCore          0x00007fff89c1f3dd TS_exception_listener_thread + 67
    3   libsystem_c.dylib                       0x00007fff8cfa47a2 _pthread_start + 327
    4   libsystem_c.dylib                       0x00007fff8cf911e1 thread_start + 13
    Thread 19:
    0   libsystem_kernel.dylib                  0x00007fff82eec386 __semwait_signal + 10
    1   libsystem_c.dylib                       0x00007fff8d02e800 nanosleep + 163
    2   com.adobe.ScriptLayerPPro.framework          0x0000000106d0c6fb ScObjects::Thread::sleep(unsigned int) + 59
    3   com.adobe.ScriptLayerPPro.framework          0x0000000106cf8259 ScObjects::BridgeTalkThread::run() + 169
    4   com.adobe.ScriptLayerPPro.framework          0x0000000106d0ca66 ScObjects::Thread::go(void*) + 166
    5   libsystem_c.dylib                       0x00007fff8cfa47a2 _pthread_start + 327
    6   libsystem_c.dylib                       0x00007fff8cf911e1 thread_start + 13
    Thread 20:: com.apple.audio.IOThread.client
    0   libsystem_c.dylib                       0x00007fff8cf92d2c OSAtomicAdd64Barrier$VARIANT$mp + 8
    1   com.adobe.dvacore.framework             0x0000000100241356 dvacore::utility::AllocatorManager<64ul, 4160ul, 66624ul, 1ul>::TrySimpleAllocate() + 144
    2   com.adobe.dvacore.framework             0x00000001002642e2 dvacore::utility::AllocatorManager<64ul, 4160ul, 66624ul, 1ul>::DoAllocate() + 28
    3   com.adobe.dvacore.framework             0x0000000100245829 dvacore::utility::AllocatorManager<64ul, 4160ul, 66624ul, 1ul>::Allocate(unsigned long) + 279
    4   com.adobe.dvacore.framework             0x000000010016412f dvacore::utility::SmallBlockAllocator::Allocate(unsigned long) + 63
    5   com.adobe.Backend.framework             0x00000001015adcd4 std::_Rb_tree<ASL::ImmutableString, std::pair<ASL::ImmutableString const, BE::OutputValueBase*>, std::_Select1st<std::pair<ASL::ImmutableString const, BE::OutputValueBase*> >, std::less<ASL::ImmutableString>, dvacore::utility::SmallBlockAllocator::STLAllocator<std::pair<ASL::ImmutableStr ing const, BE::OutputValueBase*> > >::_M_create_node(std::pair<ASL::ImmutableString const, BE::OutputValueBase*> const&) + 20
    6   com.adobe.Backend.framework             0x00000001015ade02 std::_Rb_tree<ASL::ImmutableString, std::pair<ASL::ImmutableString const, BE::OutputValueBase*>, std::_Select1st<std::pair<ASL::ImmutableString const, BE::OutputValueBase*> >, std::less<ASL::ImmutableString>, dvacore::utility::SmallBlockAllocator::STLAllocator<std::pair<ASL::ImmutableStr ing const, BE::OutputValueBase*> > >::_M_insert_unique(std::pair<ASL::ImmutableString const, BE::OutputValueBase*> const&) + 206
    7   com.adobe.Backend.framework             0x00000001015ac650 BE::CompositeOutputValue::CompositeOutputValue(BE::CompositeOutputValue const&) + 234
    8   com.adobe.Backend.framework             0x00000001015ab298 BE::CompositeOutputValue::Clone() const + 34
    9   com.adobe.Backend.framework             0x00000001015ac6d2 BE::CompositeOutputValue::CompositeOutputValue(BE::CompositeOutputValue const&) + 364
    10  com.adobe.Backend.framework             0x00000001015bacec BE::CompositeProperty::CompositeProperty(BE::CompositeOutputValue const&, std::map<dvacore::utility::Guid, ASL::ObjectPtr<BE::OutputValueEntry, ASL::AtomicValue>, std::less<dvacore::utility::Guid>, std::allocator<std::pair<dvacore::utility::Guid const, ASL::ObjectPtr<BE::OutputValueEntry, ASL::AtomicValue> > > > const&) + 52
    11  com.adobe.Backend.framework             0x00000001015b69f1 BE::PropertiesImpl::SetOpaqueUnknown(ASL::ImmutableString const&, ASL::InterfaceRef<ASL::ASLUnknown, ASL::ASLUnknown>, bool) + 963
    12  com.adobe.Backend.framework             0x00000001015bb93c BE::PropertiesProxy::SetOpaqueUnknown(ASL::ImmutableString const&, ASL::InterfaceRef<ASL::ASLUnknown, ASL::ASLUnknown>, bool) + 144
    13  com.adobe.HandlerProject.framework          0x0000000109576871 void BE::IProperties::SetOpaque<ASL::InterfaceRef<ASL::ASLUnknown, ASL::ASLUnknown> >(ASL::ImmutableString const&, ASL::InterfaceRef<ASL::ASLUnknown, ASL::ASLUnknown>&, bool) + 121
    14  com.adobe.HandlerProject.framework          0x00000001095759bc HandlerProject::ProjectViewStateList::WriteViewStateList() + 138
    15  com.adobe.HandlerProject.framework          0x00000001094a827e HandlerProject::ProjectHandler::ViewDestroyed(HandlerProject::ProjectView*, dvacore::utility::Guid) + 866
    16  com.adobe.HandlerProject.framework          0x0000000109523289 HandlerProject::ProjectView::DestroySelf() + 139
    17  com.adobe.dvaworkspace.framework          0x0000000106a342dc dvaworkspace::workspace::Workspace::RemoveTab(dvaworkspace::workspace::Workspac eFrame*, int, bool, bool) + 140
    18  com.adobe.dvaworkspace.framework          0x0000000106a31cbf dvaworkspace::workspace::Workspace::RemoveTab(dvaworkspace::workspace::Workspac eFrame*, dvaworkspace::workspace::TabPanel*, bool, bool) + 67
    19  com.adobe.dvaworkspace.framework          0x0000000106a48400 dvaworkspace::workspace::WorkspaceFrame::RemoveAllTabs(bool) + 162
    20  com.adobe.dvaworkspace.framework          0x0000000106a346c6 dvaworkspace::workspace::TopLevelWindow::RemoveTabPanels(bool) + 392
    21  com.adobe.dvaworkspace.framework          0x0000000106a3552a dvaworkspace::workspace::Workspace::RemoveTabPanels() + 150
    22  com.adobe.premiere.frontend             0x000000010c726700 FE::Application::CloseCurrentWorkspace() + 552
    23  com.adobe.premiere.frontend             0x000000010c75e50d FE::DocumentManager::CloseDocumentWithPrompt(bool, bool) + 353
    24  com.adobe.premiere.frontend             0x000000010c75f151 FE::DocumentManager::AttemptPanicProjectSave() + 991
    25  com.adobe.premiere.frontend             0x000000010c72b74e FE::Application::AttemptPanicProjectSave() + 24
    26  com.adobe.premiere.frontend             0x000000010c78327c UnixInterruptSignal(int) + 44
    27  com.adobe.dvacore.framework             0x0000000100279b15 (anonymous namespace)::SignalHandler(int, __siginfo*, void*) + 261
    28  libsystem_c.dylib                       0x00007fff8cf9294a _sigtramp + 26
    29  libsystem_c.dylib                       0x00007fff8cf91ac7 memmove$VARIANT$sse42 + 159
    30  com.adobe.AudioRenderer.framework          0x0000000100df1fbb AR::AudioBuffer::CopyFrom(AR::AudioBuffer const&, unsigned int) + 59
    31  com.adobe.AudioRenderer.framework          0x0000000100e4797b AR::AudioPannerDirectChannelAssignmentBase::Process(AR::AudioBuffer const&, AR::AudioBuffer&) + 713
    32  com.adobe.AudioRenderer.framework          0x0000000100e4cc46 AR::AudioPannerStereoTo16Channel::ProcessAudioData(AR::AudioBuffer const&, AR::AudioBuffer&) + 174
    33  com.adobe.AudioRenderer.framework          0x0000000100e1ff32 AR::RealtimeAudioClipTrackItemRenderer::GetAudioData(dvamediatypes::TickTime const&, AR::AudioBuffer&, bool) + 3666
    34  com.adobe.AudioRenderer.framework          0x0000000100df7822 AR::AudioClipTrackRenderer::GetAudioData(dvamediatypes::TickTime const&, AR::AudioBuffer&, bool) + 2530
    35  com.adobe.AudioRenderer.framework          0x0000000100e13697 AR::AudioTrackGroupRenderer::GetAudioData(dvamediatypes::TickTime const&, AR::AudioBuffer&, bool) + 571
    36  com.adobe.AudioSupport.framework          0x0000000103089b67 ML::MonitorMixer::AudioCallback(AR::AudioBuffer&, dvamediatypes::TickTime&) + 6969
    37  com.adobe.AudioSupport.framework          0x000000010309284c ML::AudioPlaybackBuffer::GetAudioData(AR::AudioBuffer&) + 106
    38  com.adobe.AudioSupport.framework          0x00000001030993af ML::CoreAudioHost::ProcessAudio(unsigned int, AudioTimeStamp const*, AudioBufferList const*, AudioTimeStamp const*, AudioBufferList*, AudioTimeStamp const*) + 813
    39  com.adobe.AudioSupport.framework          0x000000010309954e ML::CoreAudioHost::DeviceIOProc(unsigned int, AudioTimeStamp const*, AudioBufferList const*, AudioTimeStamp const*, AudioBufferList*, AudioTimeStamp const*, void*) + 38
    40  com.apple.audio.CoreAudio               0x00007fff8f09fbad HALC_ProxyIOContext::IOWorkLoop() + 2413
    41  com.apple.audio.CoreAudio               0x00007fff8f09f1a1 HALC_ProxyIOContext::IOThreadEntry(void*) + 83
    42  com.apple.audio.CoreAudio               0x00007fff8f09f069 HALB_IOThread::Entry(void*) + 75
    43  libsystem_c.dylib                       0x00007fff8cfa47a2 _pthread_start + 327
    44  libsystem_c.dylib                       0x00007fff8cf911e1 thread_start + 13
    Thread 21:
    0   libsystem_kernel.dylib                  0x00007fff82eec2aa __recvfrom + 10
    1   ServiceManager-Launcher.dylib           0x000000011ff375ec Invoke + 45721
    2   ServiceManager-Launcher.dylib           0x000000011ff36813 Invoke + 42176
    3   ServiceManager-Launcher.dylib           0x000000011ff35be0 Invoke + 39053
    4   ServiceManager-Launcher.dylib           0x000000011ff35c66 Invoke + 39187
    5   ServiceManager-Launcher.dylib           0x000000011ff3130f Invoke + 20412
    6   ServiceManager-Launcher.dylib           0x000000011ff31616 Invoke + 21187
    7   ServiceManager-Launcher.dylib           0x000000011ff31cd7 Invoke + 22916
    8   ServiceManager-Launcher.dylib           0x000000011ff31f41 Invoke + 23534
    9   ServiceManager-Launcher.dylib           0x000000011ff3461d Invoke + 33482
    10  ServiceManager-Launcher.dylib           0x000000011ff34775 Invoke + 33826
    11  ServiceManager-Launcher.dylib           0x000000011ff34fb2 Invoke + 35935
    12  ServiceManager-Launcher.dylib           0x000000011ff350ad Invoke + 36186
    13  ServiceManager-Launcher.dylib           0x000000011ff27d6b Login + 480
    14  ServiceManager-Launcher.dylib           0x000000011ff2b7ad Login + 15394
    15  ServiceManager-Launcher.dylib           0x000000011ff35412 Invoke + 37055
    16  ServiceManager-Launcher.dylib           0x000000011ff37253 Invoke + 44800
    17  libsystem_c.dylib                       0x00007fff8cfa47a2 _pthread_start + 327
    18  libsystem_c.dylib                       0x00007fff8cf911e1 thread_start + 13
    Thread 22:
    0   libsystem_kernel.dylib                  0x00007fff82eec0fa __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x00007fff8cfa8fe9 _pthread_cond_wait + 869
    2   com.apple.CoreServices.CarbonCore          0x00007fff89c22210 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore          0x00007fff89c223e7 TSWaitOnConditionTimedRelative + 132
    4   com.apple.CoreServices.CarbonCore          0x00007fff89b84b14 MPWaitOnQueue + 252
    5   com.adobe.dvacore.framework             0x00000001001f8f54 dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr<dvacore::t hreads::AllocatedFunctionT<boost::function<void ()> > >&, int) + 200
    6   com.adobe.dvacore.framework             0x00000001001f6253 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr<dvacore::threads::T hreadSafeDelayQueue> const&, boost::shared_ptr<dvacore::threads::Gate> const&) + 115
    7   com.adobe.dvacore.framework             0x00000001001f3943 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0<void> const&, dvacore::threads::ThreadPriority, boost::function<void ()> const&, boost::function<void ()> const&) + 163
    8   com.adobe.boost_threads.framework          0x000000010012aace thread_proxy + 158
    9   libsystem_c.dylib                       0x00007fff8cfa47a2 _pthread_start + 327
    10  libsystem_c.dylib                       0x00007fff8cf911e1 thread_start + 13
    Thread 23:
    0   libsystem_kernel.dylib                  0x00007fff82eec0fa __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x00007fff8cfa8fe9 _pthread_cond_wait + 869
    2   com.apple.CoreServices.CarbonCore          0x00007fff89c22210 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore          0x00007fff89c223e7 TSWaitOnConditionTimedRelative + 132
    4   com.apple.CoreServices.CarbonCore          0x00007fff89b84b14 MPWaitOnQueue + 252
    5   com.adobe.dvacore.framework             0x00000001001f8f54 dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr<dvacore::t hreads::AllocatedFunctionT<boost::function<void ()> > >&, int) + 200
    6   com.adobe.dvacore.framework             0x00000001001f6253 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr<dvacore::threads::T hreadSafeDelayQueue> const&, boost::shared_ptr<dvacore::threads::Gate> const&) + 115
    7   com.adobe.dvacore.framework             0x00000001001f3943 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0<void> const&, dvacore::threads::ThreadPriority, boost::function<void ()> const&, boost::function<void ()> const&) + 163
    8   com.adobe.boost_threads.framework          0x000000010012aace thread_proxy + 158
    9   libsystem_c.dylib                       0x00007fff8cfa47a2 _pthread_start + 327
    10  libsystem_c.dylib                       0x00007fff8cf911e1 thread_start + 13
    Thread 24:
    0   libsystem_kernel.dylib                  0x00007fff82eec0fa __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x00007fff8cfa9023 _pthread_cond_wait + 927
    2   com.apple.CoreServices.CarbonCore          0x00007fff89c22406 TSWaitOnConditionTimedRelative + 163
    3   com.apple.CoreServices.CarbonCore          0x00007fff89c21f6d TSWaitOnSemaphoreCommon + 265
    4   com.apple.CoreServices.CarbonCore          0x00007fff89be5b93 AsyncFileThread(void*) + 257
    5   libsystem_c.dylib                       0x00007fff8cfa47a2 _pthread_start + 327
    6   libsystem_c.dylib                       0x00007fff8cf911e1 thread_start + 13
    Thread 25:
    0   libsystem_kernel.dylib                  0x00007fff82eec6d6 __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x00007fff8cfa6f4c _pthread_workq_return + 25
    2   libsystem_c.dylib                       0x00007fff8cfa6d13 _pthread_wqthread + 412
    3   libsystem_c.dylib                       0x00007fff8cf911d1 start_wqthread + 13
    Thread 26:
    0   libsystem_kernel.dylib                  0x00007fff82eec6d6 __workq_ke

    Either or both of the following third-party system modifications may be contributing to your problem:
    FxFactory
    CUDA
    I suggest you uninstall them, one at a time, according to the developers' instructions, to see whether you can identify which is at fault. Reboot after uninstalling CUDA.
    Back up all data before making any changes.

  • Dreamweaver setting wrong file type and creator codes

    First of all, I'm running Mac OS X 10.5.2 on an Intel-based
    Mac, with Dreamweaver CS3 9.0 build 3481.
    I have a site defined where I connect to my web server via
    FTP. On my server, I just upgraded my forum software to PHPBB 3.0,
    which created a new /forums/ directory. My plan is to use
    Dreamweaver to download that new /forums/ directory to my local
    site where I can edit the files. Inside the forums folder are
    several types of files, like ".php" files, ".htm" files, ".gif"
    files, etc.
    So, upon downloading the /forums/ folder to my local machine
    by dragging and dropping it (in Dreamweaver) from the remote site
    to the local site, I noticed that Dreamweaver insists on setting
    HFS file type and creator codes for files it recognizes, based on
    the filename extension.
    I've connected to the same server using the Finder and
    Transmit, and copied the remote /forums/ folder over to my local
    machine. Neither of those copies have files with file types and
    creator codes set, meaning they aren't actually set on the remote
    files and that this is indeed something Dreamweaver is doing on the
    fly as it downloads the files.
    I'm wondering if there's any way possible to disable this
    behavior, and just download the files like they are on the server?
    (File extension only). To make matters worse, on my Intel-based
    Mac, it's not even setting the proper codes, as you can see in the
    following image:
    http://homepage.mac.com/mdouma46/images/dreamweaver.png
    Notice for the ".php" document, it's attempting to set a file
    type of 'TEXT' and a creator code of 'DmWr' (DreamWeaver's creator
    code), but because the Dreamweaver developers didn't bother to take
    into account the byte-ordering differences between PowerPC Macs and
    Intel Macs, the codes are written in reverse: 'TEXT' becomes
    'TXET', and 'DmWr' becomes 'rWmD'. (If you're going to use
    low-level routines such as FSSetCatalogInfo() to set the file types
    and creator codes, you need to call CFSwapInt32HostToBig() on the
    OSType values before doing so, to make sure they're in Big-endian
    format).
    Anyone know where the conversion information is stored?
    Thanks in advance.....

    Creator codes are totally deprecated in snow leopard. as for a workaround you can use something like this.
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    on open these_items
    repeat with this_item in these_items
    tell application "Finder"
    set the_file to POSIX path of (this_item as alias)
    tell application "System Events"
    set default application of file (the_file) to ("Main HD:Applications:Preview.app" as alias)
    end tell
    end tell
    end repeat
    end open</pre>
    save it as an application and drop files onto it to set them to open with Preview.

  • Setting file type to open in WebStart Program (Opened file as parameter)

    Hi --
    I've created a Java program & installed in on my PC using Web Start. Now I'd like set all .sit files to automatically open in my program. My program expects a file as input, and I'd like the opened .sit file to be that parameter.
    I've tested this using a batch file to run the program (instead of Web Start), and that worked fine. I'm not able to get this to work with a Web Start program, though.
    I opened My Computer & went to Tools / Folder Options / File Types. I created an SIT extention, and I tried a number of things:
    1. I had Web Start place a shortcut on the desktop, and then I selected that shortcut from the list in the File Types window --> I got a "TooManyArgumentsException" when I double-clicked on the .sit file.
    2. I tried to set the File Types setting to http://myserver/myapp.jnlp. --> Windows recognized that this wasn't an executable & wouldn't let me save it.
    3. I created a shortcut to http://myserver/myapp.jnlp and pointed the File Types setting to that. --> Windows wouldn't let me save that.
    4. I clicked the Advanced button on the File Types tab, and created an open action. I tried the same three things there & got the same results.
    Is it possible to do what I'm trying to do (force .sit files to open in my Java Web Start program and send their filename into the program's main method as a parameter)? Does anyone have any pointers?
    Thanks,
    Bonnie

    This is a new feature in Java Web Start 1.5, and in the 1.5 version of the JNLP specification.
    The <association> tag in the jnlp file can be used to ask Web Start to create the fextension/mime-type asociation for ".sit" extensions so that if you click on a ".sit" file, the system will launch "javaws -open clickedfile.sit yourapp.jnlp" see:
    http://jcp.org/aboutJava/communityprocess/maintenance/jsr056/jnlp_spec.html#4756982
    http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/syntax.html#information
    /Dietz

  • Server side validation for file type with cffil sent via cfmail problem

    Hello;
    I have a small app that I need to allow users to be able to use a form, and send me and email with a file attachment. I have it working nicely, I included file manipulation into the validation process of the form and required form fields. The problem I'm having, is this. I'm trying to create and instance where if they try and upload lets say a pdf, it throws and error: "You are trying to upload the wrong file, please try again we only accept bla bla bla" Problem is, even if I'm uploading the proper file, it's rejecting it and deleting it. Can someone help me fix this? I've tried a number of different ways and can't seem to get this to go off properly. I am posting some of the code. There is a ton, so I'm posting the main parts so you get the idea and see my variables.
    <!--- Declairing my variables and setting up form validation--->
    <cfparam name="FORM.descript" type="string" default=""/>
    <cfparam name="FORM.attachment_1" type="string" default=""/>
    <cfset arrErrors = ArrayNew( 1 ) />
    <cfset showForm = true>
    <cfif structKeyExists(form, "sendcomments")>
    <cfif NOT len(trim(FORM.name))>
    <cfset ArrayAppend(arrErrors,"Your Full Name!<br>") />
    </cfif>
    <!--- This is where the file error control is as you can see how the name is validated, the file will be dealt with in a similar maner--->
    <cfif NOT Len(Trim(FORM.attachment_1))>
    <cfset ArrayAppend(arrErrors,"You didn't attach a file!<br>") />
    <cfelseif ArrayLen( arrErrors )>
    <cftry>
    <cffile action="DELETE" file="#FORM.resume#"/>
    <cfcatch>
    <!--- File delete error. --->
    </cfcatch>
    </cftry>
    <cfelse>
    <!--- no errors with the file upload so lets upload it--->
    <cftry>
    <cfset request.AcceptImage="image/gif,image/jpg,image/jpeg,image/pjpeg,image/x-png">
    <cffile action="upload"
                     filefield="attachment_1"
                     accept="#request.AcceptImage#"
                     destination="c:\websites\187914Kg3\uploads\"
                     nameconflict="Makeunique">
    <!---
    Now that we have the file uploaded, let's
    check the file extension. I find this to be
    better than checking the MIME type as that
    can be inaccurate (so can this, but at least
    it doesn't throw a ColdFusion error).
    --->
    <cfif NOT ListFindNoCase("request.AcceptImage",CFFILE.ServerFileExt)>
    <cfset ArrayAppend(arrErrors,"Only JPEG, GIF, and PNG file formats are accepted!<br>") />
    <!---
    Since this was not an acceptable file,
    let's delete the one that was uploaded.
    --->
    <cftry>
    <cffile action="DELETE" file="#CFFILE.ServerDirectory#\#CFFILE.ServerFile#"/>
    <cfcatch>
    <!--- File Delete Error. --->
    </cfcatch>
    </cftry>
    </cfif>
    <!--- This is the code that is causing my problem. The above code is saying everything is not the proper file and rejecting it all--->
    Can anyone help me out. I can make more of this code available if needed. Like i said, there's a lot and I didn't want to dump it all out, this is the section creating the problem. There are no errors at this time, just rejecting all file types.
    thank you.

    It appears you are comparing your content_length with 1MB.
    1KB: 1024 bytes
    1MB: 1024*1024 bytes
    Let us use max allowable size of 25KB here and amend the second half of our code.
    <!--- Set max allowable file size in KB at the top --->
    <cfset maxFileSize = 25>
          <!--- Check if file is an image file of acceptable size --->
          <cfif (#reFindNoCase("gif|jpg|jpeg|pjpeg|png",myResult.clientFileExt, 1)# EQ 1) AND (#myResult.FileSize# LTE (#maxFileSize#*1024))>
                <!--- Retain if right file type and size --->
                <p>
                Your file <strong>#myResult.clientFile#</strong> has been uploaded successfully!<br />
                <a href="yourTemplate.cfm">Back</a></p>
                <!--- Otherwise if wrong type --->
          <cfelseif #reFindNoCase("gif|jpg|jpeg|pjpeg|png",myResult.clientFileExt, 1)# NEQ 1>
                <p>
                You are trying to upload a <strong>#myResult.clientFileExt#</strong> file, please try again. We only accept <strong>gif, jpg, jpeg, and png</strong>.
                </p>
                <!--- Delete unacceptable file and show form to user to try again--->  
                <cffile action="delete"  file="#svrFile#" />
                      <form method="post" action=#cgi.script_name# 
                      name="uploadForm" enctype="multipart/form-data">
                      <input name="attachment_1" type="file">
                      <br>
                      <input name="submit" type="submit" value="Try again!">
                </form>
                <!--- Or size too large --->
          <cfelseif #myResult.FileSize# GT (#maxFileSize#*1024)>
                <p>
                Your file was too large (<strong>#numberFormat(myResult.fileSize/1024, "____.__")# KB</strong>). Please try a smaller file!
                </p>
                <!--- Delete file and show form--->
                <cffile action="delete"  file="#svrFile#" />
                      <form method="post" action=#cgi.script_name# 
                      name="uploadForm" enctype="multipart/form-data">
                      <input name="attachment_1" type="file">
                      <br>
                      <input name="submit" type="submit" value="Try again!">
                </form>
          </cfif>
    </cfif>        <!--- Closes the cfif tag which started from the first half --->
    </cfoutput><!--- ditto --->

  • File-type "Firefox Document (.htm)" images saved to the HD won't open

    Images online occasionally default to file-type Firefox Document (.htm) as opposed to the usual jpg. They will not open even with firefox and display as coding.

    Can you describe in more detail what happens when you try to open the saved movie? I don't know what you mean by "main menu1".
    Since you saved your movie you may find it completely intact in the project's Package Contents folder. Right-click on the project icon (the one with the star on it). Select Package Contents in the drop down menu. In the Package Contents folder you should find a file named (project movie title).iMovieProj. Open that file and see if your movie is intact with all edits. If it is, duplicate it and move it to your desktop. Rename and save it as a new project. Don't otherwise mess with the Package Contents.
    Is your external drive formulated for Apple? Should be MAC OS extended or MAC OS extended (journaled).

  • Can't download .GZ file - incorrect file type?

    Thank you for helping me. Using the code below, I am trying to access a log file from a site (log.gz) and download it to my hard drive to expand and analyze locally. When I try to expand the file, the message says that it does not recognize the file type. I suspect that it is adding in errant bits of data. Is there some way to make it keep the data structure intact?
    Thanks,
    Greg
    import java.net.*;
    import java.io.*;
    import java.util.Date;
    public class SaveWebFile{
    public static void main(String[] args) {
         String username = "xxxx";
         String password = "xxxxx";
    String authorization = username + ":" + password;
    sun.misc.BASE64Encoder enCoder = new sun.misc.BASE64Encoder();
    String encodedAuthorization = "Basic " + enCoder.encode(authorization.getBytes());
    try{
         URL url = new URL("http://www.test.com/logs/dailylog.gz");
         HttpURLConnection con = (HttpURLConnection)url.openConnection();
         con.setRequestProperty("Authorization", encodedAuthorization);
         InputStreamReader in = new InputStreamReader (con.getInputStream());
         OutputStream out = new FileOutputStream( "c:\\logs\dailylog.gz" );
         int b;
         while( (b = in.read()) != -1) out.write( (byte)b );
         in.close();
         out.close();
         } catch (MalformedURLException e) {
         System.out.println (" is not a valid URL.");
         System.exit(1);
         } catch (IOException e) {
         System.out.println ("Unable to connect");
         System.exit(1);
    }

    Does this fix it?
    BufferedInputStream in = new BufferedInputStream(con.getInputStream());
    BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream("log.gz"));
    final int NUM_BYTES = 32768;
    int numBytesRead = 0;
    byte[] buf = new byte[NUM_BYTES];
    while( (numBytesRead = in.read(buf, 0, NUM_BYTES)) != -1)
      out.write(buf, 0, numBytesRead);
      out.flush();
    out.close();
    in.close();

  • BIC mapping error with Text as trasnfer mode & File type

    Hi guys,
    I am using ftp adapter in my sender channel and also using BIC mapping in the sender side.
    When i specify "Binary" as my transfer mode as well as File type, It is working fine.
    When i specify "Text" as my transfer mode as well as File type, i am getting the below BIC mapping error. According to client requirement i am supposed to use Binary. Can anyone help me on this.
    SEEBURGER BICXIADAPTER --- CONVERSION ERROR ---Error: [Error:ID=2023;LEVEL=1] InhouseDocReader readNextSegment(): offset[12(read Segment : BILLINGHEADER)]: caught ReadingException: only whitespaces as fill characters allowed!, Trace: [com.seeburger.jucon.dochandler.util.WrongFormatException: only whitespaces as fill characters allowed! at com.seeburger.jucon.dochandler.inhousereader.InhouseSegmentReader.readNextSegment(InhouseSegmentReader.java:384) at com.seeburger.jucon.dochandler.inhousereader.InhouseSegmentReader.readNextSegment(InhouseSegmentReader.java:193) at com.seeburger.jucon.dochandler.InhouseDocReader.readNextSegment(InhouseDocReader.java:2399) at com.seeburger.jucon.dochandler.InhouseDocReader.moveNext(InhouseDocReader.java:1818) at com.seeburger.jucon.mapping.E2X_DT_BILLINGDATA_2.main(E2X_DT_BILLINGDATA_2.java:991) at com.seeburger.jucon.mapping.Mapping.run(Mapping.java:2313) at com.seeburger.jucon.seebicapi.BICMapping.runMapping(BICMapping.java:1636) at com.seeburger.jucon.seebicapi.BICMapping.run(BICMapping.java:2386) at com.seeburger.jucon.seebicapi.BICMapping.startSyncMapping(BICMapping.java:1343) at com.seeburger.bicxiadapter.CCIInteraction.convert(CCIInteraction.java:1167) at com.seeburger.bicxiadapter.CCIInteraction.convertCalledFromModule(CCIInteraction.java:873) at com.seeburger.bicxiadapter.CCIInteraction.execute(CCIInteraction.java:294) at com.seeburger.bicxiadapter.module.CallBicXIRaBean.process(CallBicXIRaBean.java:363) at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl0_0.process(ModuleLocalLocalObjectImpl0_0.java:102) at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:292) at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0.process(ModuleProcessorLocalLocalObjectImpl0_0.java:103) at com.sap.aii.adapter.file.File2XI.send(File2XI.java:3672) at com.sap.aii.adapter.file.File2XI.processFtpList(File2XI.java:2408) at com.sap.aii.adapter.file.File2XI.invoke(File2XI.java:630) at com.sap.aii.af.service.scheduler.JobBroker$Worker.run(JobBroker.java:513) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(AccessController.java:219) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172) ] DESCRIPTION: InhouseDocReader causes an ReadingException while trying to read the next segment of current file, abort

    Hi Pratichi,
    in my point of view having text as the file type,the file will be having characters that are used for Segment separators or Element separators ( like space ) in the standard EDI format message.  Hence it is throwing exception in X2E mapping. It is just my point of view but not sure.
    Thanks,
    Shabbir.

  • Using Photoshop Elements to edit raw.  Doesn't recognize file type

    I recently downloaded photoshop elements to use as my editor within Iphoto. I've set it up as the default editor in preferences, and made the appropriate change in the advanced settings within Iphoto so that it exports edits in RAW. When I attempt to edit by double clicking, Photoshop Elements gives me a msg that it can't open file because it does not recognize the file type. Does anyone know why this would be? I am using a Nikon D60. I haven't downloaded the Nikon software onto the computer (not sure if that has anything to do with it). Does photoshop elements need anything additional? Any help appreciated.
    Thx
    Richie

    Richie:
    As Terence mentioned we can help with using PSE within iPHoto but why PSE doesn't recognize the D60 files is an Adobe issue. I believe there are Adobe plugins available to handle RAW files. Check the Adobe site for those. For using PSE to edit jpgs within iPhoto this may be of some help:
    Using Photoshop (or Photoshop Elements) as Your Editor of Choice in iPhoto.
    1 - select Photoshop as your editor of choice in iPhoto's General Preference Section's under the "Edit photo:" menu.
    2 - double click on the thumbnail in iPhoto to open it in Photoshop. When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done.
    3 - however, if you get the navigation window that indicates that PS wants to save it as a PS formatted file. You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
    This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..
    NOTE: With Photoshop Elements 6 the Saving File preferences should be configured: "On First Save: Save Over Current File". Also I suggest the Maximize PSD File Compatabilty be set to Always.
    If you want to use both iPhoto's editing mode and PS without having to go back and forth to the Preference pane, once you've selected PS as your editor of choice, reset the Preferences back to "Open in main window". That will let you either edit in iPhoto (double click on the thumbnail) or in PS (Control-click on the thumbnail and seledt "Edit in external editor" in the Contextual menu). This way you get the best of both worlds
    2 - double click on the thumbnail in iPhoto to open it in Photoshop. When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done.
    3 - however, if you get the navigation window that indicates that PS wants to save it as a PS formatted file. You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
    This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

Maybe you are looking for

  • How to get the Report Names which use a Folder in Discoverer Administrator?

    Hello All, How could I get which Reports in discoverer Desktop are using a particular folder in Discoverer Administrator? Or How to know which Discoverer Desktop Reports are being derived from a folder in Discoverer Administrator? We have Oracle 9i D

  • Receive Connector accepting oversized messages

    Hi. Weird thing... Exchange 2010 SP3 UR5.  Organization was 5.5 --> 2003 --> 2010. Current settings are: Global Transport max send/receive size = 20MB Receive connector max size = 10MB User mailbox Message Size Restrictions = not set Distribution Lis

  • E71 default browser does not open links

    Hello everybody, I am facing this strange behavior on my E71 default browser. Say that I go to the google page and look for something, e.g.. Java. I click the search button and the browser displays a list of results. However, when I click on any of t

  • Freelancer jobs in abap to work from home from India

    Hi, can any one tell me will there be any freelancer jobs for abap to work from home in INDIA. If any of know any information about that please let me know as iam looking for such type of jobs.

  • A question on a few files....

    Hello, I am wondering if anyone can explain to me the use for these two files. In particular, what information they hold (i.e. old conversations, settings, contacts, etc.). %appdata%\roaming\skype\config.tmp and %appdata%\roaming\skype\shared.tmp Tha