spatialite crashes when exiting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
spatialite (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
spatialite program on Ubuntu-9.10 (Karmic) crashes when exiting with double free message.
Steps to reproduce:
1/ install spatialite with:
$ sudo apt-get install spatialite-bin
2/ run "spatialite" from shell, and issue the ".quit" command as follows.
Oberve the crash when issuing the ".quit" command:
$ spatialite
SpatiaLite version ..: 2.3.0 Supported Extensions:
- 'VirtualShape' [direct Shapefile access]
- 'VirtualText [direct CSV/TXT access]
- 'VirtualNetwork [Dijkstra shortest path]
- 'RTree' [Spatial Index - R*Tree]
- 'MbrCache' [Spatial Index - MBR cache]
- 'VirtualFDO' [FDO-OGR interoperability]
- 'SpatiaLite' [Spatial SQL - OGC]
PROJ.4 version ......: Rel. 4.7.1, 23 September 2009
GEOS version ........: 3.1.1-CAPI-1.6.0
SQLite version ......: 3.6.16
Enter ".help" for instructions
spatialite> .quit
*** glibc detected *** spatialite: double free or corruption (fasttop): 0x09024ec0 ***
======= Backtrace: =========
/lib/tls/
/lib/tls/
/lib/tls/
/usr/lib/
/usr/lib/
/usr/lib/
/lib/tls/
/usr/lib/
/usr/lib/
/lib/ld-
/lib/tls/
/lib/tls/
/lib/tls/
spatialite[
======= Memory map: ========
00110000-00143000 r-xp 00000000 08:01 15717 /usr/lib/
00143000-00144000 r--p 00032000 08:01 15717 /usr/lib/
00144000-00146000 rw-p 00033000 08:01 15717 /usr/lib/
00146000-0014f000 r-xp 00000000 08:01 211401 /lib/tls/
0014f000-00150000 r--p 00008000 08:01 211401 /lib/tls/
00150000-00151000 rw-p 00009000 08:01 211401 /lib/tls/
00196000-001ca000 r-xp 00000000 08:01 591 /lib/libncurses
001ca000-001cb000 ---p 00034000 08:01 591 /lib/libncurses
001cb000-001cd000 r--p 00034000 08:01 591 /lib/libncurses
001cd000-001ce000 rw-p 00036000 08:01 591 /lib/libncurses
001ce000-0030c000 r-xp 00000000 08:01 211381 /lib/tls/
0030c000-0030d000 ---p 0013e000 08:01 211381 /lib/tls/
0030d000-0030f000 r--p 0013e000 08:01 211381 /lib/tls/
0030f000-00310000 rw-p 00140000 08:01 211381 /lib/tls/
00310000-00313000 rw-p 00000000 00:00 0
0036c000-00387000 r-xp 00000000 08:01 1055 /lib/ld-2.10.1.so
00387000-00388000 r--p 0001a000 08:01 1055 /lib/ld-2.10.1.so
00388000-00389000 rw-p 0001b000 08:01 1055 /lib/ld-2.10.1.so
004b9000-005f2000 r-xp 00000000 08:01 8923 /usr/lib/
005f2000-005f6000 r--p 00138000 08:01 8923 /usr/lib/
005f6000-005f7000 rw-p 0013c000 08:01 8923 /usr/lib/
0065d000-006aa000 r-xp 00000000 08:01 8924 /usr/lib/
006aa000-006ab000 r--p 0004c000 08:01 8924 /usr/lib/
006ab000-006ac000 rw-p 0004d000 08:01 8924 /usr/lib/
00763000-00776000 r-xp 00000000 08:01 15699 /usr/lib/
00776000-00777000 r--p 00012000 08:01 15699 /usr/lib/
00777000-00778000 rw-p 00013000 08:01 15699 /usr/lib/
00860000-008e6000 r-xp 00000000 08:01 3872 /usr/lib/
008e6000-008e7000 r--p 00086000 08:01 3872 /usr/lib/
008e7000-008e8000 rw-p 00087000 08:01 3872 /usr/lib/
008f1000-0090d000 r-xp 00000000 08:01 8738 /lib/libgcc_s.so.1
0090d000-0090e000 r--p 0001b000 08:01 8738 /lib/libgcc_s.so.1
0090e000-0090f000 rw-p 0001c000 08:01 8738 /lib/libgcc_s.so.1
009ba000-009bc000 r-xp 00000000 08:01 211384 /lib/tls/
009bc000-009bd000 r--p 00001000 08:01 211384 /lib/tls/
009bd000-009be000 rw-p 00002000 08:01 211384 /lib/tls/
00a43000-00a44000 r-xp 00000000 00:00 0 [vdso]
00a44000-00b7e000 r-xp 00000000 08:01 15698 /usr/lib/
00b7e000-00b82000 r--p 00139000 08:01 15698 /usr/lib/
00b82000-00b83000 rw-p 0013d000 08:01 15698 /usr/lib/
00be2000-00be8000 r-xp 00000000 08:01 211397 /lib/tls/
00be8000-00be9000 r--p 00005000 08:01 211397 /lib/tls/
00be9000-00bea000 rw-p 00006000 08:01 211397 /lib/tls/
00c31000-00c62000 r-xp 00000000 08:01 4111 /lib/libreadlin
00c62000-00c63000 ---p 00031000 08:01 4111 /lib/libreadlin
00c63000-00c64000 r--p 00031000 08:01 4111 /lib/libreadlin
00c64000-00c67000 rw-p 00032000 08:01 4111 /lib/libreadlin
00c67000-00c68000 rw-p 00000000 00:00 0
00c75000-00c99000 r-xp 00000000 08:01 211394 /lib/tls/
00c99000-00c9a000 r--p 00023000 08:01 211394 /lib/tls/
00c9a000-00c9b000 rw-p 00024000 08:01 211394 /lib/tls/
00cb5000-00cbf000 r-xp 00000000 08:01 211399 /lib/tls/
00cbf000-00cc0000 r--p 00009000 08:01 211399 /lib/tls/
00cc0000-00cc1000 rw-p 0000a000 08:01 211399 /lib/tls/
00cc4000-00cd7000 r-xp 00000000 08:01 211396 /lib/tls/
00cd7000-00cd8000 r--p 00012000 08:01 211396 /lib/tls/
00cd8000-00cd9000 rw-p 00013000 08:01 211396 /lib/tls/
00cd9000-00cdb000 rw-p 00000000 00:00 0
00d39000-00d4e000 r-xp 00000000 08:01 219205 /lib/tls/
00d4e000-00d4f000 r--p 00014000 08:01 219205 /lib/tls/
00d4f000-00d50000 rw-p 00015000 08:01 219205 /lib/tls/
00d50000-00d52000 rw-p 00000000 00:00 0
00ed3000-00fb9000 r-xp 00000000 08:01 1916 /usr/lib/
00fb9000-00fbd000 r--p 000e6000 08:01 1916 /usr/lib/
00fbd000-00fbe000 rw-p 000ea000 08:01 1916 /usr/lib/
00fbe000-00fc5000 rw-p 00000000 00:00 0
08048000-08054000 r-xp 00000000 08:01 8940 /usr/bin/spatialite
08054000-08055000 r--p 0000b000 08:01 8940 /usr/bin/spatialite
08055000-08057000 rw-p 0000c000 08:01 8940 /usr/bin/spatialite
09024000-09045000 rw-p 00000000 00:00 0 [heap]
b7500000-b7521000 rw-p 00000000 00:00 0
b7521000-b7600000 ---p 00000000 00:00 0
b76ce000-b770d000 r--p 00000000 08:01 525727 /usr/lib/
b770d000-b7712000 rw-p 00000000 00:00 0
b7720000-b7727000 r--s 00000000 08:01 263786 /usr/lib/
b7727000-b772a000 rw-p 00000000 00:00 0
bfab2000-bfac7000 rw-p 00000000 00:00 0 [stack]
Aborted
ProblemType: Bug
Architecture: i386
Date: Sun Jan 24 13:03:08 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelMo
Package: spatialite-bin 2.3.0-1
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: spatialite
Uname: Linux 2.6.31-17-generic i686
XsessionErrors:
(gnome-
(gnome-
(nautilus:1813): Eel-CRITICAL **: eel_preferences
(polkit-
(firefox:2026): GLib-WARNING **: g_set_prgname() called multiple times
Confirmed in Karmic 64 bits.