[mythtv-users] Segfault while compiling

Mark J. Bobak mark at bobak.net
Fri Apr 20 21:58:30 UTC 2007


On Fri, 2007-04-20 at 23:13 +0400, Dave wrote:
> On 4/20/07, Matt <skd5aner at gmail.com> wrote:
>  > Hi,
>  >
>  >    I'm building a new frontend on new hardware and I'm running into a
>  > problem when trying to compile SVN 13184 on ubuntu feisty fawn:
>  >
>  > ccache g++ -c -pipe -march=k8 -I/usr/include/kde/artsc -pthread
>  > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -W -O3
>  > -fomit-frame-pointer -Wall -Wno-switch -Wno-non-virtual-dtor
>  > -fomit-frame-pointer -I/usr/include/freetype2 -D_REENTRANT -DPIC -fPIC
>  >  -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
>  > -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\"
>  > -D_LARGEFILE_SOURCE -DUSING_OSS -DUSING_H264TOOLS -DUSING_XV
>  > -DUSING_XVMC -DUSING_XVMC_VLD -DUSING_XVMC_PBUFFER -DUSING_OPENGL
>  > -DUSING_XVMC_OPENGL -DUSING_OPENGL_VSYNC -DUSING_FRONTEND -DUSING_V4L
>  > -DUSING_LINUX_FIREWIRE -DUSING_FIREWIRE -DUSING_LIBAVC_5_3
>  > -DUSING_DBOX2 -DUSING_IPTV -DUSING_HDHOMERUN -DUSING_IVTV -DUSING_DVB
>  > -DUSING_BACKEND -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED
>  > -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I.
>  > -I../../../../../local/include -I../../../../../include -I../.. -I..
>  > -I../libmyth -I../libavcodec -I../libavutil -I../libmythmpeg2 -Idvbdev
>  > -Impeg -Iiptv -I../libmythlivemedia/BasicUsageEnvironment/include
>  > -I../libmythlivemedia/groupsock/include
>  > -I../libmythlivemedia/liveMedia/include
>  > -I../libmythlivemedia/UsageEnvironment/include
>  > -I../../../../../include/qt3 -I/usr/X11R6/include -I/usr/X11R6/include
>  > -o dtvconfparserhelpers.o dtvconfparserhelpers.cpp
>  > 
> /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/vector.tcc:
>  > In member function �void std::vector<_Tp,
>  > _Alloc>::_M_insert_aux(__gnu_cxx::__normal_iterator<typename
>  > std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer,
>  > std::vector<_Tp, _Alloc> >, const _Tp&) [with _Tp = int, _Alloc =
>  > std::allocator<int>]�:
>  > 
> /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/vector.tcc:304:
>  > internal compiler error: Segmentation fault
>  > Please submit a full bug report,
>  > with preprocessed source if appropriate.
>  > See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>  > For Debian GNU/Linux specific bug reporting instructions,
>  > see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
>  > Preprocessed source stored into /tmp/ccBCG0h9.out file, please attach
>  > this to your bugreport.
>  > make[2]: *** [iso639.o] Error 1
>  > make[2]: *** Waiting for unfinished jobs....
>  > ../../../../../include/qt3/qmap.h: In member function �typename
>  > QMapPrivate<Key, T>::Iterator QMapPrivate<Key,
>  > T>::insert(QMapNodeBase*, QMapNodeBase*, const Key&) [with Key = int,
>  > T = QString]�:
>  > ../../../../../include/qt3/qmap.h:570: internal compiler error:
>  > Segmentation fault
>  > Please submit a full bug report,
>  > with preprocessed source if appropriate.
>  > See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>  > For Debian GNU/Linux specific bug reporting instructions,
>  > see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
>  > Preprocessed source stored into /tmp/ccutepVu.out file, please attach
>  > this to your bugreport.
>  > make[2]: *** [dtvconfparserhelpers.o] Error 1
>  > frequencytables.cpp: In member function �uint
>  > TransportScanItem::GetMultiplexIdFromDB() const�:
>  > frequencytables.cpp:124: internal compiler error: Segmentation fault
>  > Please submit a full bug report,
>  > with preprocessed source if appropriate.
>  > See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>  > For Debian GNU/Linux specific bug reporting instructions,
>  > see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
>  > Preprocessed source stored into /tmp/cc3NYuu6.out file, please attach
>  > this to your bugreport.
>  > make[2]: *** [frequencytables.o] Error 1
>  > 
> /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_tree.h:
>  > In member function �typename std::_Rb_tree<_Key, _Val, _KeyOfValue,
>  > _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue,
>  > _Compare, _Alloc>::_M_insert(std::_Rb_tree_node_base*,
>  > std::_Rb_tree_node_base*, const _Val&) [with _Key = QString, _Val =
>  > QString, _KeyOfValue = std::_Identity<QString>, _Compare =
>  > std::less<QString>, _Alloc = std::allocator<QString>]�:
>  > 
> /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_tree.h:824:
>  > internal compiler error: Segmentation fault
>  > Please submit a full bug report,
>  > with preprocessed source if appropriate.
>  > See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>  > For Debian GNU/Linux specific bug reporting instructions,
>  > see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
>  > Preprocessed source stored into /tmp/ccq8G9av.out file, please attach
>  > this to your bugreport.
>  > make[2]: *** [channelutil.o] Error 1
>  > make[2]: Leaving directory `/usr/src/mythtv/mythtv/libs/libmythtv'
>  > make[1]: *** [sub-libmythtv] Error 2
>  > make[1]: Leaving directory `/usr/src/mythtv/mythtv/libs'
>  > make: *** [sub-libs] Error 2
>  >
>  >
>  >
>  > Any ideas?
>  >
>  > Matt
>  >
> 
> This is almost certainly bad hardware, and most likely bad memory. 
> Random internal compiler errors are often seen with gcc which taxes your 
> memory controller and dimms quite viciously.
> 
> Run the memtest program on your system and you will figure out which 
> dimm (if you have more than one) is at fault.
> 
> D
One other thought....are you overclocking?  That can be a cause of
memory acting flaky when it should be ok.  If you are overclocking, try
setting clock to standard speed and try again.  If you're not
overclocking, then I agree with Dave, you probably have a memory
problem.

-Mark 



More information about the mythtv-users mailing list