Opened 10 years ago

Last modified 9 years ago

#8129 new defect

libcairo crashes Pidgin on Windows on startup

Reported by: yellowstar Owned by:
Milestone: Component: winpidgin (gtk)
Version: 2.5.4 Keywords: libcairo cairo_scaled_font_text_extents
Cc: thanovia, nitzua, bubatalazi

Description (last modified by deryni)

Libcairo crashes Pidgin on Windows on startup. This happens everytime. Only the Pidgin system tray icon is displayed. The Buddy List is not displayed at the time of the crash, which is abnormal. Now libcairo crashes everytime with 3.5.4 when starting Pidgin. I tried deleting the .purple directory under Application Data under my user directory. That didn't help, and neither did reinstalling 3.5.4. I have the latest GTK installed from the Pidgin 3.5.4 installer. 3.5.3 and the previous versions work fine.

Attachments (12)

pidgin.RPT (20.6 KB) - added by yellowstar 10 years ago.
01-14-2009_20.04.48.35.log (10.1 KB) - added by thanovia 10 years ago.
1.2009_19.20.17,60.log (9.9 KB) - added by Gefrierbrand 10 years ago.
02-03-2009_20.45.59.84.log (9.7 KB) - added by thanovia 10 years ago.
pidgin.2.RPT (4.1 KB) - added by Simple_Sid 10 years ago.
Crashes when trying to initiate a convo. Msn
02-24-2009_23.02.45.39.log (9.7 KB) - added by thanovia 10 years ago.
pidgin.3.RPT (89.5 KB) - added by kentyman 10 years ago.
pidgin355.RPT (6.9 KB) - added by yellowstar 10 years ago.
pidgin.4.RPT (6.9 KB) - added by Yonoz 10 years ago.
pidgin.5.RPT (15.8 KB) - added by jeromatron 10 years ago.
Still happening in 2.5.6
pidgin.6.RPT (2.6 KB) - added by Chowarmaan 10 years ago.
2.5.6 on an Install of the Debug version after removing old version.
debug.log (9.9 KB) - added by Chowarmaan 10 years ago.
Command line: pidgin -d 2>&1 >C:\debug.log

Download all attachments as: .zip

Change History (92)

Changed 10 years ago by yellowstar

comment:1 Changed 10 years ago by thanovia

I'm having what sounds like the same problem. I'm not sure if it's related but from the description my installation is doing the same thing.

Changed 10 years ago by thanovia

comment:2 Changed 10 years ago by datallah

  • Component changed from pidgin (gtk) to winpidgin (gtk)
  • Status changed from new to pending

libcairo appears to be crashing when trying to determine information about a font.

Are you using an unusual/non-default font?

Which fonts are in use by your theme?

If you replace C:\Program Files\Common Files\GTK\2.0\bin\libcairo-2.dll with the one in the bin directory in this zip file does it work any better?

comment:3 Changed 10 years ago by yellowstar

  • Status changed from pending to new

Replacing libcairo-2.dll with the .dll from that zip doesn't fix the crash. I'm using the default theme and font.

comment:4 Changed 10 years ago by datallah

  • Status changed from new to pending

thanovia: You're using an old version of GTK+. Please upgrade to 2.14.6 (from the pidgin SF.NET site).

yellowstar: Did 2.5.3 work? If so, which GTK+ version were you using? Just to clarify, my font question was related to your Windows font setup, not anything related to GTK+ or Pidgin.

comment:5 Changed 10 years ago by yellowstar

  • Status changed from pending to new

I use the GTK version that comes with the Pidgin installers. For 2.5.4, the GTK with the installer and the version I use, is 2.14.6 rev a. For 3.5.3 I also use the included GTK, except the version included is 2.12.12 rev a. I use the WinXP "Inside Your Computer" theme. That theme uses font "Abadi MT Condensed Light". Pidgin 3.5.3 works fine.

comment:6 Changed 10 years ago by deryni

  • Description modified (diff)
  • Summary changed from libcario crashes Pidgin on Windows on startup to libcairo crashes Pidgin on Windows on startup

comment:7 Changed 10 years ago by datallah

