dynamobi/dynamobi — Issue #289: [LDB-32] insertion into table with bitmapped index column of type varchar(255) results in crash
Author: dynamobi-build
Created: 2011-12-30 02:27:02+00:00
State: open
Labels: LBM, LDB

[reporter="boris", created="Thu, 16 Feb 2006 15:46:17 -0500 (GMT-05:00)"]
create foreign data wrapper orcl_jdbc

library '/home/boris/open/luciddb/plugin/FarragoMedJdbc3p.jar'

language java;

create server orcl_server

foreign data wrapper orcl_jdbc

options(

url 'jdbc:oracle:thin:@akela.lucidera.com:1521:XE',

user_name 'schoi',

password 'schoi',

driver_class 'oracle.jdbc.driver.OracleDriver'

);

create schema orcl_schema;

import foreign schema "SCHOI" from server orcl_server into orcl_schema;

-- local tables

create schema s;

set schema 's';

create table table_varchar255_100000_k2 (col1 varchar(255)) server sys_column_store_data_server;

create index table_varchar255_100000_k2_index on table_varchar255_100000_k2(col1);

insert into table_varchar255_100000_k2 select "k2" from orcl_schema."bench1M" where "kseq" < 100000;

drop table table_varchar255_100000_k2;

-------- You won't hit drop table... from the trace log:

Feb 16, 2006 3:41:49 PM net.sf.farrago.db.FarragoDbSession prepare

INFO: insert into table_varchar255_100000_k2 select "k2" from orcl_schema."bench

1M" where "kseq" < 100000

Feb 16, 2006 3:43:09 PM net.sf.fennel.backtrace

SEVERE: *** CAUGHT SIGNAL 6; BACKTRACE:

/home/boris/open/fennel/libfennel/.libs/libfennel_common-0.5.0.so(fennel::AutoBa

cktrace::signal_handler(int)+0x25) [0x3ae85]

[0xffffe420]

/lib/tls/libc.so.6(abort+0x129) [0x40079cd9]

/lib/tls/libc.so.6(__assert_fail+0x103) [0x20cd3]

/home/boris/open/fennel/libfennel/.libs/libfennel_tuple-0.5.0.so(fennel::TupleAc

cessor::marshal(fennel::TupleData const&, unsigned char*)+0x147) [0x261f9]

/home/boris/open/fennel/libfennel/.libs/libfennel_ftrs-0.5.0.so(fennel::ExecStre

amBufAccessor::produceTuple(fennel::TupleData const&)+0xb7) [0x31aa9]

/home/boris/open/fennel/lucidera/libfennel_lu/.libs/libfennel_lu_colstore-0.5.0.

so(fennel::LbmGeneratorExecStream::flushEntry(unsigned)+0x23e) [0x5d6de]

/home/boris/open/fennel/lucidera/libfennel_lu/.libs/libfennel_lu_colstore-0.5.0.

so(fennel::LbmGeneratorExecStream::addRidToBitmap(unsigned, fennel::TupleData&,

fennel::OpaqueInteger)+0xf5) [0x5d117]

/home/boris/open/fennel/lucidera/libfennel_lu/.libs/libfennel_lu_colstore-0.5.0.

so(fennel::LbmGeneratorExecStream::generateBitmaps()+0x227) [0x5c991]

/home/boris/open/fennel/lucidera/libfennel_lu/.libs/libfennel_lu_colstore-0.5.0.

so(fennel::LbmGeneratorExecStream::generateSingleKeyBitmaps(fennel::ExecStreamQu

antum const&)+0x76) [0x5c1d4]

/home/boris/open/fennel/lucidera/libfennel_lu/.libs/libfennel_lu_colstore-0.5.0.

so(fennel::LbmGeneratorExecStream::execute(fennel::ExecStreamQuantum const&)+0x3

9b) [0x5c075]

/home/boris/open/fennel/libfennel/.libs/libfennel_exec-0.5.0.so(fennel::ExecStre

amScheduler::executeStream(fennel::ExecStream&, fennel::ExecStreamQuantum const&

)+0x7d) [0xbc3fb]

/home/boris/open/fennel/libfennel/.libs/libfennel_exec-0.5.0.so(fennel::DfsTreeE

xecStreamScheduler::readStream(fennel::ExecStream&)+0x48f) [0xba55f]

/home/boris/open/fennel/farrago/.libs/libfarrago-0.5.0.so(Java_net_sf_farrago_fe

nnel_FennelStorage_tupleStreamFetch+0x98) [0x810e3f68]

[0x2d4f5e1]