<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <atom:link href="https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=4861" rel="self" type="application/rss+xml" />
  <title>SmaugMuds - Topic: segfault connecting to link dead</title>
  <link>https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=4861</link>
  <description>The largest Smaug community resource site. - </description>
  <language>en</language>
  <generator>SmaugMuds</generator>
  <ttl>60</ttl>
  <item>
   <title>segfault connecting to link dead</title>
   <link>https://smaugmuds.afkmods.com/topic/segfault-connecting-to-link-dead-4861/&amp;p=23779#p23779</link>
   <description> [quote=joeyfogas]someone should swap the 1.9.2 comm.c file with the 1.9.1 file and do the fix correctly :([/quote] Yeah it&#039;s a little confusing with the two different places, TRUE vs. FALSE and what not. Glad you got it sorted out though!  :alien:  </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/segfault-connecting-to-link-dead-4861/&amp;p=23779#p23779</guid>
   <pubDate>Tue, 13 Mar 2018 12:12:48 CDT</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (GatewaySysop)</author>
  </item>
  <item>
   <title>segfault connecting to link dead</title>
   <link>https://smaugmuds.afkmods.com/topic/segfault-connecting-to-link-dead-4861/&amp;p=23775#p23775</link>
   <description>someone should swap the 1.9.2 comm.c file with the 1.9.1 file and do the fix correctly :(</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/segfault-connecting-to-link-dead-4861/&amp;p=23775#p23775</guid>
   <pubDate>Tue, 13 Mar 2018 04:24:16 CDT</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (joeyfogas)</author>
  </item>
  <item>
   <title>segfault connecting to link dead</title>
   <link>https://smaugmuds.afkmods.com/topic/segfault-connecting-to-link-dead-4861/&amp;p=23774#p23774</link>
   <description>ok i got it! i compared it to the 1.9.1 code this is what i did wrong [code]chk = check_reconnect( d, ch-&amp;gt;pcdata-&amp;gt;filename, TRUE ); //chk = check_reconnect( d, argument, FALSE ); //if( check_reconnect( d, ch-&amp;gt;pcdata-&amp;gt;filename, TRUE ) == BERR ) if ( chk == BERR ) { if( d-&amp;gt;character &amp;amp;&amp;amp; d-&amp;gt;character-&amp;gt;desc ) d-&amp;gt;character-&amp;gt;desc = NULL; close_socket( d, FALSE ); return; } //if( check_reconnect( d, ch-&amp;gt;pcdata-&amp;gt;filename, TRUE ) ) if ( chk ) ret</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/segfault-connecting-to-link-dead-4861/&amp;p=23774#p23774</guid>
   <pubDate>Tue, 13 Mar 2018 04:19:02 CDT</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (joeyfogas)</author>
  </item>
  <item>
   <title>segfault connecting to link dead</title>
   <link>https://smaugmuds.afkmods.com/topic/segfault-connecting-to-link-dead-4861/&amp;p=23773#p23773</link>
   <description>[url=https://drive.google.com/open?id=1_-XX-VzLAoZXkfFKyQUO4JqJ-3_AlugL]here is the comm.c file[/url] this may prove easier to assist.. thanks again for all your help... I apparently don&#039;t know what I am doing</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/segfault-connecting-to-link-dead-4861/&amp;p=23773#p23773</guid>
   <pubDate>Tue, 13 Mar 2018 04:02:14 CDT</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (joeyfogas)</author>
  </item>
  <item>
   <title>segfault connecting to link dead</title>
   <link>https://smaugmuds.afkmods.com/topic/segfault-connecting-to-link-dead-4861/&amp;p=23772#p23772</link>
   <description>ok after the first change, it still segfaulted.. then I found the similar section, I believe, in the con_get_password and changed it as such... [code]chk = check_reconnect( d, argument, FALSE ); //if( check_reconnect( d, ch-&amp;gt;pcdata-&amp;gt;filename, TRUE ) == BERR ) if ( chk == BERR ) { if( d-&amp;gt;character &amp;amp;&amp;amp; d-&amp;gt;character-&amp;gt;desc ) d-&amp;gt;character-&amp;gt;desc = NULL; close_socket( d, FALSE ); return; } //if( check_reconnect( d, ch-&amp;gt;pcdata-&amp;gt;filename, TRUE ) ) if ( chk )</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/segfault-connecting-to-link-dead-4861/&amp;p=23772#p23772</guid>
   <pubDate>Tue, 13 Mar 2018 03:53:05 CDT</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (joeyfogas)</author>
  </item>
  <item>
   <title>segfault connecting to link dead</title>
   <link>https://smaugmuds.afkmods.com/topic/segfault-connecting-to-link-dead-4861/&amp;p=23771#p23771</link>
   <description> [quote=joeyfogas][code]  Compiling o/comm.o.... comm.c: In function &amp;acirc;&amp;euro;&amp;tilde;void nanny_get_name(DESCRIPTOR_DATA*, char*)&amp;acirc;&amp;euro;&amp;trade;: comm.c:1974:11: error: comparison of constant &amp;acirc;&amp;euro;&amp;tilde;255&amp;acirc;&amp;euro;&amp;trade; with boolean expression is always false [-Werror=bool-compare] if ( chk == BERR ) [/code][/quote] To rid yourself of this, do what the fix said about changing the return value of check_reconnect( ) to an integer instead of a bool. Just make sure when you define &#039;chk&#039; that you define it as an in</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/segfault-connecting-to-link-dead-4861/&amp;p=23771#p23771</guid>
   <pubDate>Tue, 13 Mar 2018 03:37:08 CDT</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (GatewaySysop)</author>
  </item>
  <item>
   <title>segfault connecting to link dead</title>
   <link>https://smaugmuds.afkmods.com/topic/segfault-connecting-to-link-dead-4861/&amp;p=23770#p23770</link>
   <description>I think i need to sleep... lol got it to stop crashing but now I see my linkdead self when logging back in lol </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/segfault-connecting-to-link-dead-4861/&amp;p=23770#p23770</guid>
   <pubDate>Tue, 13 Mar 2018 03:35:40 CDT</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (joeyfogas)</author>
  </item>
  <item>
   <title>segfault connecting to link dead</title>
   <link>https://smaugmuds.afkmods.com/topic/segfault-connecting-to-link-dead-4861/&amp;p=23769#p23769</link>
   <description> [quote=joeyfogas][code]   if( check_playing( d, ch-&amp;gt;pcdata-&amp;gt;filename, TRUE ) ) return; if( check_reconnect( d, ch-&amp;gt;pcdata-&amp;gt;filename, TRUE ) == BERR ) { if( d-&amp;gt;character &amp;amp;&amp;amp; d-&amp;gt;character-&amp;gt;desc ) d-&amp;gt;character-&amp;gt;desc = NULL; close_socket( d, FALSE ); return; } if( check_reconnect( d, ch-&amp;gt;pcdata-&amp;gt;filename, TRUE ) ) return; [/code] is this the similar code you were talking about?[/quote] Yep!</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/segfault-connecting-to-link-dead-4861/&amp;p=23769#p23769</guid>
   <pubDate>Tue, 13 Mar 2018 03:35:39 CDT</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (GatewaySysop)</author>
  </item>
  <item>
   <title>segfault connecting to link dead</title>
   <link>https://smaugmuds.afkmods.com/topic/segfault-connecting-to-link-dead-4861/&amp;p=23768#p23768</link>
   <description>[code]   if( check_playing( d, ch-&amp;gt;pcdata-&amp;gt;filename, TRUE ) ) return; if( check_reconnect( d, ch-&amp;gt;pcdata-&amp;gt;filename, TRUE ) == BERR ) { if( d-&amp;gt;character &amp;amp;&amp;amp; d-&amp;gt;character-&amp;gt;desc ) d-&amp;gt;character-&amp;gt;desc = NULL; close_socket( d, FALSE ); return; } if( check_reconnect( d, ch-&amp;gt;pcdata-&amp;gt;filename, TRUE ) ) return; [/code] is this the similar code you were talking about?</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/segfault-connecting-to-link-dead-4861/&amp;p=23768#p23768</guid>
   <pubDate>Tue, 13 Mar 2018 03:22:06 CDT</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (joeyfogas)</author>
  </item>
  <item>
   <title>segfault connecting to link dead</title>
   <link>https://smaugmuds.afkmods.com/topic/segfault-connecting-to-link-dead-4861/&amp;p=23767#p23767</link>
   <description>[code]  Compiling o/comm.o.... comm.c: In function &amp;acirc;&amp;euro;&amp;tilde;void nanny_get_name(DESCRIPTOR_DATA*, char*)&amp;acirc;&amp;euro;&amp;trade;: comm.c:1974:11: error: comparison of constant &amp;acirc;&amp;euro;&amp;tilde;255&amp;acirc;&amp;euro;&amp;trade; with boolean expression is always false [-Werror=bool-compare] if ( chk == BERR ) [/code]</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/segfault-connecting-to-link-dead-4861/&amp;p=23767#p23767</guid>
   <pubDate>Tue, 13 Mar 2018 03:17:57 CDT</pubDate>
   <category>SmaugFUSS</category>
   <author>nobody@example.com (joeyfogas)</author>
  </item>
 </channel>
</rss>
