Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #8263: Mythfrontend 0.22-fixes Crashes on Startup 'Illegal instruction'

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


mythtv at cvs

Mar 30, 2010, 10:54 PM

Post #1 of 11 (606 views)
Permalink
Ticket #8263: Mythfrontend 0.22-fixes Crashes on Startup 'Illegal instruction'

#8263: Mythfrontend 0.22-fixes Crashes on Startup 'Illegal instruction'
------------------------------+---------------------------------------------
Reporter: mpapet@… | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: unknown
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------
I get an 'illegal instruction' error after compiling mythtv-022-fixes from
svn. The computer is a PPC, G3 iBook running Linux.

I used the following incantation to build the main programs.
./configure --prefix=/usr --tune=G3 --arch=ppc --enable-libfaad
--disable-hdhomerun --disable-mmx --disable-mmx2
--disable-amd3dnow --disable-amd3dnowext --disable-altivec --enable-
nonfree --enable-gpl

I probably applied the 'sophmore principle' to the configure options.

See attached debug file.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/8263>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Mar 30, 2010, 10:57 PM

Post #2 of 11 (591 views)
Permalink
Re: Ticket #8263: Mythfrontend 0.22-fixes Crashes on Startup 'Illegal instruction' [In reply to]

#8263: Mythfrontend 0.22-fixes Crashes on Startup 'Illegal instruction'
------------------------------+---------------------------------------------
Reporter: mpapet@… | Owner: ijr
Type: defect | Status: infoneeded_new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: unknown
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------
Changes (by robertm):

* status: new => infoneeded_new


Comment:

These configure options are horrifying-- please try with *just* --enable-
proc-opts, and NONE of the other stuff besides prefix.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/8263#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Mar 31, 2010, 8:07 AM

Post #3 of 11 (582 views)
Permalink
Re: Ticket #8263: Mythfrontend 0.22-fixes Crashes on Startup 'Illegal instruction' [In reply to]

#8263: Mythfrontend 0.22-fixes Crashes on Startup 'Illegal instruction'
------------------------------+---------------------------------------------
Reporter: mpapet@… | Owner: ijr
Type: defect | Status: infoneeded_new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: unknown
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by mpapet@…):

Well, it would be nice if I didn't need those options to get it to build,
but it took me a while to get to a consistent build. Also, it's a slow
machine and never will run as a backend, so I turned off some stuff.

./configure --enable-proc-opt

*** WARNING ***
Your CPU was not detected properly:
uname -m: ppc
uname -p: unknown

pmac flags: 0000001f

cat /proc/cpuinfo
processor : 0
cpu : 745/755
temperature : 11-13 C (uncalibrated)
clock : 400.000000MHz
revision : 51.17 (pvr 0008 3311)
bogomips : 26.52
timebase : 16640000
platform : PowerMac
model : PowerBook4,1
machine : PowerBook4,1
motherboard : PowerBook4,1 PowerBook2,2 MacRISC2 MacRISC Power
Macintosh
detected as : 67 (iBook FireWire)
pmac flags : 0000001f
L2 cache : 256K unified
pmac-generation : NewWorld

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/8263#comment:2>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Mar 31, 2010, 8:26 AM

Post #4 of 11 (576 views)
Permalink
Re: Ticket #8263: Mythfrontend 0.22-fixes Crashes on Startup 'Illegal instruction' [In reply to]

#8263: Mythfrontend 0.22-fixes Crashes on Startup 'Illegal instruction'
------------------------------+---------------------------------------------
Reporter: mpapet@… | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: unknown
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------
Changes (by robertm):

* status: infoneeded_new => new


--
Ticket URL: <http://svn.mythtv.org/trac/ticket/8263#comment:3>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Mar 31, 2010, 8:27 AM

Post #5 of 11 (578 views)
Permalink
Re: Ticket #8263: Mythfrontend 0.22-fixes Crashes on Startup 'Illegal instruction' [In reply to]

