Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2002
    Posts
    2

    Exclamation Unanswered: DB2CC on Linux? Segmentation fault

    Hi.

    On Suse 7.3 and DB2 v7.2, my db2cc failed to start and make this dump:

    ==============================================
    SIGSEGV received at bfffdf78 in /usr/jdk118/lib/linux/native_threads/libjava.so. Processing terminated
    Thu Oct 10 21:22:34 2002

    jre full version "JDK 1.1.8 IBM build l118-20010115a (JIT enabled: jitc)"
    Operating Environment
    ---------------------
    Host : linux.
    OS Level : 2.4.10-4GB.#1 Tue Oct 9 00:11:42 GMT 2001
    glibc Version : 2.2.4
    No. of Procs : 1
    Memory Info:
    total: used: free: shared: buffers: cached:
    Mem: 261681152 243118080 18563072 0 13156352 126410752
    Swap: 271396864 24576 271372288
    MemTotal: 255548 kB
    MemFree: 18128 kB
    MemShared: 0 kB
    Buffers: 12848 kB
    Cached: 123424 kB
    SwapCached: 24 kB
    Active: 67028 kB
    Inactive: 69268 kB
    HighTotal: 0 kB
    HighFree: 0 kB
    LowTotal: 255548 kB
    LowFree: 18128 kB
    SwapTotal: 265036 kB
    SwapFree: 265012 kB

    User Limits (in bytes except for NOFILE and NPROC) -
    RLIMIT_FSIZE : infinity
    RLIMIT_DATA : infinity
    RLIMIT_STACK : 2093056
    RLIMIT_CORE : 0
    RLIMIT_NOFILE : 1024
    RLIMIT_NPROC : 2047

    Application Environment
    -----------------------
    Signal Handlers -
    SIGQUIT : ignored
    SIGILL : sysThreadIDump (libjava.so)
    SIGABRT : sysThreadIDump (libjava.so)
    SIGFPE : sysThreadIDump (libjava.so)
    SIGBUS : sysThreadIDump (libjava.so)
    SIGSEGV : sysThreadIDump (libjava.so)
    SIGPIPE : ignored
    SIGUSR1 : doSuspendLoop (libjava.so)

    Environment Variables -
    PWD=/home/db2inst1/sqllib/cc
    PAGER=less
    HOSTNAME=linux
    DB2INSTANCE=db2inst1
    LD_LIBRARY_PATH=/usr/jdk118/lib/linux/native_threads::/home/db2inst1/sqllib/lib
    LESSCLOSE=lessclose.sh %s %s
    LS_OPTIONS=-N --color=tty -T 0
    SUSE_DOC_HOST=localhost
    QTDIR=/usr/lib/qt2
    CLASSPATH=/home/db2inst1/sqllib/java/swingall.jar:/home/db2inst1/sqllib/java/db2java.zip:/home/db2inst1/sqllib/cc:/home/db2inst1/sqllib/java/sqlasst.jar:/home/db2inst1/sqllib/java/databean.jar:/home/db2inst1/sqllib/cc/db2plug.zip:/home/db2inst1/sqllib/cc/db2cc.jar:/usr/jdk118/lib/classes.zip:/usr/jdk118/lib/rt.jar:/usr/jdk118/lib/i18n.jar:/usr/jdk118/lib/math.jar:/usr/jdk118/lib/classes.zip
    LESSKEY=/etc/lesskey.bin
    LESSOPEN=lessopen.sh %s
    MANPATH=/usr/local/man:/usr/share/man:/usr/X11R6/man:/usr/openwin/man
    NNTPSERVER=news
    LESS=-M -S -I
    USER=db2inst1
    LS_COLORS=no=00:fi=00:di=01;34:ln=01i=40;33:so=01;35:bd=40;33;01:cd=40;33;01r=40;31;01:ex=01;31:*.cmd=01;32:*.exe=01;32:*.com= 01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00 ;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.arj=00;3 1:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*. Z=00;31:*.gz=00;31:*.bz2=00;31:*.tbz2=00;31:*.png= 01;35:*.bmp=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=0 1;35:*.pcx=01;35:*.ppm=01;35:*.tif=01;35:*.xbm=01; 35:*.xpm=01;35:*.wav=00;32:*.mp3=00;32:*.au=00;32: *.aiff=00;32:*.mid=00;32:*.voc=00;32:
    THREADS_TYPE=native_threads
    MACHTYPE=i686-suse-linux
    XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
    INPUTRC=/etc/inputrc
    LESS_ADVANCED_PREPROCESSOR=no
    LANG=it_IT@euro
    HOST=linux
    LIBPATH=/usr/jdk118/lib/linux/native_threads::/home/db2inst1/sqllib/lib
    JAVA_HOME=/usr/jdk118
    COLORTERM=1
    INFOPATH=/usr/local/info:/usr/share/info:/usr/info
    LOGNAME=db2inst1
    SHLVL=2
    TEXINPUTS=:/home/db2inst1/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX
    MINICOM=-c on
    INFODIR=/usr/local/info:/usr/share/info:/usr/info
    SHELL=/bin/bash
    PRINTER=lp_draft
    HOSTTYPE=i386
    CPU=i686
    OSTYPE=linux
    WINDOWMANAGER=/usr/X11R6/bin/kde
    TERM=xterm
    HOME=/home/db2inst1
    XNLSPATH=/usr/X11R6/lib/X11/nls
    no_proxy=localhost
    PATH=/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games/bin:/usr/games:/opt/gnome/bin:/opt/kde2/bin:.:/home/db2inst1/sqllib/bin:/home/db2inst1/sqllib/adm:/home/db2inst1/sqllib/misc
    LC_COLLATE=POSIX

    Libraries Loaded by the JVM
    ---------------------------
    <main>
    libjitc.so


    Current Thread Details
    ----------------------
    "main" (TID:0x403462d8, sys_thread_t:0x804d9e8)
    Native Thread State: Pid: 4020 ThreadID: 00000400 Reuse: 1 USER PRIMORDIAL RUNNING
    Native Stack Data : base: bffff438 pointer bffbf750 used(261352) free(-13544)
    ----- Monitors held -----
    ----- Native stack -----
    java_lang_System_initProperties
    Java_java_lang_System_initProperties_stub
    invokeNativeMethod
    invokeLazyNativeMethod
    __irem_trap6
    ------ Java stack ------ () prio=5 *current thread*
    java.lang.System.initializeSystemClass(System.java )
    ----------------------------------------------------------------------


    Total Thread Count: 3
    Active Thread Count: 3
    JNI Thread Count: 0

    Full thread dump:
    "Async Garbage Collector" (TID:0x40346238, sys_thread_t:0x80d3770)
    Native Thread State: Pid: 4026 ThreadID: 00000803 Reuse: 1 DAEMON SUSPENDED
    Native Stack Data : base: bf5ffb20 pointer bf5ff5f0 used(1328) free(246480)
    ----- Monitors held -----
    ----- Native stack -----
    sem_timedwait
    __pthread_mutex_unlock
    pthread_cond_wait
    sysThread_shell
    pthread_detach
    __clone
    ------ Java stack ------ () prio=1
    ----------------------------------------------------------------------

    "Finalizer thread" (TID:0x40346288, sys_thread_t:0x80d34f0)
    Native Thread State: Pid: 4025 ThreadID: 00000402 Reuse: 1 DAEMON MONITOR WAIT
    Native Stack Data : base: bf7ffb20 pointer bf7ff988 used(408) free(247400)
    ----- Monitors held -----
    ----- Native stack -----
    sysMonitorWait - waiting on Finalize me queue lock
    finalizeOnExit
    sysThread_shell
    pthread_detach
    __clone
    ------ Java stack ------ () prio=1
    ----------------------------------------------------------------------

    "main" (TID:0x403462d8, sys_thread_t:0x804d9e8)
    Native Thread State: Pid: 4020 ThreadID: 00000400 Reuse: 1 USER PRIMORDIAL RUNNING
    Native Stack Data : base: bffff438 pointer bffbf744 used(261364) free(-13556)
    ----- Monitors held -----
    ----- Native stack -----
    java_lang_System_initProperties
    Java_java_lang_System_initProperties_stub
    invokeNativeMethod
    invokeLazyNativeMethod
    __irem_trap6
    ------ Java stack ------ () prio=5 *current thread*
    java.lang.System.initializeSystemClass(System.java )
    ----------------------------------------------------------------------


    System Monitor Status
    ---------------------
    Thread queue lock: unowned.
    Name and type hash table lock: unowned.
    String intern lock: unowned.
    JNI pinning lock: unowned.
    JNI global reference lock: unowned.
    Zip lock: unowned.
    BinClass lock: unowned.
    Class loading lock: unowned.
    Java stack lock: unowned.
    Code rewrite lock: unowned.
    Heap Lock: unowned.
    Has finalization queue lock: unowned.
    Finalize me queue lock: unowned.
    Integer lock access-lock: unowned.
    Monitor cache lock: unowned.
    Monitor registry: unowned.

    Object Monitor Status
    ---------------------
    OK
    /home/db2inst1/sqllib/bin/db2cc: line 57: 4020 Segmentation fault $JAVA_HOME/bin/jre $JRE_OPTIONS -cp $JRE_CLASSPATH:$JAVA_HOME/lib/classes.zip CC $@
    ==============================================

    Can you help me???

    THANKS

    G.

  2. #2
    Join Date
    Oct 2002
    Location
    Greece
    Posts
    8
    I had the same problem and I managed to bypass it by using sun's sdk 1.4.0

    and using the following commands

    db2jstrt 2222
    db2cc 2222

    where 2222 can be the port you preffered

    this way i had no problems running the control center

    Gaganis

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •