Opened 18 years ago

Last modified 9 years ago

#89 closed bug

Charts blocks drawing while '2 Threads' is selected — at Version 13

Reported by: johndrinkwater Owned by: jackburton
Priority: normal Milestone: R1
Component: Applications/Chart Version: R1/Development
Keywords: Cc: katisu
Blocked By: Blocking:
Platform: All

Description (last modified by jackburton)

run Chart, set it up so you can see a moving animation, select '2 Threads' option. Window doesn't continue its updates, app still remains responsive though. Unselecting '2 Threads' returns Charts to normality.

Change History (13)

comment:1 by jackburton, 18 years ago

Can't reproduce this anymore. Maybe it's been fixed in the meantime ?

comment:2 by johndrinkwater, 18 years ago

I still see this on rev16097 in vmware with 32bit mode, using either directwindow+drawbitmap

comment:3 by jackburton, 18 years ago

Weird, I can reproduce it, but not consistently. Maybe it's timing related ?

comment:4 by johndrinkwater, 18 years ago

On the first attempt to select "2 threads", it'll take a random duration to block drawing.

Any further attempts (re-enabling 2 threads) stops drawing directly after selection. Sounds deadlocky(?) on the second thread.

comment:5 by johndrinkwater, 18 years ago

Owner: changed from sikosis to jackburton

comment:6 by jackburton, 18 years ago

Status: newassigned

comment:7 by stippi, 18 years ago

Can you guys reproduce this on R5?

comment:8 by jackburton, 18 years ago

Chart also hangs on quit. Could be related, as uncommenting the line

"wait_for_thread(fSecondAnimationThread, &result);"

in ChartWindow.cpp (ChartWindow::~ChartWindow()) makes the app quit correctly.

I'd be interested in seeing how the app behaves in BeOS and in the testing environment. Unfortunately, I can't test on either.

comment:9 by johndrinkwater, 18 years ago

I've been playing with this on native hardware, and cant reproduce. With testing the same revision in vmware, I can reproduce.

Maybe a gfx/vmware problem ? Is there any debug output that could help here?

comment:10 by johndrinkwater, 18 years ago

Summary: Charts blocks drawing while ?2 Threads? is selectedCharts blocks drawing while '2 Threads' is selected

comment:11 by diver, 18 years ago

Cc: diver added

comment:12 by korli, 18 years ago

bug_group: developers

in reply to:  10 comment:13 by jackburton, 18 years ago

Description: modified (diff)
Platform: All

Replying to johndrinkwater:

The weirdest thing is that I tried to add some debug output, and then the problem doesn't show up anymore.

Note: See TracTickets for help on using tickets.