Hi
I have a problem with 0.9 on debian with PHP 5.2.0-8+etch1
I got Segmentation fault from weathermap but the same configuration is working on 0.82
I try it from the web and by running ./weathermap from cli
I will send you all the debug and configuration in private message
Thanks
[SOLVED] Segmentation fault with 0.9
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Segmentation fault with 0.9
I've reproduced this (I think) in Ubuntu Edgy Eft (based on Debian). I think it's now fixed. It's actually a one-liner - search Weathermap.class.php for the one occurence of ImageAlphaBlending, and remove the '#' comment marker from the front of that line. Why that stops php crashing, and why only on Debian, I have no idea.moonman wrote:Hi
I have a problem with 0.9 on debian with PHP 5.2.0-8+etch1
I got Segmentation fault from weathermap but the same configuration is working on 0.82
I try it from the web and by running ./weathermap from cli
I will send you all the debug and configuration in private message
Thanks
I will probably try and get 0.9pre2 out today, as that's the last of the bugs I know about.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Segmentation fault with 0.9
Or not. That introduces a rendering issue with some GD and truetype fonts now.Howie wrote:I will probably try and get 0.9pre2 out today, as that's the last of the bugs I know about.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
OK. It's a GD bug. It's documented here: http://bugs.libgd.org/4, and the reason it affects Debian is that Debian links to the system GD (version 2.0.33) not the built-in PHP one (2.0.28ish). For whatever reason, the problems aren't present in the PHP GD library, which has a different alpha-blending implementation as far as I can see from the docs.
My Windows and FreeBSD systems both use the built-in GD.
The bugs are apparently fixed in GD 2.0.34, which has been released and is in Debian unstable, if I understand Debian's release engineering website correctly.
In other words... SEP
My Windows and FreeBSD systems both use the built-in GD.
The bugs are apparently fixed in GD 2.0.34, which has been released and is in Debian unstable, if I understand Debian's release engineering website correctly.
In other words... SEP
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Who is online
Users browsing this forum: No registered users and 0 guests