Open file dialog in java apps causes segmentation fault

Started to happen since sometime early in the java 1.5 releases (the early developer releases and still now)
Programs like Eclipse (3.1.x) and Azureus (2.3.0.x), when I try and open a file using the toolbar or menu the application dumps. I am tried repairing permissions, deleting java config/cache files, etc. No luck.
I thought I narrowed it down to either my external firewire drive or samba volume being mounted, but that seemed to just be a false positive.
here is part of the backtrace:
Local Time = Mon Jan 30 01:28:05 2006
# This JavaNativeCrash log describes the Java state at a Native Crash in a Java application.
# The corresponding native state can be found in the crash log generated by CrashReporter.
# If this error is reproducible, please report it with the following information:
# 1. Provide the steps to reproduce, a test case, and any relevant information
# 2. This JavaNativeCrash_pid<num>.crash.log (Java state)
# 3. The corresponding <name>.crash.log (native state; generated by CrashReporter)
# File report at: http://bugreport.apple.com/
# An unexpected Java error has been detected by HotSpot Virtual Machine:
# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-57 mixed mode)
# Bus Error (0xa) at pc=0xfffeff18, pid=10101, tid=25184768
--------------- T H R E A D ---------------
Current thread (0x005014f0): JavaThread "main" [thread_innative, id=-1610551960]
Stack: [0xbf800000,0xc0000000)
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.eclipse.swt.internal.carbon.OS.NavDialogRun(I)I+0
j org.eclipse.swt.widgets.DirectoryDialog.open()Ljava/lang/String;+167
dual core 2.3, 2.5gb ram, 2x36gb sata wd raptors   Mac OS X (10.4.4)  

I forgot to tell you that we in this case use a remote connection through Cisco VPN. Are there difference in how Jinitiator and SUN's JPI handle this
We also tried against other customer width the same result. It seems to have importance if you are remote or not. If you are on local LAN it seems to be the almost the same time if you use Jinitiator or SUN's JPI.
//Robert

