Your message dated Fri, 12 Dec 2014 18:48:47 +0000
with message-id <[email protected]>
and subject line Bug#767584: fixed in apt-dater 1.0.1+git20141212-1
has caused the Debian Bug report #767584,
regarding segfaults when a dot is used in the config as part of the hostname
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
767584: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=767584
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: apt-dater
Version: 1.0.1-1
Severity: grave

Hi,

after the upgrade to 1.0.0 I first what surprised by a new configuration, w/o
an import of my old one, thanks :/
After rewriting the config, apt-dater segfaults on me.

Minimal config to reproduce the issue (based on your example):
Hosts:
{
    localnet:
    {
        Title="local hosts";

        localhost: {}
        node1.ibh.net: {}
    }
}


GDB backtrace:
evgeni@nana ~ % gdb apt-dater                                  
GNU gdb (Debian 7.7.1+dfsg-3) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from apt-dater...Reading symbols from 
/usr/lib/debug/.build-id/0d/b0e0825ca8396749052e4555417b2144d17f01.debug...done.
done.
(gdb) run
Starting program: /usr/bin/apt-dater 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

** (apt-dater:30187): ERROR **: Error reading host file 
[/home/evgeni/.config/apt-dater/hosts.config:40]: syntax error

Program received signal SIGTRAP, Trace/breakpoint trap.
g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, 
args=args@entry=0x7fffffffdf40) at 
/build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gmessages.c:1046
1046    /build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gmessages.c: No such file 
or directory.
(gdb) bt full
#0  g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR, format=<optimized 
out>, args=args@entry=0x7fffffffdf40)
    at /build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gmessages.c:1046
        domain = 0x0
        data = 0x0
        depth = 0
        log_func = 0x7ffff7b1d5c0 <g_log_default_handler>
        domain_fatal_mask = <optimized out>
        masquerade_fatal = 0
        test_level = <optimized out>
        was_fatal = <optimized out>
        was_recursion = <optimized out>
        msg = 0x620f00 "Error reading host file 
[/home/evgeni/.config/apt-dater/hosts.config:40]: syntax error"
        msg_alloc = 0x620f00 "Error reading host file 
[/home/evgeni/.config/apt-dater/hosts.config:40]: syntax error"
        i = 2
#1  0x00007ffff7b1df6f in g_log (log_domain=log_domain@entry=0x0, 
log_level=log_level@entry=G_LOG_LEVEL_ERROR, 
    format=format@entry=0x414d08 "Error reading host file [%s:%d]: %s") at 
/build/glib2.0-dt6trg/glib2.0-2.42.0/./glib/gmessages.c:1079
        args = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 
0x7fffffffe020, reg_save_area = 0x7fffffffdf60}}
#2  0x00000000004074b8 in loadHosts (filename=0x621dc0 
"/home/evgeni/.config/apt-dater/hosts.config") at keyfiles.c:298
        efn = <optimized out>
        hcfg = {root = 0x621d30, destructor = 0x0, flags = 0, tab_width = 2, 
default_format = 0, include_dir = 0x0, error_text = 0x7ffff6fb7da5 "syntax 
error", 
          error_file = 0x6213c0 "/home/evgeni/.config/apt-dater/hosts.config", 
error_line = 40, error_type = CONFIG_ERR_PARSE, filenames = 0x621fc0, 
num_filenames = 1}
        cfghosts = <optimized out>
        hosts = <optimized out>
        i = <optimized out>
        cfggroup = <optimized out>
#3  0x0000000000405446 in main (argc=1, argv=0x7fffffffe208, 
envp=0x7fffffffe218) at apt-dater.c:130
        opts = <optimized out>
        cfgfilename = 0x620fa0 "/home/evgeni/.config/apt-dater/apt-dater.config"
        cfgdirname = 0x620f70 "/home/evgeni/.config/apt-dater"
        hosts = 0x0
        report = 0
        refresh = 1
(gdb) 


Renaming node1.ibh.net to node1ibhnet solves the issue, but then I
have to add SSHHost to every node and that sounds wrong.

Regards
Evgeni

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages apt-dater depends on:
ii  libc6           2.19-12
ii  libconfig9      1.4.9-2
ii  libglib2.0-0    2.42.0-2
ii  libncursesw5    5.9+20140913-1
ii  libpopt0        1.16-10
ii  libtcl8.5       8.5.17-1
ii  libtinfo5       5.9+20140913-1
ii  libxml2         2.9.2+dfsg1-1
ii  lockfile-progs  0.1.17
ii  openssh-client  1:6.7p1-2
ii  screen          4.2.1-3

apt-dater recommends no packages.

Versions of packages apt-dater suggests:
pn  apt-dater-host  <none>
ii  xsltproc        1.1.28-2+b1

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: apt-dater
Source-Version: 1.0.1+git20141212-1

