On 09/17/2010 06:00 PM, Mark Deneen wrote:
On Fri, Sep 17, 2010 at 11:51 AM, Jonas Kellens
<[email protected]>  wrote:
On 09/17/2010 05:29 PM, Mark Deneen wrote:
On Fri, Sep 17, 2010 at 4:21 AM, Jonas Kellens<[email protected]>    
wrote:

warning: exec file is newer than core file.

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


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.
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

Thank you for your feedback.

I have stopped asterisk (/sbin/service asterisk stop), then re-compiled and then restarted asterisk (/sbin/service asterisk start)

[r...@asterisk16 ~]# ls -l /usr/sbin/asterisk
-rwxr-xr-x 1 root root 15880306 *Sep 17 11:41* /usr/sbin/asterisk
[r...@asterisk16 ~]# ls -l /tmp/core.asterisk16.jocan.local-2010-09-17T10\:03\:15+0200 -rw------- 1 root root 16609280 *Sep 17 10:03* /tmp/core.asterisk16.jocan.local-2010-09-17T10:03:15+0200


This tells you are right...

Jonas.
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to