[prev in list] [next in list] [prev in thread] [next in thread]
List: asterisk-dev
Subject: [Asterisk-Dev] * debug problem
From: "Matt" <mattl () xgforce ! com>
Date: 2005-09-30 22:15:38
Message-ID: 002701c5c60c$7d274540$0301a8c0 () bbzlsgmfs2be6y
[Download RAW message or body]
we work on * prepaid module,
when try we keypad in 01 as phone number, the code won't core dump, but when we \
keypad in 001, we got coredump?
in gdb, we see :
sprintf(szSQLCmd, "%s-%d", szDestNumber, cd->tariffid);
(gdb) bt
#0 0x46cf8e17 in callingcard_ivr_authorize (chan=0x0, cd=0x0)
at app_prepaid_call.c:296
anyone got any hints why?
it seams Linux coding is lot different than working on other OS? or i made bad \
mistake?
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1515" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>we work on * prepaid module,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>when try we keypad in 01 as phone number, the code
won't core dump, but when we keypad in 001, we got coredump?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>in gdb, we see : </FONT></DIV>
<DIV><FONT face=Arial size=2> sprintf(szSQLCmd, "%s-%d", szDestNumber,
cd->tariffid);<BR>(gdb) bt<BR>#0 0x46cf8e17 in
callingcard_ivr_authorize (chan=0x0, cd=0x0)<BR> at
app_prepaid_call.c:296<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>anyone got any hints why?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>it seams Linux coding is lot different than working
on other OS? or i made bad mistake?</DIV></FONT></BODY></HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic