<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>31612</bug_id>
          
          <creation_ts>2015-12-11 02:37:56 +0300</creation_ts>
          <short_desc>reconstuct segfaults without tzdata installed</short_desc>
          <delta_ts>2015-12-12 16:37:57 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>cyrus-imapd</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>relnote</keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Konstantin A Lepikhov (L.A. Kostis)">lakostis</reporter>
          <assigned_to name="Sergey Y. Afonin">asy</assigned_to>
          <cc>admsasha</cc>
    
    <cc>asy</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>154216</commentid>
    <comment_count>0</comment_count>
    <who name="Konstantin A Lepikhov (L.A. Kostis)">lakostis</who>
    <bug_when>2015-12-11 02:37:56 +0300</bug_when>
    <thetext># /usr/lib/cyrus/reconstruct -V max
Segmentation fault

strace output:
...
open(&quot;/var/lib/imap/mailboxes.db&quot;, O_RDWR) = 4
fcntl(4, F_SETLKW, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
fstat(4, {st_mode=S_IFREG|0600, st_size=7140, ...}) = 0
stat(&quot;/var/lib/imap/mailboxes.db&quot;, {st_mode=S_IFREG|0600, st_size=7140, ...}) = 0
gettimeofday({1449790417, 988044}, NULL) = 0
mmap(NULL, 16384, PROT_READ, MAP_SHARED, 4, 0) = 0x7f554afd3000
fcntl(4, F_SETLKW, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
gettimeofday({1449790417, 988183}, NULL) = 0
stat(&quot;/var/lib/imap&quot;, {st_mode=S_IFDIR|S_ISVTX|0770, st_size=4096, ...}) = 0
access(&quot;/usr/share/zoneinfo/zone.tab&quot;, R_OK) = -1 ENOENT (No such file or directory)
access(&quot;/usr/lib/zoneinfo/zone.tab&quot;, R_OK) = -1 ENOENT (No such file or directory)
access(&quot;/etc/zoneinfo/zone.tab&quot;, R_OK)  = -1 ENOENT (No such file or directory)
access(&quot;/usr/share/lib/zoneinfo/zone.tab&quot;, R_OK) = -1 ENOENT (No such file or directory)
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
+++ killed by SIGSEGV +++
Segmentation fault

[root@cyrus ~]# apt-get install tzdata
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  tzdata
0 upgraded, 1 newly installed, 0 removed and 0 not upgraded.
Need to get 337kB of archives.
After unpacking 1320kB of additional disk space will be used.
Get:1 http://ftp.altlinux.org noarch/classic tzdata 2015c-alt1 [337kB]
Fetched 337kB in 0s (396kB/s)
Committing changes...
Preparing...                                                                       ################################################################################################### [100%]
1: tzdata                                                                          ################################################################################################### [100%]
Running /usr/lib/rpm/posttrans-filetriggers
Done.
[root@cyrus ~]# /usr/lib/cyrus/reconstruct -V max
user/XXX
Repacked user/XXX to version 13
....</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>154229</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2015-12-12 16:37:57 +0300</bug_when>
    <thetext>cyrus-imapd-2.5.7-alt1 -&gt; sisyphus:

* Fri Dec 11 2015 Sergey Y. Afonin &lt;asy@altlinux&gt; 2.5.7-alt1
- 2.5.7 (CVE-2015-8077, CVE-2015-8078; Closes: #31611)
- added tzdata to &quot;Requires&quot; (Closes: #31612)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>