We believe that the bug you reported is fixed in the latest version of
apt-dater, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Patrick Matthäi <[email protected]> (supplier of updated apt-dater package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 12 Dec 2014 19:25:34 +0100
Source: apt-dater
Binary: apt-dater apt-dater-dbg
Architecture: source amd64
Version: 1.0.1+git20141212-1
Distribution: unstable
Urgency: low
Maintainer: Patrick Matthäi <[email protected]>
Changed-By: Patrick Matthäi <[email protected]>
Description:
 apt-dater  - terminal-based remote package update manager
 apt-dater-dbg - terminal-based remote package update manager (dbg symbols)
Closes: 767584 767586 770444
Changes:
 apt-dater (1.0.1+git20141212-1) unstable; urgency=low
 .
   * New upstream git snapshot.
     - Fixed segfault if a dot is used in the configuration as alias.
       Closes: #767584
     - Fixed typos in manpage.
       Closes: #770444
   * Merge 0.9.0-8 changelog.
   * Add automake as build dependency.
   * Add NEWS entry about new configuration format.
     Closes: #767586
Checksums-Sha1:
 b00b6278e3495abf50d763b065e0f4ad7899e9c4 1950 apt-dater_1.0.1+git20141212-1.dsc
 d0cb6513effdfa101e7f4a5b1ed2785273c04de1 243316 
apt-dater_1.0.1+git20141212.orig.tar.bz2
 ffd86cd4cf13ef2e307263595bc843159b51830f 6628 
apt-dater_1.0.1+git20141212-1.debian.tar.xz
 1af25aad3c658e3be48cb9bbbc1fab8d96e1113c 73680 
apt-dater_1.0.1+git20141212-1_amd64.deb
 6c34b3decd3e61d657486f2f0747070b5891472d 101070 
apt-dater-dbg_1.0.1+git20141212-1_amd64.deb
Checksums-Sha256:
 cdfc37939f4b08d6dc92d370378f519f367f58ebd63287bcf44383f7d2314cd8 1950 
apt-dater_1.0.1+git20141212-1.dsc
 42cd9e010de113d552e26fc9e84546afb800db46c4ee1ad418827c72003e7f59 243316 
apt-dater_1.0.1+git20141212.orig.tar.bz2
 eb8623cabc414088e3461145ff868cdac3629dada342d21c02641313f9fdf7d9 6628 
apt-dater_1.0.1+git20141212-1.debian.tar.xz
 7c6be1febf81c1641412f2ca4cd8badc6784142fdb146a27516a8a508968b8b1 73680 
apt-dater_1.0.1+git20141212-1_amd64.deb
 b100678199f0c9401a7a3374f2152626101381c7c204b25b806cd0845e8d2d4b 101070 
apt-dater-dbg_1.0.1+git20141212-1_amd64.deb
Files:
 622081db9ab306c635e42abf3e0f59f2 1950 admin optional 
apt-dater_1.0.1+git20141212-1.dsc
 e38f704a84935b8c438e51260700fbf8 243316 admin optional 
apt-dater_1.0.1+git20141212.orig.tar.bz2
 54971164d662206c84fee025db12c7c3 6628 admin optional 
apt-dater_1.0.1+git20141212-1.debian.tar.xz
 2d209f7b602c14a1392c23730aa15283 73680 admin optional 
apt-dater_1.0.1+git20141212-1_amd64.deb
 4daa7b28e43740128078dc56026b9ca1 101070 debug extra 
apt-dater-dbg_1.0.1+git20141212-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJUizZGAAoJEBLZsEqQy9jkQBoP/0qi/zuUMmMourNks+o/6a2i
F0bYMCAGQ6c1H3tOi4Tj7ju5xWFbaKr205dchK/H9TSqR4Ov2GblOu0X4ps3qsWS
S9wdNDE4kKEWED6F7am9lVZU8RSIO6yD11Kt0H+MA1/nryEnti/YlOFGQaSxuAKe
czjeKz1d6Q/Mk6GxQyg6W1xJay8ad4wjD5SVO1aodH9xux4RO8r5DTlyV8BevdTL
y5KFVaGssILafACeF/lf1JVwq3e2H8wbcvl+RATiATV0GUeGw/Obwy6PlRqxME19
QR5Y/pYWQJ5eRDCN02huZY4+jEG9fty9ZDSXMq1TozGn83MAuBkLMkWJfyy6Q/Pd
iB4oAX2WxioP84sDHL5DIhwKJsGAJ62DXCCLcrbHFl5Scx/7I/DX4VcD+bURUOWL
BxClTetvi1fetnEnj6sFd1MI9yWM6IayBKAZ7TVSzAzBqIpcY6taEJHZWObbkrz7
ihzJ2RtOeOmJ4x8zCcqKdrbRgs806X/k74w2Q/KpsCLXRmSoN/uDLyMtYfngTSHD
er2IZL/2d3k0Rhk5SAR8ndZWMcWUBOImaNDqRrbkuBQgXrJwhVEX6XQflhWnzFhs
W6ktMqhyXw/M8l1H6Q5w/Jj05sNU3fDigNA8xATZWW3idqbqI703fms8F2qJzvOz
NuW3Dj9Um6QsIo6Cvki8
=rTZR
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to