[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Crash when adding match to database

From: Michael Petch
Subject: Re: [Bug-gnubg] Crash when adding match to database
Date: Fri, 14 Aug 2009 00:00:16 -0600
User-agent: Microsoft-Entourage/

On 13/08/09 4:23 PM, "Christian Anthon" <address@hidden> wrote:

> I'm having similar problems. Michael, could you try with an empty
> database (move ~/.gnubg/gnubg.db out of the way) and see if you can
> add a match/show the records. I'll try to find time to look at it in
> the weekend if you cannot reproduce.

Just to add to this. I installed Ubuntu 32 bit, and Ubuntu 64 bit (Both
v9.04). Did a Distro install, then did (in each):

apt-get update
apt-get upgrade
apt-get install cvs
apt-get install build-dep gnubg

I pulled out the cvs code from Aug 13th, 2009. Then did

./configure --enable-threads

Under 32 Bit Ubuntu everything works. Utilizing 64 bit didn't. I could add
to the database (NO errors adding) but show records would fail with the
attached backtrace.

This doesn't necessarily mean its a 64 bit issue but it suggests that the
problem manifests itself on some distros and not others. It may be some
uninitialized variable issue, some compiler bug, a problem with sqlite3 on
the 64 bit platforms etc. I have never seen a DB issue on any 32 bit builds
(Maybe we've just been lucky in that regard).

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f8ef89ad7f0 (LWP 3572)]
0x00007f8ef2663c78 in ?? () from /lib/libc.so.6
(gdb) bt
#0  0x00007f8ef2663c78 in ?? () from /lib/libc.so.6
#1  0x00007f8ef2664276 in free () from /lib/libc.so.6
#2  0x00007f8ef812e7dd in sqlite3_free () from /usr/lib/libsqlite3.so.0
#3  0x00007f8ef81445c7 in ?? () from /usr/lib/libsqlite3.so.0
#4  0x00007f8ef816359a in ?? () from /usr/lib/libsqlite3.so.0
#5  0x00007f8ef8163735 in sqlite3_finalize () from /usr/lib/libsqlite3.so.0
#6  0x000000000043a158 in SQLiteSelect (
    at dbprovider.c:622
#7  0x000000000043a971 in RunQuery (
    at dbprovider.c:169
#8  0x00000000004ffe3e in GtkShowRelational (p=<value optimized out>,
    n=<value optimized out>, pw=<value optimized out>) at
#9  0x00007f8ef32f927d in g_closure_invoke () from
#10 0x00007f8ef330ee3b in ?? () from /usr/lib/libgobject-2.0.so.0
#11 0x00007f8ef3310432 in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#12 0x00007f8ef3310953 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#13 0x00007f8ef55c09eb in gtk_widget_activate ()
   from /usr/lib/libgtk-x11-2.0.so.0
#14 0x00007f8ef54c0e2d in gtk_menu_shell_activate_item ()
   from /usr/lib/libgtk-x11-2.0.so.0
#15 0x00007f8ef54c2875 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#16 0x00007f8ef54b2df8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x00007f8ef32f927d in g_closure_invoke () from
#18 0x00007f8ef330eb1e in ?? () from /usr/lib/libgobject-2.0.so.0
#19 0x00007f8ef33102bd in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#20 0x00007f8ef3310953 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#21 0x00007f8ef55bb09e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#22 0x00007f8ef54ab693 in gtk_propagate_event ()
   from /usr/lib/libgtk-x11-2.0.so.0
#23 0x00007f8ef54ac7b3 in gtk_main_do_event ()
   from /usr/lib/libgtk-x11-2.0.so.0
#24 0x00007f8ef4c11f3c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#25 0x00007f8ef2e5d20a in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#26 0x00007f8ef2e608e0 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0x00007f8ef2e60dad in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#28 0x00007f8ef54acbc7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#29 0x00000000004d353b in RunGTK (pwSplash=0x0, commands=0x0,
---Type <return> to continue, or q <return> to quit---
    python_script=0x0, match=0x0) at gtkgame.c:3573
#30 0x000000000045a5d9 in main (argc=1, argv=0x7fff009d7e68) at gnubg.c:4885


reply via email to

[Prev in Thread] Current Thread [Next in Thread]