"Segmentation fault" during tns rman active duplicate

Hello. I am trying to do an active duplicate using tns connectivity and just after restoring the controlfile the process fails with the error "Segmentation fault". However if I start the rman using Ezconnect everything goes smoothly. Restarting the databases did not help. What could be the reason? Here is the output with the error:
rman target sys/oracle@EN9 auxiliary sys/oracle@EN910
Recovery Manager: Release 11.2.0.3.0 - Production on Thu Jun 13 17:41:15 2013
Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
connected to target database: EN9 (DBID=529480944)
connected to auxiliary database: EN910 (not mounted)
RMAN> duplicate target database to EN910 from active database nofilenamecheck;
Starting Duplicate Db at 13-JUN-13
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=24 device type=DISK
contents of Memory Script:
   sql clone "alter system set  control_files =
  ''+DATA/en910/controlfile/current.271.818012497'' comment=
''Set by RMAN'' scope=spfile";
   sql clone "alter system set  db_name =
''EN9'' comment=
''Modified by RMAN duplicate'' scope=spfile";
   sql clone "alter system set  db_unique_name =
''EN910'' comment=
''Modified by RMAN duplicate'' scope=spfile";
   shutdown clone immediate;
   startup clone force nomount
   backup as copy current controlfile auxiliary format  '+DATA/en910/controlfile/current.275.818012497';
   sql clone "alter system set  control_files =
  ''+DATA/en910/controlfile/current.275.818012497'' comment=
''Set by RMAN'' scope=spfile";
   shutdown clone immediate;
   startup clone nomount;
   alter clone database mount;