#8263: Mythfrontend 0.22-fixes Crashes on Startup 'Illegal instruction'
------------------------------+---------------------------------------------
Reporter: mpapet@… | Owner: janneg
Type: defect | Status: assigned
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: unknown
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------
Changes (by robertm):

* owner: ijr => janneg
* status: new => assigned


Comment:

Janne, don't know if there's any point in trying to do proc-opts for such
an ancient processor, but passing to you, feel free to unassign as
necessary.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/8263#comment:4>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Mar 31, 2010, 5:38 PM

Post #6 of 11 (565 views)
Permalink
Re: Ticket #8263: Mythfrontend 0.22-fixes Crashes on Startup 'Illegal instruction' [In reply to]

#8263: Mythfrontend 0.22-fixes Crashes on Startup 'Illegal instruction'
------------------------------+---------------------------------------------
Reporter: mpapet@… | Owner: janneg
Type: defect | Status: assigned
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: unknown
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by mpapet@…):

I did a distclean before rebuilding mythtv per the new spec. Same illegal
instruction error.

I discovered that if the client can't log into the database, the client
config comes up and works as expected.

When I change permissions on the MySQL backend to allow the g3 iBook, I
get the illegal instruction error.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/8263#comment:5>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Apr 4, 2010, 6:11 AM

Post #7 of 11 (499 views)
Permalink
Re: Ticket #8263: Mythfrontend 0.22-fixes Crashes on Startup 'Illegal instruction' [In reply to]

#8263: Mythfrontend 0.22-fixes Crashes on Startup 'Illegal instruction'
------------------------------+---------------------------------------------
Reporter: mpapet@… | Owner: janneg
Type: defect | Status: assigned
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.22-fixes
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------
Changes (by janne):

* version: unknown => 0.22-fixes


Comment:

I'm not going to fix this for 0.22 without access to hardware.

./configure --prefix=/usr --cpu=g3 --enable-libfaad
--disable-hdhomerun --enable-gpl

might be worth a try or if you want to try 0.23-rc --cpu=host

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/8263#comment:6>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Apr 5, 2010, 7:55 AM

Post #8 of 11 (478 views)
Permalink
Re: Ticket #8263: Mythfrontend 0.22-fixes Crashes on Startup 'Illegal instruction' [In reply to]

#8263: Mythfrontend 0.22-fixes Crashes on Startup 'Illegal instruction'
------------------------------+---------------------------------------------
Reporter: mpapet@… | Owner: janneg
Type: defect | Status: assigned
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.22-fixes
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by mpapet@…):

If it's the case you aren't interested in working on an old release, then
just say so and close the bug. I'll start over with whatever version you
would like me to work with. Whatever is most interesting to you works for
me.

If you want to work on 0.22, I can give you access to the iBook via a hop
from a public-facing ssh account. Will that work for you? My email
address should be associated with this bug. I'll send you credentials
directly.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/8263#comment:7>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Apr 9, 2010, 10:29 AM

Post #9 of 11 (411 views)
Permalink
Re: Ticket #8263: Mythfrontend 0.22-fixes Crashes on Startup 'Illegal instruction' [In reply to]

#8263: Mythfrontend 0.22-fixes Crashes on Startup 'Illegal instruction'
------------------------------+---------------------------------------------
Reporter: mpapet@… | Owner: janneg
Type: defect | Status: assigned
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.22-fixes
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by anonymous):

On 0-22-fixes, disabling altivec returns the below build error. In plain
english it looks like mythtranscode doesn't know about the --disable-
altivec flag. Other than that, I'm out of my league.

I'll build the 0-23-rc2 and post those results in the next few days.

