[Geany] Crash on some php files (opensolaris)
Andras Barna
andras.barna at xxxxx
Tue Apr 22 13:56:42 UTC 2008
here's:
bash-3.2$ ./ctags /var/apache2/2.2/htdocs/adduseraction.php
bash-3.2$ cat tags
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert at users.sourceforge.net/
!_TAG_PROGRAM_NAME Exuberant Ctags //
!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
!_TAG_PROGRAM_VERSION 5.6b1 //
admin /var/apache2/2.2/htdocs/adduseraction.php /^$admin =
$_POST['admin'];$/;" v
companyid /var/apache2/2.2/htdocs/adduseraction.php /^$companyid =
$_POST['companyid'];$/;" v
email /var/apache2/2.2/htdocs/adduseraction.php /^$email =
$_POST['email'];$/;" v
name /var/apache2/2.2/htdocs/adduseraction.php /^$name = $_POST['name'];$/;" v
parola /var/apache2/2.2/htdocs/adduseraction.php /^$parola =
sha1($_POST['parola']);$/;" v
query /var/apache2/2.2/htdocs/adduseraction.php /^$query = "INSERT
INTO users(username,parola,name,email,companyid,registred,admin)
VALUE('$username','$parola','$name','$email','$companyid','$registred','$admin')";$/;" v
registred /var/apache2/2.2/htdocs/adduseraction.php /^$registred =
date("Ymd");$/;" v
results /var/apache2/2.2/htdocs/adduseraction.php /^$results =
mysql_query($query);$/;" v
rowcount /var/apache2/2.2/htdocs/adduseraction.php /^$rowcount =
mysql_affected_rows();$/;" v
username /var/apache2/2.2/htdocs/adduseraction.php /^$username =
$_POST['username'];$/;" v
bash-3.2$
On Tue, Apr 22, 2008 at 3:25 PM, Enrico Tröger <enrico.troeger at uvena.de> wrote:
> On Sun, 20 Apr 2008 02:10:43 +0300, "Andras Barna"
> <andras.barna at gmail.com> wrote:
>
> Hi,
>
> people who didn't read the beginning of the story in IRC might be
> confused about this mail without any additional information ;-).
> So, next time please include a few introducing lines.
>
> I'm a little confused about the backtrace as there are many NILs in the
> function calls which generally shouldn't be.
>
>
> > =>[1] vStringNCatS(string = 0x17, s = 0x8a30fa8
> This is obviously the cause of the crash, as 0x17 is not a valid
> address for a vString object.
> The problem might be somewhere in lregex.c, maybe an incompatibility
> with the regex implementation in OpenSolaris but this is only a wild
> guess.
>
> Could you try the SVN version of CTags (http://ctags.sourceforge.net),
> compile it and then run:
>
> ctags /var/apache2/2.2/htdocs/adduseraction.php
>
> to see whether it also crashes?
> The tagmanager code in Geany is based on CTags, I'm fearing CTags will
> work anyway.
>
> Regards,
> Enrico
>
> --
> Get my GPG key from http://www.uvena.de/pub.asc
>
> _______________________________________________
> Geany mailing list
> Geany at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
>
>
--
Andy
http://blog.sartek.net
More information about the Users
mailing list