[Qgis-user] Segmentation fault... Solved
Micha Silver
micha at arava.co.il
Sun Mar 7 01:56:40 PST 2010
On 03/06/2010 05:37 PM, Micha Silver wrote:
> David J. Bakeman wrote:
>> Micha Silver wrote:
>>> On 03/04/2010 03:43 AM, Luigi Castro Cardeles wrote:I'm also still
>>> stuck with QGIS segfaulting. I find:
>>> * It happens Only in Gnome (xfce and KDE work fine on the same
>>> machine, with the same binary)
>>> * When running as super user the segfault disappears.
>>> * I tried Luigi's suggestion to change the default Qt style in
>>> qtconfig-qt4, but I still get the same segfault...
>>> * It started after an update to some qt packages on Feb 24.
>> I can confirm this. I had made the qtconfig change way back when
>> another qt update caused all qt apps to crash when using gnome. Now
>> it crashes anytime I'm using gnome which is my preferred WM. I did
>> finally get it to work by running a vnc session in xfce and then
>> starting qgis as root in that vnc. Running as root in gnome crashes
>> for me. I'm going to try the latest svn soon I'm using a personally
>> build 1.4 qgis rpms now.
> Thanks for the additional info. Please report back when you compile
> the svn version (Didn't help me :-( )
>
>>>
>>> Any ideas where to report this problem to Gnome/Qt devs?
>>>
> I opened a ticket on Redhat's bugzilla system [1], and immediately got
> a reply that the bug is a duplicate of a similar Gnome bug [2] from
> nearly a year ago.
> While the results seem similar, I doubt it's the same bug as all
> library versions have bumped up since then.
> But I'll try the patch suggested [3] to gdal (!) to see if it helps.
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=570768
> [2] https://bugzilla.redhat.com/show_bug.cgi?id=498111
> [3] https://bugzilla.redhat.com/attachment.cgi?id=341828&action=edit
>
Well, surprise, surprise. This segfault problem does indeed seem to be
an old GDAL bug that has somehow resurfaced!
I made the small change suggested in the above bugzilla report
(id=498111). It's a minor change to the configure.in script. I wiped
the whole source directory of gdal, applied the suggested change, then
./configure; make; sudo make install.
Then I rebuilt qgis and presto it worked!
Why this problem cropped up now and not earlier? only <enter your
favorite deity> knows...
Regards,
Micha
--
Micha Silver
http://www.surfaces.co.il/
Arava Development Co. +972-52-3665918
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20100307/49d90c40/attachment.html>
More information about the Qgis-user
mailing list