Segmentation fault when master dies

I am running my 'pure' master/slave setup now with 1 master and 2 slaves. When I kill the master, the first slave segfaults the second one keeps running and recovers when the master is started again.
This is the gdb backtrace:
#0  0xb7eace64 in __env_alloc_free () from /usr/local/lib/libdb-4.6.so
#1  0xb7e5a3a9 in __rep_grow_sites () from /usr/local/lib/libdb-4.6.so
#2  0xb7e4c271 in __rep_vote1 () from /usr/local/lib/libdb-4.6.so
#3  0xb7e5647c in __rep_process_message () from /usr/local/lib/libdb-4.6.so
#4  0xb7e5e66e in __repmgr_msg_thread () from /usr/local/lib/libdb-4.6.so
#5  0xb7dcb342 in start_thread () from /lib/tls/i686/nosegneg/libpthread.so.0
#6  0xb7c3555e in clone () from /lib/tls/i686/nosegneg/libc.so.6I'm not sure what to do with this.

I have found and fixed the root cause of this issue. Here is a patch that solves
the problem. This patch is for the 4.7.25 release.
*** rep/rep_elect.c.orig        Mon Feb  9 11:27:59 2009
--- rep/rep_elect.c     Mon Feb  9 11:28:09 2009
*** 32,38 ****
               __P((ENV *, u_int32_t, u_int32_t, int *, u_int32_t *));
  static int __rep_fire_elected __P((ENV *, REP *, u_int32_t));
  static void __rep_elect_master __P((ENV *, REP *));
