[Eric] eric4 4.3.9 crashes with "Segmentation fault" about 5
minutes after starting [SEC=UNCLASSIFIED]
Hans-Peter Jansen
hpj at urpla.net
Thu Dec 10 10:25:15 GMT 2009
Dear Matthew,
please look up my reply to Arndt Meiers issue:
"[Eric] segmentation fault with Eric4-4.3.8 on SUSE 11.1_x64"
in this list. Funny enough, he's also member of "gov.au", but they're using
a much less scary disclaimer. Since I've no idea, what the "section 70 of
the Crimes Act 1914" determines, I hope, I'm not getting delinquent with my
reply below ;-).
While that answer targeted to a sane openSUSE debug environment, the basic
idea remains. Build/install debug info of glibc, libstdc++, qt4, python,
sip (./configure.py --debug) and PyQt, and create a proper backtrace.
BTW, instead of reinventing the wheel, err, recreating everything from
scratch with a non reproducible outcome, I would start thinking about some
virtual machine setup on the SAN with a _deterministic_ setup. That way, a
debug environment would have been a few finger snips away, could be kept
current easily, and you would be able to get a full featured version of
eric (just by using the right repo, i.e. mine). On your current route,
that's going to take you a awful lot of continuous effort.
Good luck,
Pete
On Thursday 10 December 2009, 07:21:26 Thyer, Matthew wrote:
> UNCLASSIFIED
>
> Hello,
>
> I have built eric4 4.3.9 on RHEL 4.4 x86_64 in another prefix
> "/usr/local/san" and with a non-default compiler for that system.
> I've had to install another compiler as the system comes with GCC 3.4.6
> but Python 2.6.4 had to be built with GCC 4.1 for the NumPy Python
> module as it required newer FORTRAN support for updated LAPACK and BLAS
> libraries.
>
> eric4 seems to run fine but crashes with "Segmentation fault" about 5
> minutes after starting.
>
> Any ideas ?
> Or at least any pointers on how to build debug versions of everything to
> work out why it's crashing ?
> I suppose I'll have to build a debug Python 2.6.4 too.
>
>
> The build procedure was as follows:
>
>
> Qt 4.5.3 (use the open source edition):
>
> export CC=gcc4
>
> export CXX=g++4
> ./configure -prefix /usr/local/san
> make
> make install
>
>
> SIP 4.9.3:
>
> export CC=gcc4
> export CXX=g++4
> /usr/local/san/bin/python configure.py
> make
> make install
>
>
> QScintilla-gpl 2.4:
>
> cd QScintilla-gpl-2.4/Qt4
> export CC=gcc4
>
> export CXX=g++4
> export LINK=g++4
> /usr/local/san/bin/qmake qscintilla.pro
> find . -name Makefile -exec sed -r -i '/^(CC|CXX|LINK) *=/ s/^/#/' {} \;
> make
> make install
>
>
> PyQt4 4.6.2:
>
> export CC=gcc4
>
> export CXX=g++4
> export LINK=g++4
> /usr/local/san/bin/python configure.py -q /usr/local/san/bin/qmake
> find . -name Makefile -exec sed -r -i '/^(CC|CXX|LINK) *=/ s/^/#/' {} \;
> make
> make install
>
>
> QScintilla-gpl 2.4 Python bindings:
>
> cd QScintilla-gpl-2.4/Python
> /usr/local/san/bin/python configure.py
> find . -name Makefile -exec sed -r -i '/^(CC|CXX|LINK) *=/ s/^/#/' {} \;
> make
> make install
>
>
> eric4 4.3.9:
>
> export CC=gcc4
>
> export CXX=g++4
> export LINK=g++4
> /usr/local/san/bin/python install.py -b /usr/local/san/bin
>
>
> Matthew Thyer Phone: +61 8 8259 7249
> Science Corporate Information Systems Fax: +61 8 8259 5537
> Defence Science and Technology Organisation, Edinburgh
> P.O. Box 1500 EDINBURGH South Australia 5111
>
>
>
> IMPORTANT: This email remains the property of the Australian Defence
> Organisation and is subject to the jurisdiction of section 70 of the
> Crimes Act 1914. If you have received this email in error, you are
> requested to contact the sender and delete the email.
More information about the Eric
mailing list