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 170444 - Crash on clicking on node account
Crash on clicking on node account
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: User Interface General
unspecified
Other other
: Normal critical
: ---
Assigned To: David Hampton
David Hampton
: 310524 311039 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-03-15 12:37 UTC by Akhil Srinivasan
Modified: 2018-06-29 20:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Akhil Srinivasan 2005-03-15 12:37:37 UTC
From: Akhil Srinivasan <akhilss@gmail.com>
To: submit@bugs.gnome.org
X-Mailer: bug-buddy 2.8.0
Subject: GNUCash crashes on clicking on node account

Distribution: Debian 3.1
Package: GnuCash
Severity: normal
Version: GNOME2.8.3 unspecified
Gnome-Distributor: Debian
Synopsis: GNUCash crashes on clicking on node account
Bugzilla-Product: GnuCash
Bugzilla-Component: User Interface General
Bugzilla-Version: unspecified
Description:
Description of the crash:
Application crashes when i try to view any account by double-clicking on
it.

Steps to reproduce the crash:
1. Start GNUCash 
2. Expand account tree till node account like Cash In Wallet
3. Double click on Cash In Wallet

Expected Results:
Application crashes saying Segmentation Fault

How often does this happen?
Everytime

Additional Information:



Debugging Information:

Backtrace was generated from '/usr/bin/guile-1.6'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its
symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 1076279712 (LWP 2860)]
(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)
(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)
(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)
(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)
(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)
0x400de4ee in __waitpid_nocancel () from /lib/tls/libpthread.so.0

Thread 1 (Thread 1076279712 (LWP 2860))

  • #0 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #1 gnome_init
    from /usr/lib/libgnomeui.so.32
  • #2 <signal handler called>
  • #3 strlen
    from /lib/tls/libc.so.6
  • #4 strftime
    from /lib/tls/libc.so.6
  • #5 printDate
    from /usr/lib/gnucash/gnucash/libgncmod-engine.so.0
  • #6 gnc_combo_cell_set_autopop
    from /usr/lib/gnucash/gnucash/libgncmod-register-gnome.so.0
  • #7 gnc_combo_cell_set_autopop
    from /usr/lib/gnucash/gnucash/libgncmod-register-gnome.so.0
  • #8 gnc_date_cell_new
    from /usr/lib/gnucash/gnucash/libgncmod-register-gnome.so.0
  • #9 gnc_cell_factory_make_cell
    from /usr/lib/gnucash/gnucash/libgncmod-register-core.so.0
  • #10 gnc_register_make_cell
    from /usr/lib/gnucash/gnucash/libgncmod-register-core.so.0
  • #11 gnc_split_register_recn_cell_confirm
    from /usr/lib/gnucash/gnucash/libgncmod-ledger-core.so.0
  • #12 gnc_split_register_recn_cell_confirm
    from /usr/lib/gnucash/gnucash/libgncmod-ledger-core.so.0
  • #13 gnc_split_register_layout_new
    from /usr/lib/gnucash/gnucash/libgncmod-ledger-core.so.0
  • #14 gnc_split_register_full_refresh_ok
    from /usr/lib/gnucash/gnucash/libgncmod-ledger-core.so.0
  • #15 gnc_split_register_new
    from /usr/lib/gnucash/gnucash/libgncmod-ledger-core.so.0
  • #16 gnc_ledger_display_query
    from /usr/lib/gnucash/gnucash/libgncmod-ledger-core.so.0
  • #17 gnc_ledger_display_simple
    from /usr/lib/gnucash/gnucash/libgncmod-ledger-core.so.0
  • #18 regWindowSimple
    from /usr/lib/gnucash/libgncgnome.so.0
  • #19 gnc_main_window_open_accounts
    from /usr/lib/gnucash/libgncgnome.so.0
  • #20 gtk_marshal_NONE__POINTER
    from /usr/lib/libgtk-1.2.so.0
  • #21 gtk_signal_remove_emission_hook
    from /usr/lib/libgtk-1.2.so.0
  • #22 gtk_signal_set_funcs
    from /usr/lib/libgtk-1.2.so.0
  • #23 gtk_signal_emit
    from /usr/lib/libgtk-1.2.so.0
  • #24 gnc_split_reg_get_read_only
    from /usr/lib/gnucash/libgncgnome.so.0
  • #25 gtk_marshal_NONE__POINTER
    from /usr/lib/libgtk-1.2.so.0
  • #26 gtk_signal_remove_emission_hook
    from /usr/lib/libgtk-1.2.so.0
  • #27 gtk_signal_set_funcs
    from /usr/lib/libgtk-1.2.so.0
  • #28 gtk_signal_emit
    from /usr/lib/libgtk-1.2.so.0
  • #29 gnc_ui_account_pref_name_to_code
    from /usr/lib/gnucash/gnucash/libgncmod-gnome-utils.so.0
  • #30 gtk_marshal_BOOL__POINTER
    from /usr/lib/libgtk-1.2.so.0
  • #31 gtk_signal_set_funcs
    from /usr/lib/libgtk-1.2.so.0
  • #32 gtk_signal_emit
    from /usr/lib/libgtk-1.2.so.0
  • #33 gtk_widget_event
    from /usr/lib/libgtk-1.2.so.0
  • #34 gtk_propagate_event
    from /usr/lib/libgtk-1.2.so.0
  • #35 gtk_main_do_event
    from /usr/lib/libgtk-1.2.so.0
  • #36 gdk_wm_protocols_filter
    from /usr/lib/libgdk-1.2.so.0
  • #37 ??
  • #38 ??
  • #39 ??
  • #40 g_slist_free_1
    from /usr/lib/libglib-1.2.so.0
  • #41 g_get_current_time
    from /usr/lib/libglib-1.2.so.0
  • #42 g_get_current_time
    from /usr/lib/libglib-1.2.so.0
  • #43 g_main_run
    from /usr/lib/libglib-1.2.so.0
  • #44 gtk_main
    from /usr/lib/libgtk-1.2.so.0
  • #45 gnc_ui_start_event_loop
    from /usr/lib/gnucash/libgncgnome.so.0
  • #46 ??
    from /usr/lib/gnucash/libgw-gnc.so.0
  • #47 ??
  • #48 ??
  • #49 ??
  • #50 scm_ilookup
    from /usr/lib/libguile.so.12
  • #51 scm_ceval
    from /usr/lib/libguile.so.12
  • #52 scm_ceval
    from /usr/lib/libguile.so.12
  • #53 scm_ceval
    from /usr/lib/libguile.so.12
  • #54 scm_ceval
    from /usr/lib/libguile.so.12
  • #55 scm_i_eval_x
    from /usr/lib/libguile.so.12
  • #56 scm_primitive_eval_x
    from /usr/lib/libguile.so.12
  • #57 scm_primitive_eval
    from /usr/lib/libguile.so.12
  • #58 scm_internal_dynamic_wind
    from /usr/lib/libguile.so.12
  • #59 scm_eval_x
    from /usr/lib/libguile.so.12
  • #60 scm_shell
    from /usr/lib/libguile.so.12
  • #61 scm_init_guile
    from /usr/lib/libguile.so.12
  • #62 scm_init_guile
    from /usr/lib/libguile.so.12
  • #63 scm_boot_guile
    from /usr/lib/libguile.so.12
  • #64 main
  • #0 __waitpid_nocancel
    from /lib/tls/libpthread.so.0




