After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 548690 - gcalctool hangs when using powers
gcalctool hangs when using powers
Status: RESOLVED FIXED
Product: gnome-calculator
Classification: Core
Component: general
5.23.x
Other Linux
: High critical
: 2.24.0
Assigned To: Robert Ancell
gcalctool maintainers
: 562692 563590 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-08-20 15:51 UTC by Pedro Villavicencio
Modified: 2008-12-08 06:44 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
Work on improving bit panel performance (4.80 KB, patch)
2008-08-21 23:52 UTC, Robert Ancell
none Details | Review

Description Pedro Villavicencio 2008-08-20 15:51:27 UTC
this report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/gcalctool/+bug/236963

"When I type big powers, gcalctool doesn't respond. For example, type 2^99999"

There's a video showing the issue here:

http://launchpadlibrarian.net/15162463/new%20video.ogv

Stacktrace of the hang as follow:

"Thread 1 (Thread 0xb71e4700 (LWP 16627)):
  • #0 mpmul
    at mp.c line 2557
  • #1 mpdiv
    at mp.c line 1565
  • #2 make_fixed
    at mpmath.c line 845
  • #3 set_bit_panel
    at gtk.c line 847
  • #4 button_cb
    at gtk.c line 1843
  • #5 IA__g_cclosure_marshal_VOID__VOID
    at /build/buildd/glib2.0-2.17.7/gobject/gmarshal.c line 77
  • #6 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.17.7/gobject/gclosure.c line 767
  • #7 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.17.7/gobject/gsignal.c line 3244
  • #8 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.17.7/gobject/gsignal.c line 2977
  • #9 IA__g_signal_emit
    at /build/buildd/glib2.0-2.17.7/gobject/gsignal.c line 3034
  • #10 gtk_button_clicked
    from /usr/lib/libgtk-x11-2.0.so.0
  • #11 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #12 IA__g_cclosure_marshal_VOID__VOID
    at /build/buildd/glib2.0-2.17.7/gobject/gmarshal.c line 77
  • #13 g_type_class_meta_marshal
    at /build/buildd/glib2.0-2.17.7/gobject/gclosure.c line 878
  • #14 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.17.7/gobject/gclosure.c line 767
  • #15 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.17.7/gobject/gsignal.c line 3174
  • #16 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.17.7/gobject/gsignal.c line 2977
  • #17 IA__g_signal_emit
    at /build/buildd/glib2.0-2.17.7/gobject/gsignal.c line 3034
  • #18 gtk_button_released
    from /usr/lib/libgtk-x11-2.0.so.0
  • #19 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #20 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #21 g_type_class_meta_marshal
    at /build/buildd/glib2.0-2.17.7/gobject/gclosure.c line 878
  • #22 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.17.7/gobject/gclosure.c line 767
  • #23 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.17.7/gobject/gsignal.c line 3282
  • #24 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.17.7/gobject/gsignal.c line 2987
  • #25 IA__g_signal_emit
    at /build/buildd/glib2.0-2.17.7/gobject/gsignal.c line 3034
  • #26 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #27 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #28 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #29 ??
    from /usr/lib/libgdk-x11-2.0.so.0
  • #30 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.17.7/glib/gmain.c line 2073
  • #31 g_main_context_iterate
    at /build/buildd/glib2.0-2.17.7/glib/gmain.c line 2706
  • #32 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.17.7/glib/gmain.c line 2929
  • #33 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #34 main
    at calctool.c line 661
0x08051a54	2557	            MP.r[j1 - 1] = ri - MP.b * c;"

Thanks you,
Comment 1 Robert Ancell 2008-08-21 23:52:21 UTC
Created attachment 117165 [details] [review]
Work on improving bit panel performance

The problem is the code to extract bits from the display for the bit panel. This patch is some work towards making this less expensive. Needs work.
Comment 3 Robert Ancell 2008-12-08 06:04:27 UTC
*** Bug 563590 has been marked as a duplicate of this bug. ***
Comment 4 Robert Ancell 2008-12-08 06:44:58 UTC
*** Bug 562692 has been marked as a duplicate of this bug. ***