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

Erik Frey updated THRIFT-215:
-----------------------------

    Description: 
On certain kernels, waiting with a very long timeout (e.g. many minutes or 
hours) returns just before the expected time, hitting the assert and abruptly 
bringing down the whole process.

I don't have enough information about affected platforms to style an ifdef -- 
feel free to buttress the attached patch if you'd prefer it to be more specific.

Also attached for your consideration is a patch to compile thrift lib with 
-DNDEBUG.

  was:
On certain kernels, waiting with a very long timeout (e.g. many minutes or 
hours) returns just -before- the expected time, hitting the assert and abruptly 
bringing down the whole process.  May be a timer resolution issue, not sure.

I don't have enough information about affected platforms to style an ifdef -- 
feel free to buttress the attached patch if you'd prefer it to be more specific.


> bad assert() in Monitor.cpp
> ---------------------------
>
>                 Key: THRIFT-215
>                 URL: https://issues.apache.org/jira/browse/THRIFT-215
>             Project: Thrift
>          Issue Type: Bug
>          Components: Library (C++)
>         Environment: Detected in linux 2.6.18-6
>            Reporter: Erik Frey
>            Priority: Minor
>         Attachments: monitor_bad_assert.patch
>
>
> On certain kernels, waiting with a very long timeout (e.g. many minutes or 
> hours) returns just before the expected time, hitting the assert and abruptly 
> bringing down the whole process.
> I don't have enough information about affected platforms to style an ifdef -- 
> feel free to buttress the attached patch if you'd prefer it to be more 
> specific.
> Also attached for your consideration is a patch to compile thrift lib with 
> -DNDEBUG.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to