[Qgis-developer] backtrace
Paolo Cavallini
cavallini at faunalia.it
Sat Aug 11 09:35:42 EDT 2007
Following a chat with Tim, I'm trying to hunt down a nasty crash in our
qgis setting when trying to open a GRASS vector layer
(http://svn.qgis.org/trac/ticket/110). With Ggdb I first get:
WARNING: This code (file
/home/paolo/Desktop/buildpackage/qgis/src/core/qgsvectorlayer.cpp, line
1037) should never be reached. Problems may occur...
then the crash:
QgsGrass::vectors()
error_routine (fatal = 1): Cannot open existing vector
<pi_zrv_1999 at PERMANENT> on level [2]
[Thread -1278841968 (LWP 14102) exited]
thread_db_get_info: cannot get thread info: generic error
(gdb) bt
#0 0xb707e801 in __nptl_death_event () from /lib/i686/cmov/libpthread.so.0
Cannot access memory at address 0xb3c663dc
no #1 and #2, in spite of compiling with debug.
With strace:
close(21) = 0
munmap(0xb459e000, 1423) = 0
close(19) = 0
time(NULL) = 1186839291
access("/home/Documenti/datigrass/Coordinate_pisane/PERMANENT/vector/pi_zrv_1999",
F_OK) = 0
access("/home/Documenti/datigrass/Coordinate_pisane/PERMANENT/vector/pi_zrv_1999/frmt",
F_OK) = -1 ENOENT (No such file or directory)
access("/home/Documenti/datigrass/Coordinate_pisane/PERMANENT/vector/pi_zrv_1999/head",
F_OK) = 0
open("/home/Documenti/datigrass/Coordinate_pisane/PERMANENT/vector/pi_zrv_1999/head",
O_RDONLY) = 19
fcntl64(19, F_GETFL) = 0 (flags O_RDONLY)
fstat64(19, {st_mode=S_IFREG|0644, st_size=145, ...}) = 0
mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb15fa000
_llseek(19, 0, [0], SEEK_CUR) = 0
read(19, "ORGANIZATION: \nDIGIT DATE: \nDI"..., 32768) = 145
read(19, "", 32768) = 0
close(19) = 0
munmap(0xb15fa000, 32768) = 0
stat64("/home/Documenti/datigrass/Coordinate_pisane/PERMANENT/vector/pi_zrv_1999/topo",
0xbffb6090) = -1 ENOENT (No such file or directory)
open("/usr/local/grass-6.3.cvs/locale/it_IT/LC_MESSAGES/grasslibs.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/grass-6.3.cvs/locale/it/LC_MESSAGES/grasslibs.mo",
O_RDONLY) = 19
fstat64(19, {st_mode=S_IFREG|0644, st_size=30986, ...}) = 0
mmap2(NULL, 30986, PROT_READ, MAP_PRIVATE, 19, 0) = 0xb15fa000
close(19) = 0
open("/usr/local/grass-6.3.cvs/locale/en_GB/LC_MESSAGES/grasslibs.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/grass-6.3.cvs/locale/en/LC_MESSAGES/grasslibs.mo",
O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "error_routine (fatal = ", 23error_routine (fatal = ) = 23
write(2, "1", 11) = 1
write(2, "): ", 3): ) = 3
write(2, "Cannot open existing vector <pi_"..., 64Cannot open existing
vector <pi_zrv_1999 at PERMANENT> on level [2]) = 64
write(2, "\n", 1
) = 1
write(8, "@", 1) = 1
close(8) = 0
close(7) = 0
_llseek(18, -32447, [321], SEEK_CUR) = 0
_llseek(14, -32668, [100], SEEK_CUR) = 0
_llseek(13, -32479, [289], SEEK_CUR) = 0
exit_group(1) = ?
Process 14141 detached
Hope this helps debugging.
I'm available for further testing if necessary.
All the best.
pc
--
Paolo Cavallini, see: http://www.faunalia.it/pc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.osgeo.org/pipermail/qgis-developer/attachments/20070811/7fd6c7f7/signature.bin
More information about the Qgis-developer
mailing list