Ticket #8152 has been marked as a duplicate of this ticket.

comment:8 Changed 10 years ago by datallah

If you downgrade to GTK+ 2.12.12, does that work when using Pidgin 2.5.4?

comment:9 Changed 10 years ago by yellowstar

When using GTK+ 2.12.12 rev a with Pidgin 2.5.4, no crashes occur. Pidgin and GTK+ work fine with this setup.

comment:10 Changed 10 years ago by datallah

  • Status changed from new to pending

If you reinstall GTK+ 2.14.6 and then copy the contents of the bin directory in this zip file (slightly newer version of Pango) into C:\Program Files\Common Files\GTK\2.0\bin\, replacing any existing files, does this fix the issue?

comment:11 Changed 10 years ago by datallah

A standalone installer for GTK+ 2.14.6 can be found here.

comment:12 Changed 10 years ago by Gefrierbrand

I seems that I have the same Problem. This 2.5.2 worked fine, 2.5.3 and 2.5.4 both crash on startup. Although I use the Debugging Version, now pidgin.rpt file is created. I'm using GTK+ 2.14.7

Changed 10 years ago by Gefrierbrand

comment:13 Changed 10 years ago by datallah

Ticket #8250 has been marked as a duplicate of this ticket.

comment:14 Changed 10 years ago by yellowstar

  • Status changed from pending to new

GTK+ 2.14.6 still crashes, with the updated Pango.

comment:15 Changed 10 years ago by datallah

  • Keywords libcairo cairo_scaled_font_text_extents added; libcario crash startup removed

comment:16 Changed 10 years ago by datallah

Ticket #8281 has been marked as a duplicate of this ticket.

comment:17 Changed 10 years ago by datallah

Ticket #8328 has been marked as a duplicate of this ticket.

comment:18 Changed 10 years ago by thanovia

I'm still having the same problem after updating GTK, trying the font fix, and the pango fix. I've attached another log file.

Changed 10 years ago by thanovia

Changed 10 years ago by Simple_Sid

Crashes when trying to initiate a convo. Msn

comment:19 Changed 10 years ago by Simple_Sid

Ok guys i managed to fix the problem, personally anyways. I was using some Arabic script in my name btw (يعقوب キ) I uninstalled GTK 2.14.6, and then installed 2.12.12, it worked. I then uninstalled 2.12.12 and then ran CCleaner. I then proceeded to reinstall 2.14.6 Seemed to fix the problem, ill be sure to get back to you if something goes wrong.

comment:20 Changed 10 years ago by thanovia

I tried the process and still have the same result except now windows comes up with an error box. Before it would silently die when I hovered over the icon in my system tray. I made another log from trying to run it. Maybe that has something different in it from before.

Changed 10 years ago by thanovia

comment:21 Changed 10 years ago by QuLogic

Ticket #8533 has been marked as a duplicate of this ticket.

comment:22 Changed 10 years ago by datallah

  • Status changed from new to pending

Does this happen with Pidgin 2.5.5 and GTK+ 2.14.7?

If so, please supply a new pidgin.RPT

Changed 10 years ago by kentyman

comment:23 Changed 10 years ago by kentyman

I still see this crash with 2.5.5. The last 3 crashes in the log were with 2.5.5. I think #8328 and #8388 might be related.

comment:24 Changed 10 years ago by datallah

kentyman, your issue is something different and related to something wacky about your fonts.

comment:25 Changed 10 years ago by kentyman

So should #8328 be reopened then? Or if it's related to "Occupants", just use #8388?

Changed 10 years ago by yellowstar

comment:26 Changed 10 years ago by yellowstar

  • Status changed from pending to new

Attachment (pidgin355.RPT) added by ticket reporter.

comment:27 Changed 10 years ago by datallah

Bummer.

comment:28 Changed 10 years ago by datallah

Ticket #8589 has been marked as a duplicate of this ticket.

comment:29 Changed 10 years ago by datallah

Ticket #8674 has been marked as a duplicate of this ticket.

comment:30 Changed 10 years ago by cpommiss

Vista 64. Brand new computer, fresh OS. Pidgin never worked.

