[Bug 647529] New: Calling Clock.Wait fails with EntryNotFoundException

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Apr 11 23:31:20 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=647529
  GStreamer | gst-sharp | 0.10.28

           Summary: Calling Clock.Wait fails with EntryNotFoundException
    Classification: Platform
           Product: GStreamer
           Version: 0.10.28
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-sharp
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: scabot at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Unable to find an entry point named 'g_cond_timed_wait' in DLL
'libglib-2.0-0.dll'.

I'm using ossbuild version 0.10.7 LGPL Beta 4 so I first posted this bug there
and this is the response I got from david.g.hoyt

It's not exported in the official GTK+ builds either (or at least I couldn't
find them): http://www.gtk.org/download-windows.html

I think that the C# bindings are wrong. From gthread.h, g_cond_timed_wait() is
#define'd as:

# define g_cond_timed_wait(cond, mutex, abs_time)                       \
   G_THREAD_CF (cond_timed_wait, TRUE,   (cond, mutex, abs_time))

or

# define g_cond_timed_wait(cond, mutex, abs_time)                       \
   (g_thread_supported () ?                                            \
     ((gboolean(*)(GCond*, GMutex*, GTimeVal*, gulong, gchar*))        \
       g_thread_functions_for_glib_use.cond_timed_wait)                \
         (cond, mutex, abs_time, G_MUTEX_DEBUG_MAGIC, G_STRLOC) : TRUE)

Naturally that won't be exported. It appears that glib uses a virtual function
table and populates it with a platform-specific or overridable (user-defined)
function. There is a g_cond_timed_wait_win32_impl() but that's declared as
static and therefore not exported either. The C# bindings need to be fixed to
properly use the function table. You'll want to submit this bug upstream it
seems -- it doesn't seem to be a problem with our build.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list