gnucash core dumps

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

gnucash core dumps

岡本健二
I have a problem to run gnucash on my -current system:

It does not remember the previous state of windows size, position, or
opened files before... and dumps gnucash.core every time.

I checked it as:
ci5hp2: gdb gnucash -c gnucash.core, and found the errors as:
 Reading symbols from /usr/local/lib/librsvg-2.so.39.0...
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2)
[in
module /usr/local/lib/librsvg-2.so.39.0]

I'm using pkg_add -u version of gnucash.

Kenji
Reply | Threaded
Open this post in threaded view
|

Re: gnucash core dumps

Stuart Henderson
On 2019/03/08 08:57, 岡本健二 wrote:

> I have a problem to run gnucash on my -current system:
>
> It does not remember the previous state of windows size, position, or
> opened files before... and dumps gnucash.core every time.
>
> I checked it as:
> ci5hp2: gdb gnucash -c gnucash.core, and found the errors as:
>  Reading symbols from /usr/local/lib/librsvg-2.so.39.0...
> Error while reading shared library symbols:
> Dwarf Error: wrong version in compilation unit header (is 4, should be 2)
> [in
> module /usr/local/lib/librsvg-2.so.39.0]
>
> I'm using pkg_add -u version of gnucash.
>
> Kenji

gdb in base is very old (we have stayed with the last GPLv2 version) -
you may be able to get a backtrace with the new one in ports:

# pkg_add gdb
$ egdb gnucash -c gnucash.core

Reply | Threaded
Open this post in threaded view
|

Re: gnucash core dumps

岡本健二
Thanks!

Then, I got the warnings as:

Reading symbols from gnucash...(no debugging symbols found)...done.
[New process 263110]
[New process 360684]
[New process 128393]
[New process 368300]
[New process 458730]
[New process 408938]

warning: .dynamic section for "/usr/lib/libc.so.95.0" is not at the
expected address (wrong library or version mismatch?)
Core was generated by `gnucash'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00000d6bc2c6042a in __mbsconv (mbsarg=<optimized out>,
prec=<optimized out>)
    at /usr/src/lib/libc/stdio/vfwprintf.c:190
190                             nconv = mbrlen(p, MB_CUR_MAX, &mbs);
[Current thread is 1 (process 263110)]
(gdb)

libc.so.95.0 problem?

Kenji


2019年3月8日(金) 9:26 Stuart Henderson <[hidden email]>:

> On 2019/03/08 08:57, 岡本健二 wrote:
> > I have a problem to run gnucash on my -current system:
> >
> > It does not remember the previous state of windows size, position, or
> > opened files before... and dumps gnucash.core every time.
> >
> > I checked it as:
> > ci5hp2: gdb gnucash -c gnucash.core, and found the errors as:
> >  Reading symbols from /usr/local/lib/librsvg-2.so.39.0...
> > Error while reading shared library symbols:
> > Dwarf Error: wrong version in compilation unit header (is 4, should be 2)
> > [in
> > module /usr/local/lib/librsvg-2.so.39.0]
> >
> > I'm using pkg_add -u version of gnucash.
> >
> > Kenji
>
> gdb in base is very old (we have stayed with the last GPLv2 version) -
> you may be able to get a backtrace with the new one in ports:
>
> # pkg_add gdb
> $ egdb gnucash -c gnucash.core
>
>
Reply | Threaded
Open this post in threaded view
|

Re: gnucash core dumps

岡本健二
more details as:Core was generated by `gnucash'.
Program terminated with signal SIGABRT, Aborted.
#0  thrkill () at -:3
3       -: No such file or directory.
[Current thread is 1 (process 293792)]
(gdb) bt
#0  thrkill () at -:3
#1  0x0000012cf8547abe in _libc_abort () at
/usr/src/lib/libc/stdlib/abort.c:51
#2  0x0000012cf850ca49 in wrterror (d=0x12c8a2d36c0, msg=0x12cf84c5ea5 "use
after free %p")
    at /usr/src/lib/libc/stdlib/malloc.c:297
#3  0x0000012cf850d4e7 in ofree (argpool=<optimized out>, p=0x0,
clear=<optimized out>,
    check=<optimized out>, argsz=0) at
/usr/src/lib/libc/stdlib/malloc.c:1287
#4  0x0000012cf850cb4a in free (ptr=0x12cbb48a7c0) at
/usr/src/lib/libc/stdlib/malloc.c:1451
#5  0x0000012d81b8b018 in g_hash_table_foreach (hash_table=0x12d3acfa800,
    func=0x12cd9b929b0 <destroy_style_helper>, user_data=0x12ccfe0c570)
    at ../glib-2.58.3/glib/ghash.c:1687
#6  0x0000012cd9b90278 in gnucash_sheet_finalize ()
   from /usr/local/lib/gnucash/libgncmod-register-gnome.so
#7  0x0000012d1dafc306 in g_object_unref (_object=0x12ccfe0c570) at
../glib-2.58.3/gobject/gobject.c:3346
#8  0x0000012cd9b93f5f in table_destroy_cb () from
/usr/local/lib/gnucash/libgncmod-register-gnome.so
#9  0x0000012c85c4f95b in gnc_table_destroy () from
/usr/local/lib/gnucash/libgncmod-register-core.so
#10 0x0000012cae358d97 in gnc_split_register_destroy ()
   from /usr/local/lib/gnucash/libgncmod-ledger-core.so
#11 0x0000012cae351825 in close_handler () from
/usr/local/lib/gnucash/libgncmod-ledger-core.so
#12 0x0000012d4d7b23f3 in gnc_plugin_page_register_destroy_widget ()
   from /usr/local/lib/libgnc-gnome.so.1.0
