<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    OK. Stupid question time. How do you compile without the -O? I just
    use "rpmbuild -bb ....." then install the rpm. Also what is a gdb
    trace and how do I go about getting one?<br>
    <br>
    Nick<br>
    <br>
    <div class="moz-cite-prefix">On 10/11/2013 14:16, Paul Wouters
      wrote:<br>
    </div>
    <blockquote
      cite="mid:alpine.LFD.2.10.1311100914280.12525@bofh.nohats.ca"
      type="cite">
      <br>
      On Sun, 10 Nov 2013, Nick Howitt wrote:
      <br>
      <br>
      <blockquote type="cite">This is now happening on 3.6. It again
        appears to be happening when the remote device changes IP
        address.
        <br>
      </blockquote>
      <br>
      <blockquote type="cite">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Nov&nbsp; 9 08:26:21 server pluto[10996]:
        packet from 62.122.68.153:53489: next payload type of ISAKMP
        Message has an unknown
        <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; value: 133
        <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Nov&nbsp; 9 08:26:21 server pluto[10996]: packet from
        62.122.68.153:53489: ASSERTION FAILED at
        <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        /home/build/rpmbuild/BUILD/libreswan-3.6/programs/pluto/demux.c:18
        <br>
      </blockquote>
      <br>
      Line 18 is a comment? I guess it is around line 18x which is the
      <br>
      bad_case()
      <br>
      <br>
      <blockquote type="cite">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The code block here is:
        <br>
        <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; switch (maj) {
        <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; case ISAKMP_MAJOR_VERSION:
        <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; process_v1_packet(mdp);
        <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; break;
        <br>
        <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; case IKEv2_MAJOR_VERSION:
        <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; process_v2_packet(mdp);
        <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; break;
        <br>
        <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; default:
        <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; bad_case(maj);
        <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }
        <br>
        <br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Line 196 is "bad_case(maj);"
        <br>
      </blockquote>
      <br>
      It's strange. We looked at this before and it seemed that case
      could
      <br>
      actually never be reached. Could you try compiling without -O ?
      Perhaps
      <br>
      give us a full gdb strack trace?
      <br>
      <br>
      Paul
      <br>
    </blockquote>
    <br>
  </body>
</html>