Miro (Democracy) player port is here...

Jeremy Messenger mezz7 at cox.net
Mon Nov 19 14:28:51 PST 2007


On Mon, 19 Nov 2007 13:38:31 -0600, Randy Pratt <bsd-unix at embarqmail.com>  
wrote:

> On Mon, 19 Nov 2007 12:25:31 -0600
> "Jeremy Messenger" <mezz7 at cox.net> wrote:
>
>> On Mon, 19 Nov 2007 05:59:25 -0600, Randy Pratt  
>> <bsd-unix at embarqmail.com>
>> wrote:
>>
>> > On Sun, 18 Nov 2007 21:47:12 -0600
>> > "Jeremy Messenger" <mezz7 at cox.net> wrote:
>> >
>> >> On Sun, 18 Nov 2007 15:47:48 -0600, Randy Pratt
>> >> <bsd-unix at embarqmail.com>
>> >> wrote:
>> >>
>> >> > On Sun, 18 Nov 2007 15:28:39 -0600
>> >> > "Jeremy Messenger" <mezz7 at cox.net> wrote:
>> >> >
>> >> >> On Sun, 18 Nov 2007 12:06:26 -0600, Randy Pratt
>> >> >> <bsd-unix at embarqmail.com>
>> >> >> wrote:
>> >> >>
>> >> >> > On Sun, 18 Nov 2007 10:58:24 -0600
>> >> >> > "Jeremy Messenger" <mezz7 at cox.net> wrote:
>> >> >> >
>> >> >> >> On Sun, 18 Nov 2007 10:50:17 -0600, Jeremy Messenger
>> >> <mezz7 at cox.net>
>> >> >> >> wrote:
>> >> >> >>
>> >> >> >> > On Sun, 18 Nov 2007 10:08:20 -0600, Randy Pratt
>> >> >> >> > <bsd-unix at embarqmail.com> wrote:
>> >> >> >> >
>> >> >> >> > <snip>
>> >> >> >> >> That worked for the installation.  Thanks!
>> >> >> >> >
>> >> >> >> > Good, I have updated miro.shar in the same place. Thanks too!
>> >> >> >> >
>> >> >> >> >> Although, when Miro was started, it displayed and was  
>> loading
>> >> >> >> >> then seg faulted with:
>> >> >> >> >>
>> >> >> >> >> ...
>> >> >> >> >> INFO     First URL is https://www.miroguide.com/firsttime
>> >> >> >> >> TIMING   Icon clear: 0.002
>> >> >> >> >> INFO     Starting movie data updates
>> >> >> >> >> INFO     Finished startup sequence
>> >> >> >> >> TIMING   idle (finalizing startup) too slow (3.984 secs)
>> >> >> >> >> INFO     *** Daemon ready ***
>> >> >> >> >> INFO     got file:///tmp/tmpacEbWZ.html
>> >> >> >> >> TIMING   gtkAsyncMethod: <function selectDisplay at  
>> 0x8bbe064>
>> >> >> took
>> >> >> >> too
>> >> >> >> >> long: 1.109 INFO     got file:///tmp/tmpA7pWuk.html
>> >> >> >> >> WARNING  downloader: connection closed -- quitting
>> >> >> >> >> INFO     Shutting down downloaders...
>> >> >> >> >> Segmentation fault (core dumped)
>> >> >> >> >
>> >> >> >> > Ummm... It doesn't give enough info.. Can you see *.core  
>> file in
>> >> >> >> there?
>> >> >> >> > If you do, then try to run this:
>> >> >> >> >
>> >> >> >> > 	# gdb foo foo.core
>> >> >> >> > 	# bt
>> >> >> >> > 	# bt full
>> >> >> >> >
>> >> >> >> > You might have to reinstall miro with debug  
>> (WITH_DEBUG=yes). I
>> >> >> will
>> >> >> >> > have to recheck in my build log to make sure everything  
>> compile
>> >> >> with
>> >> >> >> > -pthread.
>> >> >> >>
>> >> >> >> BTW: Try to run something like  
>> 'LD_PRELOAD=/usr/lib/libpthread.so
>> >> >> miro'
>> >> >> >> (or /usr/lib/libthr.so) to see if it works for you. If it does,
>> >> then
>> >> >> >> will
>> >> >> >> have to search somewhere that need to add -pthread. I don't  
>> have
>> >> >> FreeBSD
>> >> >> >> 6.x box anymore, so you or someone will have to keep test for  
>> me.
>> >> ;-)
>> >> >> >
>> >> >> > There was no joy in trying either of those.  It produced the  
>> same
>> >> >> > core dump.
>> >> >>
>> >> >> You are right about your backtraces don't help in other email.
>> >> >>
>> >> >> > These are the /var/db/ports/*/options settings I have  
>> pertaining to
>> >> >> > threads:
>> >> >> >
>> >> >> >   boehm-gc/options:WITHOUT_THREADING=true
>> >> >> >   boost/options:WITH_THREADS=true
>> >> >> >   ilmbase/options:WITHOUT_THREAD=true
>> >> >> >   python/options:WITH_THREADS=true
>> >> >> >   python24/options:WITH_THREADS=true
>> >> >> >   python25/options:WITH_THREADS=true
>> >> >> >   ruby/options:WITHOUT_PTHREADS=true
>> >> >> >   sqlite3/options:WITH_THREADS=true
>> >> >>
>> >> >> That is only one different from mine. I left sqlite3 by default,  
>> no
>> >> >> enable
>> >> >> thread. I have checked each files and build log, it looks like it  
>> has
>> >> >> nothing to do with missing -pthread. You can try to disable  
>> thread on
>> >> >> sqlite3 to see if it helps.
>> >> >
>> >> > I actually had it at the default of no threads originally and  
>> rebuilt
>> >> > it with threads to see if it helped (to no avail).
>> >> >
>> >> >> >   stunnel/options:WITH_PTHREAD=true
>> >> >> >
>> >> >> > Certainly I'll help debug this on 6.x.  During the ports freeze
>> >> >> > there's not much ports excitement going on (for me ;-)
>> >> >>
>> >> >> I am clueless at the moment, I need to dig in Miro's website to  
>> see
>> >> if
>> >> >> there have any info about how to debug on miro.
>> >> >
>> >> > I'll do some digging around myself although if it gets too deep I
>> >> > tend to get dazed and confused.  If I find anyting, I'll advise.
>> >> >
>> >> > If anyone has/gets Miro working on 6.x, I'd like to hear about it
>> >> > and maybe do some comparisons.
>> >>
>> >> Do you have any plugins such as Java, Flash or/and else in gecko
>> >> (firefox/mozilla/etc)? If you do, try to disable every one to see if  
>> it
>> >> will helping.
>> >
>> > Yes, I do have a few in firefox.  I poked around but I can't seem
>> > to find how to disable them.  Is there a global disable or do I
>> > need to deinstall each one?
>>
>> You can move files out of plugins directory and test it. After that move
>> these files back to where they were.
>
> I disabled all the plugins and that didn't seem to make any difference
> that I could see.  I put them back but now firefox doesn't find them.
> I'm not real concerned about that since I'm sure rebuilding some things
> will bring them back.

Bummer, at least we tried. I got an idea from one of bugzilla and was  
marked as fixed.

> Would it be of any benefit for me to make a list of all Miro's
> dependencies and see what configuration options are set paying
> close attention to threads/pthreads ?

I don't think it would help as I am clueless. I have checked in wiki for  
how to debug and there has nothing info about it. It only tell to give the  
log in bugzilla. The log is useful for developers that know source code in  
miro. Maybe I can try to grep in source code to see if I can find last  
line from your log. I don't know C/Python that well, but sometime I can  
solve it by luck.

The log is either from console or ~/.miro/miro-log (both are same).

Cheers,
Mezz

> Randy


-- 
mezz7 at cox.net  -  mezz at FreeBSD.org
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org
http://wiki.freebsd.org/multimedia  -  multimedia at FreeBSD.org


More information about the freebsd-multimedia mailing list