[Pidgin] #7769: Segmentation fault while Certificating

Pidgin trac at pidgin.im
Fri Dec 12 20:53:47 EST 2008


#7769: Segmentation fault while Certificating
--------------------------------------------+-------------------------------
 Reporter:  liangxie                        |        Owner:              
     Type:  defect                          |       Status:  pending     
Milestone:                                  |    Component:  pidgin (gtk)
  Version:  2.5.2                           |   Resolution:              
 Keywords:  Segmentation fault certificate  |  
--------------------------------------------+-------------------------------
Changes (by datallah):

  * status:  new => pending


Old description:

> it crashed while startup everytime. After "pidgin -d", here is some
> helpful info:
> .....
> (13:56:51) certificate/x509/tls_cached: ...Found cached cert
> (13:56:51) nss/x509: Loading certificate from
> /home/liangxie/.purple/certificates/x509/tls_peers/fstwin106.us.oracle.com
> (13:56:51) g_log: x509_import_from_file: assertion `crt_dat' failed
> (13:56:51) certificate/x509/tls_cached: Lookup failed on cached
> certificate!
> It was here just a second ago. Forwarding to cert_changed.
> (13:56:51) certificate/x509/tls_cached: Certificate for
> fstwin106.us.oracle.com does not match cached. Auto-rejecting!
> (13:56:51) certificate: Failed to verify certificate for
> fstwin106.us.oracle.com
> dns[19470]: Oops, father has gone, wait for me, wait...!
> Segmentation fault
>
> It works ok after i renamed the accordingly certification file!
>
> The gdb backtrace :
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0xb6fc98d0 (LWP 20151)]
> 0xb76cae49 in ?? () from /usr/lib/libpurple.so.0
> (gdb) bt full
> #0  0xb76cae49 in ?? () from /usr/lib/libpurple.so.0
> No symbol table info available.
> #1  0xb76cb4a5 in ?? () from /usr/lib/libpurple.so.0
> No symbol table info available.
> #2  0xb76c870e in purple_certificate_verify () from
> /usr/lib/libpurple.so.0
> No symbol table info available.
> #3  0xb65c1ed3 in ?? () from /usr/lib/purple-2/ssl-nss.so
> No symbol table info available.
> #4  0x080ad797 in ?? ()
> No symbol table info available.
> #5  0xb77e9fed in ?? () from /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #6  0xb77b5cc6 in g_main_context_dispatch () from
> /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #7  0xb77b9083 in ?? () from /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #8  0xb77b9467 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #9  0xb7acb264 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
> No symbol table info available.
> #10 0x080ca9ea in main ()
> No symbol table info available.

New description:

 it crashed while startup everytime. After "pidgin -d", here is some
 helpful info:
 {{{
 (13:56:51) certificate/x509/tls_cached: ...Found cached cert
 (13:56:51) nss/x509: Loading certificate from
 /home/liangxie/.purple/certificates/x509/tls_peers/fstwin106.us.oracle.com
 (13:56:51) g_log: x509_import_from_file: assertion `crt_dat' failed
 (13:56:51) certificate/x509/tls_cached: Lookup failed on cached
 certificate!
 It was here just a second ago. Forwarding to cert_changed.
 (13:56:51) certificate/x509/tls_cached: Certificate for
 fstwin106.us.oracle.com does not match cached. Auto-rejecting!
 (13:56:51) certificate: Failed to verify certificate for
 fstwin106.us.oracle.com
 dns[19470]: Oops, father has gone, wait for me, wait...!
 Segmentation fault
 }}}

 It works ok after i renamed the accordingly certification file!

 The gdb backtrace :
 {{{
 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 0xb6fc98d0 (LWP 20151)]
 0xb76cae49 in ?? () from /usr/lib/libpurple.so.0
 (gdb) bt full
 #0  0xb76cae49 in ?? () from /usr/lib/libpurple.so.0
 No symbol table info available.
 #1  0xb76cb4a5 in ?? () from /usr/lib/libpurple.so.0
 No symbol table info available.
 #2  0xb76c870e in purple_certificate_verify () from
 /usr/lib/libpurple.so.0
 No symbol table info available.
 #3  0xb65c1ed3 in ?? () from /usr/lib/purple-2/ssl-nss.so
 No symbol table info available.
 #4  0x080ad797 in ?? ()
 No symbol table info available.
 #5  0xb77e9fed in ?? () from /usr/lib/libglib-2.0.so.0
 No symbol table info available.
 #6  0xb77b5cc6 in g_main_context_dispatch () from
 /usr/lib/libglib-2.0.so.0
 No symbol table info available.
 #7  0xb77b9083 in ?? () from /usr/lib/libglib-2.0.so.0
 No symbol table info available.
 #8  0xb77b9467 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
 No symbol table info available.
 #9  0xb7acb264 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
 No symbol table info available.
 #10 0x080ca9ea in main ()
 No symbol table info available.
 }}}

--

Comment:

 Please follow [wiki:GetABacktrace the instructions] to get a backtrace and
 attach it to this ticket.[[BR]]
 Can you please get a backtrace that includes debug symbols?

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


More information about the Tracker mailing list