<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/dbg2/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/dbg2/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 07 Mar 2011 14:24:52 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/dbg2/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>gzread inside a class breakes debuger</title><link>https://sourceforge.net/p/dbg2/bugs/15/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;calling a gzread to read a segment inside a class breaks the debuger AND THE FILE ITSELF!!!! meaning you lose the archive you were working with and all data in it!!!!!!!&lt;/p&gt;
&lt;p&gt;i am using &lt;/p&gt;
&lt;p&gt;Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies&lt;br /&gt;
with DBG v3.9.6, (C) 2000,2010, by Dmitri Dmitrienko&lt;/p&gt;
&lt;p&gt;with ubuntu OPS&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sinisa Culic</dc:creator><pubDate>Mon, 07 Mar 2011 14:24:52 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net257dab936912ac75c12a58aa98f0bf62e16bae87</guid></item><item><title>Missing includes with GCC 4.3 (fix included)</title><link>https://sourceforge.net/p/dbg2/bugs/14/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;GCC 4.3 has apparently changed some of the #includes of its standard libraries, which requires adding a few more explicit includes to DBG's sources. I've attached an archive of those files which are affected, updated appropriately. I've also put in some conditional includes to make PATH_MAX work on Linux. If you're having compilation problems for dbg-cli then try replacing some of the 2.15.5 source files with these counterparts. Worked for me on Fedora 11, x86.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Warbothong</dc:creator><pubDate>Fri, 15 Oct 2010 13:56:47 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netd8a94674b58c8a24862d187262b09c4e1028a1dd</guid></item><item><title>Vanilla Ubuntu x64 10.04 Installation</title><link>https://sourceforge.net/p/dbg2/bugs/13/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This is my first bug submission so I hope I am doing this correctly:&lt;/p&gt;
&lt;p&gt;Steps to recreate:&lt;br /&gt;
1) Downloaded Ubuntu Server x64 10.04&lt;br /&gt;
2) Did a vanilla install without adding any services&lt;br /&gt;
3) Installed all the required packages : apache2 php php5-dev php-config apache2 mysql5 etc etc etc&lt;br /&gt;
4) ./configure --enable-dbg=shared --with-dbg-profiler --with-php-config=/usr/bin/php-config --prefix=/usr/lib/php5/20090626&lt;br /&gt;
5) make&lt;/p&gt;
&lt;p&gt;See attached for compile log. I've followed these same steps on several versions of Ubuntu in the past with no issues.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris Landress</dc:creator><pubDate>Fri, 30 Apr 2010 22:24:27 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net1594ae4feccc9c22a38a99ad357637f1da1b776f</guid></item><item><title>DBG does not find HTTP_SERVER_VARS in &amp;EG(symbol_table)</title><link>https://sourceforge.net/p/dbg2/bugs/12/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, dmdmitry, don't know, if you're still using the tracker as the last bug report is from 2004, but I'll try here first before using the NuSphere forums.&lt;/p&gt;
&lt;p&gt;My webserver is Apache/2.2.0 with a stock OpenSuSE PHP 5.1.2 running on an OpenSuSE Linux 10.1 kernel 2.6.16.27-0.6-smp&lt;/p&gt;
&lt;p&gt;I'm trying to remote debug with a win 2000 client.&lt;/p&gt;
&lt;p&gt;I tested this with a self compiled DBG 2.15.1 as well as with a premade 2.13.1 extension. I even compiled 2.15.1 --with-dbg-trace and added some trace messages of my own to find out a little more about this problem (as I'm not really good with C, that's all I was able to do about it).&lt;/p&gt;
&lt;p&gt;Problem is: DBG always assumes "localhost" as address of the listening client. &lt;/p&gt;
&lt;p&gt;When using an URL in the form of &lt;a href="http://www/dbgtest/debug.php?DBGSESSID=1" rel="nofollow"&gt;http://www/dbgtest/debug.php?DBGSESSID=1&lt;/a&gt;@clienthost:10001 I always get an error "failed to establish connection to client host on localhost:10001", although I'm not connecting from localhost but another host on the network. DBG is working as intended, whenever I replace "clienthost" with the IP address or name of the debugging client.&lt;/p&gt;
&lt;p&gt;DBG recognises the clienthost option in the request in dbg_cmd create_debugger_socket(...) and enters get_redirected_address(...) as it should. &lt;/p&gt;
&lt;p&gt;When DBG tries to get the HTTP_SERVER_VARS with&lt;/p&gt;
&lt;p&gt;rv = zend_hash_find(&amp;amp;EG(symbol_table), "HTTP_SERVER_VARS", sizeof("HTTP_SERVER_VARS"), (void **) &amp;amp;httpvars);&lt;br /&gt;
if (rv != FAILURE &amp;amp;&amp;amp; ((*httpvars)-&amp;gt;type==IS_ARRAY)) {&lt;br /&gt;
...&lt;/p&gt;
&lt;p&gt;it fails and get_redirected_address returns NULL. create_debugger_socket sets DBG(client_address) to "localhost" as a consequence.&lt;/p&gt;
&lt;p&gt;Now the strange thing is, when I check the the Apache Environment with phpinfo() there's no problem: REMOTE_ADDR is set to the address of my debugging client.&lt;/p&gt;
&lt;p&gt;I don't really know if this problem is DBG or Zend related or if another extension might be the problem (although I tested it without loading other extensions at some time). It might be related to &lt;a href="http://support.nusphere.com/viewtopic.php?t=2336" rel="nofollow"&gt;http://support.nusphere.com/viewtopic.php?t=2336&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I'll attach a phpinfo() I created from my debugging host connecting to the server. Please contact me if you need more information or if you have any hints regarding a solution to this problem.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin Grimm</dc:creator><pubDate>Sun, 04 Feb 2007 23:00:54 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net60cee311fc7a2e12071cf3dfeebd0002bedaa1aa</guid></item><item><title>2.11.26 - FreeBSD patches</title><link>https://sourceforge.net/p/dbg2/bugs/11/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Please review the following patches:&lt;/p&gt;
&lt;p&gt;The first includes are to make sure that inet_isaddr&lt;br /&gt;
and gethostbyname are prototyped properly.&lt;br /&gt;
The wcnt is an unused variable (-Wall)&lt;br /&gt;
The last one is a long vs int issue.&lt;/p&gt;
&lt;p&gt;--- dbg_cmd.c.orig      Sat Sep 11 18:46:24 2004&lt;br /&gt;
+++ dbg_cmd.c   Sat Sep 11 18:48:11 2004&lt;br /&gt;
@@ -20,6 +20,12 @@&lt;br /&gt;
#include "dbg_bp.h"&lt;br /&gt;
#include "SAPI.h"&lt;/p&gt;
&lt;p&gt;+#include &amp;lt;sys/types.h&amp;gt;&lt;br /&gt;
+#include &amp;lt;sys/socket.h&amp;gt;&lt;br /&gt;
+#include &amp;lt;netinet/in.h&amp;gt;&lt;br /&gt;
+#include &amp;lt;arpa/inet.h&amp;gt;&lt;br /&gt;
+#include &amp;lt;netdb.h&amp;gt;&lt;br /&gt;
+&lt;br /&gt;
#include "php_network.h"&lt;/p&gt;
&lt;p&gt;@@ -789,7 +795,7 @@&lt;/p&gt;
&lt;p&gt;/* waiting and looking for debugger host responce */&lt;br /&gt;
inline void dbg_ack_loop(TSRMLS_D2(DBG, E)) {&lt;br /&gt;
-       int ret_val = 0, wcnt = 0;&lt;br /&gt;
+       int ret_val = 0;&lt;br /&gt;
dbg_header_struct hdr;&lt;br /&gt;
dbg_packet pack;&lt;/p&gt;
&lt;p&gt;@@ -1102,7 +1108,7 @@&lt;br /&gt;
DBG(req_client_port) =&lt;br /&gt;
atol(numbuf);&lt;br /&gt;
if (DBG(req_client_port) &amp;lt;= 0&lt;br /&gt;
|| DBG(req_client_port) &amp;gt; 32767) DBG(req_client_port) =&lt;br /&gt;
DEFAULT_PORT;&lt;br /&gt;
}&lt;br /&gt;
-               snprintf(reqbuf, sizeof(reqbuf),&lt;br /&gt;
DBGSESSVAR "=%s@%s:%d", DBG(session_id),&lt;br /&gt;
DBG(req_client_ip_address), DBG(req_client_port));&lt;br /&gt;
+               snprintf(reqbuf, sizeof(reqbuf),&lt;br /&gt;
DBGSESSVAR "=%s@%s:%ld", DBG(session_id),&lt;br /&gt;
DBG(req_client_ip_address), DBG(req_client_port));&lt;br /&gt;
DBG(req_sess_var) = estrdup(reqbuf);&lt;br /&gt;
DBG_TRACE(("parsed req IP=%s, PORT=%ld&lt;br /&gt;
(%s), SID=%s\n", SON(DBG(req_client_ip_address)),&lt;br /&gt;
DBG(req_client_port), numbuf, SON(DBG(session_id))));&lt;br /&gt;
} else {&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Edwin Groothuis</dc:creator><pubDate>Sat, 11 Sep 2004 09:19:06 -0000</pubDate><guid isPermaLink="false">https://sourceforge.neteb81df5906dc851a4c7c23934c952f851ee86533</guid></item><item><title>dbg-cli compile error on FreeBSD 5.2.1 RELEASE</title><link>https://sourceforge.net/p/dbg2/bugs/10/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Compile error: &lt;/p&gt;
&lt;p&gt;In file included from main.cpp:38: &lt;br /&gt;
../getopt/getopt.h:108: error: declaration of C function `int getopt()' &lt;br /&gt;
conflicts with &lt;br /&gt;
/usr/include/unistd.h:374: error: previous declaration `int getopt(int, &lt;br /&gt;
char* &lt;br /&gt;
const*, const char*)' here &lt;br /&gt;
*** Error code 1 &lt;/p&gt;
&lt;p&gt;Stop in /usr/home/joey/dbg/dbg-cli-2.11.0/dbg. &lt;br /&gt;
*** Error code 1 &lt;/p&gt;
&lt;p&gt;Stop in /usr/home/joey/dbg/dbg-cli-2.11.0. &lt;br /&gt;
*** Error code 1 &lt;/p&gt;
&lt;p&gt;Stop in /usr/home/joey/dbg/dbg-cli-2.11.0 &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Joseph Mingrone</dc:creator><pubDate>Mon, 02 Aug 2004 20:00:47 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net71d9102fb367e736bed97dcdf90e30255987984c</guid></item><item><title>dbg-cli compile error on Solaris 8</title><link>https://sourceforge.net/p/dbg2/bugs/9/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Attempting to compile the dbg-cli on Solaris 8, gives&lt;br /&gt;
me this compilation error:&lt;/p&gt;
&lt;p&gt;if g++ -DHAVE_CONFIG_H -I. -I. -I.. &lt;br /&gt;
-DDBG_USE_STDALLOCA -I../pcre   -g -O2 -MT&lt;br /&gt;
dbgbase_globals.o -MD -MP -MF ".deps/dbgbase_globals.Tpo" \
-c -o dbgbase_globals.o `test -f&lt;br /&gt;
'dbgbase_globals.cpp' || echo './'`dbgbase_globals.cpp; \
then mv -f ".deps/dbgbase_globals.Tpo"&lt;br /&gt;
".deps/dbgbase_globals.Po"; \
else rm -f ".deps/dbgbase_globals.Tpo"; exit 1; \
fi&lt;br /&gt;
dbgbase_globals.cpp: In function `int&lt;br /&gt;
dbh_create_listen_socket(const char*,&lt;br /&gt;
short unsigned int)':&lt;br /&gt;
dbgbase_globals.cpp:581: error: `INADDR_NONE'&lt;br /&gt;
undeclared (first use this&lt;br /&gt;
function)&lt;br /&gt;
dbgbase_globals.cpp:581: error: (Each undeclared&lt;br /&gt;
identifier is reported only&lt;br /&gt;
once for each function it appears in.)&lt;br /&gt;
dbgbase_globals.cpp: In function `int&lt;br /&gt;
dbh_check_new_client_connect(int,&lt;br /&gt;
sockaddr*, int)':&lt;br /&gt;
dbgbase_globals.cpp:623: error: invalid conversion from&lt;br /&gt;
`int*' to `socklen_t*'&lt;br /&gt;
make[2]: *** [dbgbase_globals.o] Error 1&lt;br /&gt;
make[2]: Leaving directory&lt;br /&gt;
`/export/home/jclift/install/dbg-cli-2.11.0/dbgbase'&lt;br /&gt;
make[1]: *** [all-recursive] Error 1&lt;br /&gt;
make[1]: Leaving directory&lt;br /&gt;
`/export/home/jclift/install/dbg-cli-2.11.0'&lt;br /&gt;
make: *** [all] Error 2&lt;/p&gt;
&lt;p&gt;Using these tools:&lt;/p&gt;
&lt;p&gt;libtool 1.5&lt;br /&gt;
automake 1.7.9&lt;br /&gt;
autoconf 2.58&lt;br /&gt;
gcc 3.3&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;
&lt;p&gt;Regards and best wishes,&lt;/p&gt;
&lt;p&gt;Justin Clift&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin Clift</dc:creator><pubDate>Thu, 15 Jan 2004 08:08:55 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netf7f7e8c1c796039a7fcec06f99208b6a7353440a</guid></item><item><title>line nrs wrong with source files starting with a shebang</title><link>https://sourceforge.net/p/dbg2/bugs/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When a source file starts with a shebang (e.g. #!/usr/local/bin/php -q) the line numbers &lt;br /&gt;
reported by DBG are one too big. This is not the case when the string is moved to col 2&lt;br /&gt;
of the line.&lt;/p&gt;
&lt;p&gt;This almost seems as if it is by design. If it is please define the exact circumstances.&lt;/p&gt;
&lt;p&gt;Experienced using dbg dll ver 2.11.5 for 4.3rc2, PHP4.4-dev on WIN98SE.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sven Schnitzke</dc:creator><pubDate>Tue, 25 Mar 2003 13:31:48 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net8bc5e06fbe2f61455baf56e84a803aab0e5d6208</guid></item><item><title>create_function returns incomplete string</title><link>https://sourceforge.net/p/dbg2/bugs/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When evaluating the expression &amp;amp;quot;create_function('$var', 'return $var*2;') the result should be the&lt;br /&gt;
name of the newly created function (according to PHP docs). DBG returns a string fragment &lt;br /&gt;
instead &amp;amp;gt;s:9:&amp;amp;quot;&amp;amp;lt; .&lt;br /&gt;
I experience that using PHP4-4dev, DBG 2.11.4 (and .5) using php_dbg.dll 4.3rc2 on WIN98SE.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sven Schnitzke</dc:creator><pubDate>Tue, 25 Mar 2003 12:19:02 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net6732a5bf53646a920a15dbd38a279f2e4a63a2e8</guid></item><item><title>PHP give Invalid Page Fault with DBG</title><link>https://sourceforge.net/p/dbg2/bugs/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I am using PHP 4.2.1 on Win98SE&lt;br /&gt;
After installing the 2.11.2 win32 binaries PHP would &lt;br /&gt;
crash with:&lt;/p&gt;
&lt;p&gt;PHP caused an invalid page fault in&lt;br /&gt;
module PHP4TS.DLL at 0167:100a44f1.&lt;br /&gt;
Registers:&lt;br /&gt;
EAX=012b1120 CS=0167 EIP=100a44f1 &lt;br /&gt;
EFLGS=00010202&lt;br /&gt;
EBX=100a44e0 SS=016f ESP=0063fc64 &lt;br /&gt;
EBP=007913bc&lt;br /&gt;
ECX=00000017 DS=016f ESI=01172c38 FS=32df&lt;br /&gt;
EDX=00791330 ES=016f EDI=00760650 GS=0000&lt;br /&gt;
Bytes at CS:EIP:&lt;br /&gt;
8b 3e 85 c0 74 09 8d 4e 08 51 ff d0 83 c4 04 8a &lt;br /&gt;
Stack dump:&lt;br /&gt;
00760650 00760650 00000000 012b1654 &lt;br /&gt;
007913bc 00760650 1010b620 00791630 &lt;br /&gt;
78001d42 012b270b 00760650 00791630 &lt;br /&gt;
1008d003 00000001 0000000c 00760650 &lt;/p&gt;
&lt;p&gt;If I disabled the loading of the dbg extension, &lt;br /&gt;
everything would be fine.  I finally went back to the &lt;br /&gt;
2.11 version and everything is fixed.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;The crash would happen almost immidiately.  At first &lt;br /&gt;
PHP would crash even without any commands:&lt;br /&gt;
C:\&amp;amp;amp;gt;PHP&lt;br /&gt;
&amp;amp;lt;CTRL+Z&amp;amp;gt;&lt;br /&gt;
An Invalid Page Fault would occur...&lt;br /&gt;
Then after a few times of doing this I finally got PHP &lt;br /&gt;
not to crash until I had it output plain HTML text...&lt;br /&gt;
C:&amp;amp;gt;PHP&lt;br /&gt;
Some Test Text&lt;br /&gt;
&amp;amp;lt;CTRL+Z&amp;amp;gt;&lt;br /&gt;
Then it would crash with the exact same IPF&lt;br /&gt;
Then, it would only crash if I used PHP code.&lt;br /&gt;
C:&amp;amp;gt; PHP&lt;br /&gt;
&amp;amp;lt;?php&lt;br /&gt;
phpinfo();&lt;br /&gt;
?&amp;amp;gt;&lt;br /&gt;
This would output all the phpinfo() and then PHP &lt;br /&gt;
would crash with the IPF.&lt;/p&gt;
&lt;p&gt;After going back to the prvious release, everything &lt;br /&gt;
appears okay.&lt;/p&gt;
&lt;p&gt;Thanks for you attention to this matter.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Larry O'Leary</dc:creator><pubDate>Fri, 27 Sep 2002 08:33:14 -0000</pubDate><guid isPermaLink="false">https://sourceforge.neta5ffe93f309523818eba94bb1aa35783665b3f1d</guid></item></channel></rss>