Opened 4 years ago

Closed 4 years ago

#16529 closed defect

Pidgin crashing randomly sometimes

Reported by: mkagrawal Owned by:
Milestone: Component: pidgin (gtk)
Version: 2.10.11 Keywords: Plugin GTK
Cc:

Description

I am writing a pidgin plugin which opens a gtk window with some checkboxes in it. Pidgin is randomly crashing sometimes while opening the window, sometimes on clicking over the window or select/unselect of checkbox, sometimes on closing the window. I used gdb to get the backtrace log.

I am not able to figure out the reason behind these crashes. Please let me know if you need more details.

Here are some of the backtrace logs:

1.) Program received signal SIGSEGV, Segmentation fault.

0x00007ffff3dc8b80 in g_type_check_instance_cast () from /lib64/libgobject-2.0.so.0

(gdb) bt full

#0 0x00007ffff3dc8b80 in g_type_check_instance_cast () from /lib64/libgobject-2.0.so.0

No symbol table info available.

#1 0x00007ffff6779cb6 in queue_item_free () from /lib64/libgdk-x11-2.0.so.0

No symbol table info available.

#2 0x00007ffff677a204 in _gdk_window_process_expose () from /lib64/libgdk-x11-2.0.so.0

No symbol table info available.

#3 0x00007ffff6775e21 in gdk_event_translate () from /lib64/libgdk-x11-2.0.so.0

No symbol table info available.

#4 0x00007ffff6777336 in _gdk_events_queue () from /lib64/libgdk-x11-2.0.so.0

No symbol table info available.

#5 0x00007ffff67773de in gdk_event_dispatch () from /lib64/libgdk-x11-2.0.so.0

No symbol table info available.

#6 0x00007ffff36ad2a6 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0

No symbol table info available.

#7 0x00007ffff36ad628 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0

No symbol table info available.

#8 0x00007ffff36ada3a in g_main_loop_run () from /lib64/libglib-2.0.so.0

No symbol table info available.

#9 0x00007ffff6b1db57 in gtk_main () from /lib64/libgtk-x11-2.0.so.0

No symbol table info available.

#10 0x00000000004315d8 in main ()

No symbol table info available

2) Program received signal SIGABRT, Aborted.

0x00007ffff21af877 in raise () from /lib64/libc.so.6

(gdb) bt full

#0 0x00007ffff21af877 in raise () from /lib64/libc.so.6

No symbol table info available.

#1 0x00007ffff21b0f68 in abort () from /lib64/libc.so.6

No symbol table info available.

#2 0x00007ffff21efa54 in libc_message () from /lib64/libc.so.6

No symbol table info available.

#3 0x00007ffff21f6d78 in _int_free () from /lib64/libc.so.6

No symbol table info available.

#4 0x00007ffff36b2f7f in g_free () from /lib64/libglib-2.0.so.0

No symbol table info available.

#5 0x00007ffff674b67b in gdk_region_destroy () from /lib64/libgdk-x11-2.0.so.0

No symbol table info available.

#6 0x00007ffff675696c in gdk_window_invalidate_maybe_recurse_full () from /lib64/libgdk-x11-2.0.so.0

No symbol table info available.

#7 0x00007ffff6c4f1fd in gtk_widget_invalidate_widget_windows () from /lib64/libgtk-x11-2.0.so.0

No symbol table info available.

#8 0x00007ffff6c5581c in gtk_widget_queue_shallow_draw () from /lib64/libgtk-x11-2.0.so.0

No symbol table info available.

#9 0x00007ffff6c558b8 in gtk_widget_queue_resize () from /lib64/libgtk-x11-2.0.so.0

No symbol table info available.

#10 0x00007ffff6bf2268 in gtk_toggle_button_update_state () from /lib64/libgtk-x11-2.0.so.0

No symbol table info available.

#11 0x00007ffff6bf29c6 in gtk_toggle_button_clicked () from /lib64/libgtk-x11-2.0.so.0

