Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 6621] Wireshark "continually" runs (accordingly to Windows

Date: Wed, 18 Apr 2012 07:49:27 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6621

--- Comment #3 from Bill Meier <wmeier@xxxxxxxxxxx> 2012-04-18 07:49:27 PDT ---
(In reply to comment #2)
> (In reply to comment #1)
> > For me, simply launching Wireshark and immediately minimizing it w/out even
> > doing anything else uses 4-6% CPU.  Just a guess, but could this be a gtk-ism
> > since Wireshark hands off control to gtk_main()?  I'm also running GTK+ 2.22.1
> > on Windows XP x86.  Perhaps a newer version uses less CPU while idle?
> 
> Not sure if this is GTK-related or not, but the same CPU utilization of ~4-6%
> is present running on 32-bit Windows XP w/GTK+ 2.24.10.


Seems to be GTK related....

My environment; Windows 7 with SVN Wireshark.

Several snapshots of the Wireshark thread stack using Systinternals Process
Explorer


ntdll.dll!KiFastSystemCallRet
kernel32.dll!WaitForMultipleObjectsEx+0x8e
USER32.dll!GetWindowLongW+0x141
libglib-2.0-0.dll!g_pattern_match_simple+0xf9
libglib-2.0-0.dll!g_poll+0xd2
libglib-2.0-0.dll!g_main_context_dispatch+0x67a
libglib-2.0-0.dll!g_main_loop_run+0x125
libgtk-win32-2.0-0.dll!gtk_main+0xa0
...

ntdll.dll!KiFastSystemCallRet
libglib-2.0-0.dll!g_pattern_match_simple+0xf9
libglib-2.0-0.dll!g_poll+0xd2
libglib-2.0-0.dll!g_main_context_dispatch+0x67a
libglib-2.0-0.dll!g_main_loop_run+0x125
libgtk-win32-2.0-0.dll!gtk_main+0xa0
...

ntdll.dll!KiFastSystemCallRet
kernel32.dll!WaitForMultipleObjectsEx+0x8e
USER32.dll!GetWindowLongW+0x141
libglib-2.0-0.dll!g_pattern_match_simple+0xf9
libglib-2.0-0.dll!g_poll+0xd2
libglib-2.0-0.dll!g_main_context_dispatch+0x67a
libglib-2.0-0.dll!g_main_loop_run+0x125
libgtk-win32-2.0-0.dll!gtk_main+0xa0
...

libglib-2.0-0.dll!g_list_sort_with_data+0x17d
libglib-2.0-0.dll!g_main_context_dispatch+0x92d
libglib-2.0-0.dll!g_main_loop_run+0x125
libgtk-win32-2.0-0.dll!gtk_main+0xa0
...

ntdll.dll!KiFastSystemCallRet
libglib-2.0-0.dll!g_pattern_match_simple+0xf9
libglib-2.0-0.dll!g_poll+0xd2
libglib-2.0-0.dll!g_main_context_dispatch+0x67a
libglib-2.0-0.dll!g_main_loop_run+0x125
libgtk-win32-2.0-0.dll!gtk_main+0xa0
...

ntdll.dll!KiFastSystemCallRet
libglib-2.0-0.dll!g_pattern_match_simple+0xf9
libglib-2.0-0.dll!g_poll+0xd2
libglib-2.0-0.dll!g_main_context_dispatch+0x67a
libglib-2.0-0.dll!g_main_loop_run+0x125
libgtk-win32-2.0-0.dll!gtk_main+0xa0
...

ntdll.dll!RtlEnterCriticalSection+0x17
libgthread-2.0-0.dll+0x19d7
libglib-2.0-0.dll!g_source_get_time+0x61
libglib-2.0-0.dll!g_source_get_time+0x13e
libglib-2.0-0.dll!g_main_context_check+0x1f4
libglib-2.0-0.dll!g_main_context_dispatch+0x7c9
libglib-2.0-0.dll!g_main_loop_run+0x125
libgtk-win32-2.0-0.dll!gtk_main+0xa0
...

libglib-2.0-0.dll!g_list_sort_with_data+0x19
libglib-2.0-0.dll!g_main_context_dispatch+0x92d
libglib-2.0-0.dll!g_main_loop_run+0x125
libgtk-win32-2.0-0.dll!gtk_main+0xa0

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.