[asterisk-bugs] [Asterisk 0014351]: crash with asterisk realtime running odbc -> sql 2008 server via freetds when snom 190 reboots cached realtime

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 28 23:20:28 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14351 
====================================================================== 
Reported By:                kactus
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   14351
Category:                   Resources/res_odbc
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!): 171758 
Request Review:              
====================================================================== 
Date Submitted:             2009-01-27 22:12 CST
Last Modified:              2009-01-28 23:20 CST
====================================================================== 
Summary:                    crash with asterisk realtime  running odbc -> sql
2008 server via freetds when snom 190 reboots cached realtime
Description: 
Hello Everyone

I've recently come back to testing asterisk 1.6 and I've stopped short
once again. 

In this simple case I have two snom phones setup with sip accounts in a
mssql db.I start the asterisk server, and can sometimes reregister the snom
320 so that it appears under sip show peers, but hitting reregister (on the
phone) a few times, or having a snom 190 reboot, thus unregister and
reregister causes a segmentation fault.

I have both a username field and a defaultuser field in the table (to try
and get around the warning), but that still shouldn't cause a segfault.

I will upload debug and cli output momentarily

I had similar issue with 1.6.0.5

All the best
====================================================================== 

---------------------------------------------------------------------- 
 (0099012) kactus (reporter) - 2009-01-28 23:20
 http://bugs.digium.com/view.php?id=14351#c99012 
---------------------------------------------------------------------- 
Hello Corydon

Thank you for your help. I had been running freetds 0.64 (lastest from yum
on centos 5.2)

I have since retested with 0.84 built from source and the crash does not
occur. I get a mass of sip debugs but that is another story.

It is still strange that is does not crash under 1.4.17 but at least I now
have something I can move forward with.

Once again thank you for your help.

Kamil 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-28 23:20 kactus         Note Added: 0099012                          
======================================================================




More information about the asterisk-bugs mailing list