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 394420 - Schedule Transaction Editor logs GLib-Critical messages
Schedule Transaction Editor logs GLib-Critical messages
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: Scheduled Transactions
2.0.x
Other Linux
: Normal normal
: ---
Assigned To: Josh Sled
Josh Sled
Depends on:
Blocks: 347575
 
 
Reported: 2007-01-08 21:52 UTC by dvherman
Modified: 2018-06-29 21:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sample/Test GnuCash data file (6.39 KB, application/x-compressed-tar)
2007-01-08 21:54 UTC, dvherman
Details

Description dvherman 2007-01-08 21:52:49 UTC
When starting the Scheduled Transaction Editor the following messages are logged to the terminal window.


This is a development version. It may or may not work.
Report bugs and other problems to gnucash-devel@gnucash.org.
You can also lookup and file bug reports at http://bugzilla.gnome.org
The last stable version was GnuCash 2.0.4
The next stable version will be GnuCash 2.2

gnucash: [M] "Found Finance::Quote version ""1.12"

(gnucash:8622): GLib-CRITICAL **: g_date_set_month: assertion `g_date_valid_month (m)' failed

(gnucash:8622): GLib-CRITICAL **: g_date_strftime: assertion `g_date_valid (d)' failed

(gnucash:8622): GLib-CRITICAL **: g_date_strftime: assertion `g_date_valid (d)' failed

(gnucash:8622): GLib-CRITICAL **: g_date_strftime: assertion `g_date_valid (d)' failed

(gnucash:8622): GLib-CRITICAL **: g_date_strftime: assertion `g_date_valid (d)' failed

(gnucash:8622): GLib-CRITICAL **: g_date_strftime: assertion `g_date_valid (d)' failed

(gnucash:8622): GLib-CRITICAL **: g_date_strftime: assertion `g_date_valid (d)' failed

(gnucash:8622): GLib-CRITICAL **: g_date_strftime: assertion `g_date_valid (d)' failed

(gnucash:8622): GLib-CRITICAL **: g_date_strftime: assertion `g_date_valid (d)' failed

(gnucash:8622): GLib-CRITICAL **: g_date_strftime: assertion `g_date_valid (d)' failed

(gnucash:8622): GLib-CRITICAL **: g_date_strftime: assertion `g_date_valid (d)' failed

(gnucash:8622): GLib-CRITICAL **: g_date_strftime: assertion `g_date_valid (d)' failed

(gnucash:8622): GLib-CRITICAL **: g_date_strftime: assertion `g_date_valid (d)' failed

(gnucash:8622): GLib-CRITICAL **: g_date_set_month: assertion `g_date_valid_month (m)' failed

(gnucash:8622): GLib-CRITICAL **: g_date_strftime: assertion `g_date_valid (d)' failed

(gnucash:8622): GLib-CRITICAL **: g_date_strftime: assertion `g_date_valid (d)' failed

(gnucash:8622): GLib-CRITICAL **: g_date_strftime: assertion `g_date_valid (d)' failed

(gnucash:8622): GLib-CRITICAL **: g_date_strftime: assertion `g_date_valid (d)' failed

(gnucash:8622): GLib-CRITICAL **: g_date_strftime: assertion `g_date_valid (d)' failed

(gnucash:8622): GLib-CRITICAL **: g_date_strftime: assertion `g_date_valid (d)' failed

(gnucash:8622): GLib-CRITICAL **: g_date_strftime: assertion `g_date_valid (d)' failed

(gnucash:8622): GLib-CRITICAL **: g_date_strftime: assertion `g_date_valid (d)' failed

(gnucash:8622): GLib-CRITICAL **: g_date_strftime: assertion `g_date_valid (d)' failed

(gnucash:8622): GLib-CRITICAL **: g_date_strftime: assertion `g_date_valid (d)' failed

(gnucash:8622): GLib-CRITICAL **: g_date_strftime: assertion `g_date_valid (d)' failed

(gnucash:8622): GLib-CRITICAL **: g_date_strftime: assertion `g_date_valid (d)' failed

