dynamobi/dynamobi — Issue #290: [LDB-31] fennel crashes during inserts
Author: dynamobi-build
Created: 2011-12-30 02:27:05+00:00
State: closed
Labels: LCS, LDB

[reporter="schoi", created="Tue, 14 Feb 2006 17:34:20 -0500 (GMT-05:00)"]
Repro steps:

-------------------

create schema s;

set schema 's';

-- CHAR table.

CREATE TABLE TEST_CHAR_TABLE (i CHAR(100));

INSERT INTO TEST_CHAR_TABLE VALUES(null);

INSERT INTO TEST_CHAR_TABLE VALUES('asdf');

INSERT INTO TEST_CHAR_TABLE VALUES('asdf2');

Error:

---------

#

# An unexpected error has been detected by HotSpot Virtual Machine:

#

# SIGSEGV (0xb) at pc=0xb7e6c83c, pid=16116, tid=3084908224

#

# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode, sharing)

# Problematic frame:

# C [libc.so.6+0x6b83c] memcpy+0x1c

#

# An error report file with more information is saved as hs_err_pid16116.log

#

# If you would like to submit a bug report, please visit:

# http://java.sun.com/webapps/bugreport/crash.jsp

#

*** CAUGHT SIGNAL 6; BACKTRACE:

/home/schoi/open/fennel/libfennel/.libs/libfennel_common-0.5.0.so(fennel::AutoBacktrace::signal_handler(int)+0x29) [0x3ae41]

[0xffffe420]

[0xffffe410]

/lib/tls/i686/cmov/libc.so.6(gsignal+0x51) [0xb7e299b1]

/lib/tls/i686/cmov/libc.so.6(abort+0xe9) [0xb7e2b2c9]

/usr/java/jdk1.5.0_06/jre/lib/i386/client/libjvm.so [0xb78ea335]

/usr/java/jdk1.5.0_06/jre/lib/i386/client/libjvm.so [0xb7986034]

/usr/java/jdk1.5.0_06/jre/lib/i386/client/libjvm.so(JVM_handle_linux_signal+0x244) [0xb78eed34]

/usr/java/jdk1.5.0_06/jre/lib/i386/client/libjvm.so [0xb78ec254]

[0xffffe440]

/home/schoi/open/fennel/lucidera/libfennel_lu/.libs/libfennel_lu_colstore-0.5.0.so(fennel::LcsClusterAppendExecStream::LoadExistingBlock()+0x470) [0x2f340]

/home/schoi/open/fennel/lucidera/libfennel_lu/.libs/libfennel_lu_colstore-0.5.0.so(fennel::LcsClusterAppendExecStream::Compress(fennel::ExecStreamQuantum const&)+0x9c) [0x2e79a]

/home/schoi/open/fennel/lucidera/libfennel_lu/.libs/libfennel_lu_colstore-0.5.0.so(fennel::LcsClusterAppendExecStream::execute(fennel::ExecStreamQuantum const&)+0x24) [0x2e18c]

/home/schoi/open/fennel/libfennel/.libs/libfennel_exec-0.5.0.so(fennel::ExecStreamScheduler::executeStream(fennel::ExecStream&, fennel::ExecStreamQuantum const&)+0x8c) [0xbc6b8]

/home/schoi/open/fennel/libfennel/.libs/libfennel_exec-0.5.0.so(fennel::DfsTreeExecStreamScheduler::readStream(fennel::ExecStream&)+0x4a5) [0xba82b]

/home/schoi/open/fennel/farrago/.libs/libfarrago-0.5.0.so(Java_net_sf_farrago_fennel_FennelStorage_tupleStreamFetch+0xa6) [0xb126bcce]

------------------------------------------------

Note on farrago db, different results; cannot insert null values.

INSERT INTO TEST_CHAR_TABLE VALUES(null);

... fails with:

Error: could not calculate results for the following row:

[ 0 ]

Messages:

[0]:PC=3 Code=22004 (state=,code=0)

... and the rest of the inserts are okay.