[jira] [Commented] (DRILL-5441) Drill Client: Invalid read error when logger is turned on

2017-04-18 Thread Rob Wu (JIRA)

[ 
https://issues.apache.org/jira/browse/DRILL-5441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15973492#comment-15973492
 ] 

Rob Wu commented on DRILL-5441:
---

With Log turned off:



-

4

memcheck


-

Memcheck, a memory error detector

Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.

Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info

Command: /opt/io/64/bin/iodbctestw DSN=MapR Drill 64-bit



32428

14305

memcheck


-


-

/usr/bin/valgrind

--leak-check=yes

--xml=yes

--xml-file=/media/110valgrind-1371028 LOG OFF.xml




-

/opt/io/64/bin/iodbctestw

DSN=MapR Drill 64-bit






-

RUNNING

00:00:00:00.050 




-

FINISHED

00:00:00:13.119 





> Drill Client: Invalid read error when logger is turned on
> -
>
> Key: DRILL-5441
> URL: https://issues.apache.org/jira/browse/DRILL-5441
> Project: Apache Drill
>  Issue Type: Bug
>  Components: Client - C++
>Affects Versions: 1.10.0
>Reporter: Rob Wu
>Priority: Minor
>
> The memory access issue only occurs when the log level for the drill client 
> is set to DEBUG or above.  By turning off or down the log level, the issue is 
> no longer observed. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (DRILL-5441) Drill Client: Invalid read error when logger is turned on

2017-04-18 Thread Rob Wu (JIRA)

[ 
https://issues.apache.org/jira/browse/DRILL-5441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15973491#comment-15973491
 ] 

Rob Wu commented on DRILL-5441:
---

With Logging turned on:



-

4

memcheck


-

Memcheck, a memory error detector

Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.

Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info

Command: /opt/io/64/bin/iodbctestw DSN=MapR Drill 64-bit



18550

14305

memcheck


-


-

/usr/bin/valgrind

--leak-check=yes

--xml=yes

--xml-file=/media/110valgrind-1371028 LOG TRACE.xml




-

/opt/io/64/bin/iodbctestw

DSN=MapR Drill 64-bit






-

RUNNING

00:00:00:00.040 




-

0x29

2

InvalidRead

Invalid read of size 4


-


-

0xD4DE434

/opt/mapr/drill/lib/64/libdrillClient.so

google::protobuf::internal::RepeatedPtrFieldBase::size() const

/home/employee/Desktop/Rob/drill/P4ROOT/protobuf/protobuf-2.5.0rc1/Linux_x8664/include/google/protobuf

repeated_field.h

818




-

0xD4E52A9

/opt/mapr/drill/lib/64/libdrillClient.so

google::protobuf::RepeatedPtrField::size() 
const

/home/employee/Desktop/Rob/drill/P4ROOT/protobuf/protobuf-2.5.0rc1/Linux_x8664/include/google/protobuf

repeated_field.h

1032




-

0xD4DF57F

/opt/mapr/drill/lib/64/libdrillClient.so

exec::user::GetCatalogsResp::catalogs_size() const

/home/employee/Desktop/Rob/drill/drill-1.10.0.1/contrib/native/client/src/protobuf

User.pb.h

6658




-

0xD4CF26F

/opt/mapr/drill/lib/64/libdrillClient.so

Drill::DrillClientImpl::processCatalogsResult(Drill::AllocatedBuffer*, 
Drill::rpc::InBoundRpcMessage const&)

/home/employee/Desktop/Rob/drill/drill-1.10.0.1/contrib/native/client/src/clientlib

drillClientImpl.cpp

1196




-

0xD4D287A

/opt/mapr/drill/lib/64/libdrillClient.so

Drill::DrillClientImpl::handleRead(unsigned char*, 
boost_sb::system::error_code const&, unsigned long)

/home/employee/Desktop/Rob/drill/drill-1.10.0.1/contrib/native/client/src/clientlib

drillClientImpl.cpp

1550




-

0xD503A92

/opt/mapr/drill/lib/64/libdrillClient.so

boost_sb::_mfi::mf3::operator()(Drill::DrillClientImpl*, unsigned char*, 
boost_sb::system::error_code const&, unsigned long) const

/home/employee/Desktop/Rob/drill/P4ROOT/boost/boost_sb_157icu/release64/include/boost/bind

mem_fn_template.hpp

393




-

0xD4FE6CC

/opt/mapr/drill/lib/64/libdrillClient.so

void boost_sb::_bi::list4, 
boost_sb::_bi::value, boost_sb::arg<1> (*)(), boost_sb::arg<2> 
(*)()>::operator(), 
boost_sb::_bi::list2 
>(boost_sb::_bi::type, boost_sb::_mfi::mf3&, 
boost_sb::_bi::list2&, int)

/home/employee/Desktop/Rob/drill/P4ROOT/boost/boost_sb_157icu/release64/include/boost/bind

bind.hpp

457




-

0xD4F70C7

/opt/mapr/drill/lib/64/libdrillClient.so

void boost_sb::_bi::bind_t, 
boost_sb::_bi::list4, 
boost_sb::_bi::value, boost_sb::arg<1> (*)(), boost_sb::arg<2> 
(*)()> >::operator()(boost_sb::system::error_code const&, unsigned long const&)

/home/employee/Desktop/Rob/drill/P4ROOT/boost/boost_sb_157icu/release64/include/boost/bind

bind_template.hpp

102




-

0xD4F00A3

/opt/mapr/drill/lib/64/libdrillClient.so

boost_sb::asio::detail::read_op, 
boost_sb::asio::mutable_buffers_1, boost_sb::asio::detail::transfer_all_t, 
boost_sb::_bi::bind_t, 
boost_sb::_bi::list4, 
boost_sb::_bi::value, boost_sb::arg<1> (*)(), boost_sb::arg<2> 
(*)()> > >::operator()(boost_sb::system::error_code const&, unsigned long, 
int)

/home/employee/Desktop/Rob/drill/P4ROOT/boost/boost_sb_157icu/release64/include/boost/asio/impl

read.hpp

282




-

0xD50BC91

/opt/mapr/drill/lib/64/libdrillClient.so

boost_sb::asio::detail::binder2, 
boost_sb::asio::mutable_buffers_1, boost_sb::asio::detail::transfer_all_t, 
boost_sb::_bi::bind_t, 
boost_sb::_bi::list4, 
boost_sb::_bi::value, boost_sb::arg<1> (*)(),