R4.1-build36 contrail-query-engine core seen during sanity

Bug #1730193 reported by Sudheendra Rao
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.1
Fix Committed
Critical
Arvind
Trunk
Fix Committed
Critical
Arvind

Bug Description

contrail-query-engine core seen during sanity run on build36 R4.1 mitaka, CB build.

#0 0x00002b5ae2aaac37 in _quicksort (pbase=0x0, total_elems=<optimized out>, size=32, cmp=0x2b5ae2bf43b8, arg=0x792581) at qsort.c:125
125 qsort.c: No such file or directory.
(gdb) bt
#0 0x00002b5ae2aaac37 in _quicksort (pbase=0x0, total_elems=<optimized out>, size=32, cmp=0x2b5ae2bf43b8, arg=0x792581) at qsort.c:125
#1 0x00002b5cc400b440 in ?? ()
#2 0x00002b5cbac091d0 in ?? ()
#3 0x00002b5cbac091d0 in ?? ()
#4 0x00000000004f224b in ?? ()
#5 0x00002b5ae2556940 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00002b5ae25568d0 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7 0x00002b5ae25568e0 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#8 0x0000000000000007 in ?? ()
#9 0x00002b5cc400b440 in ?? ()
#10 0x00002b5ccc02d9e0 in ?? ()
#11 0x0000000000000007 in ?? ()
#12 0x0000000001226e40 in ?? ()
#13 0x0000000000000007 in ?? ()
#14 0x00002b5cbac09a70 in ?? ()
#15 0x00000000004f7ccf in ?? ()
#16 0x000000000049a92d in ?? ()
#17 0x000000000049e361 in ?? ()
#18 0x0000000000495e69 in ?? ()
#19 0x0000000000469fd7 in ?? ()
#20 0x00002b5ae1e38b3a in ?? () from /usr/lib/libtbb.so.2
#21 0x00002b5ae1e34816 in ?? () from /usr/lib/libtbb.so.2
#22 0x00002b5ae1e33f4b in ?? () from /usr/lib/libtbb.so.2
#23 0x00002b5ae1e300ff in ?? () from /usr/lib/libtbb.so.2
#24 0x00002b5ae1e302f9 in ?? () from /usr/lib/libtbb.so.2
#25 0x00002b5ae1c02184 in start_thread (arg=0x2b5cbac0a700) at pthread_create.c:312
#26 0x00002b5ae2b6e37d in eventfd (count=3305, flags=-16843009) at ../sysdeps/unix/sysv/linux/eventfd.c:42
#27 0x0000000000000000 in ?? ()
(gdb)

Revision history for this message
Sudheendra Rao (sudheendra-k) wrote :

Core file is copied to:

[sudheendra@nodem4 1730193]$ pwd
/cs-shared/bugs/1730193
[sudheendra@nodem4 1730193]$ ls
core.contrail-query-.3305.nodem6.1509871534
[sudheendra@nodem4 1730193]$

Revision history for this message
Arvind (arvindv) wrote :

I can't access the core file. Can you please provide access info to the testbed or copy the core and binary to a place where I can access

Revision history for this message
Sudheendra Rao (sudheendra-k) wrote :

have given access of core file to Arvind.

Revision history for this message
wenqing liang (wliang) wrote :

new core also uploaded to /cs-shared/bugs/1730193.

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.1

Review in progress for https://review.opencontrail.org/37526
Submitter: Arvind (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/37543
Submitter: Arvind (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/37526
Committed: http://github.com/Juniper/contrail-controller/commit/82283de0d6a11f403a4c628e809c25d5b2b8d260
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit 82283de0d6a11f403a4c628e809c25d5b2b8d260
Author: arvindvis <email address hidden>
Date: Tue Nov 14 19:43:55 2017 -0800

When wherequery has any of its subquery against ObjectTable (which will
be for all the queries against ObjectTable), the first query that should
be processed is the one against the ObjectTable. The dimension of the
result returned by DbQueryUnit for ObjectTable and MessageTable are
different. Therefor before doing the AND operation make sure the
ObjectTable results are the first subquery to be processed.
Closes-Bug: 1730193

Change-Id: Ie4f529784f20df158355eb9d0c26f0130bfbe44f

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/37543
Committed: http://github.com/Juniper/contrail-controller/commit/fdcedb8785e5eea19a70de101eabcc77510c5cbc
Submitter: Zuul (<email address hidden>)
Branch: master

commit fdcedb8785e5eea19a70de101eabcc77510c5cbc
Author: arvindvis <email address hidden>
Date: Tue Nov 14 19:43:55 2017 -0800

When wherequery has any of its subquery against ObjectTable (which will
be for all the queries against ObjectTable), the first query that should
be processed is the one against the ObjectTable. The dimension of the
result returned by DbQueryUnit for ObjectTable and MessageTable are
different. Therefor before doing the AND operation make sure the
ObjectTable results are the first subquery to be processed.
Closes-Bug: 1730193

Change-Id: Ie4f529784f20df158355eb9d0c26f0130bfbe44f

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.