Have same issue with 2.5.5 and bundled GTK. Also tried 2.5.5 and 2.5.4 with GTK 2.14.6 and 2.14.7 on both, and still get crash on startup.

Cleaned system, installed 2.5.2 and GTK 2.14.7 from http://downloads.sourceforge.net/gtk-win/gtk2-runtime-2.14.7-2009-01-13-ash.exe?download

Pidgin finally runs, though widgets look Linux-y, still very usable.

comment:31 Changed 10 years ago by cpommiss

Still getting random crashes during conversations with above "workaround".

Changed 10 years ago by Yonoz

comment:32 Changed 10 years ago by datallah

Ticket #9129 has been marked as a duplicate of this ticket.

Changed 10 years ago by jeromatron

Still happening in 2.5.6

comment:33 Changed 10 years ago by jeromatron

Still happening in 2.5.6 - posted my pidgin.RPT file to this ticket.

comment:34 Changed 10 years ago by jeromatron

Seems that crashes come in pairs. I could be running pidgin for a while and it will just crash. Then upon restarting it, it crashes almost immediately. But if I restart a second time, it seems to work fine.

I wonder if, after the crash, restarting it crashes but also clears something out. Then starting it again is successful because of that.

It's pretty predictable for me.

comment:35 Changed 10 years ago by GinoMan2440

This bug has been outstanding for the past 5 months, and it's really getting on my nerves. I'm already not a fan of GTK and Gnome based programs so not that anyone here cares, but this isn't improving my opinions of those libraries. This is ridiculous for an open source project and if I had the debugging and programming experience and expertise, I'd fix it myself and provide a patch. this needs to be fixed... like 4 months 3 weeks ago. This bug should be at the top of the list for 2.5.7. if there is any authoritative personnel here, they need to see to it that this bug is priority number 1 because pidgin is rendered nearly unusable by it. Thank you.

comment:36 Changed 10 years ago by cpommiss

Ditto. I'm so used to Pidgin crashing all the time, but it would be nice to have this fixed. It really is a pain and I don't feel like my computer configuration is abnormal at all (brand new Vista installation on a brand new Dell) which should warrant having to just "deal" with this without anybody really seriously looking into it (which seems to be the case, but I could be wrong).

comment:37 Changed 10 years ago by thanovia

I've had to stop using it for the past 5 months all together because I cannot get it to start. I've removed it, run the clean program and reinstalled GTK, tried downgrading, upgrading, following everyone else's fixes, and it still never starts. Every time this ticket gets touched I try whatever is mentioned in the ticket and try starting it again but so far it has never successfully started in 5 months. I used to really like gaim before it changed names and stopped working. When is it going to work again?

comment:38 Changed 10 years ago by darkrain42

If you reinstall GTK+ 2.14.7 and then copy the contents of the bin directory in this zip file (slightly newer version of Pango) into C:\Program Files\Common Files\GTK\2.0\bin\, replacing any existing files, does this fix the issue?

comment:39 Changed 10 years ago by GinoMan2440

I tried the above and instead the space where you type your message in the IM window is really small, like 3 pixels tall, and can't be resized. The window is resizable but the issue was too cumbersome to continue testing so I terminated the program. Also, it seems that the program causing this error is Cairo, not Pango. specifically the issue is rendering fonts.... which for whatever reason causes pidgin to crash. the issue though has to be gtk specific because both of those libraries are part of the gtk suite. no one has yet taken ownership of this ticket, this is clearly a bug and I do not have the development skills to fix it, and as I stated earlier, I'm not a fan of gtk and programs based on it, so I'm very unfamiliar with how to develop for those platforms as of yet.

comment:40 Changed 10 years ago by GinoMan2440

I'll be reinstalling pidgin and gtk to get back a somewhat normal install without modification to repair the too small typings space metabug.

comment:41 Changed 10 years ago by yellowstar

GTK+ 2.14.7 with pango 1.24.2-1 seems to fix my Pidgin crash. IM window appears normal, with normal message box.

comment:42 Changed 10 years ago by GinoMan2440