executing Memory Script
sql statement: alter system set  control_files =   ''+DATA/en910/controlfile/current.271.818012497'' comment= ''Set by RMAN'' scope=spfile
sql statement: alter system set  db_name =  ''EN9'' comment= ''Modified by RMAN duplicate'' scope=spfile
sql statement: alter system set  db_unique_name =  ''EN910'' comment= ''Modified by RMAN duplicate'' scope=spfile
Oracle instance shut down
Oracle instance started
Total System Global Area     242208768 bytes
Fixed Size                     2227176 bytes
Variable Size                184550424 bytes
Database Buffers              50331648 bytes
Redo Buffers                   5099520 bytes
Starting backup at 13-JUN-13
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=25 device type=DISK
channel ORA_DISK_1: starting datafile copy
copying current control file
Oracle instance started
Segmentation fault
tnsnames.ora of target db:
EN9 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ora9)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = EN9)
tnsnames.ora of aux db:
EN910 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ora10)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = EN910)
EN9 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ora9)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = EN9)
listener.ora of aux db:
SID_LIST_LISTENER =
        (SID_LIST =
                (SID_DESC =
                        (GLOBAL_DBNAME=EN910)
                        (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
                        (SID_NAME=EN910)

if you have access to MOS:
Rman Duplicate Fails With Segmentation Fault [ID 744717.1]
Rman Duplicate Failing With A Segmentation Fault [ID 1092423.1]

Similar Messages

  • RMAN Active Duplicate Issue

    Experts,
    I'm trying to setup a single server standby database for a RAC primary database using Data Gaurad configurations. In this process, I have finished all the configuration and I was about to run RMAN script to duplicate primary DB on Standby DB.
    When I exectue RMAN script, it is throwing below errors :
    tarting backup at 05-DEC-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=901 instance=iam1 device type=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 12/05/2011 15:31:42
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 12/05/2011 15:31:42
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-01031: insufficient privileges
    ORA-17629: Cannot connect to the remote database server
    Additional information:
    - Password file is copied properly from RAC primary and standby database.
    - Able to connect to standby DB from Primary database via sqlplus tool.
    - Telnet is working fine vice versa.
    - All pings are working fine.
    Please let me know if you have any suggestions. Happy to provide further information if needed.
    Thanks

    Please do not create multiple threads for the same issue.
    Data Guard Setup : RMAN Active Duplicate Issue

  • Segmentation fault during index

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

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

  • Segmentation fault during Intelligent startup

    I am using Red Hat 9 and Oracle 9.2.0.4. When I try to startup the Intelligent Agent I am getting the following error. Does anyone have any solution to this?
    Thanks,
    Mustafa
    Starting Oracle Intelligent Agent.../opt/ora9/product/9.2/bin/dbsnmpwd: line 156: 15596 Segmentation fault nohup $ORACLE_HOME/bin/dbsnmp $* >>$DBSNMP_WDLOGFILE 2>&1
    /opt/ora9/product/9.2/bin/dbsnmpwd: line 156: 15609 Segmentation fault nohup $ORACLE_HOME/bin/dbsnmp $* >>$DBSNMP_WDLOGFILE 2>&1
    /opt/ora9/product/9.2/bin/dbsnmpwd: line 156: 15621 Segmentation fault nohup $ORACLE_HOME/bin/dbsnmp $* >>$DBSNMP_WDLOGFILE 2>&1
    /opt/ora9/product/9.2/bin/dbsnmpwd: line 156: 15633 Segmentation fault nohup $ORACLE_HOME/bin/dbsnmp $* >>$DBSNMP_WDLOGFILE 2>&1
    .[oracle@localhost 9.2]$

    Look at:
    Re: Installation Procedure for Oracle9iR2 on RHEL AS 3

  • Ld segmentation fault generating output file

    I have a fairly large executable that is being compiled on Solaris 8 with gcc 3.2.3 configured with the Solaris 64 bit ld. ld is failing with a segmentation fault during the output file generation phase.
    A stack track of ld at the time of the seg fault look like the following:
    update_osym
    update_outfile
    ld_main
    main
    One of the registers referenced in the affending assembly instruction is suspiciously close
    to 64K.
    The .o's have been compiled with the -g option which generates quite a bit of debug information.
    Has anyone seen this problem and is there any workaround other than not compiling with -g ?

    A few (sort of obvious) things to check:
    1) Are you running the latest linker patch? It seems to be updated fairly often. For solaris 8, the current revision is 109147-26
    2) Are you invoking ld directly, or letting gcc invoke it for you? In general it is much better to let the compiler binary drive ld.

  • Rman clone duplicate database from active database

    Hi All,
    I read document saying that rman can duplicate database from active database (prod) to a remote server, so long as you configure listener and tnsname.
    I am working toward it.
    I met a problem, which is when i bring up auxiliary database in nomount mode, the listener service of that auxiliary database is in BLOCKED status, and throw out ora-12528 error when I rman auxiliary sys/pass@clonedb. Isn't nomount mode the mode which auxiliary db is supposed to be in?
    (ora-12528: TNS:listener: all appropriate instances are blocking new connections)
    Thanks,
    milic

    You may have run into the same problem like I did recently:
    The (UR=A) clause in tnsnames.ora is intended to work with a dynamically registered handler so the use of SERVICE_NAME versus SID is preferred.
    ORA-12528: TNS listener BLOCKED - trying to duplicate database
    Also for further problems:
    RMAN 11gR2 duplicate database ORA-17627 ORA-01017 RMAN-03009 ORA-17628

  • Root.sh failure during Grid install - segmentation fault for clscfg

    Hi anyone got any idea how to resolve the following error during execution of root.sh on second node of a RAC installation. I see there is a failure when clscfg -localadd is run - perhaps this is the start of the issue. I have no idea what this command is doing
    Any help appreciated
    Installing verison 11.2.0.2 on RHEL 5
    ntpd was NOT running - I ignored this during the pre-reqs at the end of the runInstaller - perhaps this is the issue and i need to start fresh and make sure its running before running root.sh ?
    root.sh....
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root script.
    Now product-specific root actions will be performed.
    Using configuration parameter file: /opt/app/11.2.0/grid/crs/install/crsconfig_params
    Failure with signal 11 from command: 1 /opt/app/11.2.0/grid/bin/clscfg -localadd
    OLR initialization - successful
    Adding daemon to inittab
    ACFS-9200: Supported
    ACFS-9300: ADVM/ACFS distribution files found.
    ACFS-9307: Installing requested ADVM/ACFS software.
    ACFS-9308: Loading installed ADVM/ACFS drivers.
    ACFS-9321: Creating udev for ADVM/ACFS.
    ACFS-9323: Creating module dependencies - this may take some time.
    ACFS-9327: Verifying ADVM/ACFS devices.
    ACFS-9309: ADVM/ACFS installation correctness verified.
    CRS-2672: Attempting to start 'ora.mdnsd' on 'coden-ota-odc'
    CRS-2676: Start of 'ora.mdnsd' on 'coden-ota-odc' succeeded
    CRS-2672: Attempting to start 'ora.gpnpd' on 'coden-ota-odc'
    CRS-2676: Start of 'ora.gpnpd' on 'coden-ota-odc' succeeded
    CRS-2672: Attempting to start 'ora.cssdmonitor' on 'coden-ota-odc'
    CRS-2672: Attempting to start 'ora.gipcd' on 'coden-ota-odc'
    CRS-2676: Start of 'ora.cssdmonitor' on 'coden-ota-odc' succeeded
    CRS-2676: Start of 'ora.gipcd' on 'coden-ota-odc' succeeded
    CRS-2672: Attempting to start 'ora.cssd' on 'coden-ota-odc'
    CRS-2672: Attempting to start 'ora.diskmon' on 'coden-ota-odc'
    CRS-2676: Start of 'ora.diskmon' on 'coden-ota-odc' succeeded
    CRS-2676: Start of 'ora.cssd' on 'coden-ota-odc' succeeded
    Start of resource "ora.ctssd" failed
    CRS-2672: Attempting to start 'ora.ctssd' on 'coden-ota-odc'
    CRS-2674: Start of 'ora.ctssd' on 'coden-ota-odc' failed
    CRS-4000: Command Start failed, or completed with errors.
    Cluster Time Synchronisation Service start in exclusive mode failed at /opt/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 6455.
    /opt/app/11.2.0/grid/perl/bin/perl -I/opt/app/11.2.0/grid/perl/lib -I/opt/app/11.2.0/grid/crs/install /opt/app/11.2.0/grid/crs/install/rootcrs.pl execution failed
    I executed the /opt/app/11.2.0/grid/bin/clscfg to see what the result was and it returns a Segmentation Fault to std err
    Edited by: 787789 on Nov 10, 2010 6:58 AM

    Hi,
    here is one document you can go for work around but it is on windows platform but similar error as you posted *CRS Installation Failed with "failed to configure Oracle Cluster Registry with CLSCFG, ret 9" [ID 851742.1]*
    Thanks

  • Error during up2date oracle-validated gives segmentation fault

    Hi all,
    I am trying to run the up2date oracle-validated command for Oracle Enterprise Linux 5 64 bit and it
    fails on memory dump errors.
    [root@tstdb01]# up2date oracle-validated
    Fetching Obsoletes list for channel: el5_x86_64_latest...
    Fetching rpm headers...
    Segmentation fault
    Any ideas how to resolve this?
    Edited by: 783904 on Aug 19, 2010 9:09 AM

    # cat /etc/sysconfig/rhn/up2date
    # Automatically generated Red Hat Update Agent config file, do not edit.
    # Format: 1.0
    enableRollbacks[comment]=Determine if up2date should create rollback rpms
    enableRollbacks=0
    noSSLServerURL[comment]=Remote server URL without SSL
    noSSLServerURL=http://linux-update.oracle.com/XMLRPC
    useNoSSLForPackages[comment] =Use the noSSLServerURL for package, package list, and header fetching
    useNoSSLForPackages=0
    debug[comment]=Whether or not debugging is enabled
    debug=0
    noReplaceConfig[comment]=When selected, no packages that would change configuration data are automatically installed
    noReplaceConfig=1
    retrieveOnly[comment]=Retrieve packages only
    retrieveOnly=0
    keepAfterInstall[comment]=Keep packages on disk after installation
    keepAfterInstall=0
    systemIdPath[comment]=Location of system id
    systemIdPath=/etc/sysconfig/rhn/systemid
    serverURL[comment]=Remote server URL
    serverURL=https://linux-update.oracle.com/XMLRPC
    pkgSkipList[comment]=A list of package names, optionally including wildcards, to skip
    pkgSkipList=kernel*;
    pkgsToInstallNotUpdate[comment]=A list of provides names or package names of packages to install not update
    pkgsToInstallNotUpdate=kernel;kernel-modules;kernel-devel;
    adminAddress[comment]=List of e-mail addresses for update agent to communicate with when run in batch mode
    adminAddress=root@localhost;
    storageDir[comment]=Where to store packages and other data when they are retrieved
    storageDir=/var/spool/up2date
    fileSkipList[comment]=A list of file names, optionally including wildcards, to skip
    fileSkipList=;
    removeSkipList[comment]=A list of package names, optionally including wildcards that up2date will not remove
    removeSkipList=kernel*;
    enableProxy[comment]=Use a HTTP Proxy
    enableProxy=0
    retrieveSource[comment]=Retrieve source RPM along with binary package
    retrieveSource=0
    versionOverride[comment]=Override the automatically determined system version
    versionOverride=
    httpProxy[comment]=HTTP proxy in host:port format, e.g. squid.redhat.com:3128
    httpProxy=
    useGPG[comment]=Use GPG to verify package integrity
    useGPG=1
    gpgKeyRing[comment]=The location of the gpg keyring to use for package checking
    gpgKeyRing=/etc/sysconfig/rhn/up2date-keyring.gpg
    noBootLoader[comment]=To disable modification of the boot loader (lilo, silo, etc)
    noBootLoader=0
    noReboot[comment]=Disable the reboot actions
    noReboot=0
    networkRetries[comment]=Number of attempts to make at network connections before giving up
    networkRetries=5
    updateUp2date[comment]=Allow up2date to update itself when possible
    updateUp2date=1
    disallowConfChanges[comment]=Config options that can not be overwritten by a config update action
    disallowConfChanges=noReboot;sslCACert;useNoSSLForPackages;noSSLServerURL;serverURL;disallowConfChanges;
    sslCACert[comment]=The CA cert used to verify the ssl server
    sslCACert=/usr/share/rhn/ULN-CA-CERT
    [root@tstdb01 up2date]# *up2date --show-channels*el5_x86_64_latest                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

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

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

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

  • 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

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

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

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

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

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

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

  • Segmentation fault in /usr/lib32/libc.so.6

    Hi. I have two machines very different, but both of them with fully updated 64 bits Arch with 3.11.2 kernel. I've bought a SpeakOut English course that includes a native linux binary and, for my surprise, it works in one machine but throws a segfault in the other. I would like to know what's the difference, and solve the segfault if possible. The 'sucessful' machine is a wetab tablet with LXDE and intel video drivers, and the 'unsucessful' one is a standard PC with gnome 3.8 and an ATI card (with catalyst-test drivers from AUR).
    The binary seems to be very old, it forced me to install several gtk2 32bits packages (in both machines). In the 'unsucessful' machine
    lib32-gtk2
    lib32-atk
    lib32-libpng
    lib32-libxrender
    lib32-freetype2
    lib32-fontconfig
    lib32-pixman
    lib32-cairo
    lib32-libxft
    lib32-icu
    lib32-harfbuzz
    lib32-pango
    lib32-libjpeg-turbo
    lib32-libtiff
    lib32-gdk-pixbuf2
    lib32-e2fsprogs
    lib32-openssl
    lib32-libldap
    lib32-keyutils
    lib32-krb5
    lib32-libcups
    lib32-libxcursor
    lib32-libxrandr
    lib32-libxinerama
    lib32-libxcomposite
    lib32-sqlite
    lib32-libidn
    lib32-libcanberra
    lib32-libltdl
    lib32-tdb
    lib32-libcanberra-pulse
    That's the debugging of the segfault in the binary  START_Linux:
    % gdb ./START_Linux :(
    GNU gdb (GDB) 7.6.1
    Copyright (C) 2013 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "x86_64-unknown-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /run/media/david/SPEAKOUT_PRE_INT_AB/DATA/START_Linux...(no debugging symbols found)...done.
    (gdb) r
    Starting program: /run/media/david/SPEAKOUT_PRE_INT_AB/DATA/./START_Linux
    warning: Could not load shared library symbols for linux-gate.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".
    (START_Linux:1769): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «adwaita»,
    (START_Linux:1769): Gtk-WARNING **: Imposible encontrar el motor de temas en la ruta al _modulo: «adwaita»,
    Program received signal SIGSEGV, Segmentation fault.
    0xf75f1f45 in __longjmp_chk () from /usr/lib32/libc.so.6
    (gdb) bt full
    #0 0xf75f1f45 in __longjmp_chk () from /usr/lib32/libc.so.6
    No symbol table info available.
    #1 0xf74d8034 in ?? () from /usr/lib32/libgdk_pixbuf-2.0.so.0
    No symbol table info available.
    #2 0x08316835 in png_error ()
    No symbol table info available.
    #3 0x0831a2a9 in png_create_read_struct_2 ()
    No symbol table info available.
    #4 0xf74d8e0b in ?? () from /usr/lib32/libgdk_pixbuf-2.0.so.0
    No symbol table info available.
    #5 0xf74c8b27 in ?? () from /usr/lib32/libgdk_pixbuf-2.0.so.0
    No symbol table info available.
    #6 0xf74c8dea in gdk_pixbuf_new_from_file ()
    from /usr/lib32/libgdk_pixbuf-2.0.so.0
    No symbol table info available.
    #7 0xf7fc073c in ?? () from /usr/lib32/gtk-2.0/2.10.0/engines/libpixmap.so
    No symbol table info available.
    #8 0xf733a631 in g_cache_insert () from /usr/lib32/libglib-2.0.so.0
    No symbol table info available.
    #9 0xf7fc16e0 in ?? () from /usr/lib32/gtk-2.0/2.10.0/engines/libpixmap.so
    No symbol table info available.
    #10 0xf7fc1771 in ?? () from /usr/lib32/gtk-2.0/2.10.0/engines/libpixmap.so
    No symbol table info available.
    ---Type <return> to continue, or q <return> to quit---
    #11 0xf7fbe071 in ?? () from /usr/lib32/gtk-2.0/2.10.0/engines/libpixmap.so
    No symbol table info available.
    #12 0xf7fbf253 in ?? () from /usr/lib32/gtk-2.0/2.10.0/engines/libpixmap.so
    No symbol table info available.
    #13 0xf7b70524 in gtk_paint_box () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #14 0xf7a2ad43 in ?? () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #15 0xf7a2ae19 in ?? () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #16 0xf7ae10ce in ?? () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #17 0xf74323c4 in ?? () from /usr/lib32/libgobject-2.0.so.0
    No symbol table info available.
    #18 0xf7433a82 in g_closure_invoke () from /usr/lib32/libgobject-2.0.so.0
    No symbol table info available.
    #19 0xf7445390 in ?? () from /usr/lib32/libgobject-2.0.so.0
    No symbol table info available.
    #20 0xf744cf2f in g_signal_emit_valist () from /usr/lib32/libgobject-2.0.so.0
    No symbol table info available.
    #21 0xf744d513 in g_signal_emit () from /usr/lib32/libgobject-2.0.so.0
    No symbol table info available.
    #22 0xf7c0e27b in ?? () from /usr/lib32/libgtk-x11-2.0.so.0
    ---Type <return> to continue, or q <return> to quit---
    No symbol table info available.
    #23 0xf7a5b0d8 in gtk_container_propagate_expose ()
    from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #24 0xf7a5b100 in ?? () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #25 0xf7a20c62 in ?? () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #26 0xf7a5991f in gtk_container_forall () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #27 0xf7a59b22 in ?? () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #28 0xf7ae10ce in ?? () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #29 0xf74323c4 in ?? () from /usr/lib32/libgobject-2.0.so.0
    No symbol table info available.
    #30 0xf7433a82 in g_closure_invoke () from /usr/lib32/libgobject-2.0.so.0
    No symbol table info available.
    #31 0xf7445390 in ?? () from /usr/lib32/libgobject-2.0.so.0
    No symbol table info available.
    #32 0xf744cf2f in g_signal_emit_valist () from /usr/lib32/libgobject-2.0.so.0
    No symbol table info available.
    #33 0xf744d513 in g_signal_emit () from /usr/lib32/libgobject-2.0.so.0
    ---Type <return> to continue, or q <return> to quit---
    No symbol table info available.
    #34 0xf7c0e27b in ?? () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #35 0xf7a5b0d8 in gtk_container_propagate_expose ()
    from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #36 0xf7a5b100 in ?? () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #37 0xf7a20c62 in ?? () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #38 0xf7a5991f in gtk_container_forall () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #39 0xf7a59b22 in ?? () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #40 0xf7ae10ce in ?? () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #41 0xf74323c4 in ?? () from /usr/lib32/libgobject-2.0.so.0
    No symbol table info available.
    #42 0xf7433a82 in g_closure_invoke () from /usr/lib32/libgobject-2.0.so.0
    No symbol table info available.
    #43 0xf7445390 in ?? () from /usr/lib32/libgobject-2.0.so.0
    No symbol table info available.
    #44 0xf744cf2f in g_signal_emit_valist () from /usr/lib32/libgobject-2.0.so.0
    ---Type <return> to continue, or q <return> to quit---
    No symbol table info available.
    #45 0xf744d513 in g_signal_emit () from /usr/lib32/libgobject-2.0.so.0
    No symbol table info available.
    #46 0xf7c0e27b in ?? () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #47 0xf7a5b0d8 in gtk_container_propagate_expose ()
    from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #48 0xf7a5b100 in ?? () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #49 0xf7a1dedd in ?? () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #50 0xf7a5991f in gtk_container_forall () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #51 0xf7a59b22 in ?? () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #52 0xf7c1c4d0 in ?? () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #53 0xf7ae10ce in ?? () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #54 0xf74323c4 in ?? () from /usr/lib32/libgobject-2.0.so.0
    No symbol table info available.
    #55 0xf7433b0e in g_closure_invoke () from /usr/lib32/libgobject-2.0.so.0
    ---Type <return> to continue, or q <return> to quit---
    No symbol table info available.
    #56 0xf7445390 in ?? () from /usr/lib32/libgobject-2.0.so.0
    No symbol table info available.
    #57 0xf744cf2f in g_signal_emit_valist () from /usr/lib32/libgobject-2.0.so.0
    No symbol table info available.
    #58 0xf744d513 in g_signal_emit () from /usr/lib32/libgobject-2.0.so.0
    No symbol table info available.
    #59 0xf7c0e27b in ?? () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #60 0xf7adfb37 in gtk_main_do_event () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #61 0xf7941d40 in ?? () from /usr/lib32/libgdk-x11-2.0.so.0
    No symbol table info available.
    #62 0xf7972b03 in ?? () from /usr/lib32/libgdk-x11-2.0.so.0
    No symbol table info available.
    #63 0xf793e578 in ?? () from /usr/lib32/libgdk-x11-2.0.so.0
    No symbol table info available.
    #64 0xf793eef7 in gdk_window_process_all_updates ()
    from /usr/lib32/libgdk-x11-2.0.so.0
    No symbol table info available.
    #65 0xf7a5975f in ?? () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #66 0xf791b8c8 in ?? () from /usr/lib32/libgdk-x11-2.0.so.0
    ---Type <return> to continue, or q <return> to quit---
    No symbol table info available.
    #67 0xf7367050 in ?? () from /usr/lib32/libglib-2.0.so.0
    No symbol table info available.
    #68 0xf736a33e in g_main_context_dispatch () from /usr/lib32/libglib-2.0.so.0
    No symbol table info available.
    #69 0xf736a6e8 in ?? () from /usr/lib32/libglib-2.0.so.0
    No symbol table info available.
    #70 0xf736ab43 in g_main_loop_run () from /usr/lib32/libglib-2.0.so.0
    No symbol table info available.
    #71 0xf7a5cc76 in gtk_dialog_run () from /usr/lib32/libgtk-x11-2.0.so.0
    No symbol table info available.
    #72 0x08184e70 in ?? ()
    No symbol table info available.
    #73 0x08157940 in ?? ()
    No symbol table info available.
    #74 0x080a3bba in ?? ()
    No symbol table info available.
    #75 0x080a3c78 in ?? ()
    No symbol table info available.
    #76 0x080a3fa5 in ?? ()
    No symbol table info available.
    #77 0x0806cc71 in ?? ()
    No symbol table info available.
    ---Type <return> to continue, or q <return> to quit---
    #78 0x080b53a7 in ?? ()
    No symbol table info available.
    #79 0x080b5531 in ?? ()
    No symbol table info available.
    #80 0x0810eaaa in ?? ()
    No symbol table info available.
    #81 0x080b5310 in ?? ()
    No symbol table info available.
    #82 0xf750c9d3 in __libc_start_main () from /usr/lib32/libc.so.6
    No symbol table info available.
    #83 0x080687b1 in ?? ()
    No symbol table info available.
    (gdb) q
    A debugging session is active.
    Inferior 1 [process 1769] will be killed.
    Quit anyway? (y or n) y
    I've tested to run the binary as root with no luck. Any idea? Thanks.

    Also following some information from another thread, I ran
    STEAM_RUNTIME=0 strace -o tmp steam; head tmp
    And got this output:
    execve("/usr/bin/steam", ["steam"], [/* 32 vars */]) = 0
    brk(0) = 0x1c89000
    access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
    open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
    fstat(3, {st_mode=S_IFREG|0644, st_size=242411, ...}) = 0
    mmap(NULL, 242411, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fb6211bb000
    close(3) = 0
    open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\1\2\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0755, st_size=1984416, ...}) = 0
    So the Steam client is looking for ld.so.preload where it doesn't exist, and accessing the 64bit glibc library.
    I think that when Steam runs with runtime disabled, it is supposed to use the 32bit libraries, but it doesn't search
    in /usr/lib32 when the runtime is disabled. I rolled back lib32-glibc to 2.20-2 (Dec 1st, 04) and there was no change.
    Any ideas?

  • Solaris 9 live upgrade to solaris 10 segmentation fault

    pre-upgrade work:
    apply patch doc 72099
    upgrade live upgrade to solaris 10.
    lucreate-m /:/dev/dsk/c0t1d0s0:ufs -m /var:/dev/dsk/c0t1d0s1:ufs -m /opt:/dev/dsk/c0t1d0s3:ufs -n sol10
    it works well
    oot Environment Is Active Active Can Copy
    Name Complete Now On Reboot Delete Status
    sol9 yes yes yes no -
    sol10 yes no no yes -
    But luupgrade -u -n sol10 -s /sol11
    Validating the contents of the media </sol11>.
    The media is a standard Solaris media.
    The media contains an operating system upgrade image.
    The media contains <Solaris> version <11>.
    Constructing upgrade profile to use.
    Locating the operating system upgrade program.
    Checking for existence of previously scheduled Live Upgrade requests.
    Creating upgrade profile for BE <sol10>.
    Determining packages to install or upgrade for BE <sol10>.
    Performing the operating system upgrade of the BE <sol10>.
    CAUTION: Interrupting this process may leave the boot environment unstable
    or unbootable.
    /usr/sbin/luupgrade&#91;677&#93;: 6549 Segmentation Fault(coredump)
    ERROR: Installation of the packages from this media of the media failed; pfinstall returned these diagnostics:
    The Solaris upgrade of the boot environment <sol10> failed.

    I would break your mirror and do a liveupgrade on the available mirror. Then boot that disk.

  • Conduit crashes with segmentation fault

    I just installed a fresh install of Arch Linux with xfce installed. Everything is up and running. I wanted conduit to synchronize evolution data with my desktop. I was using Xubuntu and everything was fine. But Arch is 2x faster than xubuntu...
    The compilation of conduit went right, reported no error.
    I run XFCE but I tried to run it from gnome also just if it was an dependency error... Didn't work. I tried to install firefox from sources since it was an run-mozilla.sh segmentation error. Didn't work.
    Here's my rc.conf
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # HARDWARECLOCK: set to "UTC" or "localtime"
    # USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="fr_CA.utf8"
    HARDWARECLOCK="local"
    USEDIRECTISA="no"
    TIMEZONE="America/Montreal"
    KEYMAP="cf"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
    # MOD_BLACKLIST: Prevent udev from loading these modules
    # MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
    # NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
    MOD_AUTOLOAD="yes"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(uvcvideo)
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="djo-laptop"
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    # - prefix an entry in INTERFACES with a ! to disable it
    # - no hyphens in your interface names - Bash doesn't like it
    # DHCP: Set your interface to "dhcp" (eth0="dhcp")
    # Wireless: See network profiles below
    eth0="dhcp"
    INTERFACES=(eth0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    # Enable these network profiles at boot-up. These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This now requires the netcfg package
    #NETWORKS=(main)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    DAEMONS=(syslog-ng network dbus hal netfs avahi-daemon crond fam)
    When I run conduit from console, conduit opens but when I add a source provider I got the following (the last two lines):
    [djo@djo-laptop conduit]$ conduit
    INFO: FOUND FIREFOX LIBS AT /usr/lib/firefox-3.0
    [Main ][INFO ] Conduit v0.3.15 Installed: True (Main.py:99)
    [Main ][INFO ] Python: 2.6.2 (r262:71600, Apr 18 2009, 06:27:57)
    [GCC 4.3.3] (Main.py:100)
    [Main ][INFO ] Platform Implementations: GnomeVfs,gtkmozembed,GConf (Main.py:101)
    [Main ][INFO ] Using UI: gtk (Main.py:131)
    [gtkui.Canvas ][INFO ] Module Information: goocanvas v(0, 12, 0) (/usr/lib/python2.6/site-packages/goocanvasmodule.so) (Canvas.py:25)
    [modules.AVConverter ][INFO ] GStreamer transcoding disabled (AudioVideoConverterModule.py:28)
    [modules.iPod ][INFO ] iPod support disabled (iPodModule.py:46)
    [Module ][WARNING] Error loading the file: /usr/lib/conduit/modules/iPodModule/iPodModule.py
    Traceback (most recent call last):
    File "/usr/lib/python2.6/site-packages/conduit/Module.py", line 173, in _load_modules_in_file
    mod = self._import_file(filename)
    File "/usr/lib/python2.6/site-packages/conduit/Module.py", line 154, in _import_file
    mods = pydoc.importfile (filename)
    File "/usr/lib/python2.6/pydoc.py", line 262, in importfile
    raise ErrorDuringImport(path, sys.exc_info())
    ErrorDuringImport: problem in /usr/lib/conduit/modules/iPodModule/iPodModule.py - <type 'exceptions.NameError'>: name 'gpod' is not defined
    (Module.py:201)
    /usr/lib/conduit/modules/BoxDotNetModule/BoxDotNetModule.py:6: DeprecationWarning: the md5 module is deprecated; use hashlib instead
    import md5
    [modules.Flickr ][INFO ] Module Information: flickrapi v1.1 (/usr/lib/conduit/modules/FlickrModule/flickrapi/__init__.pyc) (FlickrModule.py:26)
    [modules.Backpack ][INFO ] Module Information: backpack (/usr/lib/conduit/modules/BackpackModule/backpack/backpack.pyc) (BackpackModule.py:22)
    [modules.Feed ][INFO ] RSS Feed support disabled (FeedModule.py:53)
    [modules.Google ][INFO ] Module Information: gdata (/usr/lib/conduit/modules/GoogleModule/gdata/__init__.pyc) (GoogleModule.py:45)
    [modules.Evolution ][INFO ] Module Information: evolution v(2, 26, 0) (/usr/lib/python2.6/site-packages/gtk-2.0/evolution/__init__.pyc) (EvolutionModule.py:25)
    [modules.Facebook ][INFO ] Module Information: pyfacebook v0.1 (/usr/lib/conduit/modules/FacebookModule/pyfacebook/__init__.pyc) (FacebookModule.py:30)
    [modules.Network ][INFO ] Network support enabled (NetworkModule.py:30)
    [modules.Network ][WARNING] Error starting client (Client.py:37)
    [modules.Network ][DEBUG ] Starting AvahiAdvertiser server (Server.py:35)
    [modules.Network ][WARNING] Error starting AvahiAdvertiser server: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Avahi was not provided by any .service files (Server.py:52)
    [dataproviders.VolumeFactory][DEBUG ] Adjusted mount: file:/// (VolumeFactory.py:25)
    [dataproviders.VolumeFactory][DEBUG ] Adjusted mount: file:///home (VolumeFactory.py:25)
    [dataproviders.VolumeFactory][DEBUG ] Adjusted mount: file:///var (VolumeFactory.py:25)
    [gtkui.UI ][INFO ] Main window constructed (thread: -1211799872) (UI.py:202)
    [SyncSet ][INFO ] Restoring Sync Set from /home/djo/.config/conduit/settings.xml (SyncSet.py:195)
    [SyncSet ][INFO ] /home/djo/.config/conduit/settings.xml not present (SyncSet.py:199)
    [gtkui.UI ][DEBUG ] Presenting GUI (UI.py:227)
    [DBus ][DEBUG ] DBus Exported: / (DBus.py:127)
    [DBus ][DEBUG ] DBus Exported: /syncset/gui (DBus.py:127)
    [DBus ][DEBUG ] DBus Exported: /syncset/dbus (DBus.py:127)
    [Conduit ][DEBUG ] Adding twoway dataprovider into source position (Conduit.py:140)
    /usr/lib/firefox-3.0/run-mozilla.sh: line 131: 3081 Erreur de segmentation "$prog" ${1+"$@"}
    I also tried the SVN version of conduit. The segmentation fault is different but the program still crashes when I try to add data provider :
    [djo@djo-laptop conduit]$ ./conduit/conduit
    [Main ][INFO ] Conduit v0.3.16 Installed: False (Main.py:126)
    [Main ][INFO ] Python: 2.6.2 (r262:71600, Apr 18 2009, 06:27:57)
    [GCC 4.3.3] (Main.py:127)
    [Main ][INFO ] Platform Implementations: GIO,webkit,GConf (Main.py:128)
    [Main ][INFO ] Using UI: gtk (Main.py:158)
    [gtkui.Canvas ][INFO ] Module Information: goocanvas v(0, 12, 0) (/usr/lib/python2.6/site-packages/goocanvasmodule.so) (Canvas.py:28)
    [modules.iPod ][WARNING] iPod support disabled (python-gpod not availiable) (iPodModule.py:53)
    [modules.AVConverter ][INFO ] GStreamer transcoding disabled (AudioVideoConverterModule.py:28)
    /home/djo/.packages/conduit/conduit/modules/FacebookModule/FacebookModule.py:6: DeprecationWarning: the md5 module is deprecated; use hashlib instead
    import md5
    [modules.Facebook ][INFO ] Module Information: pyfacebook v0.1 (/home/djo/.packages/conduit/conduit/modules/FacebookModule/pyfacebook/__init__.pyc) (FacebookModule.py:30)
    [modules.Facebook ][INFO ] Facebook parsing using: JSON (json) (FacebookModule.py:31)
    [modules.iPod ][WARNING] iPod support disabled (python-gpod not availiable) (iPodModule.py:53)
    [modules.Evolution ][INFO ] Module Information: evolution v(2, 26, 0) (/usr/lib/python2.6/site-packages/gtk-2.0/evolution/__init__.pyc) (EvolutionModule.py:25)
    [modules.Backpack ][INFO ] Module Information: backpack (/home/djo/.packages/conduit/conduit/modules/BackpackModule/backpack/backpack.pyc) (BackpackModule.py:22)
    [modules.Feed ][INFO ] RSS Feed support disabled (FeedModule.py:54)
    [modules.Flickr ][INFO ] Module Information: flickrapi v1.1 (/home/djo/.packages/conduit/conduit/modules/FlickrModule/flickrapi/__init__.pyc) (FlickrModule.py:26)
    /home/djo/.packages/conduit/conduit/modules/GoogleModule/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
    import sha
    [modules.Google ][INFO ] Module Information: gdata (/home/djo/.packages/conduit/conduit/modules/GoogleModule/gdata/__init__.pyc) (GoogleModule.py:46)
    [modules.Network ][INFO ] Network support enabled (NetworkModule.py:30)
    [modules.Network ][DEBUG ] Starting AvahiAdvertiser server (Server.py:35)
    [modules.Network ][DEBUG ] Announcing avahi conduit service (Peers.py:159)
    [dataproviders.VolumeFactory][INFO ] Waiting for HAL to attempt mount (VolumeFactory.py:38)
    [dataproviders.VolumeFactory][INFO ] Waiting for HAL to attempt mount (VolumeFactory.py:38)
    [dataproviders.VolumeFactory][INFO ] Waiting for HAL to attempt mount (VolumeFactory.py:38)
    [gtkui.UI ][INFO ] Main window constructed (thread: -1210530112) (UI.py:202)
    [SyncSet ][INFO ] Restoring Sync Set from /home/djo/.config/conduit/settings.xml (SyncSet.py:198)
    [gtkui.UI ][DEBUG ] Presenting GUI (UI.py:227)
    [DBus ][DEBUG ] DBus Exported: / (DBus.py:127)
    [DBus ][DEBUG ] DBus Exported: /syncset/gui (DBus.py:127)
    [DBus ][DEBUG ] DBus Exported: /syncset/dbus (DBus.py:127)
    [modules.Network ][DEBUG ] Resolved conduit service djo-desktop on djo-desktop.local - 192.168.0.103:3400
    Extra Info: ['protocol-version=1', 'version=0.3.16'] (Peers.py:245)
    [modules.Network ][DEBUG ] Remote host 'http://djo-desktop.local' detected (Client.py:49)
    [modules.Network ][DEBUG ] Resolved conduit service djo-laptop on djo-laptop.local - 192.168.0.100:3400
    Extra Info: ['protocol-version=1', 'version=0.3.16'] (Peers.py:245)
    [modules.Network ][DEBUG ] Remote host 'http://djo-laptop.local' detected (Client.py:49)
    [dataproviders.DataProvider][DEBUG ] DataProviderFactory <TestFactory object at 0x8bb2f2c (conduit+dataproviders+DataProvider+DataProviderFactory at 0x8a0c260)>: Emitting dataprovider-added for DynamicTestSource1:Foo (DataProvider.py:606)
    [Module ][INFO ] Dynamic dataprovider (Wrapper: Dynamic Source 1 source (UID: DynamicTestSource1:Foo-None)) available by <TestFactory object at 0x8bb2f2c (conduit+dataproviders+DataProvider+DataProviderFactory at 0x8a0c260)> (Module.py:67)
    [DBus ][DEBUG ] DBus Message from /: Emmiting DBus signal DataproviderAvailable DynamicTestSource1:Foo (DBus.py:134)
    [dataproviders.DataProvider][DEBUG ] DataProviderFactory <TestFactory object at 0x8bb2f2c (conduit+dataproviders+DataProvider+DataProviderFactory at 0x8a0c260)>: Emitting dataprovider-added for DynamicTestSource2:Bar:Baz (DataProvider.py:606)
    [Module ][INFO ] Dynamic dataprovider (Wrapper: Dynamic Source 2 source (UID: DynamicTestSource2:Bar:Baz-None)) available by <TestFactory object at 0x8bb2f2c (conduit+dataproviders+DataProvider+DataProviderFactory at 0x8a0c260)> (Module.py:67)
    [DBus ][DEBUG ] DBus Message from /: Emmiting DBus signal DataproviderAvailable DynamicTestSource2:Bar:Baz (DBus.py:134)
    [dataproviders.DataProvider][DEBUG ] DataProviderFactory <TestFactory object at 0x8bb2f2c (conduit+dataproviders+DataProvider+DataProviderFactory at 0x8a0c260)>: Emitting dataprovider-added for CustomKey (DataProvider.py:606)
    [Module ][INFO ] Dynamic dataprovider (Wrapper: Preconfigured Test Source source (UID: TestSource-None)) available by <TestFactory object at 0x8bb2f2c (conduit+dataproviders+DataProvider+DataProviderFactory at 0x8a0c260)> (Module.py:67)
    [DBus ][DEBUG ] DBus Message from /: Emmiting DBus signal DataproviderAvailable TestSource (DBus.py:134)
    [dataproviders.DataProvider][DEBUG ] DataProviderFactory <TestFactory object at 0x8bb2f2c (conduit+dataproviders+DataProvider+DataProviderFactory at 0x8a0c260)>: Emitting dataprovider-removed for DynamicTestSource1:Foo (DataProvider.py:611)
    [Module ][INFO ] Dynamic dataprovider (DynamicTestSource1:Foo) unavailable by <TestFactory object at 0x8bb2f2c (conduit+dataproviders+DataProvider+DataProviderFactory at 0x8a0c260)> (Module.py:71)
    [DBus ][DEBUG ] DBus Message from /: Emiting DBus signal DataproviderUnavailable DynamicTestSource1:Foo (DBus.py:134)
    [Conduit ][DEBUG ] Adding twoway dataprovider into source position (Conduit.py:140)
    ./conduit/conduit: line 26: 3512 Erreur de segmentation `dirname $0`/conduit.real $*
    I tried to enable webkit instead of gtkmozembed but I can't see how. I really want to use conduit to sync Evolution suite between desktop/laptop
    Any help?
    Desesperate new arch user.

    I've rebuilt conduit with webkit and GIO support by patching the file defs.py.in in the source directory, however the segfault still occurs on my machine. The only difference is that the run-mozilla.sh error is not given but instead a blank line. Perhaps this is related to a specific plugin not working correctly.
    edit: this is also occuring with conduit 0.3.14 release. I may try the SVN version later today.
    Last edited by iBertus (2009-06-13 19:16:16)

Maybe you are looking for