<div dir="ltr"><div>I followed your advice and thats the result:</div><div> </div><div>First, I am using MinGW</div><div> </div><div>The Crash Location is in neighbor_table.c </div><div>after the following lines:</div><font color="#3f7f5f"><font color="#3f7f5f"><div>
 </div><div><p align="LEFT">(void)<u>gettimeofday</u>(&now, NULL);</p>
<p align="LEFT">  <u>nowtm</u> = <u>localtime</u>((time_t *)<u>&now.tv_sec</u>);</p></div></font><div> </div></font><div>nowtm is still a nullpointer.</div><div> </div><div> </div><div>As anyway in other functions <font><p>
olsr_wallclock_string()</p></font>is used to print the time in debug Outputs, I replaced the nowtm solution with the <font><p>olsr_wallclock_string()</p><p>That works now.</p><p> </p><p>Thanks,</p><p>Harald</p><p> </p><p>
 </p></font></div><div> </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/5 Henning Rogge <span dir="ltr"><<a href="mailto:henning.rogge@fkie.fraunhofer.de" target="_blank">henning.rogge@fkie.fraunhofer.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 12/03/2013 05:45 PM, Harald Sighart wrote:<br>
> Hello!<br>
><br>
> First of all thanks for providing that great piece of Software!<br>
><br>
> I tried to get into olsr during the last days and had my first<br>
> successes. But when Setting the debug Level in the olsr.conf to<br>
> somethign else than 0 the demon crashes at startup.<br>
><br>
> My Platform is Windows 7.<br>
> I am using olsrd 0.6.6 built with MinGW.<br>
><br>
> The last lines I see before the demon stops is:<br>
><br>
> TIMER: jitter 5% rel_time 1000ms to 993ms<br>
> SPF: insert candidate 192.168.243.10, cost 0.000<br>
> SPF: exploring node 192.168.243.10, cost 0.000<br>
> SPF: delete candidate 192.168.243.10, cost 0.000<br>
> SPF: append path 192.168.243.10, cost 0.000, via -<br>
> --- 17:40:47.631000 -------------------------------------------------<br>
> DIJKSTRA<br>
> Updating kernel routes...<br>
> --- 17:40:47.641000 ------------------------------------------------- MID<br>
><br>
> --- 17:40:47.641000 ----------------------------------------------------<br>
> LINKS<br>
> IP address       hyst         LQ       ETX<br>
><br>
> Windows just says (sorry it is german):<br>
</div>> *<br>
><br>
> Problemsignatur:<br>
<div class="im">><br>
> *<br>
><br>
> Problemereignisname: APPCRASH<br>
><br>
> Anwendungsname: olsrd.exe<br>
><br>
> I have started olsrd in a Windows command line that is run as Administrator.<br>
><br>
> Did anybody Encounter the same Problem and has a solution for it?<br>
<br>
</div>Before we find a solution we must find the problem...<br>
<br>
What did you use to compile olsrd? Cygwin or MinGW?<br>
<br>
Can you maybe install GDB (Gnu Debugger) and use it to pinpoint the<br>
crash location?<br>
<br>
Run "gdb --args olsrd -d 1" and then enter the "run" command. When GDB<br>
displays the crash, enter "bt" (backtrace) and post the whole output here.<br>
<span class="HOEnZb"><font color="#888888"><br>
Henning Rogge<br>
<br>
<br>
--<br>
Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für<br>
Kommunikation, Informationsverarbeitung und Ergonomie FKIE<br>
Kommunikationssysteme (KOM)<br>
Fraunhofer Straße 20, 53343 Wachtberg, Germany<br>
Telefon <a href="tel:%2B49%20228%209435-961" value="+492289435961">+49 228 9435-961</a>,   Fax <a href="tel:%2B49%20228%209435%20685" value="+492289435685">+49 228 9435 685</a><br>
mailto:<a href="mailto:henning.rogge@fkie.fraunhofer.de">henning.rogge@fkie.fraunhofer.de</a> <a href="http://www.fkie.fraunhofer.de" target="_blank">http://www.fkie.fraunhofer.de</a><br>
<br>
</font></span><br>--<br>
Olsr-users mailing list<br>
<a href="mailto:Olsr-users@lists.olsr.org">Olsr-users@lists.olsr.org</a><br>
<a href="https://lists.olsr.org/mailman/listinfo/olsr-users" target="_blank">https://lists.olsr.org/mailman/listinfo/olsr-users</a><br></blockquote></div><br></div>