Re: Clean Cake 1.1 sigfaults apache2

2007-11-14 Thread MaxDao
It segfaults in object.php on line 67, on call_user_func_array();https://trac.cakephp.org/browser/trunk/cake/ 1.1.x.x/cake/libs/object.php#L61 When I put die() before this line apache does not segfaults, and if I put after this line it does segfaults. However according to traces next call is test-

Re: Clean Cake 1.1 sigfaults apache2

2007-11-14 Thread MaxDao
no, session.save_handler = files in my case. Anyway thanks for replay. On Nov 9, 12:33 am, "Howard Glynn" <[EMAIL PROTECTED]> wrote: > You're not running > session.save_handler = mm > in your php.ini are you? I changed this on a production server the other day > to try and eek out extra perfor

Re: Clean Cake 1.1 sigfaults apache2

2007-11-08 Thread francky06l
on Solaris .. do you work directly on Solaris or you FTP files working on other platforms for editing ? On Nov 8, 11:33 pm, "Howard Glynn" <[EMAIL PROTECTED]> wrote: > You're not running > session.save_handler = mm > in your php.ini are you? I changed this on a production server the other day >

Re: Clean Cake 1.1 sigfaults apache2

2007-11-08 Thread Howard Glynn
You're not running session.save_handler = mm in your php.ini are you? I changed this on a production server the other day to try and eek out extra performance after reading a blog on performance and for the first time ever I got seg fault (11) errors every few hours - httpd crashed. I changed bac

Re: Clean Cake 1.1 sigfaults apache2

2007-11-08 Thread AD7six
On Nov 7, 4:14 pm, MaxDao <[EMAIL PROTECTED]> wrote: > No I don't have Zend accelerator, neither Zend optimizer installed. > > >From extensions that are not bundled with php I have only xdebug 1.3 > > Look's like I can't run cake on my primary stage server..sad. ... so which php call is causing

Re: Clean Cake 1.1 sigfaults apache2

2007-11-07 Thread MrTufty
I've seen this happen myself - do you have anything like Zend Accelerator installed? I can't think what was causing it on my test system (it was months ago, before I migrated to the fertile grounds of 1.2 development). On Nov 7, 2:22 pm, MaxDao <[EMAIL PROTECTED]> wrote: > Ok, I tried, it. In mod

Re: Clean Cake 1.1 sigfaults apache2

2007-11-07 Thread MaxDao
No I don't have Zend accelerator, neither Zend optimizer installed. >From extensions that are not bundled with php I have only xdebug 1.3 Look's like I can't run cake on my primary stage server..sad. On Nov 7, 5:05 pm, MrTufty <[EMAIL PROTECTED]> wrote: > I've seen this happen myself - do you h

Re: Clean Cake 1.1 sigfaults apache2

2007-11-07 Thread MaxDao
Ok, I tried, it. In model method (model_php4.php) when I put die() on the fist line of the __construct(); - it still gives segfault. However model extends object. On the object constructor object() I tried die string from first line to last - every time I have segfault, now I think I've stuck in

Re: Clean Cake 1.1 sigfaults apache2

2007-11-07 Thread AD7six
On Nov 7, 9:41 am, MaxDao <[EMAIL PROTECTED]> wrote: > Maybe I gave to you wrong link to file. > I stopped on this string: > > $model =&new $this->modelClass($id); > > Where $this->modelClass is "Test" in my case. And code of this class > you can see in my prev. post. Yeah that's the line. and

Re: Clean Cake 1.1 sigfaults apache2

2007-11-07 Thread MaxDao
Maybe I gave to you wrong link to file. I stopped on this string: $model =&new $this->modelClass($id); Where $this->modelClass is "Test" in my case. And code of this class you can see in my prev. post. Regards, Maxim On Nov 6, 4:54 pm, AD7six <[EMAIL PROTECTED]> wrote: > On Nov 6, 3:31 pm, Ma

Re: Clean Cake 1.1 sigfaults apache2