! static int __rep_tally __P((ENV *, REP *, int, u_int32_t *, u_int32_t, roff_t)
  static int __rep_wait __P((ENV *, db_timeout_t *, int *, int, u_int32_t));
--- 32,38 ----
               __P((ENV *, u_int32_t, u_int32_t, int *, u_int32_t *));
  static int __rep_fire_elected __P((ENV *, REP *, u_int32_t));
  static void __rep_elect_master __P((ENV *, REP *));
! static int __rep_tally __P((ENV *, REP *, int, u_int32_t *, u_int32_t, int));
  static int __rep_wait __P((ENV *, db_timeout_t *, int *, int, u_int32_t));
*** 265,271 ****
        /* Tally our own vote */
        if (__rep_tally(env, rep, rep->eid, &rep->sites, rep->egen,
!           rep->tally_off) != 0) {
                ret = EINVAL;
                goto lockdone;
--- 265,271 ----
        /* Tally our own vote */
        if (__rep_tally(env, rep, rep->eid, &rep->sites, rep->egen,
!           1) != 0) {
                ret = EINVAL;
                goto lockdone;
*** 346,352 ****
                if (rep->winner == rep->eid) {
                        (void)__rep_tally(env, rep, rep->eid, &rep->votes,
!                           egen, rep->v2tally_off);
                        RPRINT(env, DB_VERB_REP_ELECT, (env,
                            "Counted my vote %d", rep->votes));
--- 346,352 ----
                if (rep->winner == rep->eid) {
                        (void)__rep_tally(env, rep, rep->eid, &rep->votes,
!                           egen, 2);
                        RPRINT(env, DB_VERB_REP_ELECT, (env,
                            "Counted my vote %d", rep->votes));
*** 611,623 ****
        if (rep->sites + 1 > rep->nsites)
                rep->nsites = rep->sites + 1;
-       if (rep->nsites > rep->asites &&
-           (ret = __rep_grow_sites(env, rep->nsites)) != 0) {
-               RPRINT(env, DB_VERB_REP_ELECT, (env,
-                   "Grow sites returned error %d", ret));
-               goto err;
         * Ignore vote1's if we're in phase 2.
--- 611,616 ----
*** 632,638 ****
         * ignore the vote.
        if ((ret = __rep_tally(env, rep, eid, &rep->sites,
!           vi->egen, rep->tally_off)) != 0) {
                RPRINT(env, DB_VERB_REP_ELECT,
                    (env, "Tally returned %d, sites %d", ret, rep->sites));
                ret = 0;
--- 625,631 ----
         * ignore the vote.
        if ((ret = __rep_tally(env, rep, eid, &rep->sites,
!           vi->egen, 1)) != 0) {
                RPRINT(env, DB_VERB_REP_ELECT,
                    (env, "Tally returned %d, sites %d", ret, rep->sites));
                ret = 0;
*** 677,683 ****
                F_CLR(rep, REP_F_EPHASE1);
                if (master == rep->eid) {
                        (void)__rep_tally(env, rep, rep->eid,
!                           &rep->votes, egen, rep->v2tally_off);
                        RPRINT(env, DB_VERB_REP_ELECT, (env,
                            "After phase 1 done: counted vote %d of %d",
                            rep->votes, rep->nvotes));
--- 670,676 ----
                F_CLR(rep, REP_F_EPHASE1);
                if (master == rep->eid) {
                        (void)__rep_tally(env, rep, rep->eid,
!                           &rep->votes, egen, 2);
                        RPRINT(env, DB_VERB_REP_ELECT, (env,
                            "After phase 1 done: counted vote %d of %d",
                            rep->votes, rep->nvotes));
*** 812,818 ****
         * __rep_tally takes care of cases 2, 3 and 4.
        if ((ret = __rep_tally(env, rep, eid, &rep->votes,
!           vi->egen, rep->v2tally_off)) != 0) {
                ret = 0;
                goto err;
--- 805,811 ----
         * __rep_tally takes care of cases 2, 3 and 4.
        if ((ret = __rep_tally(env, rep, eid, &rep->votes,
!           vi->egen, 2)) != 0) {
                ret = 0;
                goto err;
*** 838,855 ****
   *    caller passed in.
  static int
! __rep_tally(env, rep, eid, countp, egen, vtoff)
        ENV *env;
        REP *rep;
        int eid;
        u_int32_t *countp;
        u_int32_t egen;
!       roff_t vtoff;
        REP_VTALLY *tally, *vtp;
!       u_int32_t i;
!       tally = R_ADDR(env->reginfo, vtoff);
        vtp = &tally[0];
        for (i = 0; i < *countp;) {
--- 831,865 ----
   *    caller passed in.
  static int
! __rep_tally(env, rep, eid, countp, egen, phase)
        ENV *env;
        REP *rep;
        int eid;
        u_int32_t *countp;
        u_int32_t egen;
!       int phase;
        REP_VTALLY *tally, *vtp;
!       u_int32_t i, max_sites;
!       int ret;
!        * The counts are indices, and therefore 0-based.
!       if ((*countp + 1) > rep->nsites)
!               max_sites = (*countp + 1);
!       else
!               max_sites = rep->nsites;
!       if (max_sites > rep->asites &&
!           (ret = __rep_grow_sites(env, max_sites)) != 0) {
!               RPRINT(env, DB_VERB_REP_ELECT, (env,
!                   "Grow sites returned error %d", ret));
!               return (ret);
!       if (phase == 1)
!               tally = R_ADDR(env->reginfo, rep->tally_off);
!       else
!               tally = R_ADDR(env->reginfo, rep->v2tally_off);
        vtp = &tally[0];
        for (i = 0; i < *countp;) {
*** 882,889 ****
         * If we get here, we have a new voter we haven't seen before.  Tally
         * this vote.
!       RPRINT(env, DB_VERB_REP_ELECT, (env, "Tallying VOTE%c[%d] (%d, %lu)",
!           vtoff == rep->tally_off ? '1' : '2', i, eid, (u_long)egen));
        vtp->eid = eid;
        vtp->egen = egen;
--- 892,899 ----
         * If we get here, we have a new voter we haven't seen before.  Tally
         * this vote.
!       RPRINT(env, DB_VERB_REP_ELECT, (env, "Tallying VOTE%d[%d] (%d, %lu)",
!           phase, i, eid, (u_long)egen));
        vtp->eid = eid;
        vtp->egen = egen;

Similar Messages

  • Segmentation fault when using snapshot isolation with Berkeley DB 6.1.19 and 5.1.29

    Hello,
    I have been experimenting with snapshot isolation with Berkeley DB, but I find that it frequently triggers a segmentation fault when write transactions are in progress.  The following test program reliably demonstrates the problem in Linux using either 5.1.29 or 6.1.19. 
    https://anl.app.box.com/s/3qq2yiij2676cg3vkgik
    Compilation instructions are at the top of the file.  The test program creates a temporary directory in /tmp, opens a new environment with the DB_MULTIVERSION flag, and spawns 8 threads.  Each thread performs 100 transactional put operations using DB_TXN_SNAPSHOT.  The stack trace when the program crashes generally looks like this:
    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0x7ffff7483700 (LWP 11871)]
    0x00007ffff795e190 in __memp_fput ()
       from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
    (gdb) where
    #0  0x00007ffff795e190 in __memp_fput ()
       from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
    #1  0x00007ffff7883c30 in __bam_get_root ()
       from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
    #2  0x00007ffff7883dca in __bam_search ()
       from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
    #3  0x00007ffff7870246 in ?? () from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
    #4  0x00007ffff787468f in ?? () from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
    #5  0x00007ffff79099f4 in __dbc_iput ()
       from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
    #6  0x00007ffff7906c10 in __db_put ()
       from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
    #7  0x00007ffff79191eb in __db_put_pp ()
       from /usr/lib/x86_64-linux-gnu/libdb-5.1.so
    #8  0x0000000000400f14 in thread_fn (foo=0x0)
        at ../tests/transactional-osd/bdb-snapshot-write.c:154
    #9  0x00007ffff7bc4182 in start_thread (arg=0x7ffff7483700)
        at pthread_create.c:312
    #10 0x00007ffff757f38d in clone ()
        at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
    I understand that this test program, with 8 concurrent (and deliberately conflicting) writers, is not an ideal use case for snapshot isolation, but this can be triggered in other scenarios as well.
    You can disable snapshot isolation by toggling the value of the USE_SNAP #define near the top of the source, and the test program then runs fine without it.
    Can someone help me to identify the problem?
    many thanks,
    -Phil

    Hi Phil,
       We have taken a look at this in more detail and there was a bug in the code.   We have fixed the bug.     We will roll it into our next 6.1 release that we do.   If you would like an early patch that will go on top of 6.1.19, please email me at [email protected], reference this forum post and I can get a patch sent out to you.   It will be a .diff file that apply on the source code and then rebuild the library.  Once again thanks for finding the issue, and providing a great test program which tremendously helped in getting this resolved.
    thanks
    mike

  • Collect causes segmentation fault when profiling L2 data cache misses on T1

    I am attempting to profile L2 data cache misses on a SUN T1000 server, but collect causes a segmentation fault when I choose to profile L2 data cache misses.
    Is it possible to profile L2 data misses on the T1 processor?
    Thanks!
    -John
    A simple hello world application and the failed profiling:
    %] collect -p +on -h ecdm hello
    Segmentation fault
    I compiled with
    CC -xhwcprof -xdebugformat=dwarf -g -03 -o hello hello.c

    No it is not possible to profile L2 cache misses -- the chip does not generate
    interrupts on performance register 0 (only register 1, which is hard-wired
    to instruction count).
    That said, we should not generate a segmentation fault. Exactly
    which version of collect are you using? We did patch Studio 11
    to correctly handle the US-T1, and Studio 12 express also
    correctly handles it.
    Is the SEGV on the collect command, or on the target it launches?
    Marty Itzkowitz,
    Project Lead, Sun Studio Analyzer

  • Segmentation fault when calling dbms_alert.register() procedure from OCCI

    I am trying to call the dbms_alert.register() from the OCCI but I get segmentation fault when I run the program, here is the code snippet. I am gettin segmentation fault immediately after calling setSQL() method.
    Environment *occiEnvironment_;
    Connection *occiConnection_ ;
    string userName("SCOTT");
    string userPasswd("tiger");
    string url("");
    occiEnvironment_ = Environment::createEnvironment();
    try{
    occiConnection_ = occiEnvironment_->createConnection(userName,userPasswd,url);
    Statement *occiStatement1;
    cout << "Before setSQL" << endl;
    occiStatement1->setSQL("BEGIN dbms_alert.register(:1); END;");
    cout << "After setSQL" << endl;
    string alert1("MY_ALERT");
    occiStatement1->setString(1,alert1);
    occiStatement1->execute();
    catch (SQLException ea)
    cout << ea.what();
    }

    Thanks for the reply, now I dont see segmentation fault.
    I tried to exted the code further to wait for the registered events, I added the following code, I do get and event but then get the exception:
    Statement *occiStatement1 = occiConnection_->createStatement();
    Statement *occiStatement2 = occiConnection_->createStatement();
    string alert, msg;
    int status;
    occiStatement1->setSQL("BEGIN dbms_alert.register(:1); END;");
    string alert1("MY_ALERT");
    occiStatement1->setString(1,alert1);
    occiStatement1->execute();
    occiStatement2->setSQL("BEGIN dbms_alert.waitany(:alert,:msg,:status); END;");
    occiStatement2->registerOutParam(1, OCCICHAR, sizeof(alert));
    occiStatement2->registerOutParam(2, OCCICHAR, sizeof(msg));
    occiStatement2->registerOutParam(3, OCCIINT, sizeof(int));
    occiStatement2->execute();
    ===========================================================
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "SYS.DBMS_ALERT", line 252
    ORA-06512: at line 1
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "SYS.DBMS_ALERT", line 252
    ORA-06512: at line 1
    *** glibc detected *** free(): invalid pointer: 0x08619c48 ***
    Aborted

  • Segmentation fault when enabling replication with SQL API

    Hi,
    I've compiled BDB 5.3.21 on Ubuntu 11.04 (x86) with the following configure options:
    ../dist/configure enable-sql enable-sql_compat enable-debug enable-tcl --with-tcl=/usr/lib
    I was able to follow the Replication Usage Examples given in "Getting Started with the SQL APIs" to set up a set of replicated master/client databases.
    However, after I exited out of the dbsql session that started replication on the master database and re-opened the master database with dbsql, executing "pragma replication_initial_master=ON;" followed by "pragma replication=ON;" led to a segmentation fault. gdb showed that the segmentation fault occurred at:
    dbsql> pragma replication=ON;
    Program received signal SIGSEGV, Segmentation fault.
    0x0032d42b in __env_ref_get (dbenv=0x8056ad8, countp=0xbfffd498)
    at ../src/env/env_region.c:772
    772          renv = infop->primary;
    (gdb) list
    767          REGENV *renv;
    768          REGINFO *infop;
    769     
    770          env = dbenv->env;
    771          infop = env->reginfo;
    772          renv = infop->primary;
    773          *countp = renv->refcnt;
    774          return (0);
    775     }
    776     
    (gdb)
    Does anybody know of a solution to this or could this be a bug? Thanks in advance.
    P.S. here's a stack trace:
    (gdb) bt
    #0 0x0032d42b in __env_ref_get (dbenv=0x8056ad8, countp=0xbfffd498)
    at ../src/env/env_region.c:772
    #1 0x001786fc in hasDatabaseConnections (p=0x8056708)
    at ../lang/sql/generated/sqlite3.c:44420
    #2 0x00178a11 in bdbsqlPragmaStartReplication (pParse=0x80648e0,
    pDb=0x80561cc) at ../lang/sql/generated/sqlite3.c:44533
    #3 0x001797f5 in bdbsqlPragma (pParse=0x80648e0,
    zLeft=0x8062e20 "replication", zRight=0x8062dc0 "ON", iDb=0)
    at ../lang/sql/generated/sqlite3.c:44812
    #4 0x001c215d in sqlite3Pragma (pParse=0x80648e0, pId1=0x8064b60,
    pId2=0x8064b70, pValue=0x8064b90, minusFlag=0)
    at ../lang/sql/generated/sqlite3.c:78941
    #5 0x001e5c83 in yy_reduce (yypParser=0x8064b20, yyruleno=256)
    at ../lang/sql/generated/sqlite3.c:96668
    #6 0x001e6761 in sqlite3Parser (yyp=0x8064b20, yymajor=1, yyminor=...,
    pParse=0x80648e0) at ../lang/sql/generated/sqlite3.c:97051
    #7 0x001e7537 in sqlite3RunParser (pParse=0x80648e0,
    zSql=0x80648b8 "pragma replication=ON;", pzErrMsg=0xbfffdba0)
    at ../lang/sql/generated/sqlite3.c:97877
    #8 0x001c730e in sqlite3Prepare (db=0x8056010,
    zSql=0x80648b8 "pragma replication=ON;", nBytes=-1, saveSqlFlag=1,
    ---Type <return> to continue, or q <return> to quit---
    pReprepare=0x0, ppStmt=0xbfffdc8c, pzTail=0xbfffdc88)
    at ../lang/sql/generated/sqlite3.c:80736
    #9 0x001c7739 in sqlite3LockAndPrepare (db=0x8056010,
    zSql=0x80648b8 "pragma replication=ON;", nBytes=-1, saveSqlFlag=1,
    pOld=0x0, ppStmt=0xbfffdc8c, pzTail=0xbfffdc88)
    at ../lang/sql/generated/sqlite3.c:80828
    #10 0x001c7a5e in sqlite3_prepare_v2 (db=0x8056010,
    zSql=0x80648b8 "pragma replication=ON;", nBytes=-1, ppStmt=0xbfffdc8c,
    pzTail=0xbfffdc88) at ../lang/sql/generated/sqlite3.c:80903
    #11 0x0804baf6 in shell_exec (db=0x8056010,
    zSql=0x80648b8 "pragma replication=ON;",
    xCallback=0x804a3c4 <shell_callback>, pArg=0xbfffde14, pzErrMsg=0xbfffdcfc)
    at ../lang/sql/sqlite/src/shell.c:1092
    #12 0x0805030e in process_input (p=0xbfffde14, in=0x0)
    at ../lang/sql/sqlite/src/shell.c:2515
    #13 0x08051453 in main (argc=2, argv=0xbffff3f4)
    at ../lang/sql/sqlite/src/shell.c:2946
    -Irving
    Edited by: snowcrash on Jan 15, 2013 2:16 PM

    Thank you for reporting this. I have been able to reproduce this crash in-house.
    You need to specify the replication_initial_master and replication pragmas as part of initially creating your SQL database. The replication_initial_master pragma is not used or needed after the initial database creation at the initial master site. The replication=on pragma is a persistent setting that we remember internally the first time you specify it. This means that after specifying replication=on for the first time on a site, we will automatically restart replication for you in future dbsql sessions when we open the underlying Berkeley DB environment.
    This gives you a very simple workaround: don't respecify replication=on when you reenter dbsql.
    Of course, we shouldn't be crashing on an unnecessary pragma. I have added this to our list of fixes to consider for the future.
    Thanks,
    Paula Bingham
    Oracle

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

  • Segmentation fault when calling gpctr function from matlab mex file

    I am trying to write a simple mex file for square wave generation using counter1 of PCI-6035E. I am using matlab's native compiler to compile and link with the nidaq32 library, ver.6.9.3, with no errors. When the mex function is called from a matlab script, however, the program crashes at the first call, to reset the counter. (I can generate a square wave with the test panel.)

    Sorry for the delay in responding. I got caught up in other stuff. I am attaching my little program as requested. As you can see, I have just wrapped a mexFunction call round the example code for square wave generation. After I posted this, I tracked down a copy of BorlandC++, installed it on my computer and recompiled using that compiler and *b.* libraries. And would you know it, the program works. The question remains, though, why it doesn't work with Matlab's native lcc compiler. Plus, I have limited disk space, so if I can do without BorlandC, I can use the extra room. The runtime error was a Segmentation fault that I traced to the first call to GPCTR_Control.
    Attachments:
    pulsegen.c ‏4 KB

  • Nodejs segmentation fault when using npm

    I am using nodejs-0.8.14-1 and v8-3.14.0-1 on Raspberry Pi when I try to npm install a package I get a seg fault
    [root@alarmpi ~]# npm install express
    npm http GET https://registry.npmjs.org/express
    npm http 304 https://registry.npmjs.org/express
    Segmentation fault
    I see this thread: https://bbs.archlinux.org/viewtopic.php?id=151400
    That claims the problem is solved but it does not appear to be fixed for me. Any idea on what I can do to get this working?
    Edit: If I keep on trying (npm install express) like 7 or 8 times it will finally install.
    Last edited by kaptk2 (2012-11-21 03:28:37)

    This seems to have cleared itself up over the long weekend. So I guess this is solved, not sure what is wrong or what fixed it though.

  • Streamer gives segmentation fault when trying to grab a picture.

    I'm testing streamer to grab output from my web camera.
    Creating video works fine.
    # streamer -q -c /dev/video0 -f rgb24 -r 3 -t 00:30:00 -o outfile.avi
    But grabbing an image, gives segmentation fault.
    # streamer -c /dev/video0 -b 16 -o outfile.jpeg
    files / video: JPEG (JFIF) / audio: none
    Segmentation fault
    I got the commands from http://tldp.org/HOWTO/html_single/Webcam-HOWTO/#COMMAND
    Am I doing something wrong?

    Some extra information: If I run xawtv I get a blank screen but I can take a snapshot by pressing 'j' or by using the remote:
    $ xawtv-remote snap jpeg full picture.jpeg
    This actually gets an image from the camera. When I take a picture or close the xawtv client it briefly flashes an image of what the camera is seeing before returning back to black/closing.
    I also get exactly the same error as on the link above.

  • PCManFM Segmentation fault when trying to open two windows

    Hi
    It seems to be a bug, but I don't know if it's Arch, or upstream related, so first of all I will post here.
    What happens: When trying to open two different windows of the file manager PCManFM, it crashes systematically.
    How to reproduce: Open an terminal, type "pcmanfm"; pcmanfm is now open. Open another terminal, or another tab, type "pcmanfm"; pcmanfm is now closed. Go back to the first term, and you'll see "Segmentation fault"

    ozar wrote:While PCManFM is broken and rather annoying, note that you can open new tabs and windows from within the PCManFM window that already have open.
    Yep, I'm using this function since I noticed that bug but it'll be cool if this problem could be fixed in the near future ^^

  • Segmentation Fault when logging into WebDB HomePage

    Please Help!
    I've installed WebDB into an Oracle 8i database and have added
    the appropriate 'webdb' alias in the tnsnames.ora file. I start
    the WebDB Listener which starts and run fine, I can even go to
    the gateway.htm and listener.htm pages through WebDB. However,
    I run into a problem when going to the default WebDB HomePage
    where a dialog box pops up to have you login as the webdb user.
    I do this, and in a short while another dialog comes up and says
    that the 'document contains no data'. It then proceeds to kill
    all the 'wdblsnr' processes that were running in the background,
    which causes a segmentation fault to occur in the session that
    the WebDB Listener was started.
    (i.e.- http://{machine_name}:8080/WebDB/) Can anyone help?
    Thanks...
    null

    Hi Randall
    This is exactly the problem, most of us are running into. Please
    read the thread some lines above (rh6.0 + 8i + webdb again),
    where a workaround is mentioned.
    Dietmar
    Randall Sherrod (guest) wrote:
    : Please Help!
    : I've installed WebDB into an Oracle 8i database and have added
    : the appropriate 'webdb' alias in the tnsnames.ora file. I
    start
    : the WebDB Listener which starts and run fine, I can even go to
    : the gateway.htm and listener.htm pages through WebDB. However,
    : I run into a problem when going to the default WebDB HomePage
    : where a dialog box pops up to have you login as the webdb
    user.
    : I do this, and in a short while another dialog comes up and
    says
    : that the 'document contains no data'. It then proceeds to kill
    : all the 'wdblsnr' processes that were running in the
    background,
    : which causes a segmentation fault to occur in the session that
    : the WebDB Listener was started.
    : (i.e.- http://{machine_name}:8080/WebDB/) Can anyone help?
    : Thanks...
    null

  • Segmentation fault when using jni application

    Hi I have a segmentation fault whe i use jni with a c++ program, i don't know how to read hs_err_pid....log, can someone help me to analyse this file
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGSEGV (0xb) at pc=0x9704e824, pid=15092, tid=2983283632
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_15-b04 mixed mode, sharing)
    # Problematic frame:
    # C 0x9704e824
    --------------- T H R E A D ---------------
    Current thread (0x08379000): JavaThread "Xxxxxxxx main loop #1 (machine)" [_thread_in_native, id=15101]
    siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x9704e824
    Registers:
    EAX=0xb1f9c030, EBX=0xb1edafa0, ECX=0x48411fc8, EDX=0x08377218
    ESP=0xb1d13bfc, EBP=0xb1d13c18, ESI=0xb1f1020a, EDI=0xb1edc5a8
    EIP=0x9704e824, CR2=0x9704e824, EFLAGS=0x00010286
    Top of Stack: (sp=0xb1d13bfc)
    0xb1d13bfc: b1e78eb5 b1f9c030 48411fc8 b1e78e2b
    0xb1d13c0c: b1f9b494 b1d13c50 b0786e50 b1d13c78
    0xb1d13c1c: b1f6a332 b0786e50 48411fc8 b1d13c48
    0xb1d13c2c: b7bca34c 083790c0 b1d13c40 08410e58
    0xb1d13c3c: 00a0b574 b1f9c030 0838b2e0 b074ed18
    0xb1d13c4c: b1fca214 b1f9c360 0838b2e0 b072e2d8
    0xb1d13c5c: b1fb761c 08373ce8 b1d13c94 b1f6a16f
    0xb1d13c6c: b1f9b494 08373c08 00000001 b1d13cc8
    Instructions: (pc=0x9704e824)
    0x9704e814:
    [error occurred during error reporting, step 100, id 0xb]
    Stack: [0xb1c94000,0xb1d15000), sp=0xb1d13bfc, free space=510k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C 0x9704e824
    C [libxxxxxxxxxx.so.1.6+0x7d332] _ZN10MyApplication12Route4tickEj+0x1ce
    C [libxxxxxxxxxx.so.1.6+0x34248] _ZN10MyApplication4Core8workEj+0x34
    C [libyyyyyy.so+0x15457] ZN5CCore8mainLoopEP7JNIEnv+0x17f
    C [libyyyyyy.so+0x1f299] Java_com_xx_xxxxxxxx_xxxxxxxximpl_jni_JCore_run+0x35
    j com.xx.xxxxxxxx.xxxxxxxximpl.jni.JCore.run()V+0
    v ~StubRoutines::call_stub
    V [libjvm.so+0x17b2bc]
    V [libjvm.so+0x28fed8]
    V [libjvm.so+0x17ab15]
    V [libjvm.so+0x17abae]
    V [libjvm.so+0x1f2b15]
    V [libjvm.so+0x2f9933]
    V [libjvm.so+0x290ae8]
    C [libpthread.so.0+0x5371]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j com.xx.xxxxxxxx.xxxxxxxximpl.jni.JCore.run()V+0
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    =>0x08379000 JavaThread "Xxxxxxxx main loop #1 (machine)" [_thread_in_native, id=15101]
    0x083634d8 JavaThread "Thread-0" [_thread_in_native, id=15100]
    0x080a5c60 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=15098]
    0x080a47a8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=15097]
    0x080a3850 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=15096]
    0x0809dbe8 JavaThread "Finalizer" daemon [_thread_blocked, id=15095]
    0x0809bdb8 JavaThread "Reference Handler" daemon [_thread_blocked, id=15094]
    0x0805caa0 JavaThread "main" [_thread_in_native, id=15092]
    Other Threads:
    0x0809a940 VMThread [id=15093]
    0x080a71d0 WatcherThread [id=15099]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 576K, used 515K [0x88bc0000, 0x88c60000, 0x890a0000)
    eden space 512K, 95% used [0x88bc0000, 0x88c3a560, 0x88c40000)
    from space 64K, 40% used [0x88c40000, 0x88c46888, 0x88c50000)
    to space 64K, 0% used [0x88c50000, 0x88c50000, 0x88c60000)
    tenured generation total 1408K, used 918K [0x890a0000, 0x89200000, 0x8cbc0000)
    the space 1408K, 65% used [0x890a0000, 0x89185850, 0x89185a00, 0x89200000)
    compacting perm gen total 8192K, used 500K [0x8cbc0000, 0x8d3c0000, 0x90bc0000)
    the space 8192K, 6% used [0x8cbc0000, 0x8cc3d110, 0x8cc3d200, 0x8d3c0000)
    ro space 8192K, 68% used [0x90bc0000, 0x91142e10, 0x91143000, 0x913c0000)
    rw space 12288K, 48% used [0x913c0000, 0x91991640, 0x91991800, 0x91fc0000)
    Dynamic libraries:
    00113000-00121000 r-xp 00000000 03:01 6292457 /lib/tls/libpthread-2.3.4.so
    00121000-00123000 rwxp 0000d000 03:01 6292457 /lib/tls/libpthread-2.3.4.so
    00123000-00125000 rwxp 00123000 00:00 0
    0022c000-0023b000 r-xp 00000000 03:01 6292459 /lib/libresolv-2.3.4.so
    0023b000-0023d000 rwxp 0000f000 03:01 6292459 /lib/libresolv-2.3.4.so
    0023d000-0023f000 rwxp 0023d000 00:00 0
    002be000-002c5000 r-xp 00000000 03:01 6292458 /lib/libgcc_s-3.4.6-20060404.so.1
    002c5000-002c6000 rwxp 00007000 03:01 6292458 /lib/libgcc_s-3.4.6-20060404.so.1
    002e8000-003a8000 r-xp 00000000 03:01 10722848 /usr/lib/libstdc++.so.6.0.3
    003a8000-003ad000 rwxp 000bf000 03:01 10722848 /usr/lib/libstdc++.so.6.0.3
    003ad000-003b3000 rwxp 003ad000 00:00 0
    0087d000-0088f000 r-xp 00000000 03:01 6292465 /lib/libnsl-2.3.4.so
    0088f000-00891000 rwxp 00011000 03:01 6292465 /lib/libnsl-2.3.4.so
    00891000-00893000 rwxp 00891000 00:00 0
    00b99000-00bae000 r-xp 00000000 03:01 6292453 /lib/ld-2.3.4.so
    00bae000-00baf000 r-xp 00015000 03:01 6292453 /lib/ld-2.3.4.so
    00baf000-00bb0000 rwxp 00016000 03:01 6292453 /lib/ld-2.3.4.so
    00bb7000-00cdc000 r-xp 00000000 03:01 6292454 /lib/tls/libc-2.3.4.so
    00cdc000-00cdd000 r-xp 00124000 03:01 6292454 /lib/tls/libc-2.3.4.so
    00cdd000-00ce0000 rwxp 00125000 03:01 6292454 /lib/tls/libc-2.3.4.so
    00ce0000-00ce2000 rwxp 00ce0000 00:00 0
    00ce4000-00d05000 r-xp 00000000 03:01 6292455 /lib/tls/libm-2.3.4.so
    00d05000-00d07000 rwxp 00020000 03:01 6292455 /lib/tls/libm-2.3.4.so
    00d09000-00d0b000 r-xp 00000000 03:01 6292456 /lib/libdl-2.3.4.so
    00d0b000-00d0d000 rwxp 00001000 03:01 6292456 /lib/libdl-2.3.4.so
    08048000-08057000 r-xp 00000000 03:01 11715142 /usr/java/jdk1.5.0_15/bin/java
    08057000-08059000 rwxp 0000e000 03:01 11715142 /usr/java/jdk1.5.0_15/bin/java
    08059000-086b9000 rwxp 08059000 00:00 0
    88bc0000-88c60000 rwxp 88bc0000 00:00 0
    88c60000-890a0000 rwxp 88c60000 00:00 0
    890a0000-89200000 rwxp 890a0000 00:00 0
    89200000-8cbc0000 rwxp 89200000 00:00 0
    8cbc0000-8d3c0000 rwxp 8cbc0000 00:00 0
    8d3c0000-90bc0000 rwxp 8d3c0000 00:00 0
    90bc0000-91143000 r-xs 00001000 03:01 11698348 /usr/java/jdk1.5.0_15/jre/lib/i386/client/classes.jsa
    91143000-913c0000 rwxp 91143000 00:00 0
    913c0000-91992000 rwxp 00584000 03:01 11698348 /usr/java/jdk1.5.0_15/jre/lib/i386/client/classes.jsa
    91992000-91fc0000 rwxp 91992000 00:00 0
    91fc0000-92090000 rwxp 00b56000 03:01 11698348 /usr/java/jdk1.5.0_15/jre/lib/i386/client/classes.jsa
    92090000-923c0000 rwxp 92090000 00:00 0
    923c0000-923c4000 r-xs 00c26000 03:01 11698348 /usr/java/jdk1.5.0_15/jre/lib/i386/client/classes.jsa
    923c4000-927c0000 rwxp 923c4000 00:00 0
    b0500000-b0521000 rwxp b0500000 00:00 0
    b0521000-b0600000 --xp b0521000 00:00 0
    b0600000-b0636000 rwxp b0600000 00:00 0
    b0636000-b0700000 --xp b0636000 00:00 0
    b0700000-b0800000 rwxp b0700000 00:00 0
    b0873000-b0874000 --xp b0873000 00:00 0
    b0874000-b1c74000 rwxp b0874000 00:00 0
    b1c74000-b1c78000 r-xp 00000000 03:01 6291503 /lib/libnss_dns-2.3.4.so
    b1c78000-b1c7a000 rwxp 00003000 03:01 6291503 /lib/libnss_dns-2.3.4.so
    b1c94000-b1c97000 --xp b1c94000 00:00 0
    b1c97000-b1d15000 rwxp b1c97000 00:00 0
    b1d15000-b1d1b000 r-xs 00000000 03:01 10748120 /usr/lib/gconv/gconv-modules.cache
    b1fcb000-b1fdd000 r-xp 00000000 03:01 11603256 /usr/java/jdk1.5.0_15/jre/lib/i386/libnet.so
    b1fdd000-b1fde000 rwxp 00011000 03:01 11603256 /usr/java/jdk1.5.0_15/jre/lib/i386/libnet.so
    b1fde000-b1fe1000 --xp b1fde000 00:00 0
    b1fe1000-b205f000 rwxp b1fe1000 00:00 0
    b2089000-b214f000 r-xs 00000000 03:01 11698359 /usr/java/jdk1.5.0_15/jre/lib/ext/localedata.jar
    b214f000-b2152000 r-xs 00000000 03:01 11698358 /usr/java/jdk1.5.0_15/jre/lib/ext/dnsns.jar
    b2152000-b217d000 r-xs 00000000 03:01 11698357 /usr/java/jdk1.5.0_15/jre/lib/ext/sunpkcs11.jar
    b217d000-b21a4000 r-xs 00000000 03:01 11698356 /usr/java/jdk1.5.0_15/jre/lib/ext/sunjce_provider.jar
    b21a4000-b21a5000 --xp b21a4000 00:00 0
    b21a5000-b2225000 rwxp b21a5000 00:00 0
    b2225000-b2228000 --xp b2225000 00:00 0
    b2228000-b22a6000 rwxp b2228000 00:00 0
    b22a6000-b22a9000 --xp b22a6000 00:00 0
    b22a9000-b2327000 rwxp b22a9000 00:00 0
    b2327000-b232a000 --xp b2327000 00:00 0
    b232a000-b23a8000 rwxp b232a000 00:00 0
    b23a8000-b25a8000 r-xp 00000000 03:01 10717357 /usr/lib/locale/locale-archive
    b25a8000-b25ab000 --xp b25a8000 00:00 0
    b25ab000-b2629000 rwxp b25ab000 00:00 0
    b2629000-b262c000 --xp b2629000 00:00 0
    b262c000-b26aa000 rwxp b262c000 00:00 0
    b26aa000-b26ab000 --xp b26aa000 00:00 0
    b26ab000-b273c000 rwxp b26ab000 00:00 0
    b273c000-b2758000 rwxp b273c000 00:00 0
    b2758000-b2759000 rwxp b2758000 00:00 0
    b2759000-b2776000 rwxp b2759000 00:00 0
    b2776000-b2777000 rwxp b2776000 00:00 0
    b2777000-b2778000 rwxp b2777000 00:00 0
    b2778000-b277a000 rwxp b2778000 00:00 0
    b277a000-b2796000 rwxp b277a000 00:00 0
    b2796000-b279a000 rwxp b2796000 00:00 0
    b279a000-b27b6000 rwxp b279a000 00:00 0
    b27b6000-b27c5000 rwxp b27b6000 00:00 0
    b27c5000-b2841000 rwxp b27c5000 00:00 0
    b2841000-b2941000 rwxp b2841000 00:00 0
    b2941000-b4841000 rwxp b2941000 00:00 0
    b4841000-b50b0000 r-xs 00000000 03:01 11603318 /usr/java/jdk1.5.0_15/jre/lib/charsets.jar
    b50b0000-b50c5000 r-xs 00000000 03:01 11603283 /usr/java/jdk1.5.0_15/jre/lib/jce.jar
    b50c5000-b514a000 r-xs 00000000 03:01 11603316 /usr/java/jdk1.5.0_15/jre/lib/jsse.jar
    b514a000-b51b3000 rwxp b514a000 00:00 0
    b51b3000-b77db000 r-xs 00000000 03:01 11603320 /usr/java/jdk1.5.0_15/jre/lib/rt.jar
    b77db000-b77ea000 r-xp 00000000 03:01 11603253 /usr/java/jdk1.5.0_15/jre/lib/i386/libzip.so
    b77ea000-b77ec000 rwxp 0000e000 03:01 11603253 /usr/java/jdk1.5.0_15/jre/lib/i386/libzip.so
    b77ec000-b780d000 r-xp 00000000 03:01 11603251 /usr/java/jdk1.5.0_15/jre/lib/i386/libjava.so
    b780d000-b780f000 rwxp 00020000 03:01 11603251 /usr/java/jdk1.5.0_15/jre/lib/i386/libjava.so
    b780f000-b7818000 r-xp 00000000 03:01 6291506 /lib/libnss_files-2.3.4.so
    b7818000-b781a000 rwxp 00008000 03:01 6291506 /lib/libnss_files-2.3.4.so
    b7820000-b782b000 r-xp 00000000 03:01 11603250 /usr/java/jdk1.5.0_15/jre/lib/i386/libverify.so
    b782b000-b782c000 rwxp 0000b000 03:01 11603250 /usr/java/jdk1.5.0_15/jre/lib/i386/libverify.so
    b782c000-b7834000 rwxs 00000000 03:01 6619137 /tmp/hsperfdata_myname/15092
    b7834000-b783a000 r-xp 00000000 03:01 11603246 /usr/java/jdk1.5.0_15/jre/lib/i386/native_threads/libhpi.so
    b783a000-b783b000 rwxp 00006000 03:01 11603246 /usr/java/jdk1.5.0_15/jre/lib/i386/native_threads/libhpi.so
    b783b000-b783c000 rwxp b783b000 00:00 0
    b783c000-b783d000 r-xp b783c000 00:00 0
    b783d000-b7baf000 r-xp 00000000 03:01 11698345 /usr/java/jdk1.5.0_15/jre/lib/i386/client/libjvm.so
    b7baf000-b7bcd000 rwxp 00372000 03:01 11698345 /usr/java/jdk1.5.0_15/jre/lib/i386/client/libjvm.so
    b7bcd000-b7fe6000 rwxp b7bcd000 00:00 0
    bfe00000-bfe03000 --xp bfe00000 00:00 0
    bfe03000-c0000000 rwxp bfe03000 00:00 0
    ffffe000-fffff000 ---p 00000000 00:00 0
    VM Arguments:
    jvm_args: -Xcheck:jni -XX:+PrintCompilation
    java_command: myapplication
    Launcher Type: SUN_STANDARD
    Environment Variables:
    PATH=/home/myname/XXXXXXXX_PERF/bin:/usr/java/jdk1.5.0_15/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/myname/bin
    LD_LIBRARY_PATH=/usr/java/jdk1.5.0_15/jre/lib/i386/client:/usr/java/jdk1.5.0_15/jre/lib/i386:/usr/java/jdk1.5.0_15/jre/../lib/i386:/home/myname/XXXXXXXX/lib
    SHELL=/bin/bash
    DISPLAY=XXX.XXX.X.XXX:0.0
    Signal Handlers:
    SIGSEGV: [libjvm.so+0x32b740], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGBUS: [libjvm.so+0x32b740], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGFPE: [libjvm.so+0x28ef10], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGPIPE: [libjvm.so+0x28ef10], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGILL: [libjvm.so+0x28ef10], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGUSR2: [libjvm.so+0x291360], sa_mask[0]=0x00000000, sa_flags=0x14000004
    SIGHUP: [libjvm.so+0x290d90], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGINT: [libjvm.so+0x290d90], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGQUIT: [libjvm.so+0x290d90], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGTERM: [libjvm.so+0x290d90], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    --------------- S Y S T E M ---------------
    OS:Red Hat Enterprise Linux WS release 4 (Nahant Update 4)
    uname:Linux 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686
    libc:glibc 2.3.4 NPTL 2.3.4
    rlimit: STACK 20480k, CORE 0k, NPROC 16375, NOFILE 1024, AS infinity
    load average:3.46 1.36 0.50
    CPU:total 2 (cores per cpu 1, threads per core 2) family 15 model 4 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ht
    Memory: 4k page, physical 1034096k(389000k free), swap 0k(0k free)
    vm_info: Java HotSpot(TM) Client VM (1.5.0_15-b04) for linux-x86, built on Feb 9 2008 01:37:00 by java_re with gcc 3.2.1-7a (J2SE release)
    Regards
    Fr�d�ric

    Simple - something is wrong with your C/C++ code.
    You have a pointer/memory bug.

  • Segmentation fault when creating a new database.

    Hi I have just installed Oracle 9i on a Red Hat Linux Server running Red Hat enterpise 4. I installed all the prerequisites and set up the shared memory etc as of this installation guide:
    http://www.puschitz.com/InstallingOracle9i.shtml
    I have just run "dbca" to create a database and after entering all the criteria, setting up all the table spaces I then hit finish and click ok on the summary page. I then get the segmentation error as detailed below:
    [$] /oracle9/app/oracle/bin/dbca: line 124: 15524 Segmentation fault $JRE_DIR/bin/jre -DORACLE_HOME=$OH -DJDBC_PROTOCOL=thin -mx64m -classpath $CLASSPATH oracle.sysman.assistants.dbca.Dbca $ARGUMENTS
    I thought it could be the $JRE_DIR is set wrong but doing an echo on this it returns:
    [$] echo $JRE_DIR
    /home/oracle9/jre/1.1.8
    Which is correct.
    I dont know what to do now!
    Any help would be great. Cheers.

    Thanks for the reply. I just found the answer from a one last google search.
    I added -native to the dbca script which seems to allow it to run without crashing.
    as detailed in this document:
    http://ftp.novell.com/partners/oracle/docs/9205_sles9_install.pdf

  • Segmentation faulting when copying text from various programs.

    Greetings, I have had this issue ongoing for months now.  I have done several re-installs and the problems will eventually come pack.  Now I am not ruling out hardware as I am RMAing the motherboard as that is the only thing left remaining.   This is my work PC and I get the errors below when I copy text out of Evolution, Pluma and Remmina are the primary offenders.  But I get core dumps or unrecoverable hard locks also from Firefox, Chrome, when I try to change themes or click modify settings in Virtualbox when a VM is running.  Below is a small snippet from journalctl.
    Jan 20 16:54:16 rocker /etc/gdm/Xsession[892]: (evolution:1257): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_...failed
    Jan 20 16:54:16 rocker kernel: evolution[1257]: segfault at 18 ip 00007f31ad554340 sp 00007fffbf0c65b8 error 4 in libgdk...+ab000]
    (remmina:1672): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
    Jan 20 16:55:46 rocker kernel: remmina[1672]: segfault at 18 ip 00007f4976e32340 sp 00007fff4e408f18 error 4 in libgdk-3.so.0.1000.6[7f4976df8000+ab000]
    Jan 20 16:55:46 rocker systemd-coredump[3934]: Process 1672 (remmina) dumped core.
    The problem in Evolution, Pluma  and Remmina I can recreate on demand to always give the error above.  The others I have to switch to another virtual terminal and reboot.   I have done several fresh installs.  Now my PC at home is the exact same hardware minus the motherboard.  I can pull my drives from this PC and move it to my home PC and the problem does not carry.  I can even move all my hardware (yes everything) minus the motherboard and the problem still does not carry over.  So more than likely the problem, if it is hardware, is the motherboard. 
    I have not updated in the past 15 days as updating any package does not fix the issue nor does re-installing the packages the error points to.  I run Mate as a desktop environment currently, with GDM as my greeter.  In case this is not hardware I am posting this to any open suggestions.  I can obtain more logs if requested or provide the hardware specs if that will help.  Thank you in advance for any help/suggestions.    If this is posted in the wrong area also please let me know.
    Last edited by Rune.Walsh (2014-01-21 23:06:06)

    Thank you for the reply.
    I have run RAM test inside this machine and the same RAM in my home machine on various occasions.  No errors.  I ran them 1 at time and all together.  But as a test I also but that RAM in my home machine and the issue did not repeat.  Meaning I actually swapped all my hardware(processor, RAM, hard drives and cabling).  Now I only ran it for a day.  But I can easily on the work machine make the error happen on demand.

  • Set_thread_id Segmentation fault

    Hello,
    I want to use set_thread_it to do some multi-process work,but i always got a Segmentation fault when open a database after i use the set_thread_id function.
    the code is:
    static void thread_id(DB_ENV *, pid_t *, db_threadid_t *);
    int main(int argc, char *argv[])
    int ret = 0;
    DB_ENV *envp = NULL;
    DB *dbp = NULL;
    ret = db_env_create(&envp, 0);
    ret = envp->set_thread_count(envp, 16);
    ret = envp->open(envp, "master", DB_CREATE|DB_INIT_MPOOL|DB_THREAD|DB_INIT_TXN|DB_INIT_LOG|DB_RECOVER, 0);
    ret = envp->set_thread_id(envp, thread_id);
    ret = db_create(&dbp, envp, 0);
    printf("before dbopen %d.\n", pthread_self());
    ret = dbp->open(dbp, NULL, "test.db", NULL, DB_BTREE, DB_CREATE, 0);
    printf("after dbopen.\n");
    disconnection(&envp, &dbp);
    getchar();
    return 0;
    static void thread_id(DB_ENV dbenv, pid_t pid, db_threadid_t *tid)
    *pid = getpid();
    *tid = (unsigned int)pthread_self();
    printf("pid is %d, tid is %ld.\n", pid, tid);
    then i will got:
    pid is 4545, tid is -1208727872.
    before dbopen -1208727872.
    pid is 4545, tid is -1208727872.
    pid is 4545, tid is -1208727872.
    pid is 4545, tid is -1208727872.
    pid is 4545, tid is -1208727872.
    pid is 4545, tid is -1208727872.
    Segmentation fault
    but if i'm not use the set_thread_id func ,everything is ok.
    does anyone has ideas on that?
    BTW:system status is Linux xxx 2.6.9-42.10AXsmp #1 SMP Tue Mar 13 10:34:18 EDT 2007 i686 i686 i386 GNU/Linux

    Michael,
    Thanks for your reply.
    in above codes, if I change this line:
    *tid = (unsigned int)pthread_self();
    into :
    tid = & ((unsigned int)pthread_self());
    the Segmentation fault will not occur. But I dont know whether the actual function will achieved this way.
    You mention that if the system has POSIX, we dont have to setup this callback, our codes will run on Solaris/Linux, does this mean we can call the Env->failchk(0) directly without setting up "set_thread_id" and "set_is_alive" ?
    Thanks very much.