Similar Messages

  • Open file dialog through JSF

    can any one tell me how to display a open file dialog through java Server Faces

    Not here.
    This forum addresses Sun Jave Enterprise Messaging Server, not Java programming. We're not expert with Java.

  • Some qt only programs are crashing opening the "Open File" dialog

    Hello Archers,
    I'm having some trouble to find out what's crausing the crashes, so i can properly fill a bug report upstream.
    Here is the issue:
    * After an upgrade from glibc 2.13-5 to glibc 2.14-4, some qt-only apps are crashing when i open the "Open File" dialog. This only happens when using specific KDE 4.6.4 or KDE 4.6.5 styles, like Oxygen and QtCurve.
    * Before i upgrade KDE from 4.6.4 to 4.6.5, i downgraded glibc and its dependencies to glibc 2.13-5 and the bug was gone. After upgrading KDE to 4.6.5, i didn't try the downgrade again because KDE 4.6.5 requires glibc 2.14 and the process of downgrading become unsustainable.
    * I tried removing the crashing apps data from my home directory and the crash still exists. I also tried to create a new user and start the apps from that new environment and the apps crashes, so the bug is not user-specific.
    * I tried replacing the binary nvidia driver with xf86-video-nouveau but the issue persists.
    * The apps crashing (and not applying the kde theme) are the following:
    => opera 11.50
    When opening the "Open File" dialog, it crashes with the following message:
    ------------- begin ---------------------------------
    $ opera --sync
    (operapluginwrapper:2349): Gdk-WARNING **: GdkWindow 0x7400034 unexpectedly destroyed
    (operapluginwrapper:2349): Gdk-WARNING **: GdkWindow 0x7400033 unexpectedly destroyed
    (operapluginwrapper:2349): Gdk-WARNING **: GdkWindow 0x7400032 unexpectedly destroyed
    (operapluginwrapper:2349): Gdk-WARNING **: GdkWindow 0x740001c unexpectedly destroyed
    The program 'operapluginwrapper' received an X Window System error.
    This probably reflects a bug in the program.
    The error was 'BadWindow (invalid Window parameter)'.
      (Details: serial 547 error_code 3 request_code 18 minor_code 0)
      (Note to programmers: normally, X errors are reported asynchronously;
       that is, you will receive the error a while after causing it.
       To debug your program, run it with the --sync command line
       option to change this behavior. You can then get a meaningful
       backtrace from your debugger if you break on the gdk_x_error() function.)
    ------------- end ---------------------------------
    => vlc 1.1.10
    When opening the "Open Directory" dialog, it crashes with the following message:
    ------------- begin ---------------------------------
    $ vlc
    VLC media player 1.1.10 The Luggage (revision exported)
    Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
    Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
    [0x9884a7c] main interface error: no suitable interface module
    [0x97e28fc] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
    Blocked: call to setlocale(6, "")
    Blocked: call to setlocale(6, "")
    Segmentation fault
    ------------- end ---------------------------------
    * Using other qt-only apps, like qmmp or UMPlayer the bug doesn't occur.
    So, what do you thing of this? Am i the only one with this issue? I already reported the bug report on https://bugs.archlinux.org/task/24991 and https://bugs.opera.com/wizard/, but since i latter found out that this is not opera specific, i don't know where to fill the report. 
    Thanks in advance.
    Last edited by eldarion (2011-07-09 15:15:13)

    kachelaqa wrote:
    eldarion wrote:kachelaqa, can you please confirm if it happens with vlc or opera too? Thanks for helping.
    i had to install vlc and opera to test - but i'm afraid i don't get the errors you are seeing.
    so far, qt designer is the only application i've found that crashes when opening file dialogs.
    Ok, thanks for helping.

  • WebUtil within Oracle Forms (Find File - Open File Dialog Window)

    I have successfully configured WebUtil and I can successfully execute the functions. I have been working with PKG_FIND_FILE.Selection function (which displays an Open File Dialog Window).
    I cannot figure out why the following is occurring:
    When I call the above function, the system typically displays an older dialog window (light blue / gray) window. For a brief time, we were able to bring up the "Windows looking" dialog window. I don't know what we changed in the configuration, but it is now back to the older looking light blue/gray dialog window.
    Any ideas on where in the configuration, this would cause the dialog window to switch its "look and feel"
    Thanks,
    Mike

    File dialog look has been changed because of the java version difference.
    In Java 1.4 the look is different and 1.5 shows another way.
    So check which java plugin and the version of the java
    ( go to control panel->settings -> click on java and check on version)
    Rajesh ALex

  • Please fix: Common Open File Dialog Box to support Favorites (Follow-up: Better provisioning in the Windows client)

    One more thing:
    What's missing is favorites is a way to use the favorites space in the Common Open File Dialog Box.
    Please obsolete or (re)develop components in Windows, so those components support any new workflows in Windows!
    On example of an application where you cannot use Favorites is Adobe Photoshop. It uses the Common Open File Dialog Box in Windows (which does not support Favorites).
    Comparing Finder (MacOS) with Windows Explorer - you "seem" to have the option of using favorites to pin folders.
    Well, if your application calls Windows to use the Common Open File Dialog Box - it's actually NOT POSSIBLE AT ALL to navigate to the user concepts (user folders) pinned to favorites.
    Again, the favorites namespace is completely unused (not provisioned) out-of-the-box. That's may be ok, however it's not fully implemented across Windows and just another example of stuff accumulating up to being unusable.
    What's missing is favorites is a way to use the favorites space in the Common Open File Dialog Box.
    Ref.: Better provisioning in the Windows client
    https://social.technet.microsoft.com/Forums/en-US/dbb2102f-00b7-47ca-88f2-4f88cd9d3409/followup-starting-launching-and-switching-?forum=WinPreview2014Feedback#2aba34e9-6074-4750-8f66-425bdeacc705
    https://social.technet.microsoft.com/Forums/en-US/168bb9f9-ab18-42e6-9f20-5e36e71f742c/merging-the-task-bar-and-the-start-screen-area?forum=WinPreview2014Feedback#168bb9f9-ab18-42e6-9f20-5e36e71f742c
    https://social.technet.microsoft.com/Forums/en-US/59a5bb6a-0368-4f34-bea4-b9811ac0bf8c/dont-forget-development-of-the-start-screen-remember-virtualization-of-it-too-purpose-is-hud?forum=WinPreview2014Feedback#59a5bb6a-0368-4f34-bea4-b9811ac0bf8c
    https://social.technet.microsoft.com/Forums/en-US/c10168fe-a534-44aa-a0ec-e9defc71da5f/better-provisioning-in-windows-client-remember-templates-for-the-start-screen-like-the-need-for?forum=WinPreview2014Feedback#c10168fe-a534-44aa-a0ec-e9defc71da5f

    Congrats to Carmelo!
     Windows Phone and Windows Store Apps Technical Guru - February 2015  
    Carmelo La Monica
    Windows Phone 8: control Nokia Maps (Part 3)
    JH: "Part 3 of the series how to work with the Nokia maps control. As the previous articles this one contains a lot of code snippets and some pictures. Good work!"
    Ed Price: "A great topic, a fantastic breakdown of sections with clear descriptions, and a nice mix of code formatting and helpful images! Another stellar article from Carmelo! Great job including the link back at the end to the portal
    article!"
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • What does the open file dialog do 'under the hood' and is there a way to simulate it

    What does the open file dialog do 'under the hood' and is there a way to simulate it?
    I have a bug in my code (that I've posted about before, here) which I can't fix at the moment, but I do have a workaround.
    Briefly, the bug:
    I call a dll from a function node, to initialise and run a spectrometer. If I start up the PC, LabVIEW and run my vi the code runs without complaint, the first call to the dll to initialise the spectrometer doesn;t return an error but the spectrometer is not detected either.
    I've tried various solutions, see the link above, and none work
    The workaround:
    If, at any time before running the code containing the function node I open an 'open file' dialog window, select the dll and click ok/hit enter then everything is fine. When I run the main code the spectrometer is detected.
    I use an express vi to open the file dialog, I specify the start path and file name as constant inputs and just click ok/hit return when the dialog pops up. I don't do anything with the dialog outputs. In fact the vi that contains the open file dialog can be run before the project containing the bug is even open.
    I have to do this everytime I turn the PC on.
    So, either
    1) Can somewone suggest a fix for the original bug?
    2) What is the easiest way to simulate the enter keypress when the open file dialog pops up
    or
    3) Can someone tell me what the open file dialog does under the hood that somehow causes the dll to work and can it be simulated in straight LabVIEW
    I suspect that the dll itself is dodgy ( I have in the past talked to the supplier but not got very far, and I will try again but I would like a quick, temporary solution too). I'm guessing that the file dialog is making some kind of check on the file, and possibly registering its presence with the OS (winXP). I tried using the file/folder exists vi to see if checking the file like that worked but no luck.
    Any help greatly appreciated.
    Dave

    Hi David
    I am very conscious about thread hijacking but this sounded like my issue so I hope you dont mind me asking about your issue. I am hoping that you have a spectrometer from the same vendor as me and its not just me seeing an Error 1097 issue. My spectrometer is from a company called Stellarnet.
    So far I have unable to get it to work with other VIs. There is one condition where I can get it to work but its no good for me.
    Case 1
    I open the VI in a fresh labview environment with no other VIs in memory. The code runs with no issue.
    Case 2
    Labview is not opened. I double click the spectrometer VI in windows explorer.  The VI opens but it fails to run resulting in Error 1097. Personally, I dont see the difference between this and Case 1 above and yet it fails.
    Case 3
    If I already have other VI's in memory and try to load the spectrometer VI and run it fails with Error 1097. This case is the one that most important to me. I have a test executive that will load test VIs dynamically and I can't get this to work. Same problem Error 1097.
    I wanted to share what I have seen with you and to let you know that maybe somebody else has the same issue. I am convinced its the DLL but the vendor dis-agreed saying it was LabVIEW. I couldn't convince him otherwise.
    Thanks in advance
    David

  • Open File Dialog appears TWICE when using servlet to download an attachment

    Hi,
    This is KILLING me!!! Please HELP.....
    I am using a servlet to download an xml file, which I build on the fly based on user interaction.
    The open file dialog appears nicely and I hit open. The dialog pops up again immediately and I have to click open again in order to open the file.
    This works fine when file extension is txt and I DONOT have to click twice. Here is the code:
    String xmlString = getXMLString(); //builds xml
    String fileName = "myFile.xml";
    response.setContentType("application/x-download");
    response.setHeader("Content-disposition", "attachment;filename=" +fileName);
    PrintWriter out = response.getWriter();
    out.print(xmlString);
    out.flush();
    I am using IE6.0 sp2

    http://forums.java.sun.com/thread.jspa?threadID=596940&tstart=20

  • How to Shw Open File Dialog Box

    Hi all,
    Can anyone help me plz.
    I am designing an interface using forms 9i where data entry operator has to insert data for products in the database. Also we want to store the image of the product. so I want to show an open File Dialog box from where user can pick a file and click ok & if it returns the file name with complete path, then i can read the contents of image using read_image_file.
    So, is there any Oracle built-in for that???
    Thanks in advance

    Thanks Ronald webutil worked successfully.
    But i am facing following error when i try to go to the Canvas provided by the Webutil setup(olb).
    Error is given Below:
    1. FRM-13008; Can't find java bean with name 'oracle.forms.webutil.ole.OleFunction'.
    Previously it was giving errors on all JavaBean classes then i put the path of webutil.jar file in registry as given in the documention. It works ok for other java beans but why above error is coming.
    plz Help.

  • How to get an open file dialog in Forms 9i?

    Although in online help I can find the get_file_name function just like it was in Forms 6.0, at runtime this wonderful function doesn't seem to do anything.
    Furthermore, there is no more d2kwutil.pll, nor d2kwutil.dll.
    How could I get an open file dialog?

    Hi,
    actually this functionality does not work. The reason for this is that Forms9i is Web only and there is no functionality downloaded with the generic Java Applet. For the moment I filed an enhancement request to have this on our radar. Meanwhile, if you need thi sfunctionality you can help yourself by writing a PJC that opens a dialog and performs the action that you want to.
    Frank
    Forms Product Management

  • How to disable Open File dialog in Preview

    After I upgraded from Mavericks to Yosemite, Preview app started popping up the Open File dialog box every time I launch it.  It used to just launch and do nothing.
    Is there a way to prevent Preview in Yosemite to present the Open File dialog box to the user?  I vaguely recall a "defaults write" kind of command that would disable this feature.
    The use case this behavior is breaking is as follows:
    1. Want to take a screenshot and save it to a file.
    2. Press Cmd-Ctrl-Shift-4 to snap a screenshot and save it on the clipboard.
    3. Cmd-Space to bring up Spotlight, type Preview and launch Preview
    4. Cmd-N to instruct Preview to paste the contents of the clipboard to a new file.
    With Yosemite, step-4 above breaks, since I have to hit Esc first to clear the dialog box.

    Try this it will give the full directory structure.
    REPORT  ZTEST3460  line-count 30(2)   .
    PARAMETERS: FILE LIKE RLGRAP-FILENAME.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR FILE.
                         CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
                         EXPORTING
                           DIRECTORY              = ' '
                           FILEMASK               = ' '
                          IMPORTING
                            SERVERFILE             = FILE
                         EXCEPTIONS
                           CANCELED_BY_USER       = 1
                           OTHERS                 = 2
    Cheers

  • Illustrator CS3 crashes in "Open file" dialog when making a copy of a file

    Hi!
    I have a user, who has quite a weird problem. We use the Design Standard CS3 package, since we can't afford to upgrade all 20 users to CS5 right now.
    The problem occurs in Illustrator, when she goes to the "Open File" dialog. She often makes copies of files in there (ctrl+c, ctrl+v), so she has a backup of the file she's currently working on. Why she won't use Explorer to do that, I can't say.. she said something about it being easier this way.
    The problem is, that often when she presses ctrl+v Illustrator crashes without warning. Usually when Illustrator crashes there's a warning about not enough memory, an error report or stuff like that, but none of that happens. It's fully patched (13.0.2), and there's no problem with the Print Spooler or the default printer.
    I'm unable to replicate it on my computer, unfortunately, so I'm turning to you. Have any of you ever heard about this, seen it somewhere - and do you know what causes it?
    Best regards,
    Thomas

    Sorry, forgot to add that she's running Windows XP SP3, fully updated, 32-bit on a HP Z400 Workstation.

  • I want to change the default file type in the Open File dialog - e.g. from Word to All Files

    I want to change the default file type in the Open File dialog - most recently specifically in Adobe Acrobat, from Adobe Files to All Files, so I don't have to do it again and again manually.  Is this possible?  Is it an OS setting or an app-specific setting?

    The Apps set the default to the file type it can open, sort of. However, there normally isn't a type specified. All document types that the app can handle will be offered.
    Adobe, and Microsoft, tend to roll their own dialogs, so they may not be standard. I don't have Acrobat, so I can't verify that. If Adobe is puting a file type selector in their open file dialogs, it would be up to them to store the preferences.
    EDIT: I checked Reader, and i see what you mean. Not terribly useful.
    Message was edited by: Barney-15E

  • "Preview this File" Does Nothing + Blinding GTK+ open file dialogs...

    ...I have two problems in KDEMod4...did anyone have these problems and how do you fix them?
    Right clicking a file and clicking "Preview this File" does nothing...including folder views, Konqueror, and Dolphin.
    GTK+ open file dialogs alternate between the normal background for my text box and blindingly white background.

    Hi,
    I also have the same problem, but with my JNI and C++ expertise, I was able to isolate the problem.
    My platform:
    - Microsoft Windows XP, Family Edition (French), Version 2002, Service Pack 3
    - JRE 1.6.0_21
    In the source of the JDK6 (Src/windows/classes/sun/awt/windows/WDesktopPeer.java), the Desktop.open(file) calls the native method
    ShellExecute(*uri.toString()*, "open")
    For example, if you try to open "c:\helloworld.pdf",
    uri.toString() = "*file:/c:/helloworld.pdf*"if I call ShellExecute("C:\\helloworld.pdf", "open"), it works
    but if I call ShellExecute(" file:/c:/helloworld.pdf", "open"), it doesn't work on my platform.
    In both case, the ShellExecuteW or ShellExecuteA function of the Windows API return the integer 42 (> 32), saying that the functions succeeded. If the file object is not correct, the function should return a value <= 32.
    => The bug is not due to Java implementation, but to a bug in the Windows API.
    Other remark:
    I also tried the "ShellExec_RunDLL" entry point of the Shell32.dll library using RunDll32 utility. Both commands below are running correctly:
    rundll32 SHELL32.DLL,ShellExec_RunDLL "C:\hello.pdf"
    rundll32 SHELL32.DLL,ShellExec_RunDLL "file:/C:/hello.pdf"My conclusion:
    1) A workaround could be implemented in the JRE: use the file path without the "file:/" protocol prefix.
    2) This bug seems to be present only one some version of Windows XP (to confirm).
    Rodolphe.

  • I am trying to open CR2 files from a Cannon EOS 1DX camera in Photoshop CS6 and I have already updated the Camera Raw Plug in but Photoshop is still giving me the cannot open files dialog box? Help?

    I am trying to open CR2 files from a Cannon EOS 1DX camera in Photoshop CS6 and I have already updated the Camera Raw Plug in but Photoshop is still giving me the cannot open files dialog box? Help?

    Canon 1DX support was added to ACR in version 6.7, 7.1.  An updated CS6 should be at level ACR 8.6.  If your ACR is not at level 8.6 try using CS6 menu Help>Updates.  If that does not install ACR 8.6 try downloading the ACR and DNG 8.6 converter and see if ACR 8.6 will install into your CS6.
    Adobe - Adobe Camera Raw and DNG Converter : For Windows
    Adobe - Adobe Camera Raw and DNG Converter : For Macintosh

  • Open File dialog in 1.1.0.21

    This is an old issue which I thought was supposed to be resolved in 1.1, but whenever you go to the open file dialog, it still always starts in the installation directory. It does not remember the last directory used and I cannot find anything in the global preferences that enables you to specify a preferred default location. There is a feature request that is marked as complete in 1.1 which kind-of covers this issue but relating to saving files, but the behaviour of both the save file and open file dialog is the same as it was.
    Using build MAIN-21.41 on windows xp.

    I too was disappointed that this promised enhancement was left out of version 1.1. However, I found a workaround that helps minimize the problem.
    If you have a Windows Explorer window open to the folder where your SQL file resides, you can drag-and-drop the file into SQL Developer to open it. The trick is that you must drag your cursor to the tab bar area of the SQL Developer window to get the file to open in a new tab. Dragging it to the editor section of the SQL Developer window will not open the file.
    Paul

Maybe you are looking for