No symbol table info available.

#12 0x00007ffff3da64c7 in _g_closure_invoke_va () from /lib64/libgobject-2.0.so.0

No symbol table info available.

#13 0x00007ffff3dbf749 in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0

No symbol table info available.

#14 0x00007ffff3dc03af in g_signal_emit () from /lib64/libgobject-2.0.so.0

No symbol table info available.

#15 0x00007ffff6bf230d in gtk_toggle_button_released () from /lib64/libgtk-x11-2.0.so.0

No symbol table info available.

#16 0x00007ffff3da64c7 in _g_closure_invoke_va () from /lib64/libgobject-2.0.so.0

No symbol table info available.

#17 0x00007ffff3dbf749 in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0

No symbol table info available.

#18 0x00007ffff3dc03af in g_signal_emit () from /lib64/libgobject-2.0.so.0

No symbol table info available.

#19 0x00007ffff6a667d3 in gtk_button_button_release () from /lib64/libgtk-x11-2.0.so.0

No symbol table info available.

#20 0x00007ffff6b204ec in _gtk_marshal_BOOLEANBOXED () from /lib64/libgtk-x11-2.0.so.0

No symbol table info available.

#21 0x00007ffff3da6298 in g_closure_invoke () from /lib64/libgobject-2.0.so.0

No symbol table info available. #22 0x00007ffff3db811b in signal_emit_unlocked_R () from /lib64/libgobject-2.0.so.0

No symbol table info available.

#23 0x00007ffff3dbfddd in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0

No symbol table info available. #24 0x00007ffff3dc03af in g_signal_emit () from /lib64/libgobject-2.0.so.0

No symbol table info available.

#25 0x00007ffff6c4f7a4 in gtk_widget_event_internal () from /lib64/libgtk-x11-2.0.so.0

No symbol table info available.

#26 0x00007ffff6b1e714 in gtk_propagate_event () from /lib64/libgtk-x11-2.0.so.0

No symbol table info available.

#27 0x00007ffff6b1eb0b in gtk_main_do_event () from /lib64/libgtk-x11-2.0.so.0

No symbol table info available.

#28 0x00007ffff677740c in gdk_event_dispatch () from /lib64/libgdk-x11-2.0.so.0

No symbol table info available.

#29 0x00007ffff36ad2a6 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0

No symbol table info available.

#30 0x00007ffff36ad628 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0

No symbol table info available.

#31 0x00007ffff36ada3a in g_main_loop_run () from /lib64/libglib-2.0.so.0

No symbol table info available.

#32 0x00007ffff6b1db57 in gtk_main () from /lib64/libgtk-x11-2.0.so.0

No symbol table info available.

#33 0x00000000004315d8 in main ()

3)

