[gstreamer-bugs] [Bug 597662] Windows-incompatible changes in gstreamer

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Dec 9 02:00:50 PST 2009


https://bugzilla.gnome.org/show_bug.cgi?id=597662
  GStreamer | gstreamer (core) | git

--- Comment #30 from Julien Isorce <julien.isorce at gmail.com> 2009-12-09 10:00:45 UTC ---
hi, it didn't resolve the crash:

Program received signal SIGSEGV, Segmentation fault.
0x6b72f91d in gst_win32_fsync (wfd=0xffffffff) at gstwin32io.c:278
278       if (G_UNLIKELY (!wfd || wfd->fd == (gpointer) -1))
(gdb) bt
#0  0x6b72f91d in gst_win32_fsync (wfd=0xffffffff) at gstwin32io.c:278
#1  0x6b704327 in plugin_loader_free (loader=0xade0b0)
    at gstpluginloader.c:165
#2  0x6b70c2cd in clear_scan_context (context=0x22fd20) at gstregistry.c:994
#3  0x6b70d6e2 in gst_update_registry () at gstregistry.c:1490
#4  0x6b6c1f7d in init_post (context=0xad0470, group=0xad1ab8, data=0x0,
    error=0x22fe78) at gst.c:765
#5  0x685f8f1d in g_option_context_parse ()
   from C:\msys\1.0\local\bin\libglib-2.0-0.dll
#6  0x00403c37 in main (argc=1, argv=0x3e46a0) at gst-inspect.c:1499

but if (G_UNLIKELY (!wfd || wfd == (gpointer) -1 || wfd->fd == (gpointer) -1))
yes

in gst_win32_close you are checking wfd == (gpointer) -1, why not in
gst_win32_fsync so.

Well now gst-inspect-0.10 does not crash.

$ gst-inspect-0.10
coreindexers:  memindex: A index that stores entries in memory
coreelements:  multiqueue: MultiQueue
coreelements:  typefind: TypeFind
coreelements:  tee: Tee pipe fitting
coreelements:  filesink: File Sink
coreelements:  queue2: Queue 2
coreelements:  queue: Queue
coreelements:  identity: Identity
coreelements:  filesrc: File Source
coreelements:  fdsink: Filedescriptor Sink
coreelements:  fdsrc: Filedescriptor Source
coreelements:  fakesink: Fake Sink
coreelements:  fakesrc: Fake Source
coreelements:  capsfilter: CapsFilter
staticelements:  bin: Generic bin
staticelements:  pipeline: Pipeline object

Total count: 3 plugins, 16 features

By the way, I am using msys+mingw in a winxp virtualbox client, and host is a
linux. gstreamer checkout is on the host and the dir is shared to the client.
Maybe it can explain this particular case that caused this crash.

-- 
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