[QGIS-trac] Re: [Quantum GIS] #2475: Segmentation Fault in 1.4,
opensuse 11.2
Quantum GIS
qgis at qgis.org
Tue Jun 29 12:38:50 EDT 2010
#2475: Segmentation Fault in 1.4, opensuse 11.2
--------------------------------------------------------------+-------------
Reporter: jtornero | Owner: nobody
Type: bug | Status: reopened
Priority: critical: causes crash or data corruption | Milestone: Version 1.6.0
Component: Python plugins and bindings | Version: 1.4.0
Resolution: | Keywords:
Platform_version: | Platform: SuSE
Must_fix: Yes | Status_info: 1
--------------------------------------------------------------+-------------
Comment(by jtornero):
Replying to [comment:11 jtornero]:
> Replying to [comment:10 jef]:
> > Replying to [comment:9 jtornero]:
> > > Well, I've upgraded to KDE 4.4 but I still have the problem. I don't
know where to "touch" or look now, any suggestions would be appreciated.
> >
> > The backtrace looks PostgreSQL related. Have you installed any
additional PostgreSQL stuff? I don't known (recent versions of) SuSE, but
{{{/opt/PostgresPlus/8.4SS/psqlODBC/lib/libcrypto.so.4}}} doesn't look
standard.
> >
> > Do you have any (possibly postgres related) third party plugins
installed? If so, please check if the problem also appears without them
and if it doesn't try to figure out which plugin is causing this.
>
> Hello,
>
> I've installed PostgreSQL plus standard server 8.4 from enterpriseDB
repository instead of the one provided by openSUSE mostly because it
really works fine from zero. I'll try to check in a computer without this
distribution and also with standard postgresql installation if the bug
occurs as well.
>
> Best regards
>
> Jorge Tornero
Hi all,
well, after reading Jef's post about the "translation" of gdb backtrace, I
made a test with a fella's computer. He has the same OpenSuse as me, but
instead of having installed PostgreSQL from EnterpriseDB, he installed the
packages provided by openSuse through YaST (say so, an 'standard'
installation)... and it worked perfectliy, so I realized that the problem
could be where Jef pointed.
Because of my lack of deep knowledge about linux internals, I've done a
'brute force approach' to try to solve the problem, and... It worked!!!!
I've done the following
1) First I've located all the libcrypto related files:
{{{
/opt/lampp/lib/libcrypto.so
/opt/lampp/lib/libcrypto.so.0.9.8
/opt/lampp/lib/pkgconfig/libcrypto.pc
/opt/PostgreSQL/8.4/lib/libcrypto.so.4
/opt/PostgreSQL/psqlODBC/lib/libcrypto.so.4
/usr/lib/libcrypto.a
/usr/lib/libcrypto.so
/usr/lib/libcrypto.so.0.9.7
/usr/lib/libcrypto.so.0.9.8
/usr/lib/libcryptopp.a
/usr/lib/pkgconfig/libcrypto.pc
}}}
2) Then I've moved away (to a subfolder in
/opt/PostgreSQL/8.4/lib/libcrypto.so.4) the file libcrypto.so.4 for safety
reasons
3) then I've created a symlink to /usr/lib/libcrypto.so in
/opt/PostgreSQL/8.4/lib/ with the name libcrypto.so.4
And voilà, QGis works again.
So I have to apologize for thinking that thas was a bug in QGis, and I
have to appreciate all the help received from you.
I hope that someone of you could explain what I did for future reference,
and also, please tell if the bug could be marked as solved, I don't know
if what I've done is enough.
Thank you very much again
jorge Tornero
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2475#comment:12>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list