/usr/bin/qmake -unix QMAKE=/usr/bin/qmake -o Makefile replex.pro
make[2]: Leaving directory
`/home/mpapet/mythtv-0-22/mythtv/programs/mythtranscode/replex'
make[2]: Entering directory
`/home/mpapet/mythtv-0-22/mythtv/programs/mythtranscode/replex'
ccache g++ -o mythreplex avi.o element.o mpg_common.o multiplex.o
ringbuffer.o ts.o replex.o pes.o -L../../../libs/libavutil
-L../../../libs/libavcodec -L../../../libs/libavformat -lmythavcodec-0.22
-lmythavformat-0.22 -lmythavutil-0.22 -lfreetype -lz -lraw1394 -liec61883
-lavc1394 -lrom1394 -L/usr/lib -ldirectfb -lfusion -ldirect -lpthread
-L/usr/X11R6/lib -lXinerama -lX11 -lXext -lXxf86vm -lXv -lXrandr -lXvMCW
-lXvMC -lGL -lGLU -lpulse
../../../libs/libavcodec/libmythavcodec-0.22.so: undefined reference to
`int_init_altivec'
../../../libs/libavcodec/libmythavcodec-0.22.so: undefined reference to
`fdct_altivec'
../../../libs/libavcodec/libmythavcodec-0.22.so: undefined reference to
`aac_decoder'
../../../libs/libavcodec/libmythavcodec-0.22.so: undefined reference to
`ff_vp3_idct_put_altivec'
../../../libs/libavcodec/libmythavcodec-0.22.so: undefined reference to
`dsputil_h264_init_ppc'
../../../libs/libavcodec/libmythavcodec-0.22.so: undefined reference to
`has_altivec'
../../../libs/libavcodec/libmythavcodec-0.22.so: undefined reference to
`idct_add_altivec'
../../../libs/libavcodec/libmythavcodec-0.22.so: undefined reference to
`ff_vp3_idct_add_altivec'
../../../libs/libavcodec/libmythavcodec-0.22.so: undefined reference to
`float_init_altivec'
../../../libs/libavcodec/libmythavcodec-0.22.so: undefined reference to
`MPV_common_init_altivec'
../../../libs/libavcodec/libmythavcodec-0.22.so: undefined reference to
`dsputil_init_altivec'
../../../libs/libavcodec/libmythavcodec-0.22.so: undefined reference to
`vc1dsp_init_altivec'
../../../libs/libavcodec/libmythavcodec-0.22.so: undefined reference to
`gmc1_altivec'
../../../libs/libavcodec/libmythavcodec-0.22.so: undefined reference to
`ff_vp3_idct_altivec'
../../../libs/libavcodec/libmythavcodec-0.22.so: undefined reference to
`idct_put_altivec'
../../../libs/libavcodec/libmythavcodec-0.22.so: undefined reference to
`ff_fft_calc_altivec'

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/8263#comment:8>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Apr 9, 2010, 10:53 PM

Post #10 of 11 (407 views)
Permalink
Re: Ticket #8263: Mythfrontend 0.22-fixes Crashes on Startup 'Illegal instruction' [In reply to]

#8263: Mythfrontend 0.22-fixes Crashes on Startup 'Illegal instruction'
------------------------------+---------------------------------------------
Reporter: mpapet@… | Owner: janneg
Type: defect | Status: assigned
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.22-fixes
Severity: high | Mlocked: 0
------------------------------+---------------------------------------------

Comment(by mpapet@…):

Close the bug.

I cleaned the system of every mythtv file and directory and started over.

The following incantation works for 0-22-fixes on a PPC ibook 500mhz.

./configure --prefix=/usr --cpu=G3 --arch=ppc. --prefix=/usr --enable-gpl
--disable-altivec

By 'works' I mean the bug no longer exists.

Thanks for helping me work this out.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/8263#comment:9>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Apr 9, 2010, 11:15 PM

Post #11 of 11 (406 views)
Permalink
Re: Ticket #8263: Mythfrontend 0.22-fixes Crashes on Startup 'Illegal instruction' [In reply to]

#8263: Mythfrontend 0.22-fixes Crashes on Startup 'Illegal instruction'
------------------------------+---------------------------------------------
Reporter: mpapet@… | Owner: janneg
Type: defect | Status: closed
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.22-fixes
Severity: high | Resolution: invalid
Mlocked: 0 |
------------------------------+---------------------------------------------
Changes (by robertm):

* status: assigned => closed
* resolution: => invalid


--
Ticket URL: <http://svn.mythtv.org/trac/ticket/8263#comment:10>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits

MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.