Python-matplotlib: segmentation fault error

Hi All!
I'm new an the forum and for my first post I'd like to be expose an issue that I face with the matplotlib tool of python. More precisely, I recently used the apt package to install python, nympy and matplotlib on a linux 64b computer. Everything seemed to be working well expect that when I try to import matplotlib (import matplotlib.pyplot as m for eg.) I get a segmentation fault error.
I´ve been trough several forums trying to apply their suggestions but I could not overcome this issues. Do anybody can give me insight on how to fix this?
Thank you and have a good week-end!
L1011

Honestly I'm not familiar with apt on arch, but if you're comfortable installing software from AUR you can try the package build I just cooked up for matplotlib with python3 support:
http://aur.archlinux.org/packages.php?ID=49810
(I'm assuming you were trying to get python3 support, else you would have just installed python2-matplotlib with pacman...)

Similar Messages

  • Segmentation fault error while connecting from forms server

    Hi,
    From Oracle Forms application client, if I give sqlplus /nolog it works fine where as if I give sqlplus username/password@DATABASEBNAME, it is giving Segmentation fault error.
    Could any one help? This problem is existing if I execute the command as oracle account. If I execute as non-oracle user (who has all privileges to run oracle stuff and all environment varilables like HOME, LD_LIBRARY_PATH, CLASS_PATH etc all stuff are correctly set)
    Thanks in advance.

    Hi David,
    What is Gateway, How I have to setup, Please let me know.
    I tried according to the Demo, But still I am facing the same problem. Which system IP I have to put in the host details.
    Can u please let me know.
    Regards,
    Kumar.

  • Segmentation Fault Error onR12.1.1(64 bit) Installation on Linux 5.5-64 bit

    Dear Friends,
    I am Installing a Oracle E-Biz R12.1.1 (64 bit) on Red Hat Enterprise Linux Server release 5.5 (Tikanga) 64-bit.
    While Installining R12.1.1, DB Tier, Configuration Upload failed. Also, when we checked from server, sqlplus, lsnrctl tnsping... every thing giving Segmentation Fault Error.
    All the RPM's are Installed.
    Please let me know if there is any fix.
    Regards,

    Hi;
    Please check log file for more details about error
    How to locate the log files and troubleshoot RapidWiz for R12 [ID 452120.1]
    Regard
    Helios

  • Segmentation fault error during data load in parallel with multiple rules

    Hi,
    I'm trying to do sql data load in parallel with multiple rules (4 or 5 rules, maybe), i'm getting a "segmentation fault" error. I tested 3 rules file and it worked fine. we're using Essbase system 9.3.2., with UDB (v8) as the sql data source. ODBC driver is DataDirect 5.2 DB2 Wire Protocol Driver (ARdb222). Please let me know if you have any information on this.
    thx.
    Y

    Hi Thad,
    I was wondering, if system is unicode or non unicode that should not matter the amount and currency field . As currencies are defined by SAP and it is in pure English at least a currency code part of 3 Chars. 
    Could this because of some incosistency of data ??
    I would like to know for Which currency  had some special characters it it in that particular record ??
    Hope that helps.
    Regards
    Mr Kapadia

  • " getline(cin,stream) "  gives segmentation fault error

    Hi
    In our application, we have a client and a server. Client and server communicate from network with inetd services. server listens the port with fd_set and get the the string with " select " as a command line argument. everything looks fine in communication but when the client sent a string over the network and server tries the read with getline(cin,stream ), application throws a segmentation fault error.
    Code:
    struct timeval t;
    t.tv_sec=60;
    t.tv_usec=0;
    fd_set rset;
    FD_ZERO(&rset);
    FD_SET(STDIN_FILENO, &rset);
    if(select(2, &rset,NULL,NULL,&t) == 0)
    return NULL;
    getline(cin, stream); *//application crashes here*
    How can we solve this error ?
    thanks for your kindly answers.
    regards
    aykut

    Aykut wrote:
    Thanks for your addressing Andrew. i have already tried it. nothing have changed. well, i have read SunStudio11_Cpp_UserGuide and applied what it says. i think, my error is not related with standart compiler. this caused by 3rdparty tools. i am working on them right now.It's quite possible that your 3rd party tools are causing your problem, but given the dependencies between the C++ run-time libraries and the thread library, the link statement you provided earlier still has problems:
    /sunpro/11/bin/CC -xildoff /dev_obj/users/src/project/sample.o -L/dev_obj/users/src/lib -lcommonCode -L/3rdparty/sybase/ebf10536/lib -lblk_r -lct_r -lcs_r -lcomn_r -ltcl_r -lintl_r -L/usr/lib -lCstd -lnsl -ldl -lthread -lposix4 -lintl -lresolv -lsocket -lc -lcrypt -L/usr/perl5/5.00503/sun4-solaris/CORE -lperl /usr/perl5/5.00503/sun4-solaris/auto/DynaLoader/DynaLoader.a -L/3rdparty/roguewave/SUNPRO60/12s/lib -lctl12s8 -ldbt12s8 -ltls12s8 -L/3rdparty/roguewave/SUNPRO60/12s/lib -lstd12s8 -o /dev_obj/users/src/project/sampleYou should remove "-L/usr/lib -lCstd" from your link step, and probably "-lc" also.
    Also, your compile steps include the "-staticlib=libC" option, but your link step does not. That may or may not cause problems. You can try adding it to your link step, but try that after removing the extra library options, because that option probably does nothing when supplied to a compile-only step.
    Finally, what patch level are patches 108434 and 108434 at? The latest versions of those patches are 108434-24 and 108435-24:
    http://developers.sun.com/sunstudio/downloads/patches/ss11_patches.html
    In my experience, the patch levels have a huge impact on C++ run-time issues. Note that there are dramatic dependencies on the levels of those patches. Do not compile on a machine at 108434-24 and try running on a machine at 108434-14, for example. All your machines pretty much must be at the same patch level for these series of patches.
    If none of that works, and you can't isolate the problem to your third-party tools, you can try using the newer thread library, located in /usr/lib/lwp and /usr/lib/lwp/64, IIRC (I don't have access to a Solaris 8 box right now to check). You can add "-R/usr/lib/lwp" to your link statement and pick up the newer thread model.
    You should also explore upgrading Solaris. Solaris 8 is pretty much no longer supported and as you're finding out, there are some rather intricate dependencies under Solaris 8 that Sun really did a good job removing in Solaris 9 and especially Solaris 10.

  • InDesign Server CS6 (MacOS) - JavaScripting & Troubleshooting "Bus error" or "Segmentation fault"

    I'm attempting to convert a workflow from InDesign CS5.5 Desktop with AppleScript to InDesign Server CS6 with JavaScript. It seems most of our templates work fine but every now and then I run into one that seems to work properly but right after we export to PDF and JPG which is the final step in the script I get either a Bus error or a Segmentation fault error. The files do export and the console sits idle for a few seconds then I get the crash. It doesn't seem to give me anything else and I can't find a crash dump or core file anywhere on disk to examine.
    The exact same input files on InDesign CS5.5 Desktop completing a very similar automation task via AppleScript work without an issue or error. I'm not certain if it's a problem with the way the InDesign files were put together, a version problem between a CS5.5 file and CS6, or something that I'm doing wrong in the script.
    Is there a way to get InDesign Server to go into debug or verbose mode so that it will show more than just two word errors on crash?  I've read a few people talking here about the debug version but every path I've found to get access to the debug version runs into a roadblock with a bad link.
    I would appreciate a point in the current right direction for how to debug these templates this script.

    Re: verbose mode. These are not InDesign error messages. They are system errors, saying that an app (InDesign?) crashed, went away, hence could not issue any kind of message. Crash logs are the place to start. If they don't help, and the crash is outside your code, after that it's over to the maintainer (Adobe?)
    Worth sharing a suitable crash log, as the list of routines active at the crash can narrow down issues.

  • Limitation on number of roles in oracle menu or segmentation fault in menu

    Hi All,
    Is there any limitation on the number of roles we can have in oracle menu? We are having around 300 roles created in our menu and after that if we try to add new role we are not able to compile the menu file. In the windows the form builder closes abruptly and in Linux it gives us segmentation fault error. Did anyone face the problem? Also if there is any solution then please provide the same.
    Please let me know.
    Thanks in advance!
    Ashish

    I just wonder how many forms do you have that you needed to create 300 roles. We normally create a role for one set of users. It means you've 300 different set of users for your application !!.

  • Segmentation Fault in db- put() fun with BDB ver 4.5.20/4.6.19 in linux

    I am working on porting an application that runs on sun solaris sparc (OS ver 5.8) with Berkeley DB ver 4.2.50 into suse linux [ Linux version 2.6.5-7.244-smp (gcc version 3.3.3 (SuSE Linux)) ]. I have compiled the application in linux and i am getting segmentation fault error while running the application. The error occurs while the objects are loaded from the database into berkeley cache. The application fails in db->put function while loading the objects. This segmentation fault error is not consistently occuring every time on the same object. Sometimes it throws the error while loading the first object itself or sometimes it throws after loading couple of objects. But the stack trace shows the same function whenever it crashes.
    Given below is the stack trace of the application when it throws SIGSEGV.
    [INFO] [-1756589376] 14:23:24.406 BerkeleyCache : restoring database table metadata for table [BSCOffice]...
    [INFO] [-1756589376] 14:23:24.406 BerkeleyCache : restoring database index metadata for table [BSCOffice]...
    [INFO] [-1756589376] 14:23:24.408 Obj [BSCOffice] Col [BSCOfficeId] : Typ[TEXT] MaxLen[10] Null[Y]
    [INFO] [-1756589376] 14:23:24.408 Obj [BSCOffice] Col [City] : Typ[TEXT] MaxLen[100] Null[Y]
    [INFO] [-1756589376] 14:23:24.408 BerkeleyCache : creating table [BSCOffice.tbl]
    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 182927004352 (LWP 14638)]
    0x0000002a9643203a in __db_check_txn () from /opt/home/pesprm/local/db-4.6.19/db-4.6.19/build_unix/.libs/libdb-4.6.so
    (gdb) where
    #0 0x0000002a9643203a in __db_check_txn () from /opt/home/pesprm/local/db-4.6.19/db-4.6.19/build_unix/.libs/libdb-4.6.so
    #1 0x0000002a9643475b in __db_put_pp () from /opt/home/pesprm/local/db-4.6.19/db-4.6.19/build_unix/.libs/libdb-4.6.so
    #2 0x000000000043586b in esp::BerkeleyCache::insert_i (this=0x7fbfffe380, transactionId=866640768, pObj=0x7fbfffd3e0) at BerkeleyCache.cpp:838
    #3 0x00000000004119c5 in RefServer::loadObject (this=0x7fbfffdbe0, objInfo=<value optimized out>, strPrimaryObjName=@0x7fbfffd6f0,
    procParams=<value optimized out>) at BerkeleyCache.h:569
    #4 0x0000000000419166 in RefServer::loadObjects (this=0x7fbfffdbe0) at RefServer.cpp:579
    #5 0x0000000000419748 in main (argc=<value optimized out>, argv=<value optimized out>) at RefServer.cpp:296
    The code that calls the db->put() function is given below:
    <pre>
    bool BerkeleyCache::insert_i(size_t transactionId, const CachePersistable* pObj)
         bdbcache::Table* pTable = findTable_i(pObj->getPersistInfo().getObjectName());
         if (pTable == NULL)
              return false;
         DB_TXN* txnp = (DB_TXN*)transactionId;
         if (txnp == NULL)
              return false;
         bdbcache::Index* pPrimaryKey = pTable->getPrimaryKey();
         if (pPrimaryKey == NULL)
              return false;
         if (pTable->getDataOffset() == -1)
              pTable->setDataOffset( (int)(pObj->getDataBufferStartPos() - pObj->getDataStartPos()) );
         DB* pdb = pTable->getDB();
         int rc = 0;
         Synchronize sync(pPrimaryKey->getKeyBufferCriticalSection());
         pPrimaryKey->getKeyValues(pObj, pPrimaryKey->getKeyBuffer());
         DBT key, data;
         memset(&key, 0, sizeof(DBT));
         key.flags = DB_DBT_USERMEM;
         key.data = (void*)pPrimaryKey->getKeyBuffer().getBuffer();
         key.ulen = key.size = pPrimaryKey->getKeyBuffer().getBufferLength();
         memset(&data, 0, sizeof(DBT));
         data.flags = DB_DBT_USERMEM;
         if (pTable->isPrimaryDb())
              data.data = (void*)pObj->getDataBufferStartPos();
              data.ulen = data.size = pObj->getDataBufferSize();
              rc = pdb->put(pdb, (DB_TXN*)transactionId, &key, &data, DB_NOOVERWRITE);
         else
              const PersistInfo::Property* prop = pTable->getJoinProperty();
              Variant var = pObj->getValue( prop );
              int n = 0;
              switch (prop->_eType)
                   case PersistInfo::CHAR_ARRAY:
                   case PersistInfo::STRING:
                   case PersistInfo::VAR_STRING:
                        const char* pch = (const char*)var;
                        data.data = (void*)pch;
                        data.ulen = data.size = (int)strlen(pch) + 1;
                        break;
                   case PersistInfo::INT:
                        n = (int)var;
                        data.data = (void*)&n;
                        data.ulen = data.size = sizeof(int);
                        break;
              rc = pdb->put(pdb, (DB_TXN*)transactionId, &key, &data, 0);
         if (rc!= DB_SUCCESS)
              //_app.logError("BerkeleyCache : DB->put() failed [%s]", db_strerror(rc));
              _app.logInfo("ERROR:BerkeleyCache : DB->put() failed [%s]", db_strerror(rc));
              return false;
         return true;
    </pre>
    At the end of this function, the return value of db->put is checked for DB_SUCCESS. The application never executed this line when it throws SIGSEGV.
    I have tried using the BDB versions 4.5.20/4.6.18/4.6.19 with the application and it throws segmentation fault error with all versions of BDB. Following are the cache related configurable parameters that we use in our application.
    cache size = 16 MB
    page size = 16 KB
    max locks = 3000000
    dirty read = N
    We are using the Sybase Adaptive DB server running in Solaris/Linux servers. The same application that runs in Solaris connecting to Sybase DB (in solaris) is working perfectly fine. And the application that i am working in linux connects to the Sybase DB running in linux server.
    Please let me know what could be the issue that is causing our application to segmentation fault.
    Thanks
    Senthil

    I am working on porting an application that runs on
    sun solaris sparc (OS ver 5.8) with Berkeley DB ver
    4.2.50 into suse linux [ Linux version
    2.6.5-7.244-smp (gcc version 3.3.3 (SuSE Linux)) ].
    I have compiled the application in linux and i am
    getting segmentation fault error while running the
    application. The error occurs while the objects areWhich indicates in almost every typical case, for a well used library like berkeleydb, an application issue.
    loaded from the database into berkeley cache. The
    application fails in db->put function while loading
    the objects. This segmentation fault error is not
    consistently occuring every time on the same object.Also indicative of typical misuse of heap, pointer errors, or otherwise undefined behavior on the application's part.
    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 182927004352 (LWP 14638)]
    0x0000002a9643203a in __db_check_txn () from
    /opt/home/pesprm/local/db-4.6.19/db-4.6.19/build_unix/
    .libs/libdb-4.6.so
    (gdb) where
    #0 0x0000002a9643203a in __db_check_txn () from
    /opt/home/pesprm/local/db-4.6.19/db-4.6.19/build_unix/
    .libs/libdb-4.6.so
    #1 0x0000002a9643475b in __db_put_pp () from
    /opt/home/pesprm/local/db-4.6.19/db-4.6.19/build_unix/
    .libs/libdb-4.6.so
    #2 0x000000000043586b in
    esp::BerkeleyCache::insert_i (this=0x7fbfffe380,
    transactionId=866640768, pObj=0x7fbfffd3e0) at
    BerkeleyCache.cpp:838
    #3 0x00000000004119c5 in RefServer::loadObject
    (this=0x7fbfffdbe0, objInfo=<value optimized out>,
    strPrimaryObjName=@0x7fbfffd6f0,
    procParams=<value optimized out>) at
    BerkeleyCache.h:569
    4 0x0000000000419166 in RefServer::loadObjects
    (this=0x7fbfffdbe0) at RefServer.cpp:579
    #5 0x0000000000419748 in main (argc=<value optimized
    out>, argv=<value optimized out>) at
    RefServer.cpp:296Did you build the libraries stripped or otherwise remove debugging information?
    run "file /opt/home/pesprm/local/db-4.6.19/db-4.6.19/build_unix/.libs/libdb-4.6.so"
    Also, if I'm not mistaken this is Linux you're porting to, right? Might want to drop the "/opt" Solaris-ism as you continue to port more to Linux.
    The code that calls the db->put() function is given
    below:
         if (pTable->getDataOffset() == -1)Does this return an unsigned or signed value?
    pTable->setDataOffset(
    t( (int)(pObj->getDataBufferStartPos() -
    pObj->getDataStartPos()) );You cast to int here, what's the background reasoning for it?
         DB* pdb = pTable->getDB();
         int rc = 0;You don't check pdb is valid.
    Synchronize
    e sync(pPrimaryKey->getKeyBufferCriticalSection());
    pPrimaryKey->getKeyValues(pObj,
    , pPrimaryKey->getKeyBuffer());
         DBT key, data;
         memset(&key, 0, sizeof(DBT));
         key.flags = DB_DBT_USERMEM;
    key.data =
    = (void*)pPrimaryKey->getKeyBuffer().getBuffer();Do you verify this is even valid? Have you also checked the code within a debugger and verified the logic is correct?
    key.ulen = key.size =
    = pPrimaryKey->getKeyBuffer().getBufferLength();Same thing.
         memset(&data, 0, sizeof(DBT));
         data.flags = DB_DBT_USERMEM;
         if (pTable->isPrimaryDb())
              data.data = (void*)pObj->getDataBufferStartPos();
              data.ulen = data.size = pObj->getDataBufferSize();How do we know these are even valid? You're coming from the perspective that your code makes no mistakes when I have a hunch it does.
    rc = pdb->put(pdb, (DB_TXN*)transactionId, &key,
    y, &data, DB_NOOVERWRITE);Right, and this will most definitely result in a segmentation violation if you don't pass it valid data.
    You're on Linux, I highly suggest you download and build Valgrind, run your application w/ valgrind --tool=memcheck, and get back to us. Also, don't strip debugging information from the berkeley db libraries during this phase of troubleshooting - especially when you're still porting something over.
    I have tried using the BDB versions
    4.5.20/4.6.18/4.6.19 with the application and it
    throws segmentation fault error with all versions of
    BDB.Because the issue isn't within BDB.
    We are using the Sybase Adaptive DB server running in
    Solaris/Linux servers. The same application that
    runs in Solaris connecting to Sybase DB (in solaris)
    is working perfectly fine.More correctly, it was working perfectly fine under Solaris. That doesn't even mean that it's not taking part in undefined behavior - it just means it "worked."

  • Segmentation fault during index

    Can anyone tell me where to start looking to find out why I'm getting a "Segmentation fault" error while trying to "addIndex" to a container via the dbxml command line? I'm getting this in my messages logs:
    dbxml[8825]: segfault at ecd3000 ip 00957faa sp bfc65060 error 4 in libdbxml-2.4.so[80f000+278000]
    OR
    dbxml[8937]: segfault at 0 ip 00493fea sp bfd7e07c error 4 in libc-2.8.so[41d000+163000]
    That's about all I know...
    Any thoughts?
    Thanks,
    Kevin

    Kevin,
    You'll have to debug this. If you have a debug build you can run the dbxml shell under gdb.
    Regards,
    George

  • Segmentation fault while install Grid 11.2.0.3

    Hi guys.
       I try to install  a stand alone oracle Database 11.2.0.3 with ASM over a RedHat 6.4 x86_64 Vmware server.
    Hardware
    4 cores
    32 GB RAM
    Vmware server 5.1.0
    Operating System
    RedHat 6.4 x86_64, 2.6.32-358.6.2.el6.x86_64 (update today with yum update).
    All needs packages installeds (i think so).
    Vmware tools installed and updated.
    Software
    p10404530_112030 software packages.
    Disk are mapping with udev/multipath, not ASM.
    Installing steps.
    1.- Execute enviroment shell.
    ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
    ORACLE_SID=+ASM; export ORACLE_SID
    ORACLE_HOME=/u01/app/11.2.0.3/grid; export ORACLE_HOME
    PATH=$PATH:$ORACLE_HOME/bin:$BASE_PATH; export PATH
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
    CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
    2.- Execute Grid runInstall
    3.- Chose Configurarion Grid for Standalone server.
    4.- ASM disk are founded, listed and selected.
    5.- Requirement validator only warning pdksh package, but Redhat 6 has ksh package (and it's installed). So, i ignored that warning and continue.
    6.- Install process start fine.
    7.- Install process want executed root scripts
    [root@oraclepruebas ~]# /u01/app/oraInventory/orainstRoot.sh
    Changing permissions of /u01/app/oraInventory.
    Adding read,write permissions for group.
    Removing read,write,execute permissions for world.
    Changing groupname of /u01/app/oraInventory to oinstall.
    The execution of the script is complete.
    [root@oraclepruebas ~]# /u01/app/11.2.0.3/grid/root.sh
    Performing root user operation for Oracle 11g
    The following environment variables are set as:
        ORACLE_OWNER= oracle
        ORACLE_HOME=  /u01/app/11.2.0.3/grid
    Enter the full pathname of the local bin directory: [/usr/local/bin]:
       Copying dbhome to /usr/local/bin ...
       Copying oraenv to /usr/local/bin ...
       Copying coraenv to /usr/local/bin ...
    Creating /etc/oratab file...
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root script.
    Now product-specific root actions will be performed.
    Using configuration parameter file: /u01/app/11.2.0.3/grid/crs/install/crsconfig_params
    Creating trace directory
    LOCAL ADD MODE
    Creating OCR keys for user 'oracle', privgrp 'oinstall'..
    Operation successful.
    LOCAL ONLY MODE
    Successfully accumulated necessary OCR keys.
    Creating OCR keys for user 'root', privgrp 'root'..
    Operation successful.
    Failure with signal 11 from command: /u01/app/11.2.0.3/grid/bin/crsctl pin css -n oraclepruebas
    Pin node (/u01/app/11.2.0.3/grid/bin/crsctl pin css -n oraclepruebas) ... failed
    So, if i execute crsctl command, i have a nice Segmentation fault error, but if i try to execute another grid command, everyting is fine.
    [root@oraclepruebas oracle]#  /u01/app/11.2.0.3/grid/bin/crsctl
    Segmentation fault
    [root@oraclepruebas oracle]#
    [root@oraclepruebas oracle]#  /u01/app/11.2.0.3/grid/bin/ocrcheck
    Status of Oracle Cluster Registry is as follows :
             Version                  :          3
             Total space (kbytes)     :     262120
             Used space (kbytes)      :         92
             Available space (kbytes) :     262028
             ID                       :  756593197
             Device/File Name         : /u01/app/11.2.0.3/grid/cdata/localhost/local.ocr
                                        Device/File integrity check succeeded
                                        Device/File not configured
                                        Device/File not configured
                                        Device/File not configured
                                        Device/File not configured
             Cluster registry integrity check succeeded
             Logical corruption check succeeded
    This is weird, because i has installed a RAC 11.2.0.3 databases and standalone databases (all with grid) over Vmware and RedHat 6.4 and works fine. I have even compared the rpm packages between a functionally installation with this server and matched all !!!.
    I think that i am making a mistake, but i can't see it. I wan't reinstall or clone a funcionally virtual machine, because i want to learn with my mistake.
    I has googled too much and i searched into metalink but i can't find something similar.
    I apreciate your help, suggestions, anything.

    I had similar issue while installing 32bit version by mistake. Just to checkyou have x86-64 in the filenames of oracle software distribution
    p10404530_112030_Linux-x86-64_1of7.zip
    p10404530_112030_Linux-x86-64_2of7.zip
    p10404530_112030_Linux-x86-64_3of7.zip
    Regards
    Ed
    http://erudans.blogspot.com

  • OIM 11g Installation - Oracle_IDM1/bin/config.sh : segmentation fault

    Hello,
    I'm installing all the components on a single machine : CentOS 5.5 64bits (equivalent to RH5.5).
    Here are the steps that I followed :
    1) I installed Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 and WebLogic Server Version: 10.3.3.0
    2) I applied the Repository Creation Utility ofm_rcu_linux_11.1.1.3.3
    3) I installed SOA Suite ofm_soa_generic_11.1.1.2.0 then patched it using ofm_soa_generic_11.1.1.3.0 (Installation without configuration)
    4) I installed Oracle Identity and Access Management ofm_soa_generic_11.1.1.3.0
    5) I created a Weblogic domain using +$ORACLE_MWHOME/Oracle_IDM1/common/bin/config.sh+
    6) I started Weblogic and the Node Manager
    7) When I run the configuration tool cd $ORACLE_MWHOME/Oracle_IDM1/bin then +./config.sh+ I had a segmentation fault error :
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-03-08_02-13-15PM. Please wait ..../config.sh: line 159: 11022 Segmentation fault      $INSTALLER_DIR/runInstaller -weblogicConfig ORACLE_HOME="$ORACLE_HOME" -invPtrLoc $ORACLE_HOME/oraInst.loc -oneclick $COMMANDLINE -Doracle.config.mode=true
    when I run it using strace, I saw that the installer can't find a libc.mo file :
    open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    write(2, "./config.sh: line 159:  8897 Seg"..., 209./config.sh: line 159:  8897 Segmentation fault      $INSTALLER_DIR/runInstaller -weblogicConfig ORACLE_HOME="$ORACLE_HOME" -invPtrLoc $ORACLE_HOME/oraInst.loc -oneclick $COMMANDLINE -Doracle.config.mode=true
    +) = 209+
    So I made a symbolic link to one that actually exists :
    sudo ln -s /usr/share/locale/en_GB/LC_MESSAGES/libc.mo /usr/share/locale/en/LC_MESSAGES/libc.mo
    Now the installer can find it, but I still have a segfault :
    open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = 3
    +fstat(3, {st_mode=S_IFREG|0644, st_size=1474, ...}) = 0+
    mmap(NULL, 1474, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b2d76c27000
    close(3)                                = 0
    write(2, "./config.sh: line 159:  9160 Seg"..., 209./config.sh: line 159:  9160 Segmentation fault      $INSTALLER_DIR/runInstaller -weblogicConfig ORACLE_HOME="$ORACLE_HOME" -invPtrLoc ORACLE_HOME/oraInst.loc -oneclick $COMMANDLINE -Doracle.config.mode=true
    +) = 209+
    Any idea on what would be the reason for that ?
    Thanks in advance !

    Translated:
    Not certified means in case of an error, you are on your own. Usual advice, try the same with a certified OS. If the issues persists, you can file a support ticket.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                           

  • Segmentation Fault when connecting to SQL*Plus from Applications tier

    Hi Everyone -
    I am currently in the process of upgrading a client from 11.5.10.2 to 12.1.1 (eventually 12.1.3) on a OEL x86-64 server. I have laid down the software stack and followed all of the requirements as per the Installation manuals and 761566.1. I also have an open SR right now on this issue - but I wanted to see if any of you have ever run into the issue that I am encountering.
    When I try to run adadmin/adpatch - I get to the prompt of providing the system user password and the utility simply exits. No errors in adpatch.log or adadmin.log (both are 0 bytes in size).
    When I try to connect using SQL*Plus from the applications tier using either:
    sqlplus apps/****@SID
    sqlplus system/****@SID
    I get a Segmentation Fault error. There are also no errors in my alert log file on the database tier. I found this error while attempting to apply the upgrade merge patch.
    Has anyone ever seen s Segmentation Fault error? I have search MOS, found a couple of potential solutions - but nothing has solved the issue so far.
    Thanks in advance...
    Brenna

    >
    Are you on 11.1.0.5.0? Is this the database version?
    No, my database tier is 11.2.0.3 (the database version displayed above was the client version running on the Application Tier.
    Who is the owner of the application tier files? If it is applmgr user, please make sure you login as that user and source the application env file before running sqlplus -- Please issue "echo $ORACLE_HOME" and "which sqlplus" and post the output here.
    My owner of the application tier is oracle. I have sourced the environment using $APPL_TOP/APPSR12Dev1_******.env
    [oracle@****** log]$ echo $ORACLE_HOME
    /u01/app/oracle/R12Dev1/apps/tech_st/10.1.2
    [oracle@****** log]$ which sqlplus
    /u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/bin/sqlplus
    >
    Please relink sqlplus by issuing "$ORACLE_HOME/bin/relink all > relink.txt 2>&1" and check the relink.txt file for any error
    A number of errors occur during the relink, here are some of them:
    /u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/bin/genclntsh
    /usr/bin/ld: warning: i386:x86-64 architecture of input file `/u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/lib/libn10.a(nnfgt.o)' is incompatible with i386 output
    /usr/bin/ld: warning: i386:x86-64 architecture of input file `/u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/lib/libn10.a(ntcontab.o)' is incompatible with i386 output
    /u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/bin/genagtsh /u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/lib/libagtsh.so 1.0
    /usr/bin/ld: warning: i386:x86-64 architecture of input file `/u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/lib/libn10.a(nnfgt.o)' is incompatible with i386 output
    /usr/bin/ld: warning: i386:x86-64 architecture of input file `/u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/lib/libn10.a(ntcontab.o)' is incompatible with i386 output
    /u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/lib/libn10.a(nnfgt.o):(.rodata+0xc8): undefined reference to `nnflboot'
    /u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/lib/libn10.a(ntcontab.o):(.data+0x8): undefined reference to `nttini'
    /u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/lib/libn10.a(ntcontab.o):(.data+0x28): undefined reference to `ntzini'
    /u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/lib/libn10.a(ntcontab.o):(.data+0x68): undefined reference to `ntpini'
    /u01/app/oracle/R12Dev1/apps/tech_st/10.1.2/lib/libn10.a(ntcontab.o):(.data+0x88): undefined reference to `ntusini'
    collect2: ld returned 1 exit status
    Thanks again...

  • Cfencode.linux segmentation fault

    Does anybody have cfencode.linux working? I keep getting a
    segmentation fault with I actually try to cfencode a file (cfencode
    somefile.cfm). If I just do a cfencode, this seems to work in that
    it prints out the usage message.
    Mike

    I am receiving this error too. I was originally unable to run
    the program at all because it was unable to find libporting.so, but
    I added the path to this file to my LD_LIBRARY_PATH global
    variable. After that I was able to run the raw program to generate
    a list of expected parameters, but once I try to feed a template to
    it I got the segmentation fault error.
    Did you ever find a solution?

  • Segmentation fault calling an oracle db status script

    HI,
    I have a problem on a OEL 5 cluster with an Oracle 10.2.0.3 in active/passive environment (not RAC).
    When the Oracle Cluster service script checks the status of the service sometimes I have segmentation fault error.
    The script is:
    #!/bin/sh
    # Cluster service script to start, stop, and check status of oracle
    set -xv
    case $1 in
    start)
    su - oracle -c /home/oracle/startdb.sh
    RetVal=$?
    stop)
    su - oracle -c /home/oracle/stopdb.sh
    RetVal=$?
    status)
    su - oracle -c /home/oracle/statusdb.sh
    RetVal=$?
    esac
    set +xv
    exit $RetVal
    The error log of the executing the "status" part of the script is:
    + case $1 in
    + su - oracle -c /home/oracle/statusdb.sh
    /usr/local/sbin/oraclust.sh: line 16: 6779 Segmentation fault su - oracle -c /home/oracle/statusdb.sh
    + RetVal=139
    This script is executed every 30 seconds but I have the error once every 10 hours.
    What could it be?
    Many thanks.

    hi,
    here is the script /home/oracle/statusdb.sh:
    #!/bin/sh
    # Script to CHECK the Oracle Database Server Status.
    ORACLE_RELEASE=10.2.0
    export ORACLE_SID=mysid
    export ORACLE_BASE=/u01/app/oracle
    export ORACLE_HOME=$ORACLE_BASE/product/${ORACLE_RELEASE}/db_1
    export LD_LIBRARY_PATH=${ORACLE_HOME}/lib:$LD_LIBRARY_PATH
    export PATH=$PATH:${ORACLE_HOME}/bin
    ${ORACLE_HOME}/bin/sqlplus / as sysdba << EOF
    whenever sqlerror exit sql.sqlcode;
    whenever oserror exit failure;
    set pagesize 0;
    set feedback off;
    set wrap off;
    set heading off;
    UPDATE clustmon.clst_chk_tbl SET status = 'ok';
    commit;
    quit;
    EOF
    exit $?
    thanks.

  • [SOLVED] cinnamon-settings doesn't start (segmentation fault)

    Hi
    I cannot start cinnamon-settings anymore, I get a segmentation fault error.
    Here's the output of gdb:
    Starting program: /usr/bin/python2 /usr/bin/cinnamon-settings
    Got object file from memory but can't read symbols: File truncated.
    warning: Could not load shared library symbols for linux-vdso.so.1.
    Do you need "set solib-search-path" or "set sysroot"?
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/usr/lib/libthread_db.so.1".
    process 1430 is executing new program: /usr/bin/python2.7
    warning: Could not load shared library symbols for linux-vdso.so.1.
    Do you need "set solib-search-path" or "set sysroot"?
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/usr/lib/libthread_db.so.1".
    [New Thread 0x7fffe97ee700 (LWP 1434)]
    Error while mapping shared library sections:
    `/usr/lib/python2.7/site-packages/PIL/_imaging.so': not in executable format: File format not recognized
    Program received signal SIGSEGV, Segmentation fault.
    0x00007ffff7a9314b in PyModule_GetDict () from /usr/lib/libpython2.7.so.1.0
    (gdb) bt
    #0 0x00007ffff7a9314b in PyModule_GetDict () from /usr/lib/libpython2.7.so.1.0
    #1 0x00007fffe1ddc68e in ?? ()
    #2 0x0000000000c1e310 in ?? ()
    #3 0x00007ffff7dd5058 in extensions () from /usr/lib/libpython2.7.so.1.0
    #4 0x0000000000c1e310 in ?? ()
    #5 0x00007ffff7b03807 in _PyImport_LoadDynamicModule ()
    from /usr/lib/libpython2.7.so.1.0
    #6 0x00007ffff7b018a1 in import_submodule () from /usr/lib/libpython2.7.so.1.0
    #7 0x00007ffff7b01dc6 in ensure_fromlist () from /usr/lib/libpython2.7.so.1.0
    #8 0x00007ffff7b02615 in PyImport_ImportModuleLevel ()
    from /usr/lib/libpython2.7.so.1.0
    #9 0x00007ffff7ae7d48 in builtin___import__ ()
    from /usr/lib/libpython2.7.so.1.0
    #10 0x00007ffff7a58773 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
    #11 0x00007ffff7ae9a87 in PyEval_CallObjectWithKeywords ()
    from /usr/lib/libpython2.7.so.1.0
    #12 0x00007ffff7aecc96 in PyEval_EvalFrameEx ()
    from /usr/lib/libpython2.7.so.1.0
    #13 0x00007ffff7af0a90 in PyEval_EvalCodeEx ()
    from /usr/lib/libpython2.7.so.1.0
    #14 0x00007ffff7af0b89 in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
    #15 0x00007ffff7b009b9 in PyImport_ExecCodeModuleEx ()
    from /usr/lib/libpython2.7.so.1.0
    ---Type <return> to continue, or q <return> to quit---
    #16 0x00007ffff7b00c33 in load_source_module ()
    from /usr/lib/libpython2.7.so.1.0
    #17 0x00007ffff7b018a1 in import_submodule () from /usr/lib/libpython2.7.so.1.0
    #18 0x00007ffff7b01dc6 in ensure_fromlist () from /usr/lib/libpython2.7.so.1.0
    #19 0x00007ffff7b02615 in PyImport_ImportModuleLevel ()
    from /usr/lib/libpython2.7.so.1.0
    #20 0x00007ffff7ae7d48 in builtin___import__ ()
    from /usr/lib/libpython2.7.so.1.0
    #21 0x00007ffff7a58773 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
    #22 0x00007ffff7ae9a87 in PyEval_CallObjectWithKeywords ()
    from /usr/lib/libpython2.7.so.1.0
    #23 0x00007ffff7aecc96 in PyEval_EvalFrameEx ()
    from /usr/lib/libpython2.7.so.1.0
    #24 0x00007ffff7af0a90 in PyEval_EvalCodeEx ()
    from /usr/lib/libpython2.7.so.1.0
    #25 0x00007ffff7af0b89 in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
    #26 0x00007ffff7b009b9 in PyImport_ExecCodeModuleEx ()
    from /usr/lib/libpython2.7.so.1.0
    #27 0x00007ffff7b00c33 in load_source_module ()
    from /usr/lib/libpython2.7.so.1.0
    #28 0x00007ffff7b018a1 in import_submodule () from /usr/lib/libpython2.7.so.1.0
    #29 0x00007ffff7b01b1f in load_next () from /usr/lib/libpython2.7.so.1.0
    #30 0x00007ffff7b024fe in PyImport_ImportModuleLevel ()
    ---Type <return> to continue, or q <return> to quit---
    from /usr/lib/libpython2.7.so.1.0
    #31 0x00007ffff7ae7d48 in builtin___import__ ()
    from /usr/lib/libpython2.7.so.1.0
    #32 0x00007ffff7a58773 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
    #33 0x00007ffff7ae9a87 in PyEval_CallObjectWithKeywords ()
    from /usr/lib/libpython2.7.so.1.0
    #34 0x00007ffff7aecc96 in PyEval_EvalFrameEx ()
    from /usr/lib/libpython2.7.so.1.0
    #35 0x00007ffff7af0a90 in PyEval_EvalCodeEx ()
    from /usr/lib/libpython2.7.so.1.0
    #36 0x00007ffff7af0b89 in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
    #37 0x00007ffff7b009b9 in PyImport_ExecCodeModuleEx ()
    from /usr/lib/libpython2.7.so.1.0
    #38 0x00007ffff7b00c33 in load_source_module ()
    from /usr/lib/libpython2.7.so.1.0
    #39 0x00007ffff7b018a1 in import_submodule () from /usr/lib/libpython2.7.so.1.0
    #40 0x00007ffff7b01b1f in load_next () from /usr/lib/libpython2.7.so.1.0
    #41 0x00007ffff7b024fe in PyImport_ImportModuleLevel ()
    from /usr/lib/libpython2.7.so.1.0
    #42 0x00007ffff7ae7d48 in builtin___import__ ()
    from /usr/lib/libpython2.7.so.1.0
    #43 0x00007ffff7a58773 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
    #44 0x00007ffff7ae9a87 in PyEval_CallObjectWithKeywords ()
    ---Type <return> to continue, or q <return> to quit---
    from /usr/lib/libpython2.7.so.1.0
    #45 0x00007ffff7aecc96 in PyEval_EvalFrameEx ()
    from /usr/lib/libpython2.7.so.1.0
    #46 0x00007ffff7af0a90 in PyEval_EvalCodeEx ()
    from /usr/lib/libpython2.7.so.1.0
    #47 0x00007ffff7af0b89 in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
    #48 0x00007ffff7b09fef in run_mod () from /usr/lib/libpython2.7.so.1.0
    #49 0x00007ffff7b0b212 in PyRun_FileExFlags ()
    from /usr/lib/libpython2.7.so.1.0
    #50 0x00007ffff7b0c427 in PyRun_SimpleFileExFlags ()
    from /usr/lib/libpython2.7.so.1.0
    #51 0x00007ffff7b1d7ca in Py_Main () from /usr/lib/libpython2.7.so.1.0
    #52 0x00007ffff746f040 in __libc_start_main () from /usr/lib/libc.so.6
    #53 0x000000000040073e in _start ()
    (gdb)
    Thanks for any help!
    Last edited by arnaudm (2014-10-15 08:08:40)

    arnaudm wrote:
    The problem indeed came from _imaging.so, I reinstalled the package python2-pillow and everything works fine now.
    Thank you!
    Hey man,
    Sorry to be a pain but how did you figure out that it was 'python2-pillow' that needed reinstalling?
    I cant see anywhere in the log that explicitly  states a problem with python2-pillow?

Maybe you are looking for