yes, but could we at least release a 2.5.6.1 that includes that version of pango and gtk... because I haven't the faintest idea how to install them myself.

comment:43 Changed 10 years ago by khc

Ticket #9312 has been marked as a duplicate of this ticket.

Changed 10 years ago by Chowarmaan

2.5.6 on an Install of the Debug version after removing old version.

Changed 10 years ago by Chowarmaan

Command line: pidgin -d 2>&1 >C:\debug.log

comment:44 Changed 10 years ago by Chowarmaan

I have a similar problem in the crash, but I am simply trying to run the base Pidgin on Windows 2000. I deleted the Application Data .purple folder and all the Pidgin files in the Program Files\pidgin directory after uninstalling the application. A clean install of the debug causes the same problem. The task bar icon is created, and then closes after the error on mouse over.

The exception Privileged Instruction. (0xc0000096) occurred in the application at location 0x014bcef6.

comment:45 Changed 10 years ago by GinoMan2440

And yet again pidgin has crashed... you have all the resources here I'm sure to debug this someone who knows programming better than I. I'm so annoyed by this that I'm about to just post annoyingly every time it crashes on me until this bug is addressed and fixed.

comment:46 Changed 10 years ago by GinoMan2440

And again, another crash, another day!

comment:47 Changed 10 years ago by GinoMan2440

and it crashes on startup too... nice!!! this bug is 6 months to old!

comment:48 Changed 10 years ago by GinoMan2440

I can't wait to get a mac and use adium, install linux on it and use kopete and purposefully not use pidgin while also encouraging my friends not to use it because of it's longstanding instabilities.

comment:49 Changed 10 years ago by GinoMan2440

and again... it crashes mid conversation... lovely

comment:50 Changed 10 years ago by GinoMan2440

and again it crashes on startup... YAY... is anyone gonna fix this bug yet... am I bugging anyone as much as this bug is bugging me yet? fix the gdn f*g bug!

comment:51 Changed 10 years ago by GinoMan2440

forget it... you lost a user... I'm using Mirc for the IRC and other programs for IMing F*CK PIDGIN!!!

comment:52 follow-up: Changed 10 years ago by kentyman

I, too, have been plagued by this bug for months.

However, GinoMan2440 does not speak for me. Perhaps if he had sent in a pidgin.RPT of his crashes rather than making disparaging remarks, we'd be a little closer to having a fix.

I say good riddance.

comment:53 in reply to: ↑ 52 Changed 10 years ago by darkrain42

Replying to kentyman:

I, too, have been plagued by this bug for months.

Can you report whether or not the file linked to in comment 38 fixes the issue for you or not?

Here is the comment again:

If you reinstall GTK+ 2.14.7 and then copy the contents of the bin directory in this zip file (slightly newer version of Pango) into C:\Program Files\Common Files\GTK\2.0\bin\, replacing any existing files, does this fix the issue?

comment:54 Changed 10 years ago by datallah

Wow, that was "special".

Unfortunately, this appears to be a bug in one of the dependencies of GTK+ and I haven't ever been able to recreate it.

There must be something different about the windows configuration of those experiencing the crash, probably font related.

Chowarmaan: your crash is a different issue, see #7750

comment:55 in reply to: ↑ description Changed 10 years ago by Chowarmaan

I have XAMPP installed and the PHP subdirectory is in the path. I renamed the aspell-15.dll in this directory and the crash went away. Renaming the file back caused the crash. Seems to be a conflict between these two files.

comment:56 Changed 10 years ago by rekkanoryo

Chowarmann: Yes, your issue was not at all related to this ticket.

comment:57 Changed 10 years ago by GinoMan2440

first of all, I did send in a "pidgin.rpt" (see deprecated ticket 9129) and secondly, if it helps any, I unchecked all the irc accounts and suddenly the crashes stopped. I'm only running aim now from pidgin and it seems to work fine, it's been running for days... in reply to darkrain42, I tried that and ended up with window appearance issues which made pidgin unusable so I wasn't able to test it's stability. I quickly reinstalled a vanilla pidgin and got my old crashy config back. and finally, I'm sorry about the "disparaging comments" I was just really frustrated that day. :(

