[
https://issues.apache.org/jira/browse/THRIFT-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bryan Duxbury updated THRIFT-498:
---------------------------------
Attachment: thrift-498.patch
This patch disables the switching of native method tables. This appears to
alleviate the problem in my tests. It might be slower than the original
implementation, but I'd rather have this fixed and get back to the speedup
problem in another issue.
> Compact and Binary native protocols, used at the same time, can cause some
> issues
> ---------------------------------------------------------------------------------
>
> Key: THRIFT-498
> URL: https://issues.apache.org/jira/browse/THRIFT-498
> Project: Thrift
> Issue Type: Bug
> Components: Library (Ruby)
> Affects Versions: 0.1
> Reporter: Bryan Duxbury
> Assignee: Bryan Duxbury
> Priority: Critical
> Attachments: thrift-498.patch
>
>
> It seems like there is some scenario in which the native protocol method
> tables get mixed up when you are using both binary and compact protocol's
> native implementations. In the cases I've seen, this leads to a segfault in
> compact protocol when it can't find some ivar it needs. However, there's no
> telling for certain if it does not also silently corrupt the data being
> written as binary protocol at the same time.
> I will post a script that produces this exception soon.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.