Occi crashes InDesign in Mac, but not in Windows

I got a crazy problem.
I'm developing a plugin for InDesign using C++ and want to do a oracle connection to one of our databases.
This is what I call:
mOCCICon = mOCCIEnv->createConnection(pLoginUsername.GrabUTF16Buffer(nil), pLoginPassword.GrabUTF16Buffer(nil), pmFixedAlias.GrabUTF16Buffer(nil));
mOCCIEnv is Environment object.
Whenever I call with correct user and pass, everything is good, both in Mac and Windows build.
But as soon as I login with false pass, windows gives an ORA error message while Mac crashes!!
Anyone also got the same problem and have solved it?
Here's the crash log from InDesign:
Process: Adobe InDesign CS6 [3769]
Path: /Applications/Adobe InDesign CS6/Adobe InDesign CS6.app/Contents/MacOS/Adobe InDesign CS6
Identifier: com.adobe.InDesign
Version: 8.0.0.370 (8000)
Code Type: X86 (Native)
Parent Process: launchd [231]
Date/Time: 2013-01-25 10:18:01.389 +0100
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
Interval Since Last Report: 8055885 sec
Crashes Since Last Report: 86212
Per-App Interval Since Last Report: 1197871 sec
Per-App Crashes Since Last Report: 66
Anonymous UUID: 2842A1EE-9D7F-46F7-8088-EB5833340AB8
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000474e5543
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 ???      0x03ee04ec 0 + 65930476
1 libSystem.B.dylib      0x94734f68 UnwindGetLanguageSpecificData + 24
2 libstdc++.6.dylib      0x949c0d86 __gxx_personality_v0 + 120
3 libocci.dylib.10.1      0x1cc2c160 UnwindRaiseException_Phase2 + 148
4 libocci.dylib.10.1      0x1cc2c573 UnwindResume + 127
5 libocci.dylib.10.1      0x1cbba83d oracle::occi::ConnectionImpl::openConnection(OCIEnv*, OCIError*, void*, unsigned int, void*, unsigned int, void*, unsigned int, void*, unsigned int, unsigned int) + 2407
6 libocci.dylib.10.1      0x1cbbdcb9 oracle::occi::ConnectionImpl::ConnectionImpl(oracle::occi::EnvironmentImpl*, std::basic_string<unsigned short, std::char_traits<unsigned short>, std::allocator<unsigned short> > const&, std::basic_string<unsigned short, std::char_traits<unsigned short>, std::allocator<unsigned short> > const&, std::basic_string<unsigned short, std::char_traits<unsigned short>, std::allocator<unsigned short> > const&) + 331
7 libocci.dylib.10.1      0x1cbbdd3d oracle::occi::ConnectionImpl::ConnectionImpl(oracle::occi::EnvironmentImpl*, std::basic_string<unsigned short, std::char_traits<unsigned short>, std::allocator<unsigned short> > const&, std::basic_string<unsigned short, std::char_traits<unsigned short>, std::allocator<unsigned short> > const&, std::basic_string<unsigned short, std::char_traits<unsigned short>, std::allocator<unsigned short> > const&) + 45
8 libocci.dylib.10.1      0x1cbb7da0 oracle::occi::EnvironmentImpl::createConnection(std::basic_string<unsigned short, std::char_traits<unsigned short>, std::allocator<unsigned short> > const&, std::basic_string<unsigned short, std::char_traits<unsigned short>, std::allocator<unsigned short> > const&, std::basic_string<unsigned short, std::char_traits<unsigned short>, std::allocator<unsigned short> > const&) + 202
9 com.adobe.InDesign.DBManager      0x177d250c OCCIManager::loginToDatabase(PMString, PMString, PMString, long&, PMString&) + 3404 (OCCIManager.cpp:1442)
10 com.adobe.InDesign.InBuilderUI     0x1ff8c47d InBldDBLoginDialog::ShowInBldDBLoginDialog() + 2397 (InBldDBLoginDialog.cpp:117)
11 com.adobe.InDesign.InBuilderUI     0x1ff9812a InBldUIUtils::ShowLoginDialog() + 186 (InBldUIUtils.cpp:157)
12 com.adobe.InDesign.InBuilderUI     0x1ffaf9d8 InBldUIActionComponent::DoAction(IActiveContext*, IDType<ActionID_tag>, SysPoint, IPMUnknown*) + 2520 (InBldUIActionComponent.cpp:283)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

