[Bug 1198882] [NEW] __toString() which stores $this reference triggers segfault

2013-07-08 Thread Алексей
Public bug reported:

Bug described on https://bugs.php.net/bug.php?id=60701 not fixes in current 
version. 
Code as 
a = $this;
return 'waa?';
}
}

$a = new A;
echo trim($a);
echo trim($a->a);

?>
crashes in CLI, and run as php mod in apache

** Affects: php5 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1198882

Title:
  __toString() which stores $this reference triggers segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1198882/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1198882] Re: __toString() which stores $this reference triggers segfault

2013-07-09 Thread Алексей
** Description changed:

- Bug described on https://bugs.php.net/bug.php?id=60701 not fixes in current 
version. 
- Code as 
+  ProblemType: Package
+  DistroRelease: Ubuntu 12.04
+  Package: php5
+ Code as
  a = $this;
- return 'waa?';
- }
+ public $a;
+ public function __toString()
+ {
+ $this->a = $this;
+ return 'waa?';
+ }
  }
  
  $a = new A;
  echo trim($a);
  echo trim($a->a);
  
  ?>
  crashes in CLI, and run as php mod in apache

** Description changed:

-  ProblemType: Package
-  DistroRelease: Ubuntu 12.04
-  Package: php5
+ DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"
+ php --version
+ PHP 5.3.10-1ubuntu3.6 with Suhosin-Patch 
+ 
  Code as
  a = $this;
  return 'waa?';
  }
  }
  
  $a = new A;
  echo trim($a);
  echo trim($a->a);
  
  ?>
  crashes in CLI, and run as php mod in apache

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1198882

Title:
  __toString() which stores $this reference triggers segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1198882/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1198882] Re: __toString() which stores $this reference triggers segfault

2013-08-01 Thread Алексей
Yes, it problem fixed in 5.3.27 
I uploaded build php 5.3.27 in https://launchpad.net/~rip84/+archive/php5, but 
not sure, what did the right thing. Script work fine in this build. I will test 
today project, which contains a more complex code causing an error.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1198882

Title:
  __toString() which stores $this reference triggers segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1198882/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1445456] [NEW] sgdisk return 0 if nonGPT partition style (must return 3)

2015-04-17 Thread Алексей
Public bug reported:

Package: gdisk

Bin: sgdisk

gdisk:
  Installed: 0.8.1-1build1
  Candidate: 0.8.1-1build1
  Version table:
 *** 0.8.1-1build1 0
500 http://mirror.yandex.ru/ubuntu/ precise/universe amd64 Packages
100 /var/lib/dpkg/status

System:
Description:Ubuntu 12.04 LTS
Release:12.04

As described here 
http://sourceforge.net/p/gptfdisk/code/ci/master/tree/sgdisk.8 (sgdisk):
.TP 
.B 3
Non\-GPT disk detected and no \fI\-g\fR option

But if we run:
sgdisk -b ~/test.dump /dev/sda ; echo $?

where sda has MBR, no GPT, we get ec = 0.
Here is example of fix:
https://github.com/kini/gptfdisk/compare/master...overquota:master
(need "saveData = 1;" in case 'b' for check condition and return 3 worked then)

Also there fix of make errors, when compiling on ubuntu precise
(#include  in diskio-unix.cc) - I don't know, maybe it's not
necessary in upstream, i just couldn't build bin file without it

Could this be fixed in gdisk?
We have this problem in precise, but in newer packages problem exists too.

** Affects: gdisk (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1445456

Title:
  sgdisk return 0 if nonGPT partition style (must return 3)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdisk/+bug/1445456/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1445456] Re: sgdisk return 0 if nonGPT partition style (must return 3)

2015-04-17 Thread Алексей
** Description changed:

  Package: gdisk
  
  Bin: sgdisk
  
  gdisk:
-   Installed: 0.8.1-1build1
-   Candidate: 0.8.1-1build1
-   Version table:
-  *** 0.8.1-1build1 0
- 500 http://mirror.yandex.ru/ubuntu/ precise/universe amd64 Packages
- 100 /var/lib/dpkg/status
+   Installed: 0.8.1-1build1
+   Candidate: 0.8.1-1build1
+   Version table:
+  *** 0.8.1-1build1 0
+ 500 http://mirror.yandex.ru/ubuntu/ precise/universe amd64 Packages
+ 100 /var/lib/dpkg/status
  
  System:
  Description:  Ubuntu 12.04 LTS
  Release:  12.04
  
- As described here 
http://sourceforge.net/p/gptfdisk/code/ci/master/tree/sgdisk.8 (sgdisk):
- .TP 
+ As described here 
http://sourceforge.net/p/gptfdisk/code/ci/master/tree/sgdisk.8 (sgdisk) (Return 
values):
+ .TP
  .B 3
  Non\-GPT disk detected and no \fI\-g\fR option
  
  But if we run:
  sgdisk -b ~/test.dump /dev/sda ; echo $?
  
  where sda has MBR, no GPT, we get ec = 0.
  Here is example of fix:
  https://github.com/kini/gptfdisk/compare/master...overquota:master
  (need "saveData = 1;" in case 'b' for check condition and return 3 worked 
then)
  
  Also there fix of make errors, when compiling on ubuntu precise
  (#include  in diskio-unix.cc) - I don't know, maybe it's not
  necessary in upstream, i just couldn't build bin file without it
  
  Could this be fixed in gdisk?
  We have this problem in precise, but in newer packages problem exists too.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1445456

Title:
  sgdisk return 0 if nonGPT partition style (must return 3)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdisk/+bug/1445456/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1445456] Re: sgdisk return 0 if nonGPT partition style (must return 3)

2015-04-20 Thread Алексей
wroted email to rodsmith@ (maintainer of source code). Can't make pull
request on sourceforge - some problems with registration (seems it
broken)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to gdisk in Ubuntu.
https://bugs.launchpad.net/bugs/1445456

Title:
  sgdisk return 0 if nonGPT partition style (must return 3)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdisk/+bug/1445456/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs