[ 
https://issues.apache.org/jira/browse/KUDU-3704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Serbin updated KUDU-3704:
--------------------------------
    Fix Version/s: 1.19.0

> Kudu C++ client crash on VLOG
> -----------------------------
>
>                 Key: KUDU-3704
>                 URL: https://issues.apache.org/jira/browse/KUDU-3704
>             Project: Kudu
>          Issue Type: Bug
>    Affects Versions: 1.18.0
>            Reporter: Alexey Serbin
>            Priority: Major
>             Fix For: 1.18.1, 1.19.0
>
>
> When verbose log level for Kudu C++ client is set to 2 or higher (see 
> {{kudu::client::SetVerboseLogLevel()}}), an application might crash with 
> SIGSEGV in certain scenarios when trying to write into a new range partition 
> that used to be a part of non-covered range.
> The top of the stack trace looks like the following:
> {noformat}
> #0  kudu::client::internal::MetaCache::LookupEntryByKeyFastPath (
>     this=this@entry=0x55555bbb6840, table=table@entry=0x55555bafd780,
>     partition_key=..., entry=entry@entry=0x7fffffffd4e0)
>     at /root/Projects/kudu/src/kudu/client/meta_cache.cc:1280
> #1  0x00005555567248ac in kudu::client::internal::MetaCache::DoFastPathLookup 
> (
>     this=this@entry=0x55555bbb6840, table=table@entry=0x55555bafd780,
>     partition_key=partition_key@entry=0x7fffffffd870,
>     
> lookup_type=lookup_type@entry=kudu::client::internal::MetaCache::LookupType::kPoint,
>  remote_tablet=remote_tablet@entry=0x55555b62d010)
>     at /root/Projects/kudu/src/kudu/client/meta_cache.cc:1308
> #2  0x000055555672cf51 in 
> kudu::client::internal::MetaCache::LookupTabletByKey(kudu::client::KuduTable 
> const*, kudu::PartitionKey, kudu::MonoTime const&, 
> kudu::client::internal::MetaCache::LookupType, 
> scoped_refptr<kudu::client::internal::RemoteTablet>*, std::function<void 
> (kudu::Status const&)> const&) (
>     this=this@entry=0x55555bbb6840, table=table@entry=0x55555bafd780,
>     partition_key=..., deadline=...,
>     
> lookup_type=lookup_type@entry=kudu::client::internal::MetaCache::LookupType::kPoint,
>  remote_tablet=remote_tablet@entry=0x55555b62d010, callback=...)
>     at /root/Projects/kudu/src/kudu/client/meta_cache.cc:1472
> {noformat}
> The issue has been introduced in Kudu 1.18.0 with KUDU-3461 by the following 
> changelists:
> * 
> [60d5a710f|https://github.com/apache/kudu/commit/60d5a710f598edbffe9e6e3193b0135f904b04f3]
> * 
> [438216ad3|https://github.com/apache/kudu/commit/438216ad33a7d096f276eef6cc52981c3b2fc2c9]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to