wxWidgets hangs in poll()

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
alys666
Earned a small fee
Earned a small fee
Posts: 13
Joined: Tue Oct 18, 2016 2:31 pm

wxWidgets hangs in poll()

Post by alys666 » Sat Apr 13, 2019 5:45 pm

hi. i have Ubuntu 16.04, wxWidgets 3.0.4 built from sources, and a problem.
sometimes(about once a hour) my program hangs in poll()function(found under debugger) and does not react on anything.
program has a rich usage of wxWidgets, including threads and messaging between threads and GUI thread, and I cannot locate a problem by myself. and it's only one visible bug of quite big system.
Any ideas appreciated.
thank you.
ubuntu 16.04, wxWidgets 3.0.4

alys666
Earned a small fee
Earned a small fee
Posts: 13
Joined: Tue Oct 18, 2016 2:31 pm

Re: wxWidgets hangs in poll()

Post by alys666 » Sat Apr 13, 2019 6:27 pm

i've found this topic and it looks like my problem -
viewtopic.php?f=1&t=38230&p=155861#p155861
i'll investigate the problem deeply
ubuntu 16.04, wxWidgets 3.0.4

alys666
Earned a small fee
Earned a small fee
Posts: 13
Joined: Tue Oct 18, 2016 2:31 pm

Re: wxWidgets hangs in poll()

Post by alys666 » Sat Apr 13, 2019 11:41 pm

question closed. as in mentioned topic, i was confused by debugger.
and inspection of running threads brought the reason - it was not a problem of wxWidgets code.
thanks.
ubuntu 16.04, wxWidgets 3.0.4

Post Reply