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

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

    <bug>
          <bug_id>28559</bug_id>
          
          <creation_ts>2013-02-15 14:04:05 +0400</creation_ts>
          <short_desc>Segfault на обслуживании подсети с маской /8</short_desc>
          <delta_ts>2013-02-26 12:09:54 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>dhcp-server</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://forum.altlinux.org/index.php/topic,28612.msg197786.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey Cherepanov">cas</reporter>
          <assigned_to name="Mikhail Efremov">sem</assigned_to>
          <cc>aen</cc>
    
    <cc>evg</cc>
    
    <cc>glebfm</cc>
    
    <cc>sem</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>137926</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2013-02-15 14:04:05 +0400</bug_when>
    <thetext>На обслуживании подсети с маской /8 (например, 10.0.0.1/8) сервер DHCP падает при первом запросе адреса. На больших масках (например, /10) всё работает.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>137979</commentid>
    <comment_count>1</comment_count>
    <who name="Fr. Br. George">george</who>
    <bug_when>2013-02-18 17:01:02 +0400</bug_when>
    <thetext>Говорят, апстримная бага :( Будем фиксить</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>137980</commentid>
    <comment_count>2</comment_count>
    <who name="Gleb F-Malinovskiy">glebfm</who>
    <bug_when>2013-02-18 17:43:22 +0400</bug_when>
    <thetext>(gdb) run
Starting program: /usr/sbin/dhcpd 
Internet Systems Consortium DHCP Server 4.2.4-P2
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007ffff7bd1c2c in hash_lookup (vp=0x7fffffffdfe0, table=0x7ffff5f50010, key=key@entry=0x7fffffffdf74, len=4, file=0x5555555d5b4d &quot;mdb.c&quot;, line=821) at hash.c:502
#2  0x000055555558d412 in lease_ip_hash_lookup (line=&lt;optimized out&gt;, file=&lt;optimized out&gt;, len=&lt;optimized out&gt;, buf=0x7fffffffdf74 &quot;\n\&quot;\242\320 ^\220UUU&quot;, table=&lt;optimized out&gt;, ptr=&lt;optimized out&gt;) at mdb.c:2720
#3  find_lease_by_ip_addr (lp=lp@entry=0x7fffffffdfe0, addr=..., file=file@entry=0x5555555d5b4d &quot;mdb.c&quot;, line=line@entry=821) at mdb.c:1956
#4  0x000055555558fe45 in new_address_range (cfile=cfile@entry=0x5555558e9170, low=..., high=..., subnet=subnet@entry=0x555555905ee0, pool=0x555555906150, lpchain=lpchain@entry=0x0) at mdb.c:821
#5  0x00005555555726e7 in parse_address_range (cfile=cfile@entry=0x5555558e9170, group=group@entry=0x555555905ea0, type=type@entry=3, inpool=inpool@entry=0x0, lpchain=lpchain@entry=0x0) at confpars.c:3678
#6  0x0000555555575d51 in parse_statement (cfile=cfile@entry=0x5555558e9170, group=0x555555905ea0, type=type@entry=3, host_decl=host_decl@entry=0x0, declaration=declaration@entry=0) at confpars.c:624
#7  0x0000555555576868 in common_subnet_parsing (cfile=cfile@entry=0x5555558e9170, share=share@entry=0x555555905e20, subnet=0x555555905ee0) at confpars.c:2486
#8  0x00005555555770d0 in parse_subnet_declaration (cfile=0x5555558e9170, share=0x555555905e20) at confpars.c:2600
#9  0x0000555555576405 in parse_statement (cfile=cfile@entry=0x5555558e9170, group=group@entry=0x5555558acb80, type=type@entry=0, host_decl=host_decl@entry=0x0, declaration=declaration@entry=0) at confpars.c:482
#10 0x000055555557a923 in conf_file_subparse (cfile=0x5555558e9170, group=group@entry=0x5555558acb80, group_type=group_type@entry=0) at confpars.c:252
#11 0x000055555557abda in read_conf_file (filename=0x5555555cfb83 &quot;/etc/dhcp/dhcpd.conf&quot;, group=0x5555558acb80, group_type=group_type@entry=0, leasep=leasep@entry=0) at confpars.c:181
#12 0x000055555557ae4d in readconf () at confpars.c:66
#13 0x00005555555642f0 in main (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at dhcpd.c:718</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>138164</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2013-02-26 12:09:54 +0400</bug_when>
    <thetext>dhcp-1:4.2.5-alt1 -&gt; sisyphus:

* Mon Feb 25 2013 Gleb F-Malinovskiy &lt;glebfm@altlinux&gt; 1:4.2.5-alt1
- george@:
  + Version update to 4.2.5
  + Fix patches
  + Add example files
- fix segfault on x86_64 (ALT #28559)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>