[osg-users] osgviewerFLTK hangs at exit
Paul Melis
paul at science.uva.nl
Mon Sep 10 05:03:17 PDT 2007
Hello,
This is with this mornings' SVN version and FLTK 1.1.6 on FC4. When
exiting the osgviewerFLTK example (run with cow.osg as argument) with
escape it hangs with the following strace when attaching to the process:
...
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
select(5, [4], [], [], {0, 0}) = 0 (Timeout)
select(5, [4], [], [], {0, 0}) = 0 (Timeout)
sched_yield() = 0
select(5, [4], [], [], {0, 0}) = 0 (Timeout)
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
select(5, [4], [], [], {0, 0}) = 0 (Timeout)
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
select(5, [4], [], [], {0, 0}) = 0 (Timeout)
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
select(5, [4], [], [], {0, 0}) = 0 (Timeout)
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
sched_yield() = 0
<more of the same>
I haven't got a clue what's going on here, perhaps something
threading-related? One awkward thing I noticed is that when I give the
cow a good spin and try to exit it seems that there's two or more frames
being drawn repeatedly from the moment the lockup occurs. The image
jitters, almost like a camcorder movie with horrible interlacing.
All of the other window toolkit related samples work fine. Small thingy:
osgviewerWX is the only one that doesn't ask for a model file as
command-line argument.
Paul
More information about the osg-users
mailing list