Maybe you are looking for

  • New install of SQL Server 2012 x64 Express on Windows 2008 Server, keep getting error when using Management Studio?

    After installing the x64 with all tools excluding the SDK from the SQL Express Edition, I go to Management Studio, log in and get the error when I click under the Instance name- Databases...Have reinstalled many times, removed all directories and reg

  • I can't see my links in the Links window. What should I do?

    I've upgraded all my Adobe programs to the new CC version. After few days something happened to the Links window in Illustrator. Even if my file contains images they are not appear in the Link window. What should I do? Thanks

  • SWF not working in DMP-4305G ??

    Hi all I have created a simple SWF file, which just display a Helloworld text only Save it as .swf with Flash player version 7 I have uploaded the swf to a web server. i.e. http://192.168.1.100/test.swf In the Cisco Digital Media Play Device manager

  • How to run Powershell script (function) through Windows Task Schduler ??

    Hello All, i have Powershell script which is created as a function. I have to give parameters to run the script. And it is working fine. Now i want to run this script through windows task scheduler but it is not working. I dont know how to call power

  • Career Advice

    Dear all, I have been working in the Data Migration (for R3 and ISU) for the past 3.5 years and 4 projects. I have a good understanding of most of the data migration tools and techniques like lsmw,bdc,emigall, custom programs, and also managing abap