Attached is a test file.
Comment 1 dvherman 2007-01-08 21:54:57 UTC
Created attachment 79791 [details]
Sample/Test GnuCash data file
Comment 2 Christian Stimming 2007-01-09 09:15:07 UTC
(Just out of curiosity:) Did you change your locale recently so that the date format changed? I.e. did you start gnucash in french language, then added a scheduled transaction, and now start gnucash in english language again?
Comment 3 dvherman 2007-01-09 21:22:36 UTC
(In reply to comment #2)
> (Just out of curiosity:) Did you change your locale recently so that the date
> format changed? I.e. did you start gnucash in french language, then added a
> scheduled transaction, and now start gnucash in english language again?
> 

No - Only think I have done with currencies was to enable in security editor.
Don't think I'm tracking any though.

Error occurs on two systems 1)"production" while I do run both std release and
svn trunk - nothing but "real" transactions are entered, 2) test system - all kinds of expermentation (verifing documentation).

Same message both systems.
Comment 4 Josh Sled 2007-01-14 18:00:14 UTC
I don't see this with 2.0.1 or on branches/sx-cleanup/.  Dave, is this repeatable for you?  If so, would you mind trying to dig in and seeing where those messages are coming from?

$ /usr/bin/gnucash-env gdb /usr/bin/gnucash-bin
(gdb) run --g-fatal-warnings
[gnucash starts; open sx editor, "--g-fatal-warnings" will make gnucash bomb out when you get the first warning]
(gdb) backtrace

Comment 5 Josh Sled 2007-01-15 02:04:10 UTC
Oh, I do see these with trunk.  With your datafile and one of my own.

Just to be clear, is the version string for the bug (2.0.4) correct?  Or do you only see this on trunk?
Comment 6 dvherman 2007-01-15 18:24:27 UTC
I'll answwer in reverse order

It appears that the messages do not appear in 2.0.2, but 2.0.3, 2.0.4 and svn-trunk do give the message.

yes - it appears reproducable.  Both x86_64 and i386 system give messages (x86_64 2.0.4 not available in repositories).


I'm post the output from gdb below (2.0.4)

============================================================================

(gdb) run --g-fatal-warnings
Starting program: /usr/bin/gnucash-bin --g-fatal-warnings
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

[snip]

