T2 phoenix test - ReadIsolationLevelTest - cores in NAHeap::unlinkLargeFragment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trafodion |
Fix Committed
|
High
|
Selvaganesan Govindarajan |
Bug Description
T2 Phoenix test, ReadIsolationLevel test creates core. This is with build 20150108 with workaround, SQL_NO_
Program terminated with signal 6, Aborted.
#0 0x0000003c93032925 in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install cyrus-sasl-
(gdb) bt
#0 0x0000003c93032925 in raise () from /lib64/libc.so.6
#1 0x0000003c9303408d in abort () from /lib64/libc.so.6
#2 0x00007fe77dec3a55 in os::abort(bool) ()
from /usr/java/
#3 0x00007fe77e043f87 in VMError:
from /usr/java/
#4 0x00007fe77dec896f in JVM_handle_
from /usr/java/
#5 <signal handler called>
#6 0x00007fe76588adf7 in NAHeap:
treeFrag=
#7 0x00007fe765888093 in unlinkFragment (this=0x7fe75a2
addr=<value optimized out>) at ../common/
#8 NAHeap:
addr=<value optimized out>) at ../common/
#9 0x00007fe765842675 in ComSpace:
at ../common/
#10 0x00007fe7658426cf in ComSpace::~ComSpace (this=0x7fe7528
__in_
#11 0x00007fe765842711 in ComSpace::~ComSpace (this=0x7fe7528
__in_
#12 0x00007fe764ac4741 in CliStatement:
__in_
#13 0x00007fe764ac48d1 in CliStatement:
__in_
#14 0x00007fe764a8eb18 in ContextCli:
statement_
#15 0x00007fe764a74faf in SQLCLI_DeallocStmt (
cliGlobals=
at ../cli/Cli.cpp:1649
#16 0x00007fe764ad5ae6 in SQL_EXEC_
at ../cli/
#17 0x00007fe766b56c39 in FREESTATEMENT (pSrvrStmt=
at native/
#18 0x00007fe766b50f3e in SRVR_CONNECT_
at native/
---Type <return> to continue, or q <return> to quit---
#19 0x00007fe766b6074e in Java_org_
jenv=0xb469e8, jcls=<value optimized out>, server=<value optimized out>,
dialogueId=
#20 0x00007fe779d437f8 in ?? ()
#21 0x00007fe77d6a2350 in ?? ()
#22 0x00007fe77d6a23a8 in ?? ()
#23 0x00007fe77d6a23a8 in ?? ()
#24 0x00007fe779d37350 in ?? ()
#25 0x00007fe77d6a2350 in ?? ()
#26 0x0000000000000000 in ?? ()
(gdb)
tags: |
added: sql-cmp removed: sql-exe |
Changed in trafodion: | |
assignee: | Aruna Sadashiva (aruna-sadashiva) → nobody |
Changed in trafodion: | |
milestone: | r1.0 → r1.1 |
Changed in trafodion: | |
status: | In Progress → Fix Committed |
It looks like this particular T2 driver test involves multiple connections. With the multiple Cmp context per CLI context, we might be deleting the same CmpContext again and again. This issue have a different stack trace in debug mode. The debug mode asserts while deleting the CmpContext.
#0 0x0000003ce9e328a5 in raise () from /lib64/libc.so.6 :doCheckAnyFrag ment (this=0x7fffa3b 88f48, 12bf8) at ../common/ NAMemory. cpp:3916 :doCheckInuseFr agment (this=0x7fffa3b 88f48, 12bf8) at ../common/ NAMemory. cpp:3945 :deallocateHeap Memory (this=0x7fffa3b 88f48, 0x7fff9da12c08) at ../common/ NAMemory. cpp:3495 :deallocateMemo ry (this=0x7fffa3b 88f48, 0x7fff9da12c08) at ../common/ NAMemory. cpp:1391 :deleteInstance ( 0x7fffa3b88f48) at ../arkcmp/ CmpContext. cpp:364 :deleteMe (this=0x7fffa3b 88f38) Context. cpp:427 :dropContext (this=0x1bbba90, 0x7fffa3b88f38) at ../cli/ Globals. cpp:611 0x1bbba90, handle= 2004) at ../cli/Cli.cpp:1818 DeleteContext (cliGlobals= 0x1bbba90, handle= 2004) at ../cli/Cli.cpp:1406 DeleteContext (contextHandle= 2004) 0x2acd4e0) SqlInterface. cpp:2844 HDL::sqlClose (this=0x2acd4e0) CSrvrConnect. cpp:156 trafodion_ jdbc_t2_ SQLMXConnection _close ( e390, server=0x0, dialogueId= 44881120) SQLMXConnection .cpp:252
#1 0x0000003ce9e34085 in abort () from /lib64/libc.so.6
#2 0x0000003ce9e2ba1e in __assert_fail_base () from /lib64/libc.so.6
#3 0x0000003ce9e2bae0 in __assert_fail () from /lib64/libc.so.6
#4 0x00007fffafd78c94 in NAHeap:
p=0x7fff9da
#5 0x00007fffafd78f0d in NAHeap:
p=0x7fff9da
#6 0x00007fffafd774c5 in NAHeap:
addr=
#7 0x00007fffafd72df3 in NAMemory:
addr=
#8 0x00007fffb014df57 in CmpContext:
parentHeap=
#9 0x00007fffaed172f4 in ContextCli:
at ../cli/
#10 0x00007fffaed4274b in CliGlobals:
context=
#11 0x00007fffaece94be in SQLCLI_DropContext (cliGlobals=
context_
#12 0x00007fffaece8924 in SQLCLI_
context_
#13 0x00007fffaed79d03 in SQL_EXEC_
#14 0x00007fffb10ff425 in DISCONNECT (pSrvrConnect=
at native/
#15 0x00007fffb10edf40 in SRVR_CONNECT_
at native/
#16 0x00007fffb110c60b in Java_org_
jenv=0x6259e8, jcls=0x7ffff6b3
at native/
#17 0x00007ffff31cb7f8 in ?? ()
#18 0x00007ffff6b3e340 in ?? ()
#19 0x00007ffff6b3e398 in ?? ()
#20 0x00007ffff6b3e398 in ?? ()
#21 0x00007ffff31bf350 in ?? ()
#22 0x00007ffff6b3e340 in ?? ()
#23 0x0000000000000000 in ?? ()
In release mode, this assert is ignored due to the infamous change in NAAbort and hence we get into different stack trace confusing the whole issue. Assigning this issue back to Aruna to assign it to compiler team.