[Gdal-dev] grass-driver conflicts with gtk+?

Ari Jolma ari.jolma at tkk.fi
Thu Oct 6 07:48:13 EDT 2005


Hi,

If I compile and use 1.3.1 with grass (I've got 6.0.1) and then use that 
libgdal with my own code, which uses gtk+ I get a segfault when I open a 
File Open dialogbox. Without the grass driver there are no problems. 
Below is stack trace. Any ideas? Threads seem to be involved somehow. I 
removed and tried to use the stand-alone gdal-grass but don't have time 
now to look into how it is used (should it autoload somehow?)

Ari

-- Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1211434336 (LWP 28143)]
0xb7de0c94 in pthread_mutex_lock () from /lib/tls/libpthread.so.0
(gdb) bt
#0  0xb7de0c94 in pthread_mutex_lock () from /lib/tls/libpthread.so.0
#1  0xb66e1f52 in link_unlock () from /usr/lib/libORBit-2.so.0
#2  0xb66e2108 in link_exec_command () from /usr/lib/libORBit-2.so.0
#3  0xb66e217d in link_set_io_thread () from /usr/lib/libORBit-2.so.0
#4  0xb66dd379 in ORBit_ObjectAdaptor_set_thread_hintv () from /usr/lib/libORBit-2.so.0
#5  0xb65a6fd0 in bonobo_poa_get_threadedv () from /usr/lib/libbonobo-2.so.0
#6  0xb65a7101 in bonobo_poa_get_threaded () from /usr/lib/libbonobo-2.so.0
#7  0xb6735dee in _gnome_vfs_get_client () from /usr/lib/libgnomevfs-2.so.0
#8  0xb6756e6d in gnome_vfs_volume_monitor_client_get_type () from /usr/lib/libgnomevfs-2.so.0
#9  0xb7a37d20 in g_type_class_ref () from /usr/lib/libgobject-2.0.so.0
#10 0xb7a1f09a in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#11 0xb7a1f459 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#12 0xb7a1f578 in g_object_new () from /usr/lib/libgobject-2.0.so.0

Prof. Ari Jolma
Kartografia ja Geoinformatiikka / Cartography and Geoinformatics
Teknillinen Korkeakoulu / Helsinki University of Technology
POBox 1200, 02015 TKK, Finland
Email: ari.jolma at tkk.fi URL: http://www.tkk.fi/~jolma




More information about the Gdal-dev mailing list