comment:58 Changed 10 years ago by rekkanoryo

Ticket #9452 has been marked as a duplicate of this ticket.

comment:59 Changed 10 years ago by cherry

I experience the same problems with Pidgin. There is something funny going on with GTK+ lib (I suspect DLLs from somewhere else on my system are used instead of the DLLs from the GTK+ install). I worked around the problem by using Pidgin Portable from http://portableapps.com/apps/internet/pidgin_portable They have the GTK stuff included directly somehow (don't know exactly, maybe static linking or just fixed paths or something) which makes it work.

I know this is probably not very helpful in regards to solving the problem but it might be useful for some of the upset Pidgin users here.

comment:60 Changed 10 years ago by rekkanoryo

Pidgin Portable includes the GTK libraries directly in the bin directory that contains pidgin.exe.

comment:61 Changed 10 years ago by datallah

Ticket #8473 has been marked as a duplicate of this ticket.

comment:62 Changed 10 years ago by darkrain42

Ticket #9744 has been marked as a duplicate of this ticket.

comment:63 Changed 10 years ago by darkrain42

Ticket #9753 has been marked as a duplicate of this ticket.

comment:64 Changed 10 years ago by darkrain42

Ticket #9536 has been marked as a duplicate of this ticket.

comment:65 Changed 10 years ago by darkrain42

Ticket #9966 has been marked as a duplicate of this ticket.

comment:66 follow-up: Changed 9 years ago by datallah

I think this cairo bug is responsible (fixed in 1.8.8).

Can someone who has been experiencing this issue download Cairo 1.8.8 and see if it fixes the problem.

comment:67 Changed 9 years ago by datallah

Ticket #10506 has been marked as a duplicate of this ticket.

comment:68 in reply to: ↑ 66 Changed 9 years ago by zuxy

Replying to datallah:

I think this cairo bug is responsible (fixed in 1.8.8).

Can someone who has been experiencing this issue download Cairo 1.8.8 and see if it fixes the problem.

Unfortunately Cairo 1.8.8 doesn't fix the problem.

comment:69 Changed 9 years ago by darkrain42

Ticket #10652 has been marked as a duplicate of this ticket.

comment:70 Changed 9 years ago by darkrain42

Ticket #10942 has been marked as a duplicate of this ticket.

comment:71 Changed 9 years ago by darkrain42

Ticket #11067 has been marked as a duplicate of this ticket.

comment:72 Changed 9 years ago by darkrain42

Ticket #11065 has been marked as a duplicate of this ticket.

comment:73 Changed 9 years ago by nitzua

Is there any chance of this bug being fixed? I've narrowed down the reason why Pidgin 2.6.4 is crashing for me, it's because of the font I'm using on my Windows XP visual style, Helvetica Condensed 9pt, to be specific. I'm in love with this font right now and I'm not planning on switching to another font just to run Pidgin. I've been running Miranda for the time being, but I like Pidgin better. As soon as this bug is fixed, I'll switch back, but consider me a user lost until then.

comment:74 Changed 9 years ago by datallah

Ticket #11042 has been marked as a duplicate of this ticket.

comment:75 Changed 9 years ago by datallah

Ticket #10377 has been marked as a duplicate of this ticket.

comment:76 Changed 9 years ago by datallah

Ticket #11575 has been marked as a duplicate of this ticket.

comment:77 Changed 9 years ago by datallah

Ticket #11620 has been marked as a duplicate of this ticket.

comment:78 follow-up: Changed 9 years ago by datallah

I've posted a development build here that (among other things) uses a newer version of GTK+ and Cairo.

If someone who can recreate this issue consistently can give this a test and report back, that would be great.

comment:79 in reply to: ↑ 78 Changed 9 years ago by nitzua

Replying to datallah:

I've posted a development build here that (among other things) uses a newer version of GTK+ and Cairo.

If someone who can recreate this issue consistently can give this a test and report back, that would be great.

It doesn't crash anymore for me, but the theme doesn't use my system font...

comment:80 Changed 9 years ago by datallah

Ticket #11672 has been marked as a duplicate of this ticket.

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!