* Error in `/usr/bin/pidgin': invalid fastbin entry (free):

0x0000000002792af0 *

======= Backtrace: =========

/lib64/libc.so.6(+0x75a4f)[0x7ffff21efa4f]

/lib64/libc.so.6(+0x7cd78)[0x7ffff21f6d78]

/lib64/libglib-2.0.so.0(g_free+0xf)[0x7ffff36b2f7f]

/lib64/libgdk-x11-2.0.so.0(gdk_region_destroy+0x1b)[0x7ffff674b67b]

/lib64/libgdk-x11-2.0.so.0(+0x3f96c)[0x7ffff675696c]

/lib64/libgtk-x11-2.0.so.0(+0x2771fd)[0x7ffff6c4f1fd]

/lib64/libgtk-x11-2.0.so.0(+0x27d81c)[0x7ffff6c5581c]

/lib64/libgtk-x11-2.0.so.0(gtk_widget_queue_resize+0x68)[0x7ffff6c558b8]

/lib64/libgtk-x11-2.0.so.0(+0x21a268)[0x7ffff6bf2268]

/lib64/libgtk-x11-2.0.so.0(+0x21a9c6)[0x7ffff6bf29c6]

/lib64/libgobject-2.0.so.0(+0x104c7)[0x7ffff3da64c7]

/lib64/libgobject-2.0.so.0(g_signal_emit_valist+0x479)[0x7ffff3dbf749]

/lib64/libgobject-2.0.so.0(g_signal_emit+0x8f)[0x7ffff3dc03af]

/lib64/libgtk-x11-2.0.so.0(+0x21a30d)[0x7ffff6bf230d]

/lib64/libgobject-2.0.so.0(+0x104c7)[0x7ffff3da64c7]

/lib64/libgobject-2.0.so.0(g_signal_emit_valist+0x479)[0x7ffff3dbf749]

/lib64/libgobject-2.0.so.0(g_signal_emit+0x8f)[0x7ffff3dc03af]

/lib64/libgtk-x11-2.0.so.0(+0x8e7d3)[0x7ffff6a667d3]

/lib64/libgtk-x11-2.0.so.0(+0x1484ec)[0x7ffff6b204ec]

/lib64/libgobject-2.0.so.0(g_closure_invoke+0x138)[0x7ffff3da6298]

/lib64/libgobject-2.0.so.0(+0x2211b)[0x7ffff3db811b]

/lib64/libgobject-2.0.so.0(g_signal_emit_valist+0xb0d)[0x7ffff3dbfddd]

/lib64/libgobject-2.0.so.0(g_signal_emit+0x8f)[0x7ffff3dc03af]

/lib64/libgtk-x11-2.0.so.0(+0x2777a4)[0x7ffff6c4f7a4]

/lib64/libgtk-x11-2.0.so.0(gtk_propagate_event+0xc4)[0x7ffff6b1e714]

/lib64/libgtk-x11-2.0.so.0(gtk_main_do_event+0x31b)[0x7ffff6b1eb0b]

/lib64/libgdk-x11-2.0.so.0(+0x6040c)[0x7ffff677740c]

/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x166)[0x7ffff36ad2a6]

/lib64/libglib-2.0.so.0(+0x49628)[0x7ffff36ad628]

/lib64/libglib-2.0.so.0(g_main_loop_run+0x6a)[0x7ffff36ada3a]

/lib64/libgtk-x11-2.0.so.0(gtk_main+0xb7)[0x7ffff6b1db57]

/usr/bin/pidgin(main+0x878)[0x4315d8]

/lib64/libc.so.6(libc_start_main+0xf5)[0x7ffff219bd65]

4)

Program received signal SIGABRT, Aborted.

0x00007ffff21af877 in raise () from /lib64/libc.so.6

(gdb) bt full

#0 0x00007ffff21af877 in raise () from /lib64/libc.so.6

No symbol table info available.

#1 0x00007ffff21b0f68 in abort () from /lib64/libc.so.6

No symbol table info available.

#2 0x00007ffff21efa54 in libc_message () from /lib64/libc.so.6

No symbol table info available.

#3 0x00007ffff21f6d78 in _int_free () from /lib64/libc.so.6

No symbol table info available.

#4 0x00007ffff36b2f7f in g_free () from /lib64/libglib-2.0.so.0

No symbol table info available.

#5 0x00007ffff6779e92 in gdk_window_queue () from /lib64/libgdk- x11-2.0.so.0

No symbol table info available.

#6 0x00007ffff677a15c in _gdk_x11_window_queue_antiexpose () from /lib64 /libgdk-x11-2.0.so.0

No symbol table info available.

#7 0x00007ffff6757c03 in gdk_window_process_updates_internal () from /lib64/libgdk-x11-2.0.so.0

No symbol table info available.

#8 0x00007ffff67584f8 in gdk_window_process_all_updates () from /lib64 /libgdk-x11-2.0.so.0

No symbol table info available.

#9 0x00007ffff6758559 in gdk_window_update_idle () from /lib64/libgdk- x11-2.0.so.0

No symbol table info available.

#10 0x00007ffff6735c97 in gdk_threads_dispatch () from /lib64/libgdk-x11-2.0.so.0

No symbol table info available.

#11 0x00007ffff36ad2a6 in g_main_context_dispatch () from /lib64/libglib- 2.0.so.0

No symbol table info available.

#12 0x00007ffff36ad628 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0

No symbol table info available.

#13 0x00007ffff36ada3a in g_main_loop_run () from /lib64/libglib-2.0.so.0

No symbol table info available.

#14 0x00007ffff6b1db57 in gtk_main () from /lib64/libgtk-x11-2.0.so.0

No symbol table info available.

#15 0x00000000004315d8 in main ()

5)

Program received signal SIGSEGV, Segmentation fault.

0x00007ffff21f603d in malloc_consolidate () from /lib64/libc.so.6

(gdb) bt full

#0 0x00007ffff21f603d in malloc_consolidate () from /lib64/libc.so.6

No symbol table info available.

#1 0x00007ffff21f7c29 in _int_malloc () from /lib64/libc.so.6

No symbol table info available.

#2 0x00007ffff21f9cfc in malloc () from /lib64/libc.so.6

No symbol table info available.

#3 0x00007ffff36b2fcf in g_try_malloc () from /lib64/libglib-2.0.so.0

No symbol table info available.

#4 0x00007fffeffb4eae in png_malloc_warn () from /lib64/libpng16.so.16

No symbol table info available.

#5 0x00007fffeffafdc9 in png_create_png_struct () from /lib64 /libpng16.so.16

No symbol table info available.

#6 0x00007fffeffb85b3 in png_create_read_struct_2 () from /lib64 /libpng16.so.16

No symbol table info available.

#7 0x00007ffff5db842b in gdk_pixbuf.png_image_load () from /lib64 /libgdk_pixbuf-2.0.so.0

No symbol table info available.

#8 0x00007ffff5da9e42 in gdk_pixbuf_new_from_file () from /lib64 /libgdk_pixbuf-2.0.so.0

No symbol table info available.

#9 0x00000000004b25d9 in pidgin_pixbuf_new_from_file ()

No symbol table info available.

#10 0x00000000004b2713 in pidgin_create_prpl_icon_from_prpl.isra ()

No symbol table info available.

#11 0x00000000004448e6 in buddy_node ()

No symbol table info available.

#12 0x0000000000445053 in pidgin_blist_update_contact ()

No symbol table info available.

#13 0x0000000000447685 in pidgin_blist_refresh_timer ()

No symbol table info available.

#14 0x00007ffff36ade43 in g_timeout_dispatch () from /lib64/libglib- 2.0.so.0

No symbol table info available.

#15 0x00007ffff36ad2a6 in g_main_context_dispatch () from /lib64/libglib- 2.0.so.0

No symbol table info available.

#16 0x00007ffff36ad628 in g_main_context_iterate.isra () from /lib64 /libglib-2.0.so.0

No symbol table info available.

#17 0x00007ffff36ada3a in g_main_loop_run () from /lib64/libglib-2.0.so.0

No symbol table info available.

#18 0x00007ffff6b1db57 in gtk_main () from /lib64/libgtk-x11-2.0.so.0

No symbol table info available.

#19 0x00000000004315d8 in main ()

Change History (3)

comment:1 Changed 4 years ago by mkagrawal

  • Summary changed from Pidgin crashing random to Pidgin crashing randomly sometimes

comment:2 Changed 4 years ago by datallah

  • Status changed from new to pending

Try running in valigrind or using the MALLOC_CHECK_ env. variable to debug your heap memory allocs/frees - your plugin is probably referencing invalid memory.

comment:3 Changed 4 years ago by trac-robot

  • Status changed from pending to closed

This ticket was closed automatically by the system. It was previously set to a Pending status and hasn't been updated within 14 days.

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!