News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Constant Random Crashing

Started by kip, August 27, 2006, 10:01:22 PM

Previous topic - Next topic

kip

That is a very good point indeed. I have the problem on my dual core laptop as well.

Kip

Encryptor

I have the same problem on my dual-core CPU.

kip

I think we have found a pattern.

Kip

mandrav

Quote from: kip on September 06, 2006, 04:16:20 AM
I think we have found a pattern.

Kip

Good thing that you reported it to the cairo people, Kip. Let's hope now that they can fix this bug (although something tells me none of them owns a dual-core cpu...).
Be patient!
This bug will be fixed soon...

kip

You're probably right. None of them seem to be able to reproduce it. I've compiled latest from source and still the problem continues. I have a feeling that nobody is going to take this bug seriously though until it starts annoying one of the primary developers. I've done so much of the work already for them:

https://bugs.freedesktop.org/show_bug.cgi?id=8104

Kip

mandrav

Few more questions:

Does this happen only with C::B?
Do you have any other wx-based apps?
Did you try to change the system font?
Be patient!
This bug will be fixed soon...

kip

I'd try it with other apps, but I think just about everything on this system uses GTK. So I can't try it with other apps. But I have heard of the same problem having on the Win32 build as well. If you look at the bug report, I think I've narrowed it down to a specific font - but I am not sure. I really don't know much about libcairo or even what it's for.

Kip

Encryptor

#22
Just a note:
I am using Sans Serif 9 for General Font and Monospace 9 for Fixed Width.
I changed General Font to Arial 9 and Fixed Width font to Courier new 9, and C::B still crashed when trying to save main.cpp. It gave the same libcairo error.

kip

Encryptor, are you on Win32?

I have changed my fonts around in Code::Blocks and to no avail.

This bug is a real challenge and it will feel great when it is squashed.

Kip

Encryptor

No, I am using Ubuntu Linux 6.06.1

crzysdrs

I am also seeing this issue, Gentoo Linux. I coincidentally also have a dual core system. This cairo bug makes code blocks completely unusable due to the consistency of crashes.

mandrav

I think we can now safely attribute this bug to libcairo on dual core CPUs...
I know this doesn't make you feel any better, but at least it will be a starting point when the libcairo devs decide to look into it. I will try to nag them a bit...

(I haven't taken out the wx factor though)
Be patient!
This bug will be fixed soon...

kip

I'm glad everyone's acknowledged the bug now. I've been in #cairo on freenode a few times. They are aware of it, but no one seems to care to fix it yet. If everyone who has noted the bug can confirm it with a note here:

https://bugs.freedesktop.org/show_bug.cgi?id=8104

...it may be enough to get the process in motion.

Kip

DrLock

I have posted a few more details to the cairo bug report, this may even be a FreeType problem (It is a FT function that is returning the errors).

In the meantime here is a .deb for AMD64 machines that has the assert() commented out (and debugging printf added).  There is another assert at line 563 that fails once in a while, but I haven't taken it out.

http://www.drlock.com/projects/libcairo2_1.0.4-0ubuntu1_amd64.deb


kip

Thanks DrLock. I've already tried rebuilding with the assert removed. Checkout the bug report and follow the comments. I did some debugging and I think I've narrowed it down to a possible culprit font.

Kip