[ 
https://issues.apache.org/jira/browse/THRIFT-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14189943#comment-14189943
 ] 

Konrad Grochowski commented on THRIFT-2681:
-------------------------------------------

{code:title=TThreadedServer.cpp:83}

    } catch (...) {
      GlobalOutput("TThreadedServer uncaught exception.");
    }
{code}

probably in case of pthreads this block should rethrow caught exception (as 
pthread_exit throws some internal exception)

I'm not sure, but that's what I came up with while googling for unwind_cleanup 
:)

http://stackoverflow.com/questions/4766768/unhandled-forced-unwind-causes-abort

> Core of unwind_cleanup
> ----------------------
>
>                 Key: THRIFT-2681
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2681
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.9
>            Reporter: Peter Jia
>
> Hi all,
> We see following issue of core
> #0  0x00007f8ea66d78a5 in raise () from /lib64/libc.so.6
> #1  0x00007f8ea66d9085 in abort () from /lib64/libc.so.6
> #2  0x00007f8ea8ae8cb1 in unwind_cleanup () from /lib64/libpthread.so.0
> #3  0x00007f8eab9cab69 in apache::thrift::server::TThreadedServer::Task::run 
> (this=0x7f8e9c031310) at src/thrift/server/TThreadedServer.cpp:83
> #4  0x00007f8eab9cea62 in 
> apache::thrift::concurrency::PthreadThread::threadMain (arg=0x7f8e9c032c40) 
> at src/thrift/concurrency/PosixThreadFactory.cpp:208
> #5  0x00007f8ea8ae2851 in start_thread () from /lib64/libpthread.so.0
> #6  0x00007f8ea678d90d in clone () from /lib64/libc.so.6
> Please help to have a check.
> Thank you!
> Sincerely,
> Peter



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to