------- Bug moved to this database by unknown@bugzilla.gnome.org 2005-03-15 07:37 -------


Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "GnuCash".
   Setting to default milestone for this product, '---'
Setting to default status "UNCONFIRMED".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Akhil Srinivasan 2005-03-15 12:42:24 UTC
Computer: IBM Thinkpad 600X
CPU: 500 Mhz
Mem: 192MB
Linux Kernel: 2.6.8-2
Comment 2 Christian Stimming 2005-03-16 09:00:37 UTC
Thanks for reporting this problem. We need just a little more information: What
is your exact version number of gnucash? What language setting are you using
(environment variable LANG)? Does the reported problem occur with every data
file that you can open, or only with one specific data file? 

Or did you just started using gnucash, so that you always get the "account
creation druid" in the beginning? If that is the case, can you first save the
accounts to a file and then try whether this problem occurs? If it does, can you
open the saved file when starting gnucash the next time and see whether it still
crashes?
Comment 3 Akhil Srinivasan 2005-03-16 09:40:52 UTC
GNUCash version: 1.8.10
LANG=en_IN
LANGUAGE=en_IN:en_US:en_GB:en

The Druid did run at first. GNUCash staerted up ok, i could expand the account
tree ok but when i tried to view the node account it crashed. I have tried to
access the same created file after restarting GNUCash with the same result. I
also deleted the file and created another with the druid again with the same
result. 

Comment 4 Teppo Turtiainen 2005-07-15 19:23:17 UTC
*** Bug 310524 has been marked as a duplicate of this bug. ***
Comment 5 Federico Sevilla III 2005-07-16 08:16:56 UTC
I reported a bug which has been marked as a duplicate of this bug, and in the
process of answering the questions asked here it seems I found a clue about the
problem.

GnuCash is v1.8.10 from Debian Sarge (1.8.10-12).

My default LANG setting based on my location is en_PH. When LANG=en_PH, GnuCash
crashes as soon as an account is opened (also when I try to access certain
reports which show account details). This happens consistently whether I open an
existing file or create a new one.

However, I just discovered now that when LANG=C (or LANG=en_US), GnuCash works fine.

This bug has also been reported on the Debian bug tracking system[1], and I have
notified the package maintainer about my recent findings.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=312109

 --> Jijo
Comment 6 Teppo Turtiainen 2005-07-20 17:48:29 UTC
*** Bug 311039 has been marked as a duplicate of this bug. ***
Comment 7 Thomas Bushnell, BSG 2005-08-28 20:24:15 UTC
Thomas Bushnell here.  I've confirmed that this happens, and the problem is that
MAX_DATE_LENGTH in engine/date.h is only eleven bytes.  That's fine if the date
format is "%d/%m/%Y" but many locales have longer date formats.
Comment 8 Derek Atkins 2005-08-29 19:41:50 UTC
I've got a fix for this in CVS, committed to 1.8 and g2.
Comment 9 John Ralls 2018-06-29 20:50:54 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=170444. Please update any external references or bookmarks.