[Pidgin] #12212: Pidgin crashes after Kerberos ticket expiration.

Pidgin trac at pidgin.im
Mon Jun 21 14:32:58 EDT 2010


#12212: Pidgin crashes after Kerberos ticket expiration.
----------------------------------+-----------------------------------------
 Reporter:  vss                   |        Owner:  rekkanoryo  
     Type:  defect                |       Status:  pending     
Milestone:                        |    Component:  unclassified
  Version:  2.7.1                 |   Resolution:              
 Keywords:  crash, Kerberos, X11  |  
----------------------------------+-----------------------------------------
Changes (by datallah):

  * status:  new => pending


Old description:

> In my lab we use Kerberos for authentication. Right now we use Scientific
> Linux 5.4 Every time my Kerberos ticket expires, pidgin crashes. It is
> not possible to start pidgin after the a ticket expiration. I tried it
> with 3 versions of pidgin (2.7.1, 2.6.6, 2.5.8) - it happens with all of
> them.
>
> Here are some comments from our IT support:
>
> ============
> When your TGT expires there is a very brief period during the automatic
> ticket renewal when AFS does not permit access to your home directory --
> you technically do not have any valid AFS tokens.  This is normal,
> correct behavior.  Pidgin cannot see the ~/.Xauthority file during this
> period.  Instead of trapping the error and retrying, Pidigin crashes.
>
> If it were a bug in the X server or Kerberos or OpenAFS then all of your
> applications would crash at the same time with the same error.
> Additionally, other users in the Lab would be reporting similar crashes
> across approximately 35 other nodes.  Yours is the only report, and only
> for Pidgin.
>
> Please file a bug report with Pidgin's developers and include my comments
> above.  They are the ones who can fix the problem in the code.  If it
> really is a fault on our side of things then they may be able provide a
> workaround that we can use.
> ============
>
> Below is an example of the output after crash:
>
> ============
> *** glibc detected *** pidgin: free(): invalid size: 0x098da610 ***
> ======= Backtrace: =========
> /lib/libc.so.6[0x55b595]
> /lib/libc.so.6(cfree+0x59)[0x55b9d9]
> /lib/libglib-2.0.so.0(g_free+0x31)[0x220481]
> /lib/libglib-2.0.so.0(g_string_free+0x5c)[0x23570c]
> /usr/lib/pidgin/nautilus.so[0x7cd17a]
> /export/data01/vaurynov/bin/pidgin-2.5.8/lib/libpurple.so.0(purple_marshal_VOID__POINTER+0x18)[0xc92038]
> /export/data01/vaurynov/bin/pidgin-2.5.8/lib/libpurple.so.0(purple_signal_emit_vargs+0xb7)[0xc92ae7]
> /export/data01/vaurynov/bin/pidgin-2.5.8/lib/libpurple.so.0(purple_signal_emit+0x3c)[0xc92c1c]
> /export/data01/vaurynov/bin/pidgin-2.5.8/lib/libpurple.so.0(purple_blist_update_buddy_status+0x171)[0xc56a51]
> /export/data01/vaurynov/bin/pidgin-2.5.8/lib/libpurple.so.0(purple_prpl_got_user_status+0xcb)[0xc8a3bb]
> /export/data01/vaurynov/bin/pidgin-2.5.8/lib/purple-2/liboscar.so.0[0x854e46]
> /export/data01/vaurynov/bin/pidgin-2.5.8/lib/purple-2/liboscar.so.0[0x83569d]
> /export/data01/vaurynov/bin/pidgin-2.5.8/lib/purple-2/liboscar.so.0[0x8470b0]
> pidgin[0x80a35e3]
> /lib/libglib-2.0.so.0[0x2428dd]
> /lib/libglib-2.0.so.0(g_main_context_dispatch+0x182)[0x2191a2]
> /lib/libglib-2.0.so.0[0x21c196]
> /lib/libglib-2.0.so.0(g_main_loop_run+0x1b7)[0x21c557]
> /usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb4)[0x7a91b84]
> pidgin(main+0x744)[0x80bcd24]
> /lib/libc.so.6(__libc_start_main+0xdc)[0x507e9c]
> pidgin[0x80699c1]
> ======= Memory map: ========
> 00110000-00137000 r-xp 00000000 fd:01 1395509
> /usr/lib/libfontconfig.so.1.1.0
> 00137000-0013f000 rwxp 00027000 fd:01 1395509
> /usr/lib/libfontconfig.so.1.1.0
> 0013f000-00147000 r-xp 00000000 fd:01 1395251
> /usr/lib/libXrender.so.1.3.0
> 00147000-00148000 rwxp 00007000 fd:01 1395251
> /usr/lib/libXrender.so.1.3.0
> 00148000-0014a000 r-xp 00000000 fd:01 1394151
> /usr/lib/libXinerama.so.1.0.0
> 0014a000-0014b000 rwxp 00001000 fd:01 1394151
> /usr/lib/libXinerama.so.1.0.0
> 0014b000-0014e000 r-xp 00000000 fd:01 1395276
> /usr/lib/libXrandr.so.2.0.0
> 0014e000-0014f000 rwxp 00002000 fd:01 1395276
> /usr/lib/libXrandr.so.2.0.0
> 0014f000-00158000 r-xp 00000000 fd:01 1395313
> /usr/lib/libXcursor.so.1.0.2
> 00158000-00159000 rwxp 00008000 fd:01 1395313
> /usr/lib/libXcursor.so.1.0.2
> 00159000-0015d000 r-xp 00000000 fd:01 1393536
> /usr/lib/libXfixes.so.3.1.0
> 0015d000-0015e000 rwxp 00003000 fd:01 1393536
> /usr/lib/libXfixes.so.3.1.0
> 0015e000-001db000 r-xp 00000000 fd:01 1394662
> /usr/lib/libfreetype.so.6.3.10
> 001db000-001de000 rwxp 0007d000 fd:01 1394662
> /usr/lib/libfreetype.so.6.3.10
> 001de000-001e7000 r-xp 00000000 fd:01 1704899    /lib/libnss_files-2.5.so
> 001e7000-001e8000 r-xp 00008000 fd:01 1704899    /lib/libnss_files-2.5.so
> 001e8000-001e9000 rwxp 00009000 fd:01 1704899    /lib/libnss_files-2.5.so
> 001e9000-001eb000 r-xp 00000000 fd:06 5850370
> /export/data01/vaurynov/bin/pidgin-2.5.8/lib/pidgin/sendbutton.so
> 001eb000-001ec000 rwxp 00001000 fd:06 5850370
> /export/data01/vaurynov/bin/pidgin-2.5.8/lib/pidgin/sendbutton.so
> 001ec000-001ed000 r-xp 00000000 fd:06 5850360
> /export/data01/vaurynov/bin/pidgin-2.5.8/lib/pidgin/iconaway.so
> 001ed000-001ee000 rwxp 00000000 fd:06 5850360
> /export/data01/vaurynov/bin/pidgin-2.5.8/lib/pidgin/iconaway.so
> 001ee000-0028b000 r-xp 00000000 fd:01 1704952
> /lib/libglib-2.0.so.0.1200.3
> 0028b000-0028c000 rwxp 0009c000 fd:01 1704952
> /lib/libglib-2.0.so.0.1200.3
> 0028c000-002b1000 r-xp 00000000 fd:01 1394298
> /usr/lib/libpng12.so.0.10.0
> 002b1000-002b2000 rwxp 00024000 fd:01 1394298
> /usr/lib/libpng12.so.0.10.0
> 002b2000-002d1000 r-xp 00000000 fd:01 1703956    /lib/libexpat.so.0.5.0
> 002d1000-002d3000 rwxp 0001e000 fd:01 1703956    /lib/libexpat.so.0.5.0
> 002d3000-002d7000 r-xp 00000000 fd:01 1704903    /lib/libnss_dns-2.5.so
> 002d7000-002d8000 r-xp 00003000 fd:01 1704903    /lib/libnss_dns-2.5.so
> 002d8000-002d9000 rwxp 00004000 fd:01 1704903    /lib/libnss_dns-2.5.so
> 002d9000-002dd000 r-xp 00000000 fd:06 5850350
> /export/data01/vaurynov/bin/pidgin-2.5.8/lib/pidgin/ticker.so
> 002dd000-002de000 rwxp 00004000 fd:06 5850350    /export
> ============
>
> The message I get if I try to start pidgin after Kerberos ticket
> expiration:
>
> ============
> X11 connection rejected because of wrong authentication.
> The application 'pidgin' lost its connection to the display
> localhost:11.0;
> most likely the X server was shut down or you killed/destroyed
> the application.
> ============

