Bug#574161: fossil: Segmentation fault when opening a clone of http://www.sqlite.org/src

2010-03-22 Thread Vincent Zweije
Upstream responds that this bug is already fixed in upstream
checkin:


http://www.fossil-scm.org/index.html/info/0cbc5d295c9911b00ed405d301a7b8e76db77b41

You could cherry-pick that change, but waiting for the next
release is probably just as good given that this is pretty
obscure.

Workaround: run fossil under valgrind. valgrind will report
the invalid free, but not crash on it.

Thanks. Vincent.
-- 
WCC - Smart Search  Match
NL  +31 30 7503222
vzwe...@wcc-group.com
www.wcc-group.com


signature.asc
Description: Digital signature


Bug#574161: fossil: Segmentation fault when opening a clone of http://www.sqlite.org/src

2010-03-16 Thread Vincent Zweije
Package: fossil
Version: 2010.02.13.123048-1
Severity: normal

This bug was already reported as upstream fossil ticket:


http://www.fossil-scm.org/index.html/tktview?name=7b8f21b8762189662b70c10745a8d40f78c93d45

However, upstream does not know what fossil version is in
Debian. Indeed, the bug should have been reported here in
the first place, so doing that now.

How to reproduce:

$cd
$cd fossil
$fossil clone http://www.sqlite.org/src sqlite2
...
Total network traffic: 1235641 bytes sent, 15936166 bytes received
Rebuilding repository meta-data...
31344 (100%)...
project-id: 2ab58778c2967968b94284e989e43dc11791f548
server-id:  65fd455f4dffe08321c1e9895d6f6a9cad7904a0
...
$cd
$cd Lemon/fossil
$mkdir fossil2
$cd fossil2
$fossil open ~/fossil/sqlite2 590d4ac1ee0db824c00c1f6b0ec3cc9437cb1477
...
tool/speedtest8inst1.c
tool/vdbe-compress.tcl
project-name: SQLite
repository:   /home/vincent/fossil/sqlite2
local-root:   /home/vincent/Lemon/fossil/fossil2/
project-code: 2ab58778c2967968b94284e989e43dc11791f548
server-code:  65fd455f4dffe08321c1e9895d6f6a9cad7904a0
checkout: 590d4ac1ee0db824c00c1f6b0ec3cc9437cb1477 2009-11-04 18:51:17 
UTC
parent:   f228c7ca0682c370f8c435fcade1d78b78da8e07
Segmentation fault
$date
Fri Mar 12 19:15:35 CET 2010
$fossil version
This is fossil version 479637167a 2010-02-13 21:11:48 UTC
$uname -a
Linux vincent 2.6.32-trunk-amd64 #1 SMP Sun Jan 10 22:40:40 UTC 2010 x86_64 
GNU/Linux
$dpkg -l fossil
Desired=Unknown/Install/Remove/Purge/Hold
| 
Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version   Description

+++--=-===
ii  fossil   2010.02.13.123048-1   DSCM with built-in wiki, http interface 
and ...
$

