Author Topic: Constant Random Crashing  (Read 28428 times)

kip

  • Guest
Re: Constant Random Crashing
« Reply #15 on: September 05, 2006, 06:20:25 pm »
That is a very good point indeed. I have the problem on my dual core laptop as well.

Kip

Encryptor

  • Guest
Re: Constant Random Crashing
« Reply #16 on: September 05, 2006, 07:46:11 pm »
I have the same problem on my dual-core CPU.

kip

  • Guest
Re: Constant Random Crashing
« Reply #17 on: September 06, 2006, 04:16:20 am »
I think we have found a pattern.

Kip

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Constant Random Crashing
« Reply #18 on: September 06, 2006, 08:39:25 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

  • Guest
Re: Constant Random Crashing
« Reply #19 on: September 06, 2006, 09:06:59 am »
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

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Constant Random Crashing
« Reply #20 on: September 06, 2006, 10:03:06 am »
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

  • Guest
Re: Constant Random Crashing
« Reply #21 on: September 07, 2006, 06:43:03 am »
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

  • Guest
Re: Constant Random Crashing
« Reply #22 on: September 07, 2006, 07:14:09 pm »
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.
« Last Edit: September 07, 2006, 07:17:43 pm by Encryptor »

kip

  • Guest
Re: Constant Random Crashing
« Reply #23 on: September 07, 2006, 08:40:10 pm »
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

  • Guest
Re: Constant Random Crashing
« Reply #24 on: September 08, 2006, 01:46:16 am »
No, I am using Ubuntu Linux 6.06.1

Offline crzysdrs

  • Single posting newcomer
  • *
  • Posts: 7
Re: Constant Random Crashing
« Reply #25 on: September 08, 2006, 10:08:09 pm »
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.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Constant Random Crashing
« Reply #26 on: September 08, 2006, 10:39:44 pm »
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

  • Guest
Re: Constant Random Crashing
« Reply #27 on: September 12, 2006, 05:16:15 am »
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

  • Guest
Re: Constant Random Crashing
« Reply #28 on: September 12, 2006, 11:13:07 pm »
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

  • Guest
Re: Constant Random Crashing
« Reply #29 on: September 13, 2006, 05:21:03 am »
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