Tommaso Massimi wrote:
On Thu, Aug 4, 2011 at 3:23 AM, Terry Duell <tdu...@iinet.net.au> wrote:
Hullo All,

[...]

Attached 'valgrind-out.txt' is the result of running the above command on
Fedora 15 x86_64 with hugin debuginfo rpm installed

Hullo Terry,
you made really a great job!!

helgrind detected some errors, but there could be some false positive.

this one seems to be a design error:

==2514== Possible data race during read of size 4 at 0x147fcacc by thread #2
==2514==    at 0x145D3AB7: pa_once_begin (in
/usr/lib64/libpulsecommon-0.9.22.so)
==2514==    by 0x145D3C56: pa_run_once (in /usr/lib64/libpulsecommon-0.9.22.so)
==2514==    by 0x145E676C: ??? (in /usr/lib64/libpulsecommon-0.9.22.so)
==2514==    by 0x4A0729D: mythread_wrapper (hg_intercepts.c:221)
==2514==    by 0x3E7EA07AF0: start_thread (in /lib64/libpthread-2.14.so)
==2514==    by 0x3E7E6DFB7C: clone (in /lib64/libc-2.14.so)
==2514==  This conflicts with a previous write of size 4 by thread #1
==2514==    at 0x145D3966: pa_once_end (in /usr/lib64/libpulsecommon-0.9.22.so)
==2514==    by 0x145E66C3: pa_thread_self (in
/usr/lib64/libpulsecommon-0.9.22.so)
==2514==    by 0x1439872C: pa_threaded_mainloop_wait (in
/usr/lib64/libpulse.so.0.12.3)
==2514==    by 0x1414C5C0: pulse_driver_open (in
/usr/lib64/libcanberra-0.28/libcanberra-pulse.so)
==2514==    by 0x3D5000BCCD: ??? (in /usr/lib64/libcanberra.so.0.2.5)
==2514==    by 0x3D50003407: ??? (in /usr/lib64/libcanberra.so.0.2.5)
==2514==    by 0x3D50003FD4: ca_context_play_full (in
/usr/lib64/libcanberra.so.0.2.5)
==2514==    by 0xCBF9CCE: ca_gtk_play_for_widget (in
/usr/lib64/libcanberra-gtk.so.0.1.8)

pulseaudio used by two threads, and

http://apidocs.meego.com/1.2/pulseaudio/main.html

"Threads

The PulseAudio client libraries are not designed to be directly thread-safe.
They are however designed to be reentrant and threads-aware.

To use the libraries in a threaded environment, you must assure that
all objects are only used in one thread at a time. Normally, this
means that all objects belonging to a single context must be accessed
from the same thread.

The included main loop implementation is also not thread safe. Take
care to make sure event objects are not manipulated when any other
code is using the main loop."

Hmm, why is a graphics app trying to use PulseAudio? I don't even have it installed on any of my computers here!

--
Gnome Nomad
gnomeno...@gmail.com
wandering the landscape of god
http://www.cafepress.com/otherend/

--
You received this message because you are subscribed to the Google Groups "Hugin and 
other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to