[Qgis-user] Segmentation fault...

Luigi Castro Cardeles luigi.cardeles at gmail.com
Wed Mar 3 17:43:48 PST 2010


Hi list,

my system:
kernel -> 2.6.31.12-174.2.22.fc12.x86_64;
python -> Python 2.6.2
sip -> 4.10
gis -> 1.4.0 revision 12996 with the path applied.
gnome -> 2.28.2
qt -> 4.6.2.

some time ago, there is a configuration with qtconfig-qt4 that was causing
to me and to others segfault. On qtconfig-qt4, GUI style , i have to change
from default to any other style to prevent crashes.
Did you try to do that?

[]'s
Luigi Castro Cardeles


2010/3/3 David J. Bakeman <dbakeman at comcast.net>

>  Luigi Castro Cardeles wrote:
>
> Hi,
>
>  Thanks Micha and Jurgen for the help. I applied the patch and compile
> qgis. Now it runs without error and with python.
> I run the app on gnome and kde (latest version) with  normail user on
> Fedora 12.
>
> I compiled 1.4.0 on FC11 with the fix to find sip and it still crashes when
> I use gnome even if I'm superuser.  If I use xfce on the console it works
> but if I'm running gnome on the console and I try to run qgis in a virtual
> screen using xfce it still crashes!
>
>
>  []'s
> Luigi Castro Cardeles
>
>
> 2010/3/2 Micha Silver <micha at arava.co.il>
>
>>  On 03/01/2010 11:13 PM, Luigi Castro Cardeles wrote:
>>
>> Hi,
>>
>>  i recompiled qgis 1.4.0 and keep with the same problem. QGIS run but not
>> python plugin, i also get the same error message about sip version.
>>
>>   You might want to try the patch that I received from Jurgen Fischer
>> [1]:
>>
>> --- qgis-1.4.0+12730~/cmake/Python.cmake    2010-01-07 11:33:11.000000000
>> +0100
>> +++ qgis-1.4.0+12730/cmake/Python.cmake    2010-02-05 18:02:29.000000000
>> +0100
>> @@ -148,8 +148,8 @@
>>
>>      IF (HAVE_SIP_MODULE AND SIP_BINARY_PATH AND SIP_INCLUDE_DIR)
>>        # check for SIP version
>>        # minimal version is 4.7 (to support universal builds)
>> -      SET (SIP_MIN_VERSION 040700)
>> -      TRY_RUN_PYTHON (RES "import sip\nprint '%x' % sip.SIP_VERSION"
>> SIP_VERSION)
>> +      SET (SIP_MIN_VERSION 263936) # 0x40700
>> +      TRY_RUN_PYTHON (RES "import sip\nprint '%d' % sip.SIP_VERSION"
>> SIP_VERSION)
>>        IF (SIP_VERSION EQUAL "${SIP_MIN_VERSION}" OR SIP_VERSION GREATER
>> "${SIP_MIN_VERSION}")
>>          SET (SIP_IS_GOOD TRUE)
>>        ENDIF (SIP_VERSION EQUAL "${SIP_MIN_VERSION}" OR SIP_VERSION
>> GREATER "${SIP_MIN_VERSION}")
>>
>>
>> Create a new file called Python.cmake.patch in the directory where your
>> qgis source is located then do:
>> patch cmake/Python.cmake Python.cmake.patch
>>
>> Now run:
>>  cmake -L ..
>> again from the build directory  and check that Python and SIP were found.
>>
>> [1]
>> http://n2.nabble.com/Fedroa-12-and-new-version-of-qt-tc4638666.html#a4638702
>>
>>
>>  When i run cmake .. and configure (c), the dialog show some msg but it
>> goes so fast that i can't read. There is some way to slowdown that message
>> or is this logged on a file? Sorry but i don't know cmake very well.
>>
>>  []'s
>> Luigi Castro Cardeles
>>
>>
>> 2010/3/1 Micha Silver <micha at arava.co.il>
>>
>>> Luigi Castro Cardeles wrote:
>>>
>>>> Thanks Martin,
>>>>
>>>> i use a compiled qgis.
>>>> For Fedora Users, i think that this update comes with kde-4.4.0 updates.
>>>> []'s
>>>>
>>>>  I also have a self compiled qgis 1.4.  After updating to the new PyQt4
>>> and sip (also updated qt and qt-x11 packages) last week, I recompiled, and
>>> still get the segfault. And again, after switching to xfce, QGIS starts
>>> fine. Under Gnome, QGIS will start only if run as super user. So my guess is
>>> that the problem is some interaction between Gnome and Qt in the newer
>>> packages.
>>>
>>>> Luigi Castro Cardeles
>>>>
>>>>
>>>> 2010/3/1 Martin Dobias <wonder.sk <http://wonder.sk>@gmail.com <
>>>> http://gmail.com>>
>>>>
>>>>
>>>>    On Mon, Mar 1, 2010 at 5:23 PM, Luigi Castro Cardeles
>>>>     <luigi.cardeles at gmail.com <mailto:luigi.cardeles at gmail.com>> wrote:
>>>>    > Hi list,
>>>>    > maybe there are other problem (relate to pyqgis):
>>>>    >
>>>>    > Não foi possível carregar PyQGIS.
>>>>    > Suporte à Python vai ser desabilitado.
>>>>    >
>>>>    > Traceback (most recent call last):
>>>>    >   File "", line 1, in
>>>>    > RuntimeError: the sip module implements API v7.0 but the
>>>>    qgis.core module
>>>>    > requires API v6.0
>>>>
>>>>    This looks like you've updated sip package in your system, however
>>>>    qgis python module still awaits older version.
>>>>    - if you run self-compiled qgis, just recompile it and install again.
>>>>    It should adapt to newer sip version
>>>>    - if you run qgis from a distribution package, request an updated
>>>>    package from the packager
>>>>    - you could downgrade sip package and all packages that depend on it
>>>>    (PyQt, PyKDE) but I wouldn't recommend that as it might break your
>>>>    system
>>>>
>>>>    Martin
>>>>
>>>>
>>>>
>>>>  This mail was received via Mail-SeCure System.
>>>> ------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> Qgis-user mailing list
>>>> Qgis-user at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>
>>>> This mail was received via Mail-SeCure System.
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Micha Silver
>>>
>>> Arava Development Co. +972-52-3665918
>>>  http://surfaces.co.il
>>>
>>>
>>>
>>
>> This mail was received via Mail-SeCure System.
>>
>>
>> _______________________________________________
>> Qgis-user mailing listQgis-user at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>> This mail was received via Mail-SeCure System.
>>
>>
>>
>>
>>
>>
>>  --
>> Micha Silver
>> http://www.surfaces.co.il/
>>
>> Arava Development Co.  +972-52-3665918
>>
>>
>  ------------------------------
>
> _______________________________________________
> Qgis-user mailing listQgis-user at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20100303/7c3de280/attachment.html>


More information about the Qgis-user mailing list