Segmentation fault running cdemocp under valgrind

I have problems with debugging multithreaded application with connection pooling under valgrind.
It faults at:
==469== Process terminating with default action of signal 11 (SIGSEGV)
==469== Access not within mapped region at address 0x7207258
==469== at 0x243562D: nigini1 (in /usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so.10.1)
==469== by 0x2436491: niqname (in /usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so.10.1)
==469== by 0x23627BF: kwfnran (in /usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so.10.1)
==469== by 0x232B523: kwfcinit (in /usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so.10.1)
==469== by 0x218F4E1: kpuatch (in /usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so.10.1)
==469== by 0x21C6A9A: kpulon2 (in /usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so.10.1)
==469== by 0x22AB876: OCILogon2 (in /usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so.10.1)
==469== by 0x8048F69: threadFunction (cdemocp.c:147)
==469== by 0x1B9258D1: thread_wrapper (vg_libpthread.c:867)
==469== by 0xB000F14F: do__quit (vg_scheduler.c:1872)
I have the same problem with other multithreaded applications that use OCI libraries.
Any suggestions ?
BTW. I also recieve tons of messages from valgrind about using uninitialized values.
System: Linux - CentOS release 4.2
InstantClient:10.2.0.1
valgrind-2.2.0

Hi Paul,
I have the same problem with the J2SE 1.3.1_01 on an AMD Athlon 1 GHz processor with 128 MB RAM and with Linux kernel 2.4.0-4GB. Within the Forte For Java IDE, Xerces runs without any problems, but when I try to run it in a console (be it xterm, kvt or whatever), the segmentation fault occurs.
The solution appears to be typing "ulimit -s 2048" before running Xerces. Then it works in any console.
You can find the reason for this at http://www.apachelabs.org/tomcat-user/200109.mbox/%[email protected]%3E
Good luck!
Kris Wuyts

