[Qgis-developer] running qgis from build directory issues

Etienne Tourigny etourigny.dev at gmail.com
Tue Jun 26 04:45:50 PDT 2012


Hi all,

I am running qgis from the build directory (says build-debug inside
the source folder) with the command ./bin.output/qgis and I run into 2
issues.

First I get a pop-up window "Python Error" about missing sextante with
text below[1].
Disabling sextante did not help but uninstalling sextante resolves it.
No other plugins complain.

Second when I exit qgis I get a segfault :
*** glibc detected *** ./output/bin/qgis: corrupted double-linked
list: 0x000000000312e6f0 ***
======= Backtrace: =========
[...]

gdb backtrace below [2]

Is this supposed to happen, or should I do something to avoid this?
None of these happen if I do a 'make install' and run the installed
qgis.

thanks
Etienne

[1]

Couldn't load plugin 'sextante' from
['/data/src/qgis/qgis-etiennesky/build-debug/output/bin/../python',
'/home/tourigny/.qgis//python',
'/home/tourigny/.qgis//python/plugins', '',
'/home/softdev/lib/python2.7/site-packages/distribute-0.6.21-py2.7.egg',
'/home/softdev/lib/python2.7/site-packages/pip-1.0.2-py2.7.egg',
'/home/softdev/lib/python2.7/site-packages/GDAL-1.9.1-py2.7-linux-x86_64.egg',
'/home/softdev/lib/python2.7/site-packages', '/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PIL',
'/usr/lib/python2.7/dist-packages/gst-0.10',
'/usr/lib/python2.7/dist-packages/gtk-2.0',
'/usr/lib/pymodules/python2.7',
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode']

Traceback (most recent call last):
  File "/data/src/qgis/qgis-etiennesky/build-debug/output/bin/../python/qgis/utils.py",
line 143, in loadPlugin
    __import__(packageName)
  File "/data/src/qgis/qgis-etiennesky/build-debug/output/bin/../python/qgis/utils.py",
line 309, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/home/tourigny/.qgis//python/plugins/sextante/__init__.py", line 1, in
    from sextante.SextantePlugin import SextantePlugin
  File "/data/src/qgis/qgis-etiennesky/build-debug/output/bin/../python/qgis/utils.py",
line 309, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/home/tourigny/.qgis//python/plugins/sextante/SextantePlugin.py",
line 6, in
    from sextante.core.Sextante import Sextante
  File "/data/src/qgis/qgis-etiennesky/build-debug/output/bin/../python/qgis/utils.py",
line 309, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/home/tourigny/.qgis//python/plugins/sextante/core/Sextante.py",
line 17, in
    from sextante.grass.GrassAlgorithmProvider import GrassAlgorithmProvider
  File "/data/src/qgis/qgis-etiennesky/build-debug/output/bin/../python/qgis/utils.py",
line 309, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/home/tourigny/.qgis//python/plugins/sextante/grass/GrassAlgorithmProvider.py",
line 7, in
    from sextante.grass.GrassUtils import GrassUtils
  File "/data/src/qgis/qgis-etiennesky/build-debug/output/bin/../python/qgis/utils.py",
line 309, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/home/tourigny/.qgis//python/plugins/sextante/grass/GrassUtils.py",
line 8, in
    import plugin_installer
  File "/data/src/qgis/qgis-etiennesky/build-debug/output/bin/../python/qgis/utils.py",
line 309, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named plugin_installer

Python version:
2.7.2+ (default, Oct  4 2011, 20:41:12)
[GCC 4.6.1]


QGIS version:
1.9.0-Master Master, 52d9f3a

Python path: ['/data/src/qgis/qgis-etiennesky/build-debug/output/bin/../python',
'/home/tourigny/.qgis//python',
'/home/tourigny/.qgis//python/plugins', '',
'/home/softdev/lib/python2.7/site-packages/distribute-0.6.21-py2.7.egg',
'/home/softdev/lib/python2.7/site-packages/pip-1.0.2-py2.7.egg',
'/home/softdev/lib/python2.7/site-packages/GDAL-1.9.1-py2.7-linux-x86_64.egg',
'/home/softdev/lib/python2.7/site-packages', '/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PIL',
'/usr/lib/python2.7/dist-packages/gst-0.10',
'/usr/lib/python2.7/dist-packages/gtk-2.0',
'/usr/lib/pymodules/python2.7',
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode']

[2]

Program received signal SIGABRT, Aborted.
0x00007ffff12823a5 in __GI_raise (sig=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
64	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
	in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt
#0  0x00007ffff12823a5 in __GI_raise (sig=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff1285b0b in __GI_abort () at abort.c:92
#2  0x00007ffff12bbd63 in __libc_message (do_abort=2,
fmt=0x7ffff13ace58 "*** glibc detected *** %s: %s: 0x%s ***\n") at
../sysdeps/unix/sysv/linux/libc_fatal.c:189
#3  0x00007ffff12c66e6 in malloc_printerr (action=3,
str=0x7ffff13a9e52 "corrupted double-linked list", ptr=<optimized
out>) at malloc.c:6283
#4  0x00007ffff12c6ab8 in malloc_consolidate (av=0x7ffff15e81c0) at
malloc.c:5161
#5  0x00007ffff12c72a9 in malloc_consolidate (av=0x7ffff15e81c0) at
malloc.c:5115
#6  _int_free (av=0x7ffff15e81c0, p=<optimized out>) at malloc.c:5034
#7  0x00007ffff12ca9cc in __GI___libc_free (mem=<optimized out>) at
malloc.c:3738
#8  0x00007ffff55c6d02 in CSVDeaccessInternal
(ppsCSVTableList=0x107ba50, bCanUseTLS=1, pszFilename=0x2141620
"\360", <incomplete sequence \346>) at cpl_csv.cpp:215
#9  0x00007ffff55c6d5e in CSVDeaccessInternal
(ppsCSVTableList=0x107ba50, bCanUseTLS=1, pszFilename=0x0) at
cpl_csv.cpp:174
#10 0x00007ffff53915bb in GDALDeregister_GTiff () at geotiff.cpp:9381
#11 0x00007ffff5592da1 in GDALDriver::~GDALDriver (this=0x2025be0,
__in_chrg=<optimized out>) at gdaldriver.cpp:60
#12 0x00007ffff5592dd9 in GDALDriver::~GDALDriver (this=0x2025be0,
__in_chrg=<optimized out>) at gdaldriver.cpp:61
#13 0x00007ffff5594ee2 in GDALDriverManager::~GDALDriverManager
(this=0x200eb80, __in_chrg=<optimized out>) at
gdaldrivermanager.cpp:197
#14 0x00007ffff5594f79 in GDALDriverManager::~GDALDriverManager
(this=0x200eb80, __in_chrg=<optimized out>) at
gdaldrivermanager.cpp:250
#15 0x00007ffff52cf87e in GDALDestroy () at gdaldllmain.cpp:67
#16 0x00007ffff7deb116 in ?? () from /lib64/ld-linux-x86-64.so.2
#17 0x00007ffff1287821 in __run_exit_handlers (status=0,
listp=0x7ffff15e65a8, run_list_atexit=true) at exit.c:78
#18 0x00007ffff12878a5 in __GI_exit (status=<optimized out>) at exit.c:100
#19 0x00007ffff126d314 in __libc_start_main (main=0x536446 <main(int,
char**)>, argc=1, ubp_av=0x7fffffffd398, init=<optimized out>,
fini=<optimized out>, rtld_fini=<optimized out>,
stack_end=0x7fffffffd388)
    at libc-start.c:258
#20 0x0000000000535ed9 in _start ()
(gdb)


More information about the Qgis-developer mailing list