|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Can't create tracker items - sementation fault on the server.Hi,
I recently updated my installation from egw 1.2 to 1.4.001. Everything is fine except that I can't create tracker items. On the client side I get no response because a server task crashes: with the following error: "[notice] child pid 24306 exit signal Segmentation fault (11)." (I entered a bug for it, see <http://www.egroupware.org/bugs&tr_id=936>). This is the only function where this problem occurs. There are several other PHP applications running on this server (Drupal, Joomla, phpMyAdmin, Confixx, self created ones, etc.), all without problems. Debian Sarge 2.6.14-2-k7-smp Apache 2.0.54 PHP 4.3.10-21 eAccelerator 0.9.5.1 MySQL 4.1.11 Any idea what could be causing this or how to find out? Thanks, Manfred ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ eGroupWare-developers mailing list eGroupWare-developers@... https://lists.sourceforge.net/lists/listinfo/egroupware-developers |
|
|
Re: Can't create tracker items - sementation fault on the server.Hi Manfred,
only thing you can do is, add error_log() statements to the code, to find out where it crashes. I dont think eGW 1.4 gets lot of testing under php4 anymore. Ralf Manfred Usselmann schrieb: > Hi, > > I recently updated my installation from egw 1.2 to 1.4.001. Everything is > fine except that I can't create tracker items. On the client side I get no > response because a server task crashes: with the following error: "[notice] > child pid 24306 exit signal Segmentation fault (11)." (I entered a bug for > it, see <http://www.egroupware.org/bugs&tr_id=936>). > > This is the only function where this problem occurs. There are several > other PHP applications running on this server (Drupal, Joomla, phpMyAdmin, > Confixx, self created ones, etc.), all without problems. > > Debian Sarge 2.6.14-2-k7-smp > Apache 2.0.54 > PHP 4.3.10-21 > eAccelerator 0.9.5.1 > MySQL 4.1.11 > > Any idea what could be causing this or how to find out? > > Thanks, > Manfred > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > eGroupWare-developers mailing list > eGroupWare-developers@... > https://lists.sourceforge.net/lists/listinfo/egroupware-developers -- Ralf Becker eGroupWare Training & Support ==> http://www.egroupware-support.de Outdoor Unlimited Training GmbH [www.outdoor-training.de] Handelsregister HRB Kaiserslautern 3587 Geschäftsführer Birgit und Ralf Becker Leibnizstr. 17, 67663 Kaiserslautern, Germany Telefon +49 (0)631 31657-0 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ eGroupWare-developers mailing list eGroupWare-developers@... https://lists.sourceforge.net/lists/listinfo/egroupware-developers |
|
|
Re: Can't create tracker items - sementation fault on the server.Hi Ralf,
I did some testing. The crash occurs around line 279 in uitracker: $statis = $this->stati + $this->get_tracker_labels('stati',$tracker); But there is nothing wrong with the code itself in this area. If I comment out part of the code the problem moves. The real strange thing is that I get three crashes for three different Apache child processes. The constructor gets called three times for egroupware/index.php?menuaction=tracker.uitracker.edit whereas it gets called only once for egroupware/index.php?menuaction=tracker.uitracker.index and egroupware/index.php?menuaction=tracker.uitracker.admin. Here is the log with my debug output: - - - - - - - - - - - - - - - - - - - - - - - - [client x.x.x.x] uitracker constructor , referer: ... *) [client x.x.x.x] uitracker edit , referer: ... [client x.x.x.x] before $statis = $this->stati + $this->get_tracker_labels(... , referer: ... [client x.x.x.x] uitracker constructor , referer: ... [client x.x.x.x] uitracker edit , referer: ... [client x.x.x.x] before $statis = $this->stati + $this->get_tracker_labels(... , referer: ... [client x.x.x.x] uitracker constructor , referer: ... [client x.x.x.x] uitracker edit , referer: ... [client x.x.x.x] before $statis = $this->stati + $this->get_tracker_labels(... , referer: ... [Fri Jun 22 09:05:30 2007] [notice] child pid 14840 exit signal Segmentation fault (11) [Fri Jun 22 09:05:30 2007] [notice] child pid 14933 exit signal Segmentation fault (11) [Fri Jun 22 09:05:30 2007] [notice] child pid 14934 exit signal Segmentation fault (11) - - - - - - - - - - - - - - - - - - - - - - - - *) referer is always http://[...]/egroupware/index.php?menuaction=tracker.uitracker.index There is another error_log statement after the line '$statis = $this->stati + $this->get_tracker_labels(...', but this doesn't get executed any more. All three uitrackers are created for one single request from the browser. So there seems to be some kind of race condition I assume. Maybe three different processes are accessing the same session data and thereby destroying each other. Is there any reason why I get three parallel processes for tracker.uitracker.edit? Regards, Manfred On Thu, 21 Jun 2007 11:15:43 +0200 Ralf Becker <RalfBecker@...> wrote: > Hi Manfred, > > only thing you can do is, add error_log() statements to the code, to > find out where it crashes. > > I dont think eGW 1.4 gets lot of testing under php4 anymore. > > Ralf > > Manfred Usselmann schrieb: > > Hi, > > > > I recently updated my installation from egw 1.2 to 1.4.001. > > Everything is fine except that I can't create tracker items. On the > > client side I get no response because a server task crashes: with > > the following error: "[notice] child pid 24306 exit signal > > Segmentation fault (11)." (I entered a bug for it, see > > <http://www.egroupware.org/bugs&tr_id=936>). > > > > This is the only function where this problem occurs. There are > > several other PHP applications running on this server (Drupal, > > Joomla, phpMyAdmin, Confixx, self created ones, etc.), all without > > problems. > > > > Debian Sarge 2.6.14-2-k7-smp > > Apache 2.0.54 > > PHP 4.3.10-21 > > eAccelerator 0.9.5.1 > > MySQL 4.1.11 > > > > Any idea what could be causing this or how to find out? > > > > Thanks, > > Manfred > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > eGroupWare-developers mailing list > > eGroupWare-developers@... > > https://lists.sourceforge.net/lists/listinfo/egroupware-developers > > -- > Ralf Becker > eGroupWare Training & Support ==> http://www.egroupware-support.de > Outdoor Unlimited Training GmbH [www.outdoor-training.de] > Handelsregister HRB Kaiserslautern 3587 > Geschäftsführer Birgit und Ralf Becker > Leibnizstr. 17, 67663 Kaiserslautern, Germany > Telefon +49 (0)631 31657-0 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > eGroupWare-developers mailing list > eGroupWare-developers@... > https://lists.sourceforge.net/lists/listinfo/egroupware-developers ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ eGroupWare-developers mailing list eGroupWare-developers@... https://lists.sourceforge.net/lists/listinfo/egroupware-developers |
|
|
Re: Can't create tracker items - sementation fault on the server.Hi Manfred,
this is exactly as expected :-( To my experience it's not worth an further digging. Only thing you can do is, get your php updated. It's where the problem is. Ralf Manfred Usselmann schrieb: > Hi Ralf, > > I did some testing. The crash occurs around line 279 in uitracker: > > $statis = $this->stati + $this->get_tracker_labels('stati',$tracker); > > But there is nothing wrong with the code itself in this area. If I > comment out part of the code the problem moves. The real strange thing > is that I get three crashes for three different Apache child processes. > The constructor gets called three times for > > egroupware/index.php?menuaction=tracker.uitracker.edit > > whereas it gets called only once for > > egroupware/index.php?menuaction=tracker.uitracker.index and > egroupware/index.php?menuaction=tracker.uitracker.admin. > > Here is the log with my debug output: > - - - - - - - - - - - - - - - - - - - - - - - - > [client x.x.x.x] uitracker constructor , referer: ... *) > [client x.x.x.x] uitracker edit , referer: ... > [client x.x.x.x] before $statis = $this->stati + $this->get_tracker_labels(... , referer: ... > [client x.x.x.x] uitracker constructor , referer: ... > [client x.x.x.x] uitracker edit , referer: ... > [client x.x.x.x] before $statis = $this->stati + $this->get_tracker_labels(... , referer: ... > [client x.x.x.x] uitracker constructor , referer: ... > [client x.x.x.x] uitracker edit , referer: ... > [client x.x.x.x] before $statis = $this->stati + $this->get_tracker_labels(... , referer: ... > [Fri Jun 22 09:05:30 2007] [notice] child pid 14840 exit signal Segmentation fault (11) > [Fri Jun 22 09:05:30 2007] [notice] child pid 14933 exit signal Segmentation fault (11) > [Fri Jun 22 09:05:30 2007] [notice] child pid 14934 exit signal Segmentation fault (11) > - - - - - - - - - - - - - - - - - - - - - - - - > *) referer is always http://[...]/egroupware/index.php?menuaction=tracker.uitracker.index > > There is another error_log statement after the line '$statis = > $this->stati + $this->get_tracker_labels(...', but this doesn't get > executed any more. > > All three uitrackers are created for one single request from the browser. > > So there seems to be some kind of race condition I assume. Maybe three > different processes are accessing the same session data and thereby > destroying each other. > > Is there any reason why I get three parallel processes for tracker.uitracker.edit? > > Regards, > Manfred > > > On Thu, 21 Jun 2007 11:15:43 +0200 > Ralf Becker <RalfBecker@...> wrote: > >> Hi Manfred, >> >> only thing you can do is, add error_log() statements to the code, to >> find out where it crashes. >> >> I dont think eGW 1.4 gets lot of testing under php4 anymore. >> >> Ralf >> >> Manfred Usselmann schrieb: >>> Hi, >>> >>> I recently updated my installation from egw 1.2 to 1.4.001. >>> Everything is fine except that I can't create tracker items. On the >>> client side I get no response because a server task crashes: with >>> the following error: "[notice] child pid 24306 exit signal >>> Segmentation fault (11)." (I entered a bug for it, see >>> <http://www.egroupware.org/bugs&tr_id=936>). >>> >>> This is the only function where this problem occurs. There are >>> several other PHP applications running on this server (Drupal, >>> Joomla, phpMyAdmin, Confixx, self created ones, etc.), all without >>> problems. >>> >>> Debian Sarge 2.6.14-2-k7-smp >>> Apache 2.0.54 >>> PHP 4.3.10-21 >>> eAccelerator 0.9.5.1 >>> MySQL 4.1.11 >>> >>> Any idea what could be causing this or how to find out? >>> >>> Thanks, >>> Manfred >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by DB2 Express >>> Download DB2 Express C - the FREE version of DB2 express and take >>> control of your XML. No limits. Just data. Click to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> _______________________________________________ >>> eGroupWare-developers mailing list >>> eGroupWare-developers@... >>> https://lists.sourceforge.net/lists/listinfo/egroupware-developers >> -- >> Ralf Becker >> eGroupWare Training & Support ==> http://www.egroupware-support.de >> Outdoor Unlimited Training GmbH [www.outdoor-training.de] >> Handelsregister HRB Kaiserslautern 3587 >> Geschäftsführer Birgit und Ralf Becker >> Leibnizstr. 17, 67663 Kaiserslautern, Germany >> Telefon +49 (0)631 31657-0 >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> eGroupWare-developers mailing list >> eGroupWare-developers@... >> https://lists.sourceforge.net/lists/listinfo/egroupware-developers > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > eGroupWare-developers mailing list > eGroupWare-developers@... > https://lists.sourceforge.net/lists/listinfo/egroupware-developers -- Ralf Becker eGroupWare Training & Support ==> http://www.egroupware-support.de Outdoor Unlimited Training GmbH [www.outdoor-training.de] Handelsregister HRB Kaiserslautern 3587 Geschäftsführer Birgit und Ralf Becker Leibnizstr. 17, 67663 Kaiserslautern, Germany Telefon +49 (0)631 31657-0 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ eGroupWare-developers mailing list eGroupWare-developers@... https://lists.sourceforge.net/lists/listinfo/egroupware-developers |
|
|
Re: Can't create tracker items - sementation fault on the server.Hi.
Ralph do you remember we had similar problems, we are getting no more this problems, we don't have updated our php installation. We have solved by revising the tracker permissions and the members of technicians groups we notice that if you add some permissions to the all or the non anonymous column and also to the Assigned to or New or Technicians the application gives errors. you could see my posts about tracker permissions You insist in that this are php errors, but hte reality is that there seem to be some bug in the code, because it is getting miscofigured arrays and this is causing the segmentation fault. (and some strange strings in the tracker main window like searching for "float" or searching for "tr_id"), etc Hope this helps |
|
|
Re: Can't create tracker items - sementation fault on the server.Hi,
at least the problem goes away if I comment out in uitracker $readonlys = $this->readonlys_from_acl(); or the following line from uitracker.readonlys_from_acl() $readonlys[$name] = !$this->check_rights($rigths); or in botracker.check_rights from the line "if ($needed & TRACKER_ADMIN && $this->is_admin($tracker) )" && $this->is_admin($tracker) or in botracker.is_admin $admins =& $this->get_staff($tracker,0,false); or in botracker.&get_staff all lines before // split users and groups and resolve the groups into there users except '$staff = array();' So it looks like something is going wrong in get_staff when its called via the path uitracker.readonlys_from_acl() botracker.check_rights() botracker.is_admin() Unfortunately I have not been able to find out what exactly the problem is so far. Regards, Manfred --On Freitag, 22. Juni 2007 02:29 -0700 clorenzo <clmates@...> wrote: > > Hi. > > > Ralf Becker-3 wrote: >> >> Hi Manfred, >> >> this is exactly as expected :-( >> >> To my experience it's not worth an further digging. Only thing you can >> do is, get your php updated. It's where the problem is. >> > > Ralph do you remember we had similar problems, we are getting no more this > problems, we don't have updated our php installation. > > We have solved by revising the tracker permissions and the members of > technicians groups > > we notice that if you add some permissions to the all or the non anonymous > column and also to the Assigned to or New or Technicians the application > gives errors. > > you could see my posts about tracker permissions > > You insist in that this are php errors, but hte reality is that there seem > to be some bug in the code, because it is getting miscofigured arrays and > this is causing the segmentation fault. (and some strange strings in the > tracker main window like searching for "float" or searching for "tr_id"), > etc > > Hope this helps > > > > > > -- > View this message in context: > http://www.nabble.com/Can%27t-create-tracker-items---sementation-fault-on > -the-server.-tf3957229s3741.html#a11248929 Sent from the > egroupware-developers mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > eGroupWare-developers mailing list > eGroupWare-developers@... > https://lists.sourceforge.net/lists/listinfo/egroupware-developers ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ eGroupWare-developers mailing list eGroupWare-developers@... https://lists.sourceforge.net/lists/listinfo/egroupware-developers |
| Free Forum Powered by Nabble | Forum Help |