#10 process cortex of fluent v12 get SEGV

closed-fixed
DRC
VirtualGL (44)
7
2015-03-27
2010-05-21
rernen
No

When fluent v12 is launched with vglrun the fluent launcher interface appears.
But then when the pre/post interface is selected and launched the underliyng cortex program dies
with an SEGV.
I already displaced LD_PRELOAD just before cortex launch in script fluent.

Discussion

  • rernen

    rernen - 2010-05-21
    • priority: 5 --> 7
     
  • DRC

    DRC - 2010-05-21

    Please post a call stack obtained from GDB. Also indicate which version of VirtualGL you are using.

     
  • rernen

    rernen - 2010-05-21

    I use virtualgl 2.1.4
    Core was generated by `/soft/ansys_inc/v120/fluent/fluent12.0.16/cortex/lnamd64/cortex.3.9.2 -f fluent'.
    Program terminated with signal 11, Segmentation fault.
    #0 0x00002ae0329705ce in do_lookup_x () from /lib64/ld-linux-x86-64.so.2
    (gdb) bt
    #0 0x00002ae0329705ce in do_lookup_x () from /lib64/ld-linux-x86-64.so.2
    #1 0x00002ae032970a77 in _dl_lookup_symbol_x () from /lib64/ld-linux-x86-64.so.2
    #2 0x00002ae033fa188e in do_sym () from /lib64/libc.so.6
    #3 0x00002ae0334ca364 in dlsym_doit () from /lib64/libdl.so.2
    #4 0x00002ae0329741f6 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
    #5 0x00002ae0334ca58d in _dlerror_run () from /lib64/libdl.so.2
    #6 0x00002ae0334ca31a in dlsym () from /lib64/libdl.so.2
    #7 0x00002ae035a31d51 in virtual thunk to std::basic_ostream<char, std::char_traits<char> >::~basic_ostream() ()
    from /usr/lib64/tls/libnvidia-tls.so.1
    #8 0x00002ae035a318ce in _nv000006gl () from /usr/lib64/tls/libnvidia-tls.so.1
    #9 0x0000000000ce9120 in ?? ()
    #10 0x0000000000ce9570 in ?? ()
    #11 0x0000000000ce9120 in ?? ()
    #12 0x00002ae0338c4e9e in virtual thunk to std::basic_ostream<char, std::char_traits<char> >::~basic_ostream() ()
    from /usr/X11R6/lib64/libX11.so.6
    #13 0x00002ae0338c56e1 in _XlcDynamicLoad () from /usr/X11R6/lib64/libX11.so.6
    #14 0x00002ae033898893 in _XOpenLC () from /usr/X11R6/lib64/libX11.so.6
    #15 0x00002ae03389894b in _XrmInitParseInfo () from /usr/X11R6/lib64/libX11.so.6
    #16 0x00002ae0338833b0 in virtual thunk to std::basic_ostream<char, std::char_traits<char> >::~basic_ostream() ()
    from /usr/X11R6/lib64/libX11.so.6
    #17 0x00002ae033884b5e in XrmGetStringDatabase () from /usr/X11R6/lib64/libX11.so.6
    #18 0x00002ae0335f3606 in virtual thunk to std::basic_ostream<char, std::char_traits<char> >::~basic_ostream() ()
    from /usr/X11R6/lib64/libXt.so.6
    #19 0x00002ae0335f4a12 in _XtDisplayInitialize () from /usr/X11R6/lib64/libXt.so.6
    #20 0x00002ae0335ebdfc in XtOpenDisplay () from /usr/X11R6/lib64/libXt.so.6
    #21 0x00000000004e8e57 in ui_init ()
    #22 0x00000000004b76d4 in CX_Server_Init ()
    #23 0x00000000004b570e in main ()

     
  • DRC

    DRC - 2010-05-21

    Try adding the -nodl switch to vglrun when you launch the app.

    Also, I'm assuming that (a) the app runs fine on the server's local display without VirtualGL and that (b) you can successfully run other applications, such as /opt/VirtualGL/bin/glxspheres64.

    Please post your nVidia driver version as well.

     
  • rernen

    rernen - 2010-05-25

    vgrun -nodl fluent -driver opengl

     
  • rernen

    rernen - 2010-05-25

    OK , thanks
    vglrun -nodl fluent is working yet

    but
    vglrun -nodl fluent -driver opengl
    is not working

    I downloaded a trace I got on the machine

     
  • DRC

    DRC - 2010-05-25

    You didn't bother to report the VirtualGL error message that's in your log file:

    [VGL] ERROR: in glXCreateContext--
    [VGL] 884: Could not obtain Pbuffer-capable RGB visual on the server

    That is critical information. Now, I will ask again-- are you able to run other OpenGL applications (such as /opt/VirtualGL/bin/glxspheres64) in VirtualGL using this same configuration?

    I will also ask again-- what is your nVidia driver version?

     
  • rernen

    rernen - 2010-05-26

    Finally I was able to run fluent with virtualgl with the command
    vglrun -nodl fluent -driver opengl

    I had several problem to solve :
    - there was another libGL in LD_LIBRARY_PATH setup in an customer init file
    - there were 2 versions of the nvidia driver installed (an old one with nvidia setup script)
    and a new one automatically downloaded from download.nvidia.com
    - the first machine crashed I had begin everything again on another machine

    I confirm that
    vglrun glxinfo
    vglrun glxspheres
    a good tests to do before launching real application

     
  • DRC

    DRC - 2010-05-26

    So, after fixing the other problems, is is still necessary to launch Fluent with the -nodl switch? If so, then I will add this to the Application Recipes section of the documentation.

     
  • rernen

    rernen - 2010-05-29

    I tested again with and without -nodl for 3 software, here is how I launch them :
    fluent v12:
    vglrun fluent -driver opengl

    star CD:
    vglrun starccm+

    abaqus 69EF1:
    vglrun -nodl /soft/abaqus69EF1/Commands/abaqus verify -all

    Abaqus is working but the following error message is seen in the shell window :
    X Error: code 1 major 0 minor 0: GLXBadContext..

     
  • DRC

    DRC - 2010-05-29

    Let me ask more directly, because I'm still not getting the answer I need:

    1. What is the exact combination of commands that make the software work correctly with VirtualGL?

    2. Is that the only combination of commands that make the software work correctly with VirtualGL?

    I want to document the procedure for launching this application with VirtualGL, and I want that procedure to use the -nodl switch only where it is absolutely necessary. Since I do not have the application, I rely on you for this information.

     
  • rernen

    rernen - 2010-05-29

    1. What is the exact combination of commands that make the software work
    correctly with VirtualGL?

    I though I was clear :

    for fluent v12.0.16:
    vglrun fluent -driver opengl
    is working and make full use of nvidia opengl driver

    2. Is that the only combination of commands that make the software work
    correctly with VirtualGL?
    vglrun fluent
    is working also but no opengl is used

    Concerning the two other software the working combination is what I wrote :

    star CD: 4.02.011
    vglrun starccm+

    abaqus 69EF1:
    vglrun -nodl /soft/abaqus69EF1/Commands/abaqus verify -all

     
  • DRC

    DRC - 2010-05-29

    I apologize. I misunderstood your statement about the error message:

    X Error: code 1 major 0 minor 0: GLXBadContext..

    Now I see that it was a non-fatal error. I will update the docs to reflect that Abaqus requires -nodl.

     
  • DRC

    DRC - 2010-05-29
    • status: open --> closed-fixed
     
  • DRC

    DRC - 2011-12-17
    • milestone: --> VirtualGL: Application-specific issue
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks