<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
On 09/17/2010 06:00 PM, Mark Deneen wrote:
<blockquote
cite="mid:AANLkTi=5TmEfOMO_EnBMvR7jakFSRLX4qM39LKqmFUin@mail.gmail.com"
type="cite">
<pre wrap="">On Fri, Sep 17, 2010 at 11:51 AM, Jonas Kellens
<a class="moz-txt-link-rfc2396E" href="mailto:jonas.kellens@telenet.be"><jonas.kellens@telenet.be></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On 09/17/2010 05:29 PM, Mark Deneen wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On Fri, Sep 17, 2010 at 4:21 AM, Jonas Kellens<a class="moz-txt-link-rfc2396E" href="mailto:jonas.kellens@telenet.be"><jonas.kellens@telenet.be></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">warning: exec file is newer than core file.
</pre>
</blockquote>
<pre wrap="">Jonas,
I encourage you to read the output. Did you run gdb with a core file
dumped from the old build? You need to generate a new core dump with
the new executable.
Best Regards,
Mark Deneen
</pre>
</blockquote>
<pre wrap="">
1. I have re-compiled asterisk 1.6.2 with dont_optimize
2. I have generated the restart/reload of asterisk that I expercience
3. I have built a backtrace with gdb from the resulting core.pid file
Don't know what I could have been doing wrong...
Jonas.
</pre>
</blockquote>
<pre wrap="">
Jonas,
What is the timestamp on your asterisk binary and what is the
timestamp of the core file?
Also, you restarted asterisk after installing the dont_optimize binary?
The message suggests that your core file is older than your
executable, which should not be possible.
Best Regards,
Mark Deneen
</pre>
</blockquote>
<br>
Thank you for your feedback.<br>
<br>
I have stopped asterisk (/sbin/service asterisk stop), then re-compiled
and then restarted asterisk (/sbin/service asterisk start)<br>
<br>
[root@asterisk16 ~]# ls -l /usr/sbin/asterisk <br>
-rwxr-xr-x 1 root root 15880306 <b>Sep 17 11:41</b> /usr/sbin/asterisk<br>
[root@asterisk16 ~]# ls -l
/tmp/core.asterisk16.jocan.local-2010-09-17T10\:03\:15+0200 <br>
-rw------- 1 root root 16609280 <b>Sep 17 10:03</b>
/tmp/core.asterisk16.jocan.local-2010-09-17T10:03:15+0200<br>
<br>
<br>
This tells you are right...<br>
<br>
Jonas.<br>
</body>
</html>