[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Gnuradio locking up

From: Josh Blum
Subject: Re: [Discuss-gnuradio] Gnuradio locking up
Date: Tue, 22 Nov 2011 10:37:37 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1

Just so y'all know what lock/unlock is doing:

When you unlock the flow graph it basically interrupts and joins all
scheduler threads. Then it creates an entirely new scheduler.

wait() is a good candidate for the cause of lockups, that is,
interrupted threads are not exiting. This may be a sign of a bug in a
particular block's work function.

Now, if you are seeing crashing, that may be the result of a interrupted
block not cleaning itself up properly to be called by work again:
hanging onto old memory, not resetting state variables...

It may be a useful test to not lock/unlock, but to stop/wait/start and
see where the flow graph breaks down.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]