All pastes #16526 Raw Edit

Something

public text v1 · immutable
#16526 ·published 2005-06-30 18:18 UTC
rendered paste body
[root@david php-5.1.0b2]# gdb --args asterisk -cdfvvvvvvvvvv
GNU gdb Red Hat Linux (6.3.0.0-1.21rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/sbin/asterisk -cdfvvvvvvvvvv
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0xcb8000
[Thread debugging using libthread_db enabled]
[New Thread -1208277312 (LWP 30443)]
Parsing /etc/asterisk/asterisk.conf
Parsing /etc/asterisk/extconfig.conf
[New Thread -1208280144 (LWP 30446)]
[Thread -1208280144 (LWP 30446) exited]
[New Thread -1208280144 (LWP 30447)]
Asterisk 1.0.8, Copyright (C) 1999-2004 Digium.
Written by Mark Spencer <markster@digium.com>
=========================================================================
Parsing /etc/asterisk/logger.conf
Asterisk Event Logger Started /var/log/asterisk/event_log
  == Manager registered action Ping
  == Manager registered action Events
  == Manager registered action Logoff
  == Manager registered action Hangup
  == Manager registered action Status
  == Manager registered action Setvar
  == Manager registered action Getvar
  == Manager registered action Redirect
  == Manager registered action Originate
  == Manager registered action Command
  == Manager registered action ExtensionState
  == Manager registered action AbsoluteTimeout
  == Manager registered action MailboxStatus
  == Manager registered action MailboxCount
  == Manager registered action ListCommands
Asterisk Management interface listening on port 5038
[New Thread -1210393680 (LWP 30448)]
  == RTP Allocating from port range 10000 -> 20000
Asterisk PBX Core Initializing
Registering builtin applications:
 [AbsoluteTimeout]
  == Registered application 'AbsoluteTimeout'
 [Answer]
  == Registered application 'Answer'
 [BackGround]
  == Registered application 'BackGround'
 [Busy]
  == Registered application 'Busy'
 [Congestion]
  == Registered application 'Congestion'
 [DigitTimeout]
  == Registered application 'DigitTimeout'
 [Goto]
  == Registered application 'Goto'
 [GotoIf]
  == Registered application 'GotoIf'
 [GotoIfTime]
  == Registered application 'GotoIfTime'
 [Hangup]
  == Registered application 'Hangup'
 [NoOp]
  == Registered application 'NoOp'
 [Prefix]
  == Registered application 'Prefix'
 [Progress]
  == Registered application 'Progress'
 [ResetCDR]
  == Registered application 'ResetCDR'
 [ResponseTimeout]
  == Registered application 'ResponseTimeout'
 [Ringing]
  == Registered application 'Ringing'
 [SayNumber]
  == Registered application 'SayNumber'
 [SayDigits]
  == Registered application 'SayDigits'
 [SayAlpha]
  == Registered application 'SayAlpha'
 [SayPhonetic]
  == Registered application 'SayPhonetic'
 [SetAccount]
  == Registered application 'SetAccount'
 [SetAMAFlags]
  == Registered application 'SetAMAFlags'
 [SetGlobalVar]
  == Registered application 'SetGlobalVar'
 [SetLanguage]
  == Registered application 'SetLanguage'
 [SetVar]
  == Registered application 'SetVar'
 [StripMSD]
  == Registered application 'StripMSD'
 [Suffix]
  == Registered application 'Suffix'
 [Wait]
  == Registered application 'Wait'
 [WaitExten]
  == Registered application 'WaitExten'
Asterisk Dynamic Loader Starting:
 [chan_modem.so] => (Generic Voice Modem Driver)
  == Loading modem driver chan_modem_aopen.so => (A/Open (Rockwell Chipset) ITU-2 VoiceModem Driver)
[New Thread -1212494928 (LWP 30449)]
 [res_musiconhold.so] => (Music On Hold Resource)
[New Thread -1214596176 (LWP 30450)]
  == Registered application 'MusicOnHold'
  == Registered application 'WaitMusicOnHold'
  == Registered application 'SetMusicOnHold'
 [res_indications.so] => (Indications Configuration)
Jun 30 12:02:15 WARNING[30443]: res_indications.c:265 ind_load_module: Invalid ringcadance given '' at line 62.
    -- Registered indication country 'at'
    -- Registered indication country 'au'
    -- Registered indication country 'br'
    -- Registered indication country 'be'
    -- Registered indication country 'ch'
    -- Registered indication country 'cl'
    -- Registered indication country 'cn'
    -- Registered indication country 'cz'
    -- Registered indication country 'de'
    -- Registered indication country 'dk'
    -- Registered indication country 'ee'
    -- Registered indication country 'fi'
    -- Registered indication country 'fr'
    -- Registered indication country 'gr'
    -- Registered indication country 'hu'
    -- Registered indication country 'it'
    -- Registered indication country 'lt'
    -- Registered indication country 'mx'
    -- Registered indication country 'nl'
    -- Registered indication country 'no'
    -- Registered indication country 'nz'
    -- Registered indication country 'pl'
    -- Registered indication country 'pt'
    -- Registered indication country 'ru'
    -- Registered indication country 'se'
Jun 30 12:02:15 NOTICE[30443]: res_indications.c:308 ind_load_module: Duplicate entry 'stutter', skipped.
    -- Registered indication country 'sg'
    -- Registered indication country 'uk'
    -- Registered indication country 'us'
    -- Registered indication country 'us-o'
    -- Registered indication country 'tw'
    -- Registered indication country 'za'
    -- Setting default indication country to 'us'
  == Registered application 'Playtones'
  == Registered application 'StopPlaytones'
 [res_php5.so]Detaching after fork from child process 30451.
Jun 30 12:02:16 NOTICE[30443]: res_musiconhold.c:309 monmp3thread: Request to schedule in the past?!?!
 => (PHP for the dialplan)
load_module
sapi_ast_startup
  == Registered application 'PHP'
 [res_features.so] => (Call Parking Resource)
[New Thread -1218794576 (LWP 30452)]
  == Registered application 'ParkedCall'
  == Registered application 'Park'
  == Manager registered action ParkedCalls
 [res_adsi.so] => (ADSI Resource)
 [res_agi.so] => (Asterisk Gateway Interface (AGI))
  == Registered application 'DeadAGI'
  == Registered application 'EAGI'
  == Registered application 'AGI'
 [res_crypto.so] => (Cryptographic Digital Signatures)
    -- Loaded PUBLIC key 'freeworlddialup'
    -- Loaded PUBLIC key 'iaxtel'
 [res_monitor.so] => (Call Monitoring Resource)
  == Registered application 'Monitor'
  == Registered application 'StopMonitor'
  == Registered application 'ChangeMonitor'
  == Manager registered action Monitor
  == Manager registered action StopMonitor
  == Manager registered action ChangeMonitor
 [app_getcpeid.so] => (Get ADSI CPE ID)
  == Registered application 'GetCPEID'
 [app_setcidname.so] => (Set CallerID Name)
  == Registered application 'SetCIDName'
 [app_macro.so] => (Extension Macros)
  == Registered application 'Macro'
 [codec_g726.so] => (ITU G.726-32kbps G726 Transcoder)
  == Registered translator 'g726tolin' from format g726 to slin, cost 3
  == Registered translator 'lintog726' from format slin to g726, cost 4
 [format_g729.so] => (Raw G729 data)
  == Registered file format g729, extension(s) g729
 [app_db.so] => (Database access functions for Asterisk extension logic)
  == Registered application 'DBget'
  == Registered application 'DBput'
  == Registered application 'DBdel'
  == Registered application 'DBdeltree'
 [format_gsm.so] => (Raw GSM data)
  == Registered file format gsm, extension(s) gsm
 [chan_skinny.so] => (Skinny Client Control Protocol (Skinny))
Jun 30 12:02:16 WARNING[30443]: chan_skinny.c:2587 reload_config: Unable to get our IP address, Skinny disabled
[New Thread -1220895824 (LWP 30453)]
 [app_sayunixtime.so] => (Say time)
  == Registered application 'SayUnixTime'
  == Registered application 'DateTime'
 [app_setcallerid.so] => (Set CallerID Application)
  == Registered application 'SetCallerPres'
  == Registered application 'SetCallerID'
 [app_image.so] => (Image Transmission Application)
  == Registered application 'SendImage'
 [app_nbscat.so] => (Silly NBS Stream Application)
  == Registered application 'NBScat'
 [skipping app_intercom.so]
 [app_exec.so] => (Executes applications)
  == Registered application 'Exec'
 [app_dial.so] => (Dialing Application)
  == Registered application 'Dial'
 [format_sln.so] => (Raw Signed Linear Audio support (SLN))
  == Registered file format sln, extension(s) sln|raw
 [app_authenticate.so] => (Authentication Application)
  == Registered application 'Authenticate'
 [app_cdr.so] => (Make sure asterisk doesn't save CDR for a certain call)
  == Registered application 'NoCDR'
 [cdr_manager.so] => (Asterisk Call Manager CDR Backend)
 [app_striplsd.so] => (Strip trailing digits)
  == Registered application 'StripLSD'
 [app_url.so] => (Send URL Applications)
  == Registered application 'SendURL'
 [app_sms.so] => (SMS/PSTN handler)
  == Registered application 'SMS'
 [codec_adpcm.so] => (Adaptive Differential PCM Coder/Decoder)
  == Registered translator 'adpcmtolin' from format adpcm to slin, cost 1
  == Registered translator 'lintoadpcm' from format slin to adpcm, cost 1
 [format_ilbc.so] => (Raw iLBC data)
  == Registered file format iLBC, extension(s) ilbc
 [app_adsiprog.so] => (Asterisk ADSI Programming Application)
  == Registered application 'ADSIProg'
 [skipping chan_alsa.so]
 [app_random.so] => (Random goto)
  == Registered application 'Random'
 [app_queue.so] => (True Call Queueing)
  == Registered application 'Queue'
  == Manager registered action Queues
  == Manager registered action QueueStatus
  == Manager registered action QueueAdd
  == Manager registered action QueueRemove
  == Registered application 'AddQueueMember'
  == Registered application 'RemoveQueueMember'
 [format_wav.so] => (Microsoft WAV format (8000hz Signed Linear))
  == Registered file format wav, extension(s) wav
 [codec_alaw.so] => (A-law Coder/Decoder)
  == Registered translator 'alawtolin' from format alaw to slin, cost 1
  == Registered translator 'lintoalaw' from format slin to alaw, cost 1
 [app_test.so] => (Interface Test Application)
  == Registered application 'TestClient'
  == Registered application 'TestServer'
 [format_pcm_alaw.so] => (Raw aLaw 8khz PCM Audio support)
  == Registered file format alaw, extension(s) alaw|al
 [app_echo.so] => (Simple Echo Application)
  == Registered application 'Echo'
 [chan_iax2.so] => (Inter Asterisk eXchange (Ver 2))
  == Manager registered action IAXpeers
  == Using TOS bits 16
[New Thread -1222997072 (LWP 30454)]
  == IAX Ready and Listening on 0.0.0.0 port 4569
  == Loaded firmware 'iaxy.bin'
    -- Loaded provisioning template 'default'
 [format_vox.so] => (Dialogic VOX (ADPCM) File Format)
  == Registered file format vox, extension(s) vox
 [cdr_csv.so] => (Comma Separated Values CDR Backend)
 [app_lookupcidname.so] => (Look up CallerID Name from local database)
  == Registered application 'LookupCIDName'
 [chan_sip.so] => (Session Initiation Protocol (SIP))
  == SIP Listening on 0.0.0.0:5060
  == Using TOS bits 0
  == Registered application 'SIPDtmfMode'
[New Thread -1225139280 (LWP 30455)]
 [codec_lpc10.so] => (LPC10 2.4kbps (signed linear) Voice Coder)
  == Registered translator 'lpc10tolin' from format lpc10 to slin, cost 4
  == Registered translator 'lintolpc10' from format slin to lpc10, cost 6
 [app_privacy.so] => (Require phone number to be entered, if no CallerID sent)
  == Registered application 'PrivacyManager'
 [app_directory.so] => (Extension Directory)
  == Registered application 'Directory'
 [app_lookupblacklist.so] => (Look up Caller*ID name/number from blacklist database)
  == Registered application 'LookupBlacklist'
 [app_record.so] => (Trivial Record Application)
  == Registered application 'Record'
 [format_jpeg.so] => (JPEG (Joint Picture Experts Group) Image Format)
  == Registered format 'jpg' (JPEG (Joint Picture Experts Group))
 [app_qcall.so] => (Call from Queue)
[New Thread -1227240528 (LWP 30456)]
 [app_setcidnum.so] => (Set CallerID Number)
  == Registered application 'SetCIDNum'
 [app_userevent.so] => (Custom User Event Application)
  == Registered application 'UserEvent'
 [app_hasnewvoicemail.so] => (Indicator for whether a voice mailbox has messages in a given folder.
  == Registered application 'HasVoicemail'
  == Registered application 'HasNewVoicemail'
 [app_read.so] => (Read Variable Application)
  == Registered application 'Read'
 [app_txtcidname.so] => (TXTCIDName)
  == Registered application 'TXTCIDName'
 [app_setcdruserfield.so] => (CDR user field apps)
  == Registered application 'SetCDRUserField'
  == Registered application 'AppendCDRUserField'
  == Manager registered action SetCDRUserField
 [app_milliwatt.so] => (Digital Milliwatt (mu-law) Test Application)
  == Registered application 'Milliwatt'
 [codec_gsm.so] => (GSM/PCM16 (signed linear) Codec Translator)
  == Registered translator 'gsmtolin' from format gsm to slin, cost 1
  == Registered translator 'lintogsm' from format slin to gsm, cost 5
 [chan_agent.so] => (Agent Proxy Channel)
  == Registered application 'AgentLogin'
  == Registered application 'AgentCallbackLogin'
  == Registered application 'AgentMonitorOutgoing'
 [chan_oss.so] => (OSS Console Channel Driver)
  == Console is full duplex
[New Thread -1229341776 (LWP 30457)]
 [app_forkcdr.so] => (Fork The CDR into 2 separate entities.)
  == Registered application 'ForkCDR'
 [app_parkandannounce.so]Jun 30 12:02:18 WARNING[30443]: chan_oss.c:257 sound_thread: Read error on sound device: Resource temporarily unavailable
 => (Call Parking and Announce Application)
  == Registered application 'ParkAndAnnounce'
 [app_alarmreceiver.so] => (Alarm Receiver for Asterisk)
  == Registered application 'AlarmReceiver'
 [app_chanisavail.so] => (Check if channel is available)
  == Registered application 'ChanIsAvail'
 [app_disa.so]Jun 30 12:02:18 NOTICE[30443]: pbx.c:1331 pbx_extension_helper: Cannot find extension context 'default'
 => (DISA (Direct Inward System Access) Application)
  == Registered application 'DISA'
 [chan_modem_i4l.so] => (ISDN4Linux Emulated Modem Driver)
 [chan_mgcp.so] => (Media Gateway Control Protocol (MGCP))
  == MGCP Listening on 0.0.0.0:2727
  == Using TOS bits 0
[New Thread -1231443024 (LWP 30458)]
 [chan_phone.so] => (Linux Telephony API Support)
[New Thread -1233544272 (LWP 30459)]
 [app_groupcount.so] => (Group Management Routines)
  == Registered application 'GetGroupCount'
  == Registered application 'SetGroup'
  == Registered application 'CheckGroup'
 [app_verbose.so] => (Send verbose output)
  == Registered application 'Verbose'
 [app_system.so] => (Generic System() application)
  == Registered application 'TrySystem'
  == Registered application 'System'
 [app_festival.so] => (Simple Festival Interface)
  == Registered application 'Festival'
 [app_enumlookup.so] => (ENUM Lookup)
  == Registered application 'EnumLookup'
 [codec_ilbc.so] => (iLBC/PCM16 (signed linear) Codec Translator)
  == Registered translator 'ilbctolin' from format ilbc to slin, cost 5
  == Registered translator 'lintoilbc' from format slin to ilbc, cost 35
 [codec_ulaw.so] => (Mu-law Coder/Decoder)
  == Registered translator 'ulawtolin' from format ulaw to slin, cost 1
  == Registered translator 'lintoulaw' from format slin to ulaw, cost 1
 [app_controlplayback.so] => (Control Playback Application)
  == Registered application 'ControlPlayback'
 [app_playback.so] => (Trivial Playback Application)
  == Registered application 'Playback'
 [app_softhangup.so] => (Hangs up the requested channel)
  == Registered application 'SoftHangup'
 [app_voicemail.so] => (Comedian Mail (Voicemail System))
  == Registered application 'VoiceMail'
  == Registered application 'VoiceMail2'
  == Registered application 'VoiceMailMain'
  == Registered application 'VoiceMailMain2'
  == Registered application 'MailboxExists'
 [app_mp3.so] => (Silly MP3 Application)
  == Registered application 'MP3Player'
 [app_substring.so] => ((Deprecated) Save substring digits in a given variable)
  == Registered application 'SubString'
 [app_ices.so] => (Encode and Stream via icecast and ices)
  == Registered application 'ICES'
 [app_cut.so] => (Cuts up variables)
  == Registered application 'Cut'
 [app_sendtext.so] => (Send Text Applications)
  == Registered application 'SendText'
 [app_zapateller.so] => (Block Telemarketers with Special Information Tone)
  == Registered application 'Zapateller'
 [format_h263.so] => (Raw h263 data)
  == Registered file format h263, extension(s) h263
 [app_eval.so] => (Reevaluates strings)
  == Registered application 'Eval'
 [app_transfer.so] => (Transfer)
  == Registered application 'Transfer'
 [format_wav_gsm.so] => (Microsoft WAV format (Proprietary GSM))
  == Registered file format wav49, extension(s) WAV|wav49
 [chan_local.so] => (Local Proxy Channel)
 [app_senddtmf.so] => (Send DTMF digits Application)
  == Registered application 'SendDTMF'
 [pbx_config.so] => (Text Extension Configuration)
 [pbx_spool.so] => (Outgoing Spool Support)
[New Thread -1235645520 (LWP 30460)]
 [app_talkdetect.so] => (Playback with Talk Detection)
  == Registered application 'BackgroundDetect'
 [format_pcm.so] => (Raw uLaw 8khz Audio support (PCM))
  == Registered file format pcm, extension(s) pcm|ulaw|ul|mu
 [format_g726.so] => (Raw G.726 (16/24/32/40kbps) data)
  == Registered file format g726-40, extension(s) g726-40
  == Registered file format g726-32, extension(s) g726-32
  == Registered file format g726-24, extension(s) g726-24
  == Registered file format g726-16, extension(s) g726-16
 [chan_modem_bestdata.so] => (BestData (Conexant V.90 Chipset) VoiceModem Driver)
 [codec_a_mu.so] => (A-law and Mulaw direct Coder/Decoder)
  == Registered translator 'alawtoulaw' from format alaw to ulaw, cost 1
  == Registered translator 'ulawtoalaw' from format ulaw to alaw, cost 1
 [pbx_wilcalu.so] => (Wil Cal U (Auto Dialer))
[New Thread -1237746768 (LWP 30461)]
 [app_waitforring.so] => (Waits until first ring after time)
  == Registered application 'WaitForRing'
Parsing /etc/asterisk/logger.conf
Asterisk Event Logger restarted
  == RTP Allocating from port range 10000 -> 20000
Asterisk Ready.
*CLI> [New Thread -1239848016 (LWP 30466)]
    -- Executing PHP("SIP/24.223.0.9-095ac028", "/tmp/test.php") in new stack
ast_php_exec
ast_module_main
sapi_ast_read_cookies
sapi_ast_register_variables
SIP/24.223.0.9-095ac028 start script

sapi_ast_send_headers
sapi_ast_ub_write: Blasting off in 10 seconds.

sapi_ast_error_handler
Urgent handler
sapi_ast_ub_write: Blasting off in 9 seconds.

sapi_ast_error_handler
Urgent handler
sapi_ast_ub_write: Blasting off in 8 seconds.

sapi_ast_error_handler
Urgent handler
sapi_ast_ub_write: Blasting off in 7 seconds.

sapi_ast_error_handler
Urgent handler
sapi_ast_ub_write: Blasting off in 6 seconds.

sapi_ast_error_handler
Urgent handler
sapi_ast_ub_write: Blasting off in 5 seconds.

sapi_ast_error_handler
Urgent handler
[New Thread -1241949264 (LWP 30467)]
    -- Executing PHP("SIP/24.223.0.9-095c2640", "/tmp/test.php") in new stack
Urgent handler
ast_php_exec
Urgent handler
ast_module_main
Urgent handler
sapi_ast_read_cookies
Urgent handler
sapi_ast_register_variables
Urgent handler
SIP/24.223.0.9-095c2640 start script

Urgent handler
sapi_ast_send_headers
Urgent handler
sapi_ast_ub_write: Blasting off in 10 seconds.

Urgent handler
sapi_ast_flush
Urgent handler
sapi_ast_error_handler
Urgent handler
sapi_ast_ub_write: Blasting off in 4 seconds.

sapi_ast_flush
sapi_ast_error_handler
Urgent handler
sapi_ast_ub_write: Blasting off in 9 seconds.

sapi_ast_flush
sapi_ast_error_handler
Urgent handler
sapi_ast_ub_write: Blasting off in 3 seconds.

Urgent handler
sapi_ast_flush
Urgent handler
sapi_ast_error_handler
Urgent handler
sapi_ast_ub_write: Blasting off in 8 seconds.

sapi_ast_flush
sapi_ast_error_handler
Urgent handler
sapi_ast_ub_write: Blasting off in 2 seconds.

Urgent handler
sapi_ast_flush
Urgent handler
sapi_ast_error_handler
Urgent handler
sapi_ast_ub_write: Blasting off in 7 seconds.

sapi_ast_flush
sapi_ast_error_handler
Urgent handler
sapi_ast_ub_write: Blasting off in 1 seconds.

Urgent handler
sapi_ast_flush
Urgent handler
sapi_ast_error_handler
Urgent handler
sapi_ast_ub_write: Blasting off in 6 seconds.

sapi_ast_flush
sapi_ast_error_handler
Urgent handler
Urgent handler
sapi_ast_ub_write: Blast off!

Urgent handler
sapi_ast_flush
Urgent handler
sapi_ast_error_handler
Urgent handler
SIP/24.223.0.9-095c2640 end script

Urgent handler
sapi_ast_read_post
Urgent handler
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_vm_execute.h(166) :  Freeing 0x095D140C (16 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_opcode.c(354) :  Freeing 0x095C1C2C (2356 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_operators.h(194) :  Freeing 0x095C5354 (9 bytes), script=-
Last leak repeated 2 times
Zend/zend_language_scanner.c(4835) :  Freeing 0x095C5224 (13 bytes), script=-
Zend/zend_language_scanner.c(5048) :  Freeing 0x095C51EC (2 bytes), script=-
Last leak repeated 4 times
Zend/zend_language_scanner.c(4697) :  Freeing 0x095C5174 (9 bytes), script=-
Last leak repeated 3 times
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_opcode.c(306) :  Freeing 0x095C50CC (12 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_compile.c(248) :  Freeing 0x095C4FDC (192 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_hash.c(242) :  Freeing 0x095C1BC4 (49 bytes), script=-
Last leak repeated 70 times
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_compile.c(194) :  Freeing 0x09587D0C (14 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_vm_execute.h(1700) :  Freeing 0x095BDB1C (16 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_hash.c(307) :  Freeing 0x095BDA84 (37 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_execute.c(779) :  Freeing 0x095BD8EC (16 bytes), script=-
Zend/zend_language_scanner.c(3136) :  Freeing 0x095BD7EC (140 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/ext/spl/php_spl.c(567) :  Freeing 0x095BD744 (14 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/ext/standard/basic_functions.c(1169) :  Freeing 0x095BD6F4 (32 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_hash.c(169) : Actual location (location was relayed)
/home/david/intertech/res_php/php-5.1.0b2/main/php_variables.c(778) :  Freeing 0x095BD43C (32 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_hash.c(169) : Actual location (location was relayed)
Last leak repeated 1 time
/home/david/intertech/res_php/php-5.1.0b2/main/php_variables.c(777) :  Freeing 0x095BD39C (16 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/main/php_variables.c(692) :  Freeing 0x095BCF6C (32 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_hash.c(169) : Actual location (location was relayed)
Last leak repeated 1 time
/home/david/intertech/res_php/php-5.1.0b2/main/php_variables.c(691) :  Freeing 0x095BCECC (16 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/main/php_variables.c(463) :  Freeing 0x095BCDDC (16 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/main/php_variables.c(415) :  Freeing 0x095BCD8C (32 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_hash.c(169) : Actual location (location was relayed)
Last leak repeated 1 time
/home/david/intertech/res_php/php-5.1.0b2/main/php_variables.c(414) :  Freeing 0x095BCC7C (16 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/main/php_variables.c(179) :  Freeing 0x095BCBD4 (16 bytes), script=-
Last leak repeated 52 times
/home/david/intertech/res_php/php-5.1.0b2/main/php_variables.c(53) :  Freeing 0x095BCAD4 (19 bytes), script=-
Last leak repeated 51 times
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_opcode.c(63) :  Freeing 0x095BC28C (4 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_hash.c(417) :  Freeing 0x095BC19C (128 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_hash.c(169) : Actual location (location was relayed)
Last leak repeated 1 time
Zend/zend_language_scanner.c(4681) :  Freeing 0x095BBF34 (2 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_llist.c(39) :  Freeing 0x095BAF24 (23 bytes), script=-
Last leak repeated 1 time
/home/david/intertech/res_php/php-5.1.0b2/main/SAPI.c(559) :  Freeing 0x09587C64 (14 bytes), script=-
Last leak repeated 1 time
/home/david/intertech/res_php/php-5.1.0b2/main/php_variables.c(513) :  Freeing 0x095BAE74 (44 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_API.c(690) : Actual location (location was relayed)
/home/david/intertech/res_php/php-5.1.0b2/main/php_variables.c(512) :  Freeing 0x095BAE34 (16 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/main/php_variables.c(256) :  Freeing 0x095BADE4 (32 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_hash.c(169) : Actual location (location was relayed)
Last leak repeated 3 times
/home/david/intertech/res_php/php-5.1.0b2/main/php_variables.c(255) :  Freeing 0x095BAD44 (16 bytes), script=-
Last leak repeated 1 time
/home/david/intertech/res_php/php-5.1.0b2/main/php_variables.c(749) :  Freeing 0x095B924C (44 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_API.c(690) : Actual location (location was relayed)
/home/david/intertech/res_php/php-5.1.0b2/main/php_variables.c(748) :  Freeing 0x09587194 (16 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_objects_API.c(32) :  Freeing 0x095B321C (24576 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_ptr_stack.c(30) :  Freeing 0x095B30EC (256 bytes), script=-
Last leak repeated 3 times
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_stack.c(28) :  Freeing 0x095B2E8C (256 bytes), script=-
Last leak repeated 7 times
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_execute_API.c(162) :  Freeing 0x094D9304 (32 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_hash.c(169) : Actual location (location was relayed)
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_execute_API.c(146) :  Freeing 0x095B2D5C (256 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_hash.c(169) : Actual location (location was relayed)
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_compile.c(159) :  Freeing 0x09587674 (32 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_hash.c(169) : Actual location (location was relayed)
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_list.c(223) :  Freeing 0x0953065C (32 bytes), script=-
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_hash.c(169) : Actual location (location was relayed)
/home/david/intertech/res_php/php-5.1.0b2/Zend/zend_execute_API.c(150) :  Freeing 0x094DBE94 (16 bytes), script=-
=== Total 246 memory leaks detected ===
SIP/24.223.0.9-095ac028 completed

Urgent handler
SIP/24.223.0.9-095ac028 ended

Urgent handler
[Thread -1239848016 (zombie) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1241949264 (LWP 30467)]
0x010d3f72 in zend_do_fcall_common_helper_SPEC (execute_data=0xb5f8e4a4)
    at /home/david/intertech/res_php/php-5.1.0b2/Zend/zend_vm_execute.h:190
190                     EX_T(opline->result.u.var).var.ptr->is_ref = 0;
(gdb) quit
The program is running.  Exit anyway? (y or n) y