Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2007 16:32:56 -0600
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Randy Pratt" <bsd-unix@embarqmail.com>
Cc:        freebsd-multimedia@freebsd.org, freebsd-gnome@freebsd.org
Subject:   Re: Miro (Democracy) player port is here...
Message-ID:  <op.t118w6sc9aq2h7@mezz.mezzweb.com>
In-Reply-To: <20071119143831.a4f95718.bsd-unix@embarqmail.com>
References:  <op.t1yydhtd9aq2h7@mezz.mezzweb.com> <20071118091901.daa594f1.bsd-unix@embarqmail.com> <op.t1ztw9d39aq2h7@mezz.mezzweb.com> <20071118110820.ab8757a0.bsd-unix@embarqmail.com> <op.t1zyd31j9aq2h7@mezz.mezzweb.com> <op.t1zyrmem9aq2h7@mezz.mezzweb.com> <20071118130626.d3f8842d.bsd-unix@embarqmail.com> <op.t10a91dz9aq2h7@mezz.mezzweb.com> <20071118164748.6fd756a9.bsd-unix@embarqmail.com> <op.t10ssyd49aq2h7@mezz.mezzweb.com> <20071119065925.9cf0461c.bsd-unix@embarqmail.com> <op.t11xgtab9aq2h7@mezz.mezzweb.com> <20071119143831.a4f95718.bsd-unix@embarqmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 19 Nov 2007 13:38:31 -0600, Randy Pratt <bsd-unix@embarqmail.com=
>  =

wrote:

> On Mon, 19 Nov 2007 12:25:31 -0600
> "Jeremy Messenger" <mezz7@cox.net> wrote:
>
>> On Mon, 19 Nov 2007 05:59:25 -0600, Randy Pratt  =

>> <bsd-unix@embarqmail.com>
>> wrote:
>>
>> > On Sun, 18 Nov 2007 21:47:12 -0600
>> > "Jeremy Messenger" <mezz7@cox.net> wrote:
>> >
>> >> On Sun, 18 Nov 2007 15:47:48 -0600, Randy Pratt
>> >> <bsd-unix@embarqmail.com>
>> >> wrote:
>> >>
>> >> > On Sun, 18 Nov 2007 15:28:39 -0600
>> >> > "Jeremy Messenger" <mezz7@cox.net> wrote:
>> >> >
>> >> >> On Sun, 18 Nov 2007 12:06:26 -0600, Randy Pratt
>> >> >> <bsd-unix@embarqmail.com>
>> >> >> wrote:
>> >> >>
>> >> >> > On Sun, 18 Nov 2007 10:58:24 -0600
>> >> >> > "Jeremy Messenger" <mezz7@cox.net> wrote:
>> >> >> >
>> >> >> >> On Sun, 18 Nov 2007 10:50:17 -0600, Jeremy Messenger
>> >> <mezz7@cox.net>
>> >> >> >> wrote:
>> >> >> >>
>> >> >> >> > On Sun, 18 Nov 2007 10:08:20 -0600, Randy Pratt
>> >> >> >> > <bsd-unix@embarqmail.com> wrote:
>> >> >> >> >
>> >> >> >> > <snip>
>> >> >> >> >> That worked for the installation.  Thanks!
>> >> >> >> >
>> >> >> >> > Good, I have updated miro.shar in the same place. Thanks t=
oo!
>> >> >> >> >
>> >> >> >> >> 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=3Dyes). I
>> >> >> will
>> >> >> >> > have to recheck in my build log to make sure everything  =

>> compile
>> >> >> with
>> >> >> >> > -pthread.
>> >> >> >>
>> >> >> >> BTW: Try to run something like  =

>> 'LD_PRELOAD=3D/usr/lib/libpthread.so
>> >> >> miro'
>> >> >> >> (or /usr/lib/libthr.so) to see if it works for you. If it do=
es,
>> >> 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 fo=
r  =

>> 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=3Dtrue
>> >> >> >   boost/options:WITH_THREADS=3Dtrue
>> >> >> >   ilmbase/options:WITHOUT_THREAD=3Dtrue
>> >> >> >   python/options:WITH_THREADS=3Dtrue
>> >> >> >   python24/options:WITH_THREADS=3Dtrue
>> >> >> >   python25/options:WITH_THREADS=3Dtrue
>> >> >> >   ruby/options:WITHOUT_PTHREADS=3Dtrue
>> >> >> >   sqlite3/options:WITH_THREADS=3Dtrue
>> >> >>
>> >> >> 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=3Dtrue
>> >> >> >
>> >> >> > Certainly I'll help debug this on 6.x.  During the ports free=
ze
>> >> >> > 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 i=
t
>> >> > 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 m=
ove
>> 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 thing=
s
> 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 t=
he  =

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@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org
http://wiki.freebsd.org/multimedia  -  multimedia@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.t118w6sc9aq2h7>