Ciao.Vincent.
-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (700, 'testing'), (650, 'unstable'), (600, 'stable'), (400, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages fossil depends on:
ii  libc6   2.10.2-6 Embedded GNU C Library: Shared lib
ii  libsqlite3-03.6.22-1 SQLite 3 shared library
ii  libssl0.9.8 0.9.8m-2 SSL shared libraries
ii  zlib1g  1:1.2.3.4.dfsg-3 compression library - runtime

fossil recommends no packages.

Versions of packages fossil suggests:
ii  gnupg 1.4.10-2   GNU privacy guard - a free PGP rep

-- no debconf information
-- 
WCC - Smart Search  Match
NL  +31 30 7503222
vzwe...@wcc-group.com
www.wcc-group.com


signature.asc
Description: Digital signature


Bug#574161: fossil: Segmentation fault when opening a clone of http://www.sqlite.org/src

2010-03-16 Thread Barak A. Pearlmutter
Thanks for the bug report.

There is a new version (20100308141844) which has the
same problem, both the recently uploaded debian package
(2010.03.08.141844-1) and the pristine upstream version (shown
below).

So, this seems to be an upstream issue.

--Barak.
--
Barak A. Pearlmutter ba...@cs.nuim.ie
 Hamilton Institute  Dept Comp Sci, NUI Maynooth, Co. Kildare, Ireland
 http://www.bcl.hamilton.ie/~barak/



$ fossil version
This is fossil version [599e6abfb1] 2010-03-08 14:18:44 UTC

$ fossil clone http://www.sqlite.org/src sqlite2.fsl

$ mkdir sq

$ cd sq

$ fossil open ../sqlite2.fsl 590d4ac1ee0db824c00c1f6b0ec3cc9437cb1477
Makefile.arm-wince-mingw32ce-gcc
Makefile.in
...
tool/speedtest8inst1.c
tool/vdbe-compress.tcl
project-name: SQLite
repository:   /var/tmp/barak/tmp/sqlite2
local-root:   /var/tmp/barak/tmp/sq/
project-code: 2ab58778c2967968b94284e989e43dc11791f548
server-code:  e083d5153a71baed20e34d391d11bd7818b41937
checkout: 590d4ac1ee0db824c00c1f6b0ec3cc9437cb1477 2009-11-04 18:51:17 UTC
parent:   f228c7ca0682c370f8c435fcade1d78b78da8e07 
*** glibc detected *** /home/barak/src/fossil/fossil/fossil: free(): invalid 
pointer: 0x080cc9a6 ***
=== Backtrace: =
/lib/i686/cmov/libc.so.6[0xb7c88624]
/lib/i686/cmov/libc.so.6(cfree+0x96)[0xb7c8a826]
/home/barak/src/fossil/fossil/fossil[0x805d9b0]
/home/barak/src/fossil/fossil/fossil[0x805dc83]
/home/barak/src/fossil/fossil/fossil[0x8054d7f]
/home/barak/src/fossil/fossil/fossil[0x805febc]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7c30455]
/home/barak/src/fossil/fossil/fossil[0x804a321]
=== Memory map: 
08048000-080fd000 r-xp  50:01 53756726   
/home/barak/src/fossil/fossil/fossil
080fd000-080ff000 rw-p 000b4000 50:01 53756726   
/home/barak/src/fossil/fossil/fossil
080ff000-0810 rw-p 080ff000 00:00 0 
090ed000-098e1000 rw-p 090ed000 00:00 0  [heap]
b7a0-b7a21000 rw-p b7a0 00:00 0 
b7a21000-b7b0 ---p b7a21000 00:00 0 
b7c15000-b7c16000 rw-p b7c15000 00:00 0 
b7c16000-b7c18000 r-xp  03:02 164246 /lib/i686/cmov/libdl-2.7.so
b7c18000-b7c1a000 rw-p 1000 03:02 164246 /lib/i686/cmov/libdl-2.7.so
b7c1a000-b7d6f000 r-xp  03:02 164256 /lib/i686/cmov/libc-2.7.so
b7d6f000-b7d7 r--p 00155000 03:02 164256 /lib/i686/cmov/libc-2.7.so
b7d7-b7d72000 rw-p 00156000 03:02 164256 /lib/i686/cmov/libc-2.7.so
b7d72000-b7d75000 rw-p b7d72000 00:00 0 
b7d75000-b7eaf000 r-xp  03:02 10715164   
/usr/lib/i686/cmov/libcrypto.so.0.9.8
b7eaf000-b7ec5000 rw-p 0013a000 03:02 10715164   
/usr/lib/i686/cmov/libcrypto.so.0.9.8
b7ec5000-b7ec9000 rw-p b7ec5000 00:00 0 
b7ec9000-b7f0c000 r-xp  03:02 10715163   
/usr/lib/i686/cmov/libssl.so.0.9.8
b7f0c000-b7f1 rw-p 00042000 03:02 10715163   
/usr/lib/i686/cmov/libssl.so.0.9.8
b7f1-b7f24000 r-xp  03:02 2654278/usr/lib/libz.so.1.2.3.3
b7f24000-b7f25000 rw-p 00013000 03:02 2654278/usr/lib/libz.so.1.2.3.3
b7f35000-b7f41000 r-xp  03:02 164291 /lib/libgcc_s.so.1
b7f41000-b7f42000 rw-p b000 03:02 164291 /lib/libgcc_s.so.1
b7f42000-b7f45000 rw-p b7f42000 00:00 0 
b7f45000-b7f46000 r-xp b7f45000 00:00 0  [vdso]
b7f46000-b7f6 r-xp  03:02 164170 /lib/ld-2.7.so
b7f6-b7f62000 rw-p 0001a000 03:02 164170 /lib/ld-2.7.so
bf847000-bf85c000 rw-p bffeb000 00:00 0  [stack]
Aborted



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org