If you are on Windows Vista and trying to write something to
"Program Files" or its sub folders, write will not end up in the
right place as "Program Files" is protected. What ever you write
might go to a virtual store location. If that's the case try
writing to app storage folder.
Please see the below post for more info on this:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1640353&SiteID=1

Similar Messages

  • My Ipod shuffle appears in itunes on mac but not on windows 7 even though we have the latest update of itunes. We have also tried the other solutions on the apple support site.

    My Ipod shuffle appears in itunes on mac but not on windows 7 even though we have the latest update of itunes. We have also tried the other solutions on the apple support site.

    Hi reinkristine86!
    I know you’ve said that you have tried other suggestions for troubleshooting this issue, so pardon me if you have already seen this article, but have you tried all of the troubleshooting steps listed in the article below?
    iPod not recognized in My Computer and in iTunes for Windows
    http://support.apple.com/kb/ts1369
    Thanks for coming to the Apple Support Communities!
    Cheers,
    Braden

  • Hard drive recognized in mac but not in windows

    Hi, I have an external hard drive which I loaded up from my Mac originally and has only been used in my Mac since.
    Today, I plugged it into a Windows computer and it would not show up in My Computer...
    does anyone know why my external hard drive is recognized just fine on my Mac, but doesn't show up in the Windows computer?
    If it has to do with naming my hard drive, how do I do it correctly on the Mac?
    Thanks!

    That's really a question you should be asking Microsoft, however it may have to do with the way the EHD is formatted. Is it formatted as Mac OS Extended (Journaled) or is it formatted another way. You can check this by right clicking the EHD, and selecting Information. Of you can select the EHD in Finder and type Command I. 

  • Airtunes streaming skips in iTunes 10 Mac but not iTunes windows

    I have had problems with airtunes for a fair while now, definately the whole time i've had itunes 10, but recently noticed that using the same computer (MBP booted to Windows 7 using iTunes Windows) it streams perfectly. So now I'm really confused. Help!
    Problem:
    Here is the problem. Mac iTunes 10, play music streaming to me Airport express, will start to play then stop, pause, start, pause, play.... aarrrggg. Doesn't matter which song.
    Environment:
    I have Airport Extreme connected to Linksys modem. Wireless g/n network connecting to Airport express which is hard wired to stereo. Wireless network is perfect except for this airtunes issue, and support various mobile devices plus n and g apple notebooks. My main computer is Macbook Pro with dual boot windows 7 and mac snow leopard. I've recently found that itunes only behaves badly in Mac mode!
    Diagnosis:
    Have tried switching wireless channel from 1, 7, 11 etc to remove interferrence - but identified that this does not remove the issue.
    Have tried streaming airtunes from iTunes windows on same computer and works FINE
    Have tried streaming airtunes from iTunes on iPhone 3GS with iOS5 and works about 50% (skipping, but not as bad as from mac, but unacceptable quality)
    Have tried streaming airtunes from iTunes on Macbook Pro with snow leopard and iTunes 10 and basically skips constantly
    Help

    Your issue sounds similiar to mine-  https://discussions.apple.com/message/18747381#18747381
    However, Apple can't seem to fix it...

  • Sync Settings works on the Mac, but not in Windows

    On my Mac (Mountain Lion), the Sync Settings screen in Preferences is bright-eyed and bushy-tailed. I can choose any of the options. But on my Windows 8.1 machine, the Sync Settings options are all checked, but grayed-out. The Sync Now button is also grayed-out. Where it says "Signed in as", it's blank; it doesn't show my account name. But when I click the Manage Account button, it takes me to my CC page (creative.adobe.com/files) and I can see my stuff.
    I just updated all the CC apps, but these options are still grayed-out. Anyone know why?

    Hi Ty
    Always arrange pictures on your page. Select them and used Send backwards (button under). Do this till the button is grey. Now your pictures are under the text. Otherwise there is a mask over the text.
    Good luke
    Hans

  • . mov files playing fine on a Mac, but not on Windows with Quicktime 7.2

    I have a few .mov clips that were created in Final Cut Pro and that I need to use on a Windows PC. They are playing fine in Quicktime 7.2 on my MacBook, but on the Windows machine, the files play only audio, no video. The screen is white.
    I've tried to play these files in the Divx and VCL players, but they don't work there either.
    Is there a reason these files would only work on a Mac?
    --- As an aside, after installing 7.2 on above mentioned PC (running Vista), NONE of the .mov files on my hard drive run properly anymore. They are either jerky or "white". They will play fine in the VLC player. I've reinstalled quicktime; no difference. All these files were working fine in Quicktime before the upgrade.
    Any help is greatly appreciated.
    Cheers, Johannes

    Here's Avids answer:
    Pro50 codecs only work in Macs, so the original files need to be EXPORTED from FCP with a special codec Avid created for Mac.
    So that's that issue solved ... hopefully, let's see after the next export.
    But .mov files are still screwed up on my PC.
    Kirk - I did reboot the machine in SafeMode, reinstalled QT, but nope - version 7.2. still doesn't play any .mov files properly that are stored on my C-drive that previously were just fine.
    Thanks again.

  • Print Crash on Intel Macs but not on PPC Macs

    I have two MacBooks exhibiting the same problem. When I try to print from nearly any application over the network, the application quits when I try to print. I restart the application and it usually prints. The printer I try to print to is an HP Deskjet 6540 that is shared from a G5. The G5 has no problems printing to the same printer; it never crashes. The log has been unhelpful -at least to me. I have already reset the printing system and manually installed the printers from scratch a couple of times to no avail. Any ideas would be apreciated!

    Hi there,
    You may have a compatibility problem with PowerPC and Universal applications and drivers.
    Your MacBooks are Intel-based. Most of the supplied applications are written in Universal Binary, meaning that they will work on Intel and PowerPC Mac's. But there are still a lot of applications and drivers that are written just for the PowerPC chip and to work on the Intel they have to use an emulator called Rosetta.
    If the driver that is installed for the HP is PPC, then sometimes that can cause spooler errors, especially ones written in Universal. The workaround is to get a Universal version of the driver or to make the application run using Rosetta.
    Now, given that the HP is shared by the G5, this may be causing the problem also. The HP driver on the G5 will be PPC and if you have added the printer on the MacBooks by just connecting to the share, then you may have PPC drivers installed instead of Universal but more of a problem is that you will have version differences. I have seen this cause the most amount of problems for shared printers.
    Check HP's web site for the latest version of driver for the printer. If they have a Universal version, then download this and install it on all Mac's so that you are using the same version on all three. (You may find this driver is already installed on your MacBook's so if you can get the same version for your G5 that would help heaps).
    Regards,
    Paul

  • USB FLASH DRIVE WORKS ON MAC BUT NOT ON WINDOWS... CAUSE I ERASED IT IN MAC

    I decided to take my work flash drive home to work on a file. At home I saw that some weird files were on the flash drive and wouldn't delete, so I decided to save my files on my Mac and erase the USB flash drive. I selected the flash drive (by the way it's a 2 GB flashdrive) and I used the SECURITY OPTION 35 PASS ERRASE. Format: MS-DOS (FAT).
    Everything was fine until I took my flash drive to work and plugged it on a Windows XP Computer and it appeared as Drive E I think and when I tried to open it it asked me to format it. I risked it and clicked OK and it said that I didn't have sufficient rights or something.
    SUMMERY:
    2 GB USB ERASED USING MAC DISSK UTILITY
    EVERYTHING FINE UNTIL I PLUG IN THE FLASH DRIVE IN A WINDOWS
    WINDOWS ASKS ME TO REFORMAT FILE
    I PLUG IT INTO A MAC COMPUTER AT WORK AND IT DOES WORK
    IF ANYBODY KNOWS HOW DO I FIX THIS THANKS?

    The drive is probably now formatted for a Mac only file system. To format for a PC:
    Insert the drive in the Mac and start Disk Utility (Utilities folder).
    Select the drive in the left column. Be sure to select the drive (all the way to the left) not a volume (indented below the drive name).
    Select the "Partition" tab.
    Set "Volume Scheme" to "1 Partition" (not "Current" even if it's already one partition).
    Click the "Options" button".
    Select "Master Boot Record".
    Click the "OK" button.
    Enter a volume name (all uppercase).
    Set "Format" to "MS-DOS (FAT)".
    Click the "Apply" button.

  • Java sound app works on Mac but not on Windows

    I am working on a program that needs to play a sound Clip and it doesn't work on XP but it does on OS/X.
    I've reduced the problem to this simple test program. On my PC, the sound I hear on the speakers is just a little burst of noise, whereas it's fine on my Mac. I used one of XP's system wav files, and verified that it does play normally on the PC via other means (iTunes, etc.). I'm using the latest JDK/JRE everywhere. Here's the sample code. Anything obviously wrong here?
    import java.io.*;
    import javax.sound.sampled.*;
    class ClipTest
        public static void main(String args[])
                try
                    Clip soundClip;
                    AudioInputStream soundStream;
                    File audioFile = new File("CHIMES.WAV");
                    soundStream = AudioSystem.getAudioInputStream(audioFile);
                    AudioFormat format = soundStream.getFormat();
                    DataLine.Info info = new DataLine.Info(Clip.class, format);             
                    System.out.println(format.toString());
                    soundClip = (Clip)AudioSystem.getLine(info);
                    soundClip.open(soundStream);
                    soundClip.start();
                catch (Exception e)
                    e.printStackTrace();
    }

    Solved my own problem: adding a Thread.sleep(1000); after starting the Clip worked. Looks like the app was terminating before the sound could finish playing. Obviously something is different between the way the Mac and XP JRE handles the sound thread with respect to the rest of the app.

  • My Airport works fine with my Macs but not with Windows netbook

    I bought my first Apple in 1987 and have never owned a Windows computer. I bought an MSI Wind netbook (too long of a story to go into here) and I can't seem to get it to recognize my Airport network. I have three Macs, an iPad and two iPhones that have no trouble getting on the network. Using this Windows machine is like learning a foreign language. I have no idea where to begin troubleshooting. It has XP installed and is a used machine. It seems to work great in every other aspect except for this.
    If anyone could point me to some step by step instructions or have any suggestions, I would appreciate it. I have a feeling it's something simple, but I am in foreign territory! Thanks.

    Ok, I guess we will just have to assume that the wireless capability of your netbook is functional.
    Let's start by using Windows XP's automated network troubleshooting feature, called Network Diagnostics.
    To use Network Diagnostics, follow these steps:
    1. Click Start, and then click Help and Support.
    2. Click the link to Use Tools to view your computer information and diagnose problems, and then click Network Diagnostics in the list on the left.
    3. When you click Scan your system, Network Diagnostics gathers configuration information and performs automated troubleshooting of the network connection.
    4. When the process is completed, look for any items that are marked "FAILED" in
    red, expand those categories, and then view the additional details about what the testing showed.
    Please post back your results.

  • I-pod touch works on a Mac but not a PC

    Please help! My I-pod touch works on a Mac but not a PC. When hooked up to a PC, the device is not recognized in I-tunes message, says I-pod in recovery mode and to restore, after checking update and restore, receive unknown error message (9). Have tried unistaling and reinstalling I-tunes, using different USB ports, creating new user, restarting computer, using different PC, and trying to reset by holding sleep/wake and home buttons all to no avail, very, very frustrated, everything is fine on a Mac!!

    I have CA Internet Security Suite Plus 2010, version 6.0.0.264.
    I was wondering about that one in particular.
    Try configuring you CA as per kalda01's instructions in this post:
    http://discussions.apple.com/message.jspa?messageID=10525876#10525876
    (Sometimes switching the security software off doesn't help, but doing the configuration does help. Not sure what's afoot with that, but it has happened with other security-package problems with iTunes in the past.)

  • HT201250 If time machine puts all of my photos onto my external hard drive using time machine, can I then delete the photos from my computer put view them again from the external hard drive? Basically, can I free up space on my mac but not lose years of p

    If time machine puts all of my photos onto my external hard drive using time machine, can I then delete the photos from my computer but view them again from the external hard drive? Basically, can I free up space on my mac but not lose years of photos?

    To add to Niel's comment bear in mind that if you have a backup copy on an external HD and later delete the orignals on your Mac HD you will then only have one copy - so no backup.
    If the pictures are precious you should have at least two copies, and ideally another copy kept off site,

  • I able to copy and paste files from external hard drive to mac, but not the other way around. Please suggest. Thanks

    I m able to copy and paste selected files from external hard drive to my mac but not the other way around. Im not able to copy files from Mac to external hard drive.
    The same is working fine with USB flash memory.
    Please help.

    Vijay Raymond Daniel wrote:
    The only thing is we need to buy this software. if there is a free solution to inter change files between NTFS and HFS it would be better,
    Don't use NTFS, remove your data off it first and change the format to something the Mac and PC can read, but doens't cost money or require software.
    Drives, partitions, formatting w/Mac's + PC's

  • I can connect to MAC but not my PC

    I have a new Nano, that connects to Mac but not my PC. When I try to connect to PC it says "iTunes as detected a Macintosh formatted iPod. You must restore this iPod before you can use it on Windows."
    How can I get my Nano to work on both?
    Thanks!

    Windows cannot read a Mac formatted disk.
    You need to Restore on iTunes for Windows and it will then work on Mac & Windows.

  • Map Widget - Works on Mac but not in Author

    OK, I'm a nube when it comes to Dashcode just so that's out there. I managed to build a custom map widget with Google Maps. The widget works perfectly on my Macs but not in Author. In Author the default place holder remains empty. If I click "edit HTML" I get the Google map, but it's just a generic USA, not the one I created w/ places. Also iBooks refuses to import the book to my iPad until I delete this map.
    Do I need to do something or insert special code in Dashcode to make this widget "Author compatible" or are map widgets not allowed?

    jfk0404 - I believe that what you're referring to as the "unattractive cartoon-like figure in the widget" is actually the placeholder image for the widget as it appears inline on the page. Once you click that cartoon image the actual widget takes over full screen and loads the html content displaying a functional full size google map.
    To replace the cartoon icon you have a few options. The first thing to do is create a new .png file to represent your widget as the placeholder image enticing your readers to click to open the full screen widget and load its dynamic contents. Perhaps a screen grab of your map would be a good idea?
    Easy:
    Drag your brand new .png image from the Finder into your open source iBooks Author file dropping it on the cartoon image. Done.
    More Complex:
    Right click (control-click) on the xxx.wdgt file that downloaded from http://classwidgets.com and choose "Show Package Contents." A Widget file is really just a special folder bundle with a .wdgt extension. In there you will find the Default.png file. Highlight the file and press the space bar to see a preview in the Finder's QuickLook feature. That's your cartoon image. Now replace that file with the one you created above. Done.