2007-11-06 Thread AD7six
On Nov 6, 3:31 pm, MaxDao <[EMAIL PROTECTED]> wrote: > AD, this example (test class) that IS the code is I'm debuggind, where > can it be more deep? The line of code you have stopped on is a call to a method. go into it. hth, AD --~--~-~--~~~---~--~~ You rece

Re: Clean Cake 1.1 sigfaults apache2

2007-11-06 Thread MaxDao
AD, this example (test class) that IS the code is I'm debuggind, where can it be more deep? On Nov 6, 2:44 pm, AD7six <[EMAIL PROTECTED]> wrote: > On Nov 6, 12:55 pm, MaxDao <[EMAIL PROTECTED]> wrote: > > > I came with die(__LINE__ . '-' . __FILE__); thru dispatcher code, and > > found place wher

Re: Clean Cake 1.1 sigfaults apache2

2007-11-06 Thread AD7six
On Nov 6, 12:55 pm, MaxDao <[EMAIL PROTECTED]> wrote: > I came with die(__LINE__ . '-' . __FILE__); thru dispatcher code, and > found place where apache segfauls: > > https://trac.cakephp.org/browser/trunk/cake/1.1.x.x/cake/libs/control... > > Very strange.. I have many OPP code and it works jus

Re: Clean Cake 1.1 sigfaults apache2

2007-11-06 Thread MaxDao
I came with die(__LINE__ . '-' . __FILE__); thru dispatcher code, and found place where apache segfauls: https://trac.cakephp.org/browser/trunk/cake/1.1.x.x/cake/libs/controller/controller.php#L308 Very strange.. I have many OPP code and it works just great. Here is code of my test model: An

Re: Clean Cake 1.1 sigfaults apache2

2007-11-06 Thread AD7six
On Nov 6, 10:49 am, MaxDao <[EMAIL PROTECTED]> wrote: > AD, this happens even in empty controller with just empty index() > method inside it. > Where should I try to put log code? How about on any line of code that is executed. Hint: stuff in the cake folder (would you believe it!) gets execute

Re: Clean Cake 1.1 sigfaults apache2

2007-11-06 Thread MaxDao
AD, this happens even in empty controller with just empty index() method inside it. Where should I try to put log code? Also this is not always happens but its very often. (80% cases) On Nov 6, 11:18 am, AD7six <[EMAIL PROTECTED]> wrote: > On Nov 6, 9:55 am, MaxDao <[EMAIL PROTECTED]> wrote: >

Re: Clean Cake 1.1 sigfaults apache2

2007-11-06 Thread AD7six
On Nov 6, 9:55 am, MaxDao <[EMAIL PROTECTED]> wrote: > I'v tried it on php 4.4.7 (Gentoo) and 4.4.8_pre (Updated from > portage) - same thing. > Mysql is 5.0.44 (same thing was on 4.1.x mysql branch) > > This code works well on my windows PC with php5, but I badly need it > to run on my server.

Re: Clean Cake 1.1 sigfaults apache2

2007-11-06 Thread MaxDao
I'v tried it on php 4.4.7 (Gentoo) and 4.4.8_pre (Updated from portage) - same thing. Mysql is 5.0.44 (same thing was on 4.1.x mysql branch) This code works well on my windows PC with php5, but I badly need it to run on my server. I will appreciate any help. On Nov 5, 2:59 pm, Felix Geisendörfe

Re: Clean Cake 1.1 sigfaults apache2

2007-11-05 Thread Felix Geisendörfer
Hey MaxDao, what PHP version are you on? -- Felix -- Blogger: http://www.thinkingphp.org/ Entrepreneur: http://www.posttask.com/ /-- currently in private beta, ask me for invite / password/ Freelancer: http://www.fg-webdesign.de/ AIM:theundefined87 Skype: TimeFor23

Clean Cake 1.1 sigfaults apache2

2007-11-05 Thread MaxDao
Hello, In my installation of cake I have created model class. And access page cake cases "[Mon Nov 05 14:09:10 2007] [notice] child pid 10406 exit signal Segmentation fault (11)" If i put $var useTable = false; to my model class it works well. Can anyone help me debugging this issue? I have t