New description:

 In my lab we use Kerberos for authentication. Right now we use Scientific
 Linux 5.4 Every time my Kerberos ticket expires, pidgin crashes. It is not
 possible to start pidgin after the a ticket expiration. I tried it with 3
 versions of pidgin (2.7.1, 2.6.6, 2.5.8) - it happens with all of them.

 Here are some comments from our IT support:

 ============
 When your TGT expires there is a very brief period during the automatic
 ticket renewal when AFS does not permit access to your home directory --
 you technically do not have any valid AFS tokens.  This is normal, correct
 behavior.  Pidgin cannot see the ~/.Xauthority file during this period.
 Instead of trapping the error and retrying, Pidgin crashes.

 If it were a bug in the X server or Kerberos or OpenAFS then all of your
 applications would crash at the same time with the same error.
 Additionally, other users in the Lab would be reporting similar crashes
 across approximately 35 other nodes.  Yours is the only report, and only
 for Pidgin.

 Please file a bug report with Pidgin's developers and include my comments
 above.  They are the ones who can fix the problem in the code.  If it
 really is a fault on our side of things then they may be able provide a
 workaround that we can use.
 ============

 Below is an example of the output after crash:

 ============
 {{{
 *** glibc detected *** pidgin: free(): invalid size: 0x098da610 ***
 ======= Backtrace: =========
 /lib/libc.so.6[0x55b595]
 /lib/libc.so.6(cfree+0x59)[0x55b9d9]
 /lib/libglib-2.0.so.0(g_free+0x31)[0x220481]
 /lib/libglib-2.0.so.0(g_string_free+0x5c)[0x23570c]
 /usr/lib/pidgin/nautilus.so[0x7cd17a]
 /export/data01/vaurynov/bin/pidgin-2.5.8/lib/libpurple.so.0(purple_marshal_VOID__POINTER+0x18)[0xc92038]
 /export/data01/vaurynov/bin/pidgin-2.5.8/lib/libpurple.so.0(purple_signal_emit_vargs+0xb7)[0xc92ae7]
 /export/data01/vaurynov/bin/pidgin-2.5.8/lib/libpurple.so.0(purple_signal_emit+0x3c)[0xc92c1c]
 /export/data01/vaurynov/bin/pidgin-2.5.8/lib/libpurple.so.0(purple_blist_update_buddy_status+0x171)[0xc56a51]
 /export/data01/vaurynov/bin/pidgin-2.5.8/lib/libpurple.so.0(purple_prpl_got_user_status+0xcb)[0xc8a3bb]
 /export/data01/vaurynov/bin/pidgin-2.5.8/lib/purple-2/liboscar.so.0[0x854e46]
 /export/data01/vaurynov/bin/pidgin-2.5.8/lib/purple-2/liboscar.so.0[0x83569d]
 /export/data01/vaurynov/bin/pidgin-2.5.8/lib/purple-2/liboscar.so.0[0x8470b0]
 pidgin[0x80a35e3]
 /lib/libglib-2.0.so.0[0x2428dd]
 /lib/libglib-2.0.so.0(g_main_context_dispatch+0x182)[0x2191a2]
 /lib/libglib-2.0.so.0[0x21c196]
 /lib/libglib-2.0.so.0(g_main_loop_run+0x1b7)[0x21c557]
 /usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb4)[0x7a91b84]
 pidgin(main+0x744)[0x80bcd24]
 /lib/libc.so.6(__libc_start_main+0xdc)[0x507e9c]
 pidgin[0x80699c1]
 ======= Memory map: ========
 00110000-00137000 r-xp 00000000 fd:01 1395509
 /usr/lib/libfontconfig.so.1.1.0
 00137000-0013f000 rwxp 00027000 fd:01 1395509
 /usr/lib/libfontconfig.so.1.1.0
 0013f000-00147000 r-xp 00000000 fd:01 1395251
 /usr/lib/libXrender.so.1.3.0
 00147000-00148000 rwxp 00007000 fd:01 1395251
 /usr/lib/libXrender.so.1.3.0
 00148000-0014a000 r-xp 00000000 fd:01 1394151
 /usr/lib/libXinerama.so.1.0.0
 0014a000-0014b000 rwxp 00001000 fd:01 1394151
 /usr/lib/libXinerama.so.1.0.0
 0014b000-0014e000 r-xp 00000000 fd:01 1395276
 /usr/lib/libXrandr.so.2.0.0
 0014e000-0014f000 rwxp 00002000 fd:01 1395276
 /usr/lib/libXrandr.so.2.0.0
 0014f000-00158000 r-xp 00000000 fd:01 1395313
 /usr/lib/libXcursor.so.1.0.2
 00158000-00159000 rwxp 00008000 fd:01 1395313
 /usr/lib/libXcursor.so.1.0.2
 00159000-0015d000 r-xp 00000000 fd:01 1393536
 /usr/lib/libXfixes.so.3.1.0
 0015d000-0015e000 rwxp 00003000 fd:01 1393536
 /usr/lib/libXfixes.so.3.1.0
 0015e000-001db000 r-xp 00000000 fd:01 1394662
 /usr/lib/libfreetype.so.6.3.10
 001db000-001de000 rwxp 0007d000 fd:01 1394662
 /usr/lib/libfreetype.so.6.3.10
 001de000-001e7000 r-xp 00000000 fd:01 1704899    /lib/libnss_files-2.5.so
 001e7000-001e8000 r-xp 00008000 fd:01 1704899    /lib/libnss_files-2.5.so
 001e8000-001e9000 rwxp 00009000 fd:01 1704899    /lib/libnss_files-2.5.so
 001e9000-001eb000 r-xp 00000000 fd:06 5850370
 /export/data01/vaurynov/bin/pidgin-2.5.8/lib/pidgin/sendbutton.so
 001eb000-001ec000 rwxp 00001000 fd:06 5850370
 /export/data01/vaurynov/bin/pidgin-2.5.8/lib/pidgin/sendbutton.so
 001ec000-001ed000 r-xp 00000000 fd:06 5850360
 /export/data01/vaurynov/bin/pidgin-2.5.8/lib/pidgin/iconaway.so
 001ed000-001ee000 rwxp 00000000 fd:06 5850360
 /export/data01/vaurynov/bin/pidgin-2.5.8/lib/pidgin/iconaway.so
 001ee000-0028b000 r-xp 00000000 fd:01 1704952
 /lib/libglib-2.0.so.0.1200.3
 0028b000-0028c000 rwxp 0009c000 fd:01 1704952
 /lib/libglib-2.0.so.0.1200.3
 0028c000-002b1000 r-xp 00000000 fd:01 1394298
 /usr/lib/libpng12.so.0.10.0
 002b1000-002b2000 rwxp 00024000 fd:01 1394298
 /usr/lib/libpng12.so.0.10.0
 002b2000-002d1000 r-xp 00000000 fd:01 1703956    /lib/libexpat.so.0.5.0
 002d1000-002d3000 rwxp 0001e000 fd:01 1703956    /lib/libexpat.so.0.5.0
 002d3000-002d7000 r-xp 00000000 fd:01 1704903    /lib/libnss_dns-2.5.so
 002d7000-002d8000 r-xp 00003000 fd:01 1704903    /lib/libnss_dns-2.5.so
 002d8000-002d9000 rwxp 00004000 fd:01 1704903    /lib/libnss_dns-2.5.so
 002d9000-002dd000 r-xp 00000000 fd:06 5850350
 /export/data01/vaurynov/bin/pidgin-2.5.8/lib/pidgin/ticker.so
 002dd000-002de000 rwxp 00004000 fd:06 5850350    /export
 ============
 }}}

 The message I get if I try to start pidgin after Kerberos ticket
 expiration:

 ============
 X11 connection rejected because of wrong authentication.
 The application 'pidgin' lost its connection to the display
 localhost:11.0;
 most likely the X server was shut down or you killed/destroyed
 the application.
 ============

--

Comment:

 This looks like crash in the "nautilus" plugin (which is a third party
 plugin).

 I suggest that you try disabling it.

 You're using an old version of Pidgin; presumably you're also using an old
 version of the nautilus plugin too; this might be fixed in a newer
 version.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/12212#comment:1>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list