[Thread debugging using libthread_db enabled]
[New Thread -1208809776 (LWP 16953)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
gnucash: [M] "Found Finance::Quote version ""1.12"

GLib-CRITICAL **: g_date_set_month: assertion `g_date_valid_month (m)' failed
aborting...

Program received signal SIGABRT, Aborted.
[Switching to Thread -1208809776 (LWP 16953)]
0x003fb402 in __kernel_vsyscall ()
(gdb) 
Comment 7 Josh Sled 2007-01-15 18:26:57 UTC
(In reply to comment #6)
> It appears that the messages do not appear in 2.0.2, but 2.0.3, 2.0.4 and
> svn-trunk do give the message.


> I'm post the output from gdb below (2.0.4)
[...]
> GLib-CRITICAL **: g_date_set_month: assertion `g_date_valid_month (m)' failed
> aborting...
> 
> Program received signal SIGABRT, Aborted.
> [Switching to Thread -1208809776 (LWP 16953)]
> 0x003fb402 in __kernel_vsyscall ()
> (gdb) 

And what's the output of the gdb command 'backtrace' at this point?

Comment 8 Josh Sled 2007-01-15 18:27:13 UTC
(confirming)
Comment 9 dvherman 2007-01-15 18:40:35 UTC
Sorry didn't read all the instructions ....

(gdb) backtrace
  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/libc.so.6
  • #2 abort
    from /lib/libc.so.6
  • #3 g_logv
    from /lib/libglib-2.0.so.0
  • #4 g_log
    from /lib/libglib-2.0.so.0
  • #5 g_return_if_fail_warning
    from /lib/libglib-2.0.so.0
  • #6 g_date_set_month
    from /lib/libglib-2.0.so.0
  • #7 gnc_dense_cal_get_year
    from /usr/lib/gnucash/libgncmod-gnome-utils.so.0
  • #8 gnc_dense_cal_set_month
    from /usr/lib/gnucash/libgncmod-gnome-utils.so.0
  • #9 g_type_create_instance
    from /lib/libgobject-2.0.so.0
  • #10 g_object_set
    from /lib/libgobject-2.0.so.0
  • #11 g_object_newv
    from /lib/libgobject-2.0.so.0
  • #12 g_object_new_valist
    from /lib/libgobject-2.0.so.0
  • #13 g_object_new
    from /lib/libgobject-2.0.so.0
  • #14 gnc_dense_cal_new
    from /usr/lib/gnucash/libgncmod-gnome-utils.so.0
  • #15 gnc_ui_scheduled_xaction_dialog_create
    from /usr/lib/libgncgnome.so.0
  • #16 gnc_plugin_basic_commands_new
    from /usr/lib/libgncgnome.so.0
  • #17 g_cclosure_marshal_VOID__VOID
    from /lib/libgobject-2.0.so.0
  • #18 g_closure_invoke
    from /lib/libgobject-2.0.so.0
  • #19 g_signal_override_class_closure
    from /lib/libgobject-2.0.so.0
  • #20 g_signal_emit_valist
    from /lib/libgobject-2.0.so.0
  • #21 g_signal_emit
    from /lib/libgobject-2.0.so.0
  • #22 gtk_widget_get_action
    from /usr/lib/libgtk-x11-2.0.so.0
  • #23 gtk_action_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #24 g_cclosure_marshal_VOID__VOID
    from /lib/libgobject-2.0.so.0
  • #25 g_closure_invoke
    from /lib/libgobject-2.0.so.0
  • #26 g_signal_override_class_closure
    from /lib/libgobject-2.0.so.0
  • #27 g_signal_emit_valist
    from /lib/libgobject-2.0.so.0
  • #28 g_signal_emit
    from /lib/libgobject-2.0.so.0
  • #29 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #30 gtk_menu_shell_activate_item
    from /usr/lib/libgtk-x11-2.0.so.0
  • #31 gtk_menu_shell_append
    from /usr/lib/libgtk-x11-2.0.so.0
  • #32 gtk_menu_reorder_child
    from /usr/lib/libgtk-x11-2.0.so.0
  • #33 gtk_marshal_BOOLEAN__VOID
    from /usr/lib/libgtk-x11-2.0.so.0
  • #34 g_value_set_static_boxed
    from /lib/libgobject-2.0.so.0
  • #35 g_closure_invoke
    from /lib/libgobject-2.0.so.0
  • #36 g_signal_override_class_closure
    from /lib/libgobject-2.0.so.0
  • #37 g_signal_emit_valist
    from /lib/libgobject-2.0.so.0
  • #38 g_signal_emit
    from /lib/libgobject-2.0.so.0
  • #39 gtk_widget_get_default_style
    from /usr/lib/libgtk-x11-2.0.so.0
  • #40 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #41 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #42 gdk_add_client_message_filter
    from /usr/lib/libgdk-x11-2.0.so.0
  • #43 g_main_context_dispatch
    from /lib/libglib-2.0.so.0
  • #44 g_main_context_check
    from /lib/libglib-2.0.so.0
  • #45 g_main_loop_run
    from /lib/libglib-2.0.so.0
  • #46 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #47 gnc_ui_start_event_loop
    from /usr/lib/gnucash/libgncmod-gnome-utils.so.0
  • #48 main

Comment 10 Josh Sled 2007-01-21 17:04:45 UTC
trunk@15408.  Tagged for backport to branches/2.0; if we do a 2.0.5, it should be in there.  Otherwise, 2.2.
Comment 11 Derek Atkins 2007-01-28 04:13:47 UTC
Backported to 2.0 as r15439.
Should be in 2.0.5
Comment 12 John Ralls 2018-06-29 21:21:57 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=394420. Please update any external references or bookmarks.