Scott Peterson
unread,Jul 9, 2007, 3:52:12 PM7/9/07Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Aaron Bockover, mono-s...@googlegroups.com
OK, after much pain and debugging, GStreamer works with Banshee on Windows. The solution is both elegant and disgusting: in the end I simply needed to alter a URI string passed to native code. Of course a proper error message with mention of the bad URI would be asking too much of GStreamer. It's much more fun to toil for weeks, building GStreamer and then glib and then gtk in Visual Studio so as to debug the problem *cough*cough*sarcasm*cough*. Actually the GStreamer people are really nice but that code desperately needs better error handling.
Anyhoo, another day, another problem in native code. When libbanshee calls back into managed code (for gstreamer callbacks: iterator, statechanged, &c.), everything dies with this: "An unhandled exception of type '
System.AccessViolationException' occurred in gtk-sharp.dll". Here's a bit of the callstack:
ntdll.dll!7c901010()
[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll
]
libgthread-2.0-0.dll!65c41201()
> libbanshee.dll!gst_playback_iterate_timeout(GstPlayback * engine=0x0012f29c) Line 307 + 0xc bytes C
It barfs under the Mono runtime too, with no additional information. Ideas? This native code is killing me :desperatelaugh:
--
Scott.