#13 0x0000012c88fb839e in gnc_main_window_close_page ()
   from /usr/local/lib/gnucash/libgncmod-gnome-utils.so
#14 0x0000012cfceb9ae7 in gnc_close_gui_component_by_session ()
   from /usr/local/lib/gnucash/libgncmod-app-utils.so
#15 0x0000012c88fac50c in gnc_file_quit () from
/usr/local/lib/gnucash/libgncmod-gnome-utils.so
#16 0x0000012d341ab147 in call_c_hook () from
/usr/local/lib/gnucash/libgncmod-engine.so
#17 0x0000012d81b8cc9c in g_hook_list_marshal (hook_list=0x12d2419a3c0,
may_recurse=1,
    marshaller=0x12d341ab0b0 <call_c_hook>, data=0x0) at
../glib-2.58.3/glib/ghook.c:672
#18 0x0000012d341aafe0 in gnc_hook_run () from
/usr/local/lib/gnucash/libgncmod-engine.so
#19 0x0000012c88fb0f0c in gnc_shutdown () from
/usr/local/lib/gnucash/libgncmod-gnome-utils.so
#20 0x0000012c88fbc86c in gnc_main_window_timed_quit ()
   from /usr/local/lib/gnucash/libgncmod-gnome-utils.so
#21 0x0000012d81b9a179 in g_timeout_dispatch (source=0x12d1af1f400,
callback=0x6, user_data=0x0)
    at ../glib-2.58.3/glib/gmain.c:4667
#22 0x0000012d81b9e718 in g_main_dispatch (context=<optimized out>) at
../glib-2.58.3/glib/gmain.c:3182
#23 g_main_context_dispatch (context=<optimized out>) at
../glib-2.58.3/glib/gmain.c:3847
#24 0x0000012d81b9eb36 in g_main_context_iterate (context=<optimized out>,
block=1, dispatch=1,
    self=<optimized out>) at ../glib-2.58.3/glib/gmain.c:3920
#25 0x0000012d81b9ef3f in g_main_loop_run (loop=0x12d7128c290) at
../glib-2.58.3/glib/gmain.c:4116
#26 0x0000012d2924d598 in gtk_main () at gtkmain.c:1323
#27 0x0000012c88fb0a9d in gnc_ui_start_event_loop () from
/usr/local/lib/gnucash/libgncmod-gnome-utils.so
#28 0x0000012a81e3eed8 in inner_main ()
#29 0x0000012d332e06a6 in invoke_main_func () from
/usr/local/lib/libguile-2.2.so.0.2
#30 0x0000012d332ba3f2 in c_body () from /usr/local/lib/libguile-2.2.so.0.2
#31 0x0000012d3335d152 in vm_regular_engine () from
/usr/local/lib/libguile-2.2.so.0.2
#32 0x0000012d33359c8e in scm_call_n () from
/usr/local/lib/libguile-2.2.so.0.2
#33 0x0000012d33355aac in catch () from /usr/local/lib/libguile-2.2.so.0.2
#34 0x0000012d332ba386 in scm_c_with_continuation_barrier () from
/usr/local/lib/libguile-2.2.so.0.2
#35 0x0000012d33355564 in with_guile () from
/usr/local/lib/libguile-2.2.so.0.2
---Type <return> to continue, or q <return> to quit---

Hmmm, is there anyone to point what is the problem...
#2-#4 looks like to have problem tome.

Kenji


2019年3月9日(土) 5:12 岡本健二 <[hidden email]>:

> Thanks!
>
> Then, I got the warnings as:
>
> Reading symbols from gnucash...(no debugging symbols found)...done.
> [New process 263110]
> [New process 360684]
> [New process 128393]
> [New process 368300]
> [New process 458730]
> [New process 408938]
>
> warning: .dynamic section for "/usr/lib/libc.so.95.0" is not at the
> expected address (wrong library or version mismatch?)
> Core was generated by `gnucash'.
> Program terminated with signal SIGABRT, Aborted.
> #0  0x00000d6bc2c6042a in __mbsconv (mbsarg=<optimized out>,
> prec=<optimized out>)
>     at /usr/src/lib/libc/stdio/vfwprintf.c:190
> 190                             nconv = mbrlen(p, MB_CUR_MAX, &mbs);
> [Current thread is 1 (process 263110)]
> (gdb)
>
> libc.so.95.0 problem?
>
> Kenji
>
>
> 2019年3月8日(金) 9:26 Stuart Henderson <[hidden email]>:
>
>> On 2019/03/08 08:57, 岡本健二 wrote:
>> > I have a problem to run gnucash on my -current system:
>> >
>> > It does not remember the previous state of windows size, position, or
>> > opened files before... and dumps gnucash.core every time.
>> >
>> > I checked it as:
>> > ci5hp2: gdb gnucash -c gnucash.core, and found the errors as:
>> >  Reading symbols from /usr/local/lib/librsvg-2.so.39.0...
>> > Error while reading shared library symbols:
>> > Dwarf Error: wrong version in compilation unit header (is 4, should be
>> 2)
>> > [in
>> > module /usr/local/lib/librsvg-2.so.39.0]
>> >
>> > I'm using pkg_add -u version of gnucash.
>> >
>> > Kenji
>>
>> gdb in base is very old (we have stayed with the last GPLv2 version) -
>> you may be able to get a backtrace with the new one in ports:
>>
>> # pkg_add gdb
>> $ egdb gnucash -c gnucash.core
>>
>>