Similar Messages

  • Segmentation Fault running ifsJservctl

    I just finished installing the 9iFS on a linux SUSE 7.2 box but I try to run the "ifsJservctl start" command, I am getting a segmentation fault. Just wondering if anybody else got this and if they manage to fix it.

    The Analyzer depends heavily on low-level system details, which can vary among Linux distributions, and even among different releases of the same distribution. That is the reason why we support only a limited number of systems. Various components of Sun Studio, including the Analyzer, might run well on an unsupported system, run poorly, or simply crash.
    Analyzer 7.6 is part of Sun Studio 12, released in 2008. The supported Linux systems for Studio 12 are rather old:
    SuSE Linux Enterprise Server 9 with Service Pack 3
    RedHat Enterprise Linux 4
    More details are here: http://download.oracle.com/docs/cd/E19205-01/820-2063/
    Oracle Solaris Studio 12.2, the current release, supports newer versions of Linux,
    SuSE Linux Enterprise Server 11
    RedHat Enterprise Linux 5
    Oracle Enterprise Linux 5
    More details are here: http://download.oracle.com/docs/cd/E19205-01/821-1785/index.html

  • [Solved] Get a segmentation fault message when try to run a Fullrecall

    I'm running on Arch x86_64.
    Then install this package with the packer.
    https://aur.archlinux.org/packages/fullrecall/
    run it with the terminal and get a segmentation fault message.
    I have tried to install some lib32-* but still no luck.
    http://sophie.zarb.org/distrib/Mageia/2 … 2f35d/deps
    Any ideas ?
    Otherwise, I will run it on Wine instead.
    Last edited by fieldfirst (2013-03-25 07:16:53)

    The fullrecall package is unmaintained, poorly written, and out of date (the latest version on the fullrecall website is 1.5.2).  It's really hard to say why it is segfaulting but I would bet that it is because fullrecall is distributed as a binary rather than as source files.  This means that it links against very specific versions of its dependencies, none of which are listed in the PKGBUILD.  It's very possible that the versions in the arch repos of the various lib32-* dependencies that you installed are newer versions than the binary program requires.
    You could try running namcap[1] on the built package and look for the specific version of the dependency you need in the Arch Rollback Machine[2], but I'm not sure how much that will help you.  If you do manage to get it working, please adopt and update the package in the AUR.
    [1]https://www.archlinux.org/packages/extra/any/namcap/
    [2]http://arm.konnichi.com/
    Last edited by jynnantonix (2013-03-24 18:32:00)

  • Segmentation Fault given when running passwd

    This is an entirely new setup.
    Command run:
    # passwd
    Expected Result:
    Would be able to change password of current user.
    Actual Result:
    Immediately outputs "Segmentation fault" to the console.
    I'm entirely new to Arch linux, and somewhat new to linux in general (one year of ubuntu). I've googled around, and found that https://bugzilla.redhat.com/show_bug.cgi?id=590247 describes the same problem and that a solution is provided in comment 9. I read the man page for pacman, and decided that  "# pacman -S "nss-softokn>=3.12"" would be the arch linux equivalent, but that didn't work. Please help me.

    litemotiv wrote:Can you give more information about which ISO you installed, how you installed it, and which steps you have taken after finishing the installation procedure?
    The filename of the ISO  is "archlinux-2010.05-core-x86_64.iso". After 'finishing the installation procedure' (assuming that installation ends at the point that you can login as root at the console without the help of the disk), I fiddled around to make the wireless connection connect automatically, abandoned that finding out that it would be easier once I had a gui set up, installed KDE, found it wouldn't let me log in as root forever, added a user, and attempted to set a password for it.
    jasonwryan wrote:
    Welcome to the boards.
    A couple of things: you can always search for package details using the Packages link at the top of the page: nss-softokn isn't an Arch package - the package that contains passwd is shadow http://www.archlinux.org/packages/core/i686/shadow/
    Make sure you have the correct version installed (4.1.4.2-3): pacman Syu && pacman -S shadow
    For future reference, you downgrade like so: https://wiki.archlinux.org/index.php/Downgrade
    This worked, thanks very much

  • "Segmentation fault" while running code, how can I increase the stack size?

    Hi, I only have very limited knowledge about c+ codes and compiling them and I would be very happy if someone can assist me.
    My problem: I have two c++ codes, one with an array size of ~100,000, the other with ~1,500,000. When I compile them using terminal g++ -o commands, the smaller one works with no problem (it takes less than a minute to run), the larger one gives "Segmentation fault". I think it is a memory allocation problem and I am not an expert on dynamic memory allocation which I want to avoid for now.
    My question: When I compile the large code in Windows Visual Basic, I can go to settings to increase the stack and heap sizes and it does work. Is there a similar thing in OS X Leopard? I found some commands to do that in the terminal window but I wasn't able to resolve my problem.
    Thanks for all your help.

    Thanks for the link, I actually looked for a developer discussion group but was not able to find it through the main discussion page. I reposted to my question there.

  • 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."

  • Svrmgrl segmentation fault!

    Hi everyone.
    I installed Oracle 8.0.5.1 Enterprise Edition on a RedHat 6.0 box
    with 2 Pentium III processors. The installation went smoothly but
    when I ran the svrmgrl the familiar message "segmentation fault
    (core dumped)" appears. The funny thing is that I have installed
    the same product on a SuSE 6.1 with a Pentium II 233Mhz and it
    runs OK.
    Any suggestions?
    null

    Albert Chan (guest) wrote:
    : Kostas Zorbadelos (guest) wrote:
    : : Hi everyone.
    : : I installed Oracle 8.0.5.1 Enterprise Edition on a RedHat 6.0
    : box
    : : with 2 Pentium III processors. The installation went smoothly
    : but
    : : when I ran the svrmgrl the familiar message "segmentation
    fault
    : : (core dumped)" appears. The funny thing is that I have
    : installed
    : : the same product on a SuSE 6.1 with a Pentium II 233Mhz and
    it
    : : runs OK.
    : : Any suggestions?
    : I have this problem too. I read the Oracle-HOWTO document and
    : recompiled and loaded the iBCS. But the problem still happen.
    My
    : PC running AMD K3 400Mhz (one CPU only), 64MRam
    : I also updated my kernel to 2.2.10 and updated the iBCS to 2.1
    : According to your situation, it seems to be a problem of Red
    Hat.
    : Is there anyone in Red Hat can help?
    I also experienced the same problem with RedHat 6.0 but I also
    noticed that I have untarred everything under /home/oracle in
    which there is a bin directory under which svrmgrl works and I
    can start and shutdown, run sql plus etc... It seems to be a
    problem with the re-linking.
    Julien
    null

  • GNU compiled app crashes with signal 11: Segmentation Fault

    Hi Community,
    I know this is not a GNU oriented forum, but maybe this is a common issue.
    We have a C++ multi-threaded application running properly in Solaris 9 Sparc. Due to some issues mostly related to the NICs we needed to have the application running in Solaris 10 x86. The problem is that the compilation is ok (always with GNU) but during run time, we have the application crashing in different instructions because of a signal 11.
    It always crashes in a malloc call within the libstdc++.so.6
    It was compiled with the option -mt and -lthread. Is this a known problem? Do you recommend any direction to start seeking for a solution?
    Pls, find attached the gdb outcomes after the crash.
    Thanks in advance, Pablo
    quiterio{root}# gdb cord /usr/nguser/core
    GNU gdb 6.6
    Copyright (C) 2006 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public License, and you are
    welcome to change it and/or distribute copies of it under certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB.  Type "show warranty" for details.
    This GDB was configured as "i386-pc-solaris2.10"...
    Reading symbols from /lib/libsocket.so.1...done.
    Loaded symbols for /lib/libsocket.so.1
    Reading symbols from /export/home/mysql/mysql-5.0.51/lib/mysql/libmysqlclient.so.15...done.
    Loaded symbols for /opt/mysql/mysql/lib/mysql/libmysqlclient.so.15
    Reading symbols from /lib/libnsl.so.1...done.
    Loaded symbols for /lib/libnsl.so.1
    Reading symbols from /lib/librt.so.1...done.
    Loaded symbols for /lib/librt.so.1
    Reading symbols from /lib/libthread.so.1...
    warning: Lowest section in /lib/libthread.so.1 is .dynamic at 00000074
    done.
    Loaded symbols for /lib/libthread.so.1
    Reading symbols from /usr/local/lib/libmysqlpp.so.2...done.
    Loaded symbols for /usr/local/lib/libmysqlpp.so.2
    Reading symbols from /usr/lib/libz.so.1...done.
    Loaded symbols for /usr/lib/libz.so.1
    Reading symbols from /usr/local/lib/libstdc++.so.6...done.
    Loaded symbols for /usr/local/lib/libstdc++.so.6
    Reading symbols from /lib/libm.so.2...done.
    Loaded symbols for /lib/libm.so.2
    Reading symbols from /usr/local/lib/libgcc_s.so.1...done.
    Loaded symbols for /usr/local/lib/libgcc_s.so.1
    Reading symbols from /lib/libc.so.1...done.
    Loaded symbols for /lib/libc.so.1
    Reading symbols from /lib/libresolv.so.2...done.
    Loaded symbols for /lib/libresolv.so.2
    Reading symbols from /lib/libaio.so.1...done.
    Loaded symbols for /lib/libaio.so.1
    Reading symbols from /lib/libmd.so.1...done.
    Loaded symbols for /lib/libmd.so.1
    Reading symbols from /export/home/mysql/mysql-5.0.51/lib/mysql/libmysqlclient_r.so.15...done.
    Loaded symbols for /opt/mysql/mysql/lib/mysql/libmysqlclient_r.so.15
    Reading symbols from /lib/libpthread.so.1...
    warning: Lowest section in /lib/libpthread.so.1 is .dynamic at 00000074
    done.
    Loaded symbols for /lib/libpthread.so.1
    Reading symbols from /lib/ld.so.1...done.
    Loaded symbols for /lib/ld.so.1
    Core was generated by `/export/home/egasco/cord/cord'.
    Program terminated with signal 11, Segmentation fault.
    #0  0xfebd4ad2 in t_splay () from /lib/libc.so.1
    (gdb) bt
    #0  0xfebd4ad2 in t_splay () from /lib/libc.so.1
    #1  0xfebd49b0 in t_delete () from /lib/libc.so.1
    #2  0xfebd46ea in realfree () from /lib/libc.so.1
    #3  0xfebd42ee in _malloc_unlocked () from /lib/libc.so.1
    #4  0xfebd4138 in malloc () from /lib/libc.so.1
    #5  0x080bdf64 in PMData::addData (this=0x818ae70, header=
              {_M_t = {_M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >,std::basic_string<char, std::char_traits<char>, std::allocator<char> >,bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x81ade48, _M_left = 0x81c2310, _M_right = 0x81ae900}, _M_node_count = 8}}},
        data=0x81c1a20 "v=0\r\no=50 2890844526 2890842807 IN IP4 192.168.1.245\r\ns=SDP seminar\r\nc=IN IP4 192.168.1.245\r\nt= 0 0\r\nm=audio 9092 RTP/AVP 8 18\r\n", dest=ONEP_SIP) at PMData.cpp:23
    #6  0x080b3a52 in UserCall::process_initialization (this=0x81c2630, packet=0x81ad128) at UserCall.cpp:505
    #7  0x080b056f in UserCall::process (this=0x81c2630, packet=0x81ad128) at UserCall.cpp:132
    #8  0x080791d7 in ONEPPacketManager::processPacket () at ActionNotAllowException.h:15
    #9  0x080aa159 in onep_processing_thread (arg=0x8127e88) at CordApplication.cpp:1317
    #10 0xfec34672 in _thr_setup () from /lib/libc.so.1
    #11 0xfec34960 in L3_doit () from /lib/libc.so.1
    #12 0xfe7e2400 in ?? ()
    #13 0x00000000 in ?? ()

    A crash in malloc in multi-threaded code could be a bug in the system malloc or a failure to use a thread-safe malloc. The default Solaris malloc in /usr/lib/libc.so.* is thread-safe.
    A crash in malloc can also be caused by a heap corruption. Probably the most common causes of heap corruption are
    - writing beyond the bounds of a buffer or variable (off by one, for example)
    - deleting the same object more than once
    - using an invalid pointer:
    --- uninitialized
    --- pointing to a deleted object
    --- pointing to an out-of-scope object
    - failure to guard a critical region
    - failing to declare shared objects as volatile

  • Memory violation / segmentation fault at k3b, kdenlive and wine

    Hello, i cant run k3b, kdenlive and wine.
    When i try to run some of listed apliactions i got segmentation fault.
    Here are some logs:
    strace k3b
    http://wklej.org/id/350797/
    valgrind k3b
    http://wklej.org/id/350806/
    strace kdenlive
    http://wklej.org/id/350801/
    valgrind k3b
    http://wklej.org/id/350807/
    I launched Wine separated version installed by PlayOnLinux, and just made a bash script in /usr/bin/wine:
    #!/bin/bash
    /home/webnull/.PlayOnLinux/WineVersions/1.1.44/usr/bin/wine $@
    And wine runs from /home/webnull/.PlayOnLinux/WineVersions/1.1.44/usr/bin/win using /usr/bin/wine but this is not a solution, its just a shortcut to other installed wine.
    @edit
    SOLVED: BUG IN GLIBC 2.12-2 OR BINUTILS 2.20.1-3 JUST DOWNGRADED THESE PACKAGES USING http://schlunix.org/archlinux/core/os/
    -- WebNuLL
    Last edited by webnull (2010-06-15 14:31:49)

    Here is some additional information that may or may not be of any relevance. I do not know.
    On the old server, I compiled the code with the compilation commands: f95 program.for
    I was able to compile and execute code with small, medium size or large arrays (with or without the additional -openmp flag).
    If I repeat the same command: f95 program.for
    on the new server, I get the following compilation error message for programs with medium size and large arrays:
    In function `newmaxmalecor':
    /mnt/ide0/home/gustaf/education/programming/cesprod100//chicago.for:4340: relocation truncated to fit: R_X86_64_32 against symbol
    If I compile with the additional flags: f95 -xmodel=medium -m64 program.for
    on the new server, there are no compilation errors and I can run the code in sequence.
    However, when I compile with
    f95 -xmodel=medim -m64 -openmp program.for
    on the new server, compilation works, but I cannot execute the code with medium size and large arrays.
    The programs for which I have to add the "-xmodel=medium" flag on the new server to be able to compile the code and run it in sequence, are exactly the ones for which I get segmentation faults when I introduce the openmp flag and try to execute the code in parallel fashion.
    Is this just a coincidence?
    Lage

  • 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

  • Python segmentation fault with matplotlib and opencv2

    Once again fellow archers, I am in need of your help.
    I have a file, Test1.py, which uses cv2, pylab, and numpy.
    Excluding either pylab or cv2 functions, I can make the rest of the script work, but when pylab is imported, calling cv2's imshow() function causes a "segmentation fault (core dumped)".
    By the sound of it, I thought it might come from the underlying C stuff, rather than python.
    So I ran it through gdb.
    This is where I need help. I'm not sure how to interprete the backtrace, and I probably wouldn't know what to to if I were.
    Perhaps a problem with glib or GObject?
    Below are the python script in question (it a template for a school assignment), and the gdb trace.
    Test1.py
    import sys
    sys.settrace
    import numpy as np
    import cv2
    import math
    import pylab
    #----------------------------Functions
    def show1_OpenCV(image):
    # ##This function define a window by namedWindow() and then show the image in that window
    image=np.array(image)
    # cv2.namedWindow('ByOpenCV', cv2.WINDOW_AUTOSIZE)## create a window called
    # #+'By OpenCV'Using the \nw{cv2.WINDOW_AUTOSIZE} parameter when defining a window display the image with its actual size in the window.
    cv2.imshow('ByOpenCV', image) ## show the image in 'By OpenCV' window
    # cv2.waitKey(0) ## the window will be closed with a (any)key press
    def show2_OpenCV(*image):
    ## Showing the image using OpenCV
    im=[]
    for i in image:
    im.append(array(i))
    cv2.namedWindow('1', cv2.WINDOW_AUTOSIZE)## create a window called 'By OpenCV' Using the \nw{cv2.WINDOW_AUTOSIZE} parameter when defining a window display the image with its actual size in the window.
    cv2.imshow('1', im[0]) ## show the image in 'By OpenCV' window
    cv2.namedWindow('2', cv2.WINDOW_AUTOSIZE)
    cv2.imshow('2', im[1])
    cv2.waitKey(0) ## the window will be closed with a (any)key press
    def showAll_OpenCV(**image):
    im = []
    for (k,v) in image.items():
    cv2.namedWindow(str(k), cv2.WINDOW_AUTOSIZE)
    cv2.imshow(k, np.array(v))
    cv2.waitKey()
    def show1_pylab(image):
    ## Showing the image using pylab
    figure("By pylab")## Create a figure
    gray()
    title("1"); imshow(image)
    show()
    def show2_pylab(*images):
    ## Showing the image using pylab
    figure("By pylab")## Create a figure
    gray()
    subplot(1,2,1);title("1"); imshow(images[0])## more about 'subplot()' : <http://www.scipy.org/Cookbook/Matplotlib/Multiple_Subplots_with_One_Axis_Label>
    subplot(1,2,2);title("2"); imshow(images[1])
    show()
    def grayLevelMap2(I,vector):
    I = np.copy(I)
    (x,y) = np.shape(I)
    for i in range(x):
    for j in range(y):
    I[i,j] = vector[I[i,j]]
    return I
    def grayLevelMap(I,a,b):
    I = np.copy(I)
    (x,y) = np.shape(I)
    for i in range(x):
    for j in range(y):
    I[i,j] = max(0,min(255, a* I[i,j] +b))
    return I
    def grayLevelMapF(I,f):
    I = np.copy(I)
    (x,y) = np.shape(I)
    for i in range(x):
    I[i] = map(f, I[i])
    return I
    def f(x):
    func=(255-x)*math.sqrt(100/+1)
    return func
    def displayVect(v):
    points=[]
    for i in range(len(v)):
    points.append((i,v[i]))
    bins = range(256)
    n = v
    grid(None, 'major', 'both')
    plot(bins, n, 'k-', linewidth=5)
    axis([-2, 256, -2, 256])
    show()
    ##------------------------------Main body
    # Loading an image using openCV
    I1=cv2.imread("children.tif")
    I2=cv2.imread("Eye1.jpg")
    I3=cv2.imread("Marker1.jpg")
    I4=cv2.imread("GreenTest.jpg")
    I1=cv2.cvtColor(I1, cv2.COLOR_RGB2GRAY)
    I2=cv2.cvtColor(I2, cv2.COLOR_RGB2GRAY)
    I3=cv2.cvtColor(I3, cv2.COLOR_RGB2GRAY)
    I4=cv2.cvtColor(I4, cv2.COLOR_RGB2GRAY)
    show1_OpenCV(grayLevelMapF(I4, lambda x: 2*x))
    show1_OpenCV(I4)
    gdb output:
    Reading symbols from /usr/bin/python2...(no debugging symbols found)...done.
    (gdb) run Test1.py
    Starting program: /usr/bin/python2 Test1.py
    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".
    Traceback (most recent call last):
    File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.3400.3-gdb.py", line 9, in <module>
    from gobject import register
    File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
    ImportError: No module named backtrace
    [New Thread 0x7fffdf259700 (LWP 3981)]
    Program received signal SIGSEGV, Segmentation fault.
    0x00000036cb6bc785 in do_warn () from /usr/lib/libpython2.7.so.1.0
    (gdb) backtrace
    #0 0x00000036cb6bc785 in do_warn () from /usr/lib/libpython2.7.so.1.0
    #1 0x00000036cb6bcc4c in PyErr_WarnEx () from /usr/lib/libpython2.7.so.1.0
    #2 0x00007fffe10153b5 in ?? ()
    from /usr/lib/python2.7/site-packages/gobject/_gobject.so
    #3 0x00000036cde4ea00 in g_logv () from /usr/lib/libglib-2.0.so.0
    #4 0x00000036cde4ebf2 in g_log () from /usr/lib/libglib-2.0.so.0
    #5 0x00007fffef8e009e in gtk_disable_setlocale ()
    from /usr/lib/libgtk-x11-2.0.so.0
    #6 0x00007ffff21ca8a8 in cvInitSystem ()
    from /usr/lib/libopencv_highgui.so.2.4
    #7 0x00007ffff21cafb3 in cvNamedWindow ()
    from /usr/lib/libopencv_highgui.so.2.4
    #8 0x00007ffff352dfe4 in ?? () from /usr/lib/python2.7/site-packages/cv2.so
    #9 0x00000036cb6dc05a in PyEval_EvalFrameEx ()
    from /usr/lib/libpython2.7.so.1.0
    #10 0x00000036cb6dba83 in PyEval_EvalFrameEx ()
    from /usr/lib/libpython2.7.so.1.0
    #11 0x00000036cb6dcedd in PyEval_EvalCodeEx ()
    ---Type <return> to continue, or q <return> to quit---j
    from /usr/lib/libpython2.7.so.1.0
    #12 0x00000036cb6dcfb2 in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
    #13 0x00000036cb6f5eea in run_mod () from /usr/lib/libpython2.7.so.1.0
    #14 0x00000036cb6f6ce2 in PyRun_FileExFlags ()
    from /usr/lib/libpython2.7.so.1.0
    #15 0x00000036cb6f76fb in PyRun_SimpleFileExFlags ()
    from /usr/lib/libpython2.7.so.1.0
    #16 0x00000036cb7089f2 in Py_Main () from /usr/lib/libpython2.7.so.1.0
    #17 0x00007ffff7833a15 in __libc_start_main () from /usr/lib/libc.so.6
    #18 0x0000000000400741 in _start ()
    (gdb) run Test1.py
    Last edited by Bladtman242 (2013-02-12 19:30:55)

    Thank you so much!
    This (ugly) workaround might have saved me from a lot of trouble with this semester's exercises.
    Just to be clear, the solution is:
    Import opencv
    Call namedWindow
    Do the rest of the imports
    Do the rest of the script
    Corect?
    I'm hesitant to mark the thread as solved, as the problem is still very much there, this workaround just allows us to ignore it.

  • X Segmentation fault with new sapphire HD7850

    Hi,
    randomly my X server crash and reboot (like 1 time at day, while surfing the net. No problem while playing under wine/steam)
    i attach the xorg log, but it doesn't say very much to me.
    can you find out what is going on or what i have to do to get a better stack trace/error log?
    interesting part:
    [  6057.946] (EE)
    [  6057.946] (EE) Backtrace:
    [  6057.981] (EE) 0: /usr/bin/X (xorg_backtrace+0x36) [0x58a416]
    [  6057.981] (EE) 1: /usr/bin/X (0x400000+0x18e269) [0x58e269]
    [  6057.981] (EE) 2: /usr/lib/libpthread.so.0 (0x7fd7ffa22000+0xf1e0) [0x7fd7ffa311e0]
    [  6057.981] (EE) 3: /usr/lib/libpixman-1.so.0 (0x7fd7ff57e000+0x82a7d) [0x7fd7ff600a7d]
    [  6057.981] (EE) 4: /usr/lib/libpixman-1.so.0 (0x7fd7ff57e000+0x50c7b) [0x7fd7ff5cec7b]
    [  6057.981] (EE) 5: /usr/lib/libpixman-1.so.0 (pixman_blt+0x52) [0x7fd7ff5894b2]
    [  6057.981] (EE) 6: /usr/lib/xorg/modules/libfb.so (fbCopyNtoN+0x343) [0x7fd7fbf0c453]
    [  6057.981] (EE) 7: /usr/lib/xorg/modules/glesx.so (0x7fd7f9f8d000+0x8d491) [0x7fd7fa01a491]
    [  6057.981] (EE) 8: /usr/lib/xorg/modules/glesx.so (0x7fd7f9f8d000+0x8f62b) [0x7fd7fa01c62b]
    [  6057.981] (EE) 9: /usr/bin/X (0x400000+0x1141f9) [0x5141f9]
    [  6057.981] (EE) 10: /usr/bin/X (0x400000+0xc7315) [0x4c7315]
    [  6057.981] (EE) 11: /usr/bin/X (0x400000+0xc8136) [0x4c8136]
    [  6057.981] (EE) 12: /usr/bin/X (0x400000+0xc6b9c) [0x4c6b9c]
    [  6057.981] (EE) 13: /usr/bin/X (0x400000+0x60d86) [0x460d86]
    [  6057.981] (EE) 14: /usr/bin/X (MapWindow+0x1a2) [0x463b22]
    [  6057.981] (EE) 15: /usr/bin/X (0x400000+0x32690) [0x432690]
    [  6057.981] (EE) 16: /usr/bin/X (0x400000+0x37e51) [0x437e51]
    [  6057.981] (EE) 17: /usr/bin/X (0x400000+0x2695a) [0x42695a]
    [  6057.981] (EE) 18: /usr/lib/libc.so.6 (__libc_start_main+0xf5) [0x7fd7fe8aea15]
    [  6057.982] (EE) 19: /usr/bin/X (0x400000+0x26c9d) [0x426c9d]
    [  6057.982] (EE)
    [  6057.982] (EE) Segmentation fault at address 0x7fd7eac0b000
    [  6057.982]
    Fatal server error:
    [  6057.982] Caught signal 11 (Segmentation fault). Server aborting
    [  6057.982]
    [  6057.982] (EE)
    Please consult the The X.Org Foundation support
             at http://wiki.x.org
    for help.
    [  6057.982] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    [  6057.982] (EE)
    full xorg log: http://snipt.org/zJhd9

    Here is some additional information that may or may not be of any relevance. I do not know.
    On the old server, I compiled the code with the compilation commands: f95 program.for
    I was able to compile and execute code with small, medium size or large arrays (with or without the additional -openmp flag).
    If I repeat the same command: f95 program.for
    on the new server, I get the following compilation error message for programs with medium size and large arrays:
    In function `newmaxmalecor':
    /mnt/ide0/home/gustaf/education/programming/cesprod100//chicago.for:4340: relocation truncated to fit: R_X86_64_32 against symbol
    If I compile with the additional flags: f95 -xmodel=medium -m64 program.for
    on the new server, there are no compilation errors and I can run the code in sequence.
    However, when I compile with
    f95 -xmodel=medim -m64 -openmp program.for
    on the new server, compilation works, but I cannot execute the code with medium size and large arrays.
    The programs for which I have to add the "-xmodel=medium" flag on the new server to be able to compile the code and run it in sequence, are exactly the ones for which I get segmentation faults when I introduce the openmp flag and try to execute the code in parallel fashion.
    Is this just a coincidence?
    Lage

  • Apache - Weblogic plug-in - Segmentation fault. Please Help me!

    Hi all,
    Im trying to set up Apache weblogic plug-in, and im having problems with
    that.
    Im running Solaris 9 with Apache/1.3.26 (Unix) and Weblogic 7 with sp2.
    Here is what i did:
    I copied mod_wl_ssl.so from
    /bea/weblogic700/server/lib/solaris/mod_wl_ssl.so to /usr/apache/libexec
    Added entries in httpd.conf as
    LoadModule weblogic_module /usr/apache/libexec/mod_wl_ssl.so
    AddModule mod_weblogic.c
    <LocationMatch "\.jsp$">
    SetHandler weblogic-handler
    StatPath false
    </LocationMatch>
    <LocationMatch "/(service1|service2|service3)/">
    SetHandler weblogic-handler
    StatPath false
    </LocationMatch>
    <IfModule mod_weblogic.c>
    WebLogicHost 127.0.0.1
    WebLogicPort 7001
    HungServerRecoverSecs 300
    ConnectTimeoutSecs 5
    </IfModule>
    When i access the url with out specifying port 7001 it's not working.
    I checked the /var/apache/logs/error_log file. Im getting the error as
    child pid 805 exit signal Segmentation Fault (11)
    Am i missing anything here?
    Thank you
    Raja

    You may want to check the certifications for Solaris 9 and the Apache plug-in at
    http://e-docs.bea.com/wls/certifications/certifications/sun_solaris9.html#40366.
    It looks like you will have to upgrade to at least Apache 2.0.39. We had to do
    this on Solaris 8 as well.
    "Raja Balasubramanian" <[email protected]> wrote:
    Thank you Eric,
    I will do that
    Raja
    "Eric Gross" <[email protected]> wrote in message
    news:[email protected]...
    I believe this is going to require more debugging such as attachinga
    debugger(gdb) to Apache and getting a backtrace.
    I suggest opening up a support case.
    Regards,
    Eric
    "Raja Balasubramanian" <[email protected]> wrote in message
    news:[email protected]...
    Hi Eric,
    Thank you for the replies.
    I tried with the same test as you specified. Still im getting the
    same
    problem.
    [Mon Mar 10 13:57:21 2003] [notice] child pid 1184 exit signal
    Segmentation Fault (11)
    Im running Solaris 9 in SPARC platform. It's a Sun E450 server.
    Im using the default apache package which comes with Solaris 9. Ididn't
    do
    anything with apache.
    Bea website says that Weblogic 7 sp2 is certified for Soalris 9.
    That's
    y
    i
    installed Solaris 9.
    I tested the same on a Linux Machine (Redhat Linux 7.1 on IA). It
    works
    fine
    without any problem.
    How can i make things work?
    Thank you for your kind replies
    Raja
    "Eric Gross" <[email protected]> wrote in message
    news:[email protected]...
    Looks like it should work.
    Let's simplify your test:
    <Location /test>
    WebLogicHost 127.0.0.1
    WebLogicPort 7001
    Debug ALL
    DebugConfigInfo ON
    SetHandler weblogic-handler
    </Location>
    Try with just that.
    Another thing is that I am unsure as to whether we have tested
    with
    Solaris
    9. This is SPARC right? Also, can you outline the steps you took
    when
    building apache? Did you use GCC?
    Thanks,
    Eric
    "Raja Balasubramanian" <[email protected]> wrote
    in
    message
    news:[email protected]...
    Hi,
    Now i changed to mod_wl_ssl.so.
    And i changed the httpd.conf as
    LoadModule weblogic_module libexec/mod_wl_ssl.so
    <IfModule mod_weblogic.c>
    WebLogicHost 127.0.0.1
    WebLogicPort 7001
    Debug ALL
    DebugConfigInfo ON
    StatPath true
    HungServerRecoverSecs 300
    ConnectTimeoutSecs 5
    </IfModule>
    But im getting the same error. NO wlproxy.log file is created
    in my
    server.
    I tried Debug ON also. Still the same.
    Am i doing anything wrong?
    Please help me...
    Thank you
    Raja
    "Eric Gross" <[email protected]> wrote in message
    news:[email protected]...
    That means that your apache instance is compiled with -DEAPI
    and
    should
    use
    the mod_wl_ssl.so.
    Can you please try to set Debug ALL and get the log in
    /tmp/wlproxy.log
    and
    share that?
    Thanks,
    Eric
    "Raja Balasubramanian" <[email protected]> wrote
    in
    message
    news:[email protected]...
    Hi Eric,
    When im using mod_wl.so im getting warning from Apache as
    [Mon Mar 10 12:41:15 2003] [warn] Loaded DSO
    libexec/mod_wl.so
    uses
    plain Apache 1.3 API, this module might crash under
    EAPI!
    (please
    recompile it with -DEAPI)
    Thank you
    Raja
    "Eric Gross" <[email protected]> wrote in message
    news:[email protected]...
    Are you using modssl or any apache with EAPI compiled in?
    Otherwise, you should be using the mod_wl.so.
    As well, please set Debug ALL to see if we can get more
    debug.
    Thanks,
    Eric
    "Raja Balasubramanian" <[email protected]>
    wrote
    in
    message
    news:[email protected]...
    Hi all,
    Im trying to set up Apache weblogic plug-in, and im having
    problems
    with
    that.
    Im running Solaris 9 with Apache/1.3.26 (Unix) and Weblogic
    7
    with
    sp2.
    Here is what i did:
    I copied mod_wl_ssl.so from
    /bea/weblogic700/server/lib/solaris/mod_wl_ssl.so to/usr/apache/libexec
    Added entries in httpd.conf as
    LoadModule weblogic_module/usr/apache/libexec/mod_wl_ssl.so
    AddModule mod_weblogic.c
    <LocationMatch "\.jsp$">
    SetHandler weblogic-handler
    StatPath false
    </LocationMatch>
    <LocationMatch "/(service1|service2|service3)/">
    SetHandler weblogic-handler
    StatPath false
    </LocationMatch>
    <IfModule mod_weblogic.c>
    WebLogicHost 127.0.0.1
    WebLogicPort 7001
    HungServerRecoverSecs 300
    ConnectTimeoutSecs 5
    </IfModule>
    When i access the url with out specifying port 7001 it's
    not
    working.
    I checked the /var/apache/logs/error_log file. Im getting
    the
    error
    as
    child pid 805 exit signal Segmentation Fault
    (11)
    Am i missing anything here?
    Thank you
    Raja

  • Ssh has stopped working - reverse mapping causes segmentation fault

    This was working on Friday, believe me. I haven't done anything that I'm aware of (apart from reboot the machine) to change things, except in trying to fix it.
    Briefly, ssh crashes out with a segmentation fault and a crash log (below). Poking around with verbosity gives (real ip obscured):
    % ssh ip4 -vvvv
    OpenSSH_3.8.1p1, OpenSSL 0.9.7i 14 Oct 2005
    debug1: Reading configuration data /etc/ssh_config
    debug2: ssh_connect: needpriv 0
    debug1: Connecting to ip4 [ip4] port 22.
    debug1: Connection established.
    debug1: identity file /Users/rpg/.ssh/identity type -1
    debug1: identity file /Users/rpg/.ssh/id_rsa type -1
    debug1: identity file /Users/rpg/.ssh/id_dsa type -1
    debug1: Remote protocol version 1.99, remote software version OpenSSH_3.8.1p1
    debug1: match: OpenSSH_3.8.1p1 pat OpenSSH*
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1
    debug3: Trying to reverse map address ip4.
    Segmentation fault
    I get similar reports for %ssh FQDN and %ssh $USER@[FQDN*|*ip4].
    Although I'm trying to ssh to a machine on another continent, trying to ssh into my own machine (from a Terminal window on my own machine) also does not work. Setting UseDNS no in /etc/sshd_config on my machine does not help. Oddly, trying to ssh to my own machine by
    %ssh 127.0.0.1 gives
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1
    debug3: Trying to reverse map address 127.0.0.1.
    debug1: An invalid name was supplied
    Configuration file does not specify default realm
    debug1: An invalid name was supplied
    A parameter was malformed
    Validation error
    debug1: An invalid name was supplied
    Configuration file does not specify default realm
    debug1: An invalid name was supplied
    A parameter was malformed
    Validation error
    debug1: SSH2MSGKEXINIT sent
    debug1: SSH2MSGKEXINIT received
    and then works (after a lot more info).
    I can ssh into this machine from elsewhere, I just can't ssh out. Below the crash log is a report from running a server with
    % sudo sshd -D -ddd -e -p 10000
    and connecting with
    % ssh -vvv -p 10000 $USER@FQDN
    ssh crash log:
    Date/Time: 2006-05-29 15:42:09.284 +1000
    OS Version: 10.4.6 (Build 8I1119)
    Report Version: 4
    Command: ssh
    Path: /usr/bin/ssh
    Parent: bash [1020] (note: also fails under tcsh)
    Version: ??? (???)
    PID: 1021
    Thread: 0
    Exception: EXCBADACCESS (0x0001)
    Codes: KERNINVALIDADDRESS (0x0001) at 0xb1d255e4
    Thread 0 Crashed:
    0 libstdc++.6.dylib 0x90b37e3a _cxa_getglobals + 324
    1 libstdc++.6.dylib 0x90b3853a _gxx_personalityv0 + 658
    2 libgcc_s.1.dylib 0x90bcabf7 UnwindRaiseException + 147
    3 libstdc++.6.dylib 0x90b38857 _cxathrow + 87
    4 edu.mit.Kerberos 0x94c4a238 CCIContextDataMachIPCStub::OpenCCache(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) + 314
    5 edu.mit.Kerberos 0x94c49fde CCEContext::OpenCCache(cccontextd*, char const*, ccccached**) + 160
    6 edu.mit.Kerberos 0x94c49d5e cc_open + 64
    7 edu.mit.Kerberos 0x94c49bf6 krb5stdccresolve + 182
    8 edu.mit.Kerberos 0x94c4f1a1 __KLGetCCacheByName + 254
    9 edu.mit.Kerberos 0x94c4ee8a __KLAcquireInitialTicketsForCache + 179
    10 edu.mit.Kerberos 0x94c4ed7f krb5intccdefault + 85
    11 edu.mit.Kerberos 0x94c40215 krb5gss_acquirecred + 2409
    12 edu.mit.Kerberos 0x94c4ed11 kggetdefcred + 73
    13 edu.mit.Kerberos 0x94c4da14 krb5gss_init_seccontext + 208
    14 ssh 0x00024305 0x1000 + 144133
    15 ssh 0x000246f4 0x1000 + 145140
    16 ssh 0x000247fb 0x1000 + 145403
    17 ssh 0x0000c462 0x1000 + 46178
    18 ssh 0x0000a251 0x1000 + 37457
    19 ssh 0x000042c7 0x1000 + 12999
    20 ssh 0x000025f2 0x1000 + 5618
    21 ssh 0x0000250d 0x1000 + 5389
    Thread 0 crashed with i386 Thread State:
    eax: 0x00000000 ebx: 0x90b3880d ecx:0xbfffda7c edx: 0xa4c425a0
    edi: 0xb1d255e4 esi: 0xa4c425a0 ebp:0xbfffd9e8 esp: 0xbfffd9b0
    ss: 0x0000002f efl: 0x00010246 eip:0x90b37e3a cs: 0x00000027
    ds: 0x0000002f es: 0x0000002f fs:0x00000000 gs: 0x00000037
    sudo sshd -D -ddd -e -p 10000:
    debug2: readserverconfig: filename /etc/sshd_config
    debug1: sshd version OpenSSH_3.8.1p1
    debug1: private host key: #0 type 0 RSA1
    debug3: Not a RSA1 key file /etc/sshhost_rsakey.
    debug1: read PEM private key done: type RSA
    debug1: private host key: #1 type 1 RSA
    debug3: Not a RSA1 key file /etc/sshhost_dsakey.
    debug1: read PEM private key done: type DSA
    debug1: private host key: #2 type 2 DSA
    debug1: Bind to port 10000 on ::.
    Server listening on :: port 10000.
    debug1: Bind to port 10000 on 0.0.0.0.
    Server listening on 0.0.0.0 port 10000.
    Generating 768 bit RSA key.
    RSA key generation complete. <- pause here
    debug1: Server will not fork when running in debugging mode.
    Connection from ip4 port 50148
    debug1: Current Session ID is 00B16810 / Session Attributes are 00008030
    debug1: Creating new security session...
    debug1: New Session ID is 0F7C2940 / Session Attributes are 00009020
    debug1: Client protocol version 2.0; client software version OpenSSH_3.8.1p1
    debug1: match: OpenSSH_3.8.1p1 pat OpenSSH*
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-1.99-OpenSSH_3.8.1p1
    debug2: Network child is on pid 1101
    debug3: preauth child monitor started
    debug3: mmrequestreceive entering
    debug3: privsep user:group 75:75
    debug1: permanentlysetuid: 75/75
    debug1: listhostkeytypes: ssh-rsa,ssh-dss
    debug3: mmrequestsend entering: type 40
    debug3: mmrequest_receiveexpect entering: type 41
    debug3: mmrequestreceive entering
    debug3: monitor_read: checking request 40
    debug1: Miscellaneous failure
    No such file or directory
    debug3: mmrequestsend entering: type 41
    debug3: mmrequestreceive entering
    debug1: no credentials for GSSAPI mechanism Kerberos
    debug1: SSH2MSGKEXINIT sent
    Connection closed by ip4
    debug1: do_cleanup
    debug1: PAM: cleanup
    debug3: PAM: sshpamthreadcleanup entering
    debug1: do_cleanup
    debug1: PAM: cleanup
    debug3: PAM: sshpamthreadcleanup entering
    and
    % ssh -vvv -p 10000 $USER@FQDN :
    OpenSSH_3.8.1p1, OpenSSL 0.9.7i 14 Oct 2005
    debug1: Reading configuration data /etc/ssh_config
    debug2: ssh_connect: needpriv 0
    debug1: Connecting to FQDN [ip4] port 10000.
    debug1: Connection established.
    debug1: identity file /Users/rpg/.ssh/identity type -1
    debug1: identity file /Users/rpg/.ssh/id_rsa type -1
    debug1: identity file /Users/rpg/.ssh/id_dsa type -1
    debug1: Remote protocol version 1.99, remote software version OpenSSH_3.8.1p1
    debug1: match: OpenSSH_3.8.1p1 pat OpenSSH*
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1
    debug3: Trying to reverse map address ip4.
    Segmentation fault

    10.4.7 fixed this.
    But broke iCal. . .
    Actually, I never had any problems with 10.4.6, but ssh on my nat'ed Intel Macbook now segfaults when doing reverse mapping after upgrading to 10.4.7.
    OpenSSH_3.8.1p1, OpenSSL 0.9.7i 14 Oct 2005
    debug1: Reading configuration data /etc/ssh_config
    debug1: Applying options for *
    debug2: ssh_connect: needpriv 0
    debug1: Connecting to amrshampine [10.4.51.45] port 22.
    debug1: Connection established.
    debug1: identity file /Users/lindkvis/.ssh/identity type -1
    debug1: identity file /Users/lindkvis/.ssh/id_rsa type -1
    debug1: identity file /Users/lindkvis/.ssh/id_dsa type -1
    debug1: Remote protocol version 1.99, remote software version OpenSSH_3.6.1p2
    debug1: match: OpenSSH_3.6.1p2 pat OpenSSH*
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1
    debug3: Trying to reverse map address 10.4.51.45.
    Macbook White 13" 1.83GHz 1GB   Mac OS X (10.4.6)  

  • Compiling Flex2 in Linux - Segmentation Fault

    Dear all
    I am a newbie in Flex and my system is now running Ubuntu
    7.04. Java-6 and Java-5 are already installed.
    I have download and unzip the flex2 sdk under
    /usr/local/flex2.
    But when I tried to build the sampes by running:
    ./build-samples.sh, it only show the following error and the flex
    won't compile.
    processing ./hybridstore/build.sh
    Loading configuration file
    /usr/local/flex2/frameworks/flex-config.xml
    Segmentation fault (core dumped)
    Can any body please help me out of these problem?
    Thanks in advance.

    Dear all
    I am a newbie in Flex and my system is now running Ubuntu
    7.04. Java-6 and Java-5 are already installed.
    I have download and unzip the flex2 sdk under
    /usr/local/flex2.
    But when I tried to build the sampes by running:
    ./build-samples.sh, it only show the following error and the flex
    won't compile.
    processing ./hybridstore/build.sh
    Loading configuration file
    /usr/local/flex2/frameworks/flex-config.xml
    Segmentation fault (core dumped)
    Can any body please help me out of these problem?
    Thanks in advance.

Maybe you are looking for

  • Ultiboard crashed many times

    First: I am using ultiboard 10.1. I don't know if my PC(Windows XP) is compatible with Ultiboard, it crashes many times when I try to move a part.  Second:  After restarting my proram for many times, the software creates many recovery layers (16th fo

  • Report Downloading in HTML Format - Problem...

    Dear All, While I am downloading any report in HTML Format. At that time I want to cahnge the font format in SAP. please tell how to do this. Regards, Dharmesh

  • SSAS issue with Domain user account

    Hi I have SSAS 2008 R2 set up running on Windows Server 2012 Standard. The server is registered as a part of domain. I have had an issue of domain user accounts accessing to a cube and it's starting to get worse. There has been no problem with a loca

  • Sparc CD's on X86 ???

    I recently downloaded the Solaris 10 Sparc installation cd's. I have three netra x1 boxes that I would like to install over the network. Currently I have an X86 running Solaris 10 that has a cdrom. When I mount the cdrom on the X86 box and run the se

  • Only one page on my website Firefox can not open

    Hello, On my website I have four pages. Firefox opens three up and not the other. The one in question opens for a split second then Firefox reverts back to downloading. No messages appear to indicate a problem. Google Chrome opens up all four pages b