Maybe you are looking for

  • Visual Studio Adding Controls to Full-Featured

    I am trying to modify the Full-Featured GUI - the C++ Using MFC version- in Visual Studio 2010 but nothing I do to the resource file seems to "take". I went through and added a TestStand ActiveX Listbox along with a standard button and listbox. While

  • URGENT: How to Run an existing Oracle apps page in Jdev 10g

    Hi All, I have downloaded Jdeveloper 10G with OA Extension from the patch 5856648. I am able to successfully run the "test_fwktutorial.jsp" and "HelloWordPG.xml". I need to customize an existing Oracle apps page for one of our client requirement. I'v

  • Can a PC share a hard drive connected to Airport Extreme?

    I have a new Airport Extreme with a Seagate FreeAgent Desk for Mac 1.5 TB hard drive connected via USB. The Airport connects to the internet via a Linksys Vonage router, and two Macs are set up to use the Airport via wireless. The FreeAgent drive has

  • Integrating SCCM 2012 SP1 Endpoint Protection Manager with SIEM

    Team, Does anyone know how to expose the central SCCM antimalware reporting data to external sources?  I would like to take all centrally collated security events and load the data into Arcsight express, e.g. client malware detection events.  Are all

  • Step by step details to deploy jsp in weblogic

    Hi, can any one give me a step by step details to deploy jsp in weblogic 7.. i am abs new to EJBs and weblogic... thnx sai.