Is there anything else I could provide or do that would be of use?<br><br><div><span class="gmail_quote">On 6/29/07, <b class="gmail_sendername">Scott Peterson</b> <<a href="mailto:lunchtimemama@gmail.com">lunchtimemama@gmail.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><span>Hey Sébastien, thanks for lending a hand. Here's the situation:
<br><br>I'm using glib binaries from the OpenVista project [1].<br><br>I initially used Gstreamer 0.10.13 binaries from <a href="http://freedesktop.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
freedesktop.org</a> [2], but now I'm building Gstreamer 0.10.13 myself with Visual Studio so that I can debug the problem.<br><br>I tried to initialize the Gstreamer that I built, but it failed with this error:<br><br>
> Debug Assertion Failed!<br>> File: write.c<br>> Line: 68<br>> Expression: (_osfile(fh) & FOPEN)<br><br>The error happens in line 72 of gstregistryxml.c, in the method gst_registry_save. The line is:<br>
<br>
> written = write (registry->cache_file, str, len);<br><br>I think the error arises because registry->cache_file has the value 3. registry->cache_file is assigned on line 849 of gstregistryxml.c in the method gst_registry_xml_write_cache. The line is:
<br><br>> registry->cache_file = g_mkstemp (tmp_location);<br><br>Prior to execution of this line, registry->cache_file is 0. After execution, it is 3. Someone on IRC advised me that this is a problem having to do with the fact that I'm building Gstreamer myself, but not glib. Unfortunately I'm not able to build glib for a number of reasons, so I just got around this problem by inserting
<br><br>> goto fail;<br><br>before the registry->cache_file assignment. Gstreamer now initializes.<br><br>Now to the playback problem. Banshee playback is handled in a C library called libbanshee. The relevant file is
gst-playback-0.10.c [3]. When a song is played in the interface, the method gst_playback_open is called, and then gst_playback_play (see </span><span>gst-playback-0.10.c)</span><span>. The error occurs while executing </span>
<span>gst_playback_play.<br><br>I've traced the problem to the method gst_base_src_start in gstbasesrc.c on line 1986:<br><br>> result = bclass->start (basesrc);<br><br>I'm not able to enter that function while debugging (what code is this pointing to?) but when it returns, result is 0. I can provide loads of stack trace info or variable values, but I don't know what would be helpful for you to know. I don't understand what much of the code is doing, but I do know that this is happening during a pad activation (whatever that is).
<br><br>Thanks again for helping out and let me know what other info I can provide.<br><br>Best,<br>Scott</span><span><br><br>[1] <a href="https://sourceforge.net/project/showfiles.php?group_id=74626&package_id=223067" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
https://sourceforge.net/project/showfiles.php?group_id=74626&package_id=223067</a><br>[2] <a href="http://gstreamer.freedesktop.org/pkg/windows/releases/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://gstreamer.freedesktop.org/pkg/windows/releases/</a><br>
[3] <a href="http://svn.gnome.org/viewcvs/banshee/trunk/banshee/libbanshee/gst-playback-0.10.c?view=markup" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://svn.gnome.org/viewcvs/banshee/trunk/banshee/libbanshee/gst-playback-0.10.c?view=markup
</a><br><br></span><div><span class="e" id="q_113793f7eec98dd0_1"><br>
<div><span class="gmail_quote">On 6/28/07, <b class="gmail_sendername">Sébastien Moutte</b> <<a href="mailto:sebastien@moutte.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sebastien@moutte.net
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hey Scott,<br><br>I'll be happy to help you making Banshee work with Gstreamer in Windows<br>if I can.<br>What's the status of the problems you were having ?<br>This error "GStreamer resource error: OpenRead" makes me think about a
<br>LIBC problem as there are some incompatiblities (with files descriptors<br>for ie) between msvcrt.dll and newer versions.<br>What binaries of GStreamer are you using ?<br><br>Regards,<br>Sebastien<br><br>Scott Peterson a écrit :
<br>> Hey GStreamer folks! I'm porting the music app Banshee [1] to Windows<br>> as a project for the Google Summer of Code. Banshee uses gstreamer for<br>> its playback backend so I'm now in the process of making that work on
<br>> Windows. Unfortunately, I'm having a bit of trouble. I'll be fully<br>> investigating the issue come next week, but I thought I'd start my<br>> quest be making contact with the mailing list. I've summarized the
<br>> trouble I'm having on our Summer of Code list [2] so if anyone has a<br>> spare moment and wouldn't mind lending a hand to a gstreamer newcomer,<br>> I'd appreciate any input you might have. Thanks!
<br>><br>> [1] <a href="http://banshee-project.org/Main_Page" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://banshee-project.org/Main_Page</a><br>> [2]<br>> <a href="http://groups.google.com/group/mono-soc-2007/browse_thread/thread/d1d8510fb208bad" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://groups.google.com/group/mono-soc-2007/browse_thread/thread/d1d8510fb208bad</a><br>> <<a href="http://groups.google.com/group/mono-soc-2007/browse_thread/thread/d1d8510fb208bad" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://groups.google.com/group/mono-soc-2007/browse_thread/thread/d1d8510fb208bad
</a>><br>><br>> --<br>> Scott.<br>> ------------------------------------------------------------------------<br>><br>> -------------------------------------------------------------------------<br>> This
SF.net email is sponsored by DB2 Express<br>> Download DB2 Express C - the FREE version of DB2 express and take<br>> control of your XML. No limits. Just data. Click to get it now.<br>> <a href="http://sourceforge.net/powerbar/db2/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://sourceforge.net/powerbar/db2/</a><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________<br>> gstreamer-devel mailing list
<br>> <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">gstreamer-devel@lists.sourceforge.net</a><br>> <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
</a><br>><br></blockquote></div>
</span></div></blockquote></div><br><br clear="all"><br>-- <br>Scott.