Bug#256557: marked as done (cdebconf - segfaults on select questions with autogenerated list and without default)
Your message dated Mon, 16 May 2005 17:08:35 +0100
with message-id <20050516160834.GA31754@riva.ucam.org>
and subject line Bugs fixed by cdebconf 0.75 and 0.76
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 27 Jun 2004 20:49:36 +0000
>From waldi@debian.org Sun Jun 27 13:49:35 2004
Return-path: <waldi@debian.org>
Received: from wavehammer.waldi.eu.org [82.139.196.55] (postfix)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1Begal-0001F1-00; Sun, 27 Jun 2004 13:49:35 -0700
Received: by wavehammer.waldi.eu.org (Postfix, from userid 1000)
id 84C843C017; Sun, 27 Jun 2004 22:49:33 +0200 (CEST)
Date: Sun, 27 Jun 2004 22:49:33 +0200
From: Bastian Blank <waldi@debian.org>
To: submit@bugs.debian.org
Subject: cdebconf - segfaults on select questions with autogenerated list and without default
Message-ID: <20040627204933.GA12826@wavehammer.waldi.eu.org>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI"
Content-Disposition: inline
User-Agent: Mutt/1.5.6+20040523i
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
--oyUTqETQ0mS9luUI
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Package: cdebconf
Version: 0.65
Severity: important
cdebconf or the text frontend segfaults if it want to display a
question with the following spec:
| Template: debian-installer/s390/netdevice/ctc/choose
| Type: select
| Choices: ${choices}
| Description: bla
| bla
but works fine with the following:
| Template: debian-installer/s390/netdevice/ctc/choose
| Type: select
| Choices: ${choices} Quit
| Description: bla
| bla
choices is always set correct.
main-menu uses a similar spec but also sets a variable for "Default".
Therefor I think it is a problem in the processing of the Default value.
Bastian
--=20
Suffocating together ... would create heroic camaraderie.
-- Khan Noonian Singh, "Space Seed", stardate 3142.8
--oyUTqETQ0mS9luUI
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iEYEARECAAYFAkDfMt0ACgkQnw66O/MvCNFTfwCfRxeVKFOd+wfKipFtit3GGkGY
1hkAnixrweHuWsacI5U4GzsHDmWfwKoi
=/K7D
-----END PGP SIGNATURE-----
--oyUTqETQ0mS9luUI--
---------------------------------------
Received: (at 256557-done) by bugs.debian.org; 16 May 2005 16:08:38 +0000
>From cjwatson@flatline.org.uk Mon May 16 09:08:38 2005
Return-path: <cjwatson@flatline.org.uk>
Received: from chiark.greenend.org.uk [193.201.200.170] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DXi8z-0002Wv-00; Mon, 16 May 2005 09:08:37 -0700
Received: from [192.168.124.112] (helo=riva.lab.dotat.at)
by chiark.greenend.org.uk (Debian Exim 3.35 #1) with esmtp
(return-path cjwatson@flatline.org.uk)
id 1DXi8x-00069o-00; Mon, 16 May 2005 17:08:35 +0100
Received: from cjwatson by riva.lab.dotat.at with local (Exim 3.36 #1 (Debian))
id 1DXi8x-0008Ih-00; Mon, 16 May 2005 17:08:35 +0100
Date: Mon, 16 May 2005 17:08:35 +0100
From: Colin Watson <cjwatson@debian.org>
To: 183541-done@bugs.debian.org, 213266-done@bugs.debian.org,
256557-done@bugs.debian.org, 257180-done@bugs.debian.org,
266898-done@bugs.debian.org, 271707-done@bugs.debian.org,
281395-done@bugs.debian.org
Subject: Bugs fixed by cdebconf 0.75 and 0.76
Message-ID: <20050516160834.GA31754@riva.ucam.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Delivered-To: 256557-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_00,SORTED_RECIPS
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
X-CrossAssassin-Score: 3
All these bugs were fixed by cdebconf 0.75 and 0.76. cdebconf 0.77 is
now in unstable.
cdebconf (0.76) experimental; urgency=low
NOTE: Not for sarge.
* Colin Watson
- Add draft plugins specification.
- Append '\n' to debug messages automatically when printing to stderr,
so that they aren't needed in every string.
- Tidy up libdebconfclient namespace: rename debconf_commandf to
debconfclient_commandf and make it static. Doesn't seem to affect any
current users, and if it does, they should have been using
debconf->commandf() instead.
- Sync from debconf (closes: #266898):
+ Change the shell confmodule to not construct functions on the fly.
The new code is smaller, a bit faster, and simpler, but the
important thing is that it does not clobber $@. The old version
messed up $@ if parameters contained spaces.
- Add config instances for the standard debconf databases in /target, so
that we can do 'debconf-copydb -p foo/bar configdb target_configdb'
once the base system is installed.
- Remove src/cdebconf.conf-dist on distclean.
- Fix some of the build issues with the corba frontend, although it
still doesn't even remotely build or work.
- Fix compiler warning in slang frontend.
- Allocate choices, choices_translated, defaults, and selected
dynamically in slang frontend, fixing a crash bug.
- Set up slang select/multiselect windows so that the first selected
option is always visible (closes: #183541).
- Improve how titles are displayed in the text frontend: set titles off
with an underline, and only display a title if it's different from the
previous one (closes: #281395).
* Matthias Urlichs:
- Clarify ANS: lines in test.config output.
- Set _cmdline::frontend rather than frontend::default::driver in
response to 'debconf -f <frontend>', fixing that.
-- Colin Watson <cjwatson@debian.org> Thu, 21 Apr 2005 11:19:04 +1000
cdebconf (0.75) experimental; urgency=low
NOTE: Not for sarge.
* Colin Watson
- Add an INFO command, which may (depending on the frontend) display an
out-of-band informative message. Unlike inputting a note, this doesn't
require an acknowledgement from the user. Like PROGRESS INFO,
frontends should display the info persistently until some other info
comes along. In the newt frontend, this appears as text at the top
left-hand corner of the screen; no other frontends implement it yet.
- Fix text frontend segfault when encountering empty elements in Choices
field (closes: #256557).
- Fix memory leaks in METAGET, PROGRESS, and SETTITLE commands.
- Make the text frontend output a blank line before the first title in
go() if it was already displaying a progress bar (closes: #271707).
- If possible, clean source directory in 'debian/rules clean' so that
test builds don't make it into source packages.
- cdebconf-udeb provides debconf-2.0.
- Enable stack driver.
- Move answers to password questions out of
/var/lib/cdebconf/questions.dat to /var/lib/cdebconf/passwords.dat.
- Some const-correctness improvements.
- Add iterate methods to rfc822db, making debconf-copydb and
debconf-dumpdb work (closes: #213266). This uses a horrible
non-thread-safe technique involving building a temporary list with a
pointer to each node in order, which will of course use a fair amount
of memory, because the twalk() interface doesn't allow for anything
better. If we ever switch to a completely different cache mechanism,
this can go away.
- Fix option parsing in debconf-copydb, debconf-dumpdb, and
dpkg-reconfigure.
- Implement -p/--pattern option in debconf-copydb and debconf-dumpdb.
Note that, unlike Perl debconf, this takes an extended regular
expression rather than a Perl regular expression, but it should be
close enough for most uses.
- Make --without-syslog-logging (a) work and (b) be the default. (The
udeb build still uses syslog logging.)
* Joey Hess
- Apply patch from Denis to fix rfc822db to not output empty Value fields
if the value is not set. Closes: #257180
- Patch from mdz to support the DATA command, as used by the (perl)
debconf passthrough frontend (as patched by mdz to work as of debconf
1.4.42). This allows dpkg-reconfigure inside the chroot to communicate
with the user using the existing cdebconf d-i frontend.
* Matthias Urlichs
- Check for newtInit() in configure, and build the newt frontend if
found.
-- Colin Watson <cjwatson@debian.org> Tue, 19 Apr 2005 09:38:37 +1000
Cheers,
--
Colin Watson [cjwatson@debian.org]
Reply to: