Downloads  |  Buy

Stuck on pthread_cond_wait

Stuck on pthread_cond_wait

Postby shounakb » September 27th, 2019, 7:56 am

Hi,

I am using the latest version of TurboActivate static library. On exit my application is getting stuck with the following stack trace. Am i doing anything wrong.

#0 pthread_cond_wait@@GLIBC_2.3.2 ()
at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00000000005255da in boost::condition_variable::wait(boost::unique_lock<boost::mutex>&) ()
#2 0x00000000005256e9 in boost::thread::join_noexcept() ()
#3 0x000000000051c5db in TA_LIB_NS::GlobalVars::~GlobalVars() ()
#4 0x00007f3d4a60bb69 in __run_exit_handlers (status=0,
listp=0x7f3d4a9986c8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true)
at exit.c:77
#5 0x00007f3d4a60bbb7 in __GI_exit (status=<optimized out>) at exit.c:99
#6 0x00007f3d4a5f43dc in __libc_start_main (main=0x4418de <main>, argc=2,
argv=0x7ffc6342a668, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffc6342a658) at ../csu/libc-start.c:300
#7 0x000000000043fba9 in _start ()
shounakb
 
Posts: 11
Joined: August 20th, 2018, 2:17 am

Re: Stuck on pthread_cond_wait

Postby Wyatt » September 27th, 2019, 8:04 am

GLIBC_2.3.2 is 16 years old. It would be heading off to college next year.

Use a modern compiler. GCC 8.0 or newer. Or use the dynamic version of TurboActivate.
User avatar
Wyatt
Site Admin
 
Posts: 6092
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire

Re: Stuck on pthread_cond_wait

Postby shounakb » September 27th, 2019, 8:22 am

I am using gcc 9.2. And I have tried the shared library version too. It gets stuck at the same place. I had a previous version of static library, which works flawlessly.
shounakb
 
Posts: 11
Joined: August 20th, 2018, 2:17 am

Re: Stuck on pthread_cond_wait

Postby Wyatt » September 27th, 2019, 8:29 am

Much more information is needed: https://wyday.com/limelm/help/faq/#useful-reports

OS, OS version, OS architecture, code, parameters passed, return codes, reproducibility, etc., etc., etc., etc.
User avatar
Wyatt
Site Admin
 
Posts: 6092
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire


Return to LimeLM, TurboActivate, & TurboFloat Support