Bug#399360: python-central: Version 0.5.10 causes updatemanager applet in Gnome not to start - and Desktop items not to be displayed

2006-11-19 Thread Anders Brandt Petersen
Package: python-central
Version: 0.5.8
Severity: important

The problem above does not appear when using 0.5.8. I have not been able 
to see any relevant informations in the syslog.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17abp1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages python-central depends on:
ii  python2.4.3-11   An interactive high-level object-o

python-central recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#350390: gnubg: immediate segfault on AMD64

2006-03-10 Thread Anders Brandt Petersen

Russ Allbery wrote:


Could you try this patch in addition to the previous one?

Index: gnubg.c
===
--- gnubg.c (revision 348)
+++ gnubg.c (working copy)
@@ -8971,7 +8971,8 @@
#if HAVE_ICONV

  iconv_t id;
-  int lIn, lOut, l, rc, nUsed;
+  size_t lIn, lOut, l;
+  int rc, nUsed;
#if WIN32
  const char *pchIn;
#else

Thank you very much for the testing!

 


You're welcome I'm glad that I can help :-)

I've now compiled two new versions (gcc 3.4 and 4.0) - and I've been 
able to play several games in both versions without any Segfaults - 
Thanks a lot.


Best Regards
Anders


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#350390: gnubg: immediate segfault on AMD64

2006-03-09 Thread Anders Brandt Petersen

Russ Allbery wrote:


Aha.  I bet there was never a problem with Guile at all.

Would it be possible for you to apply a patch and rebuild the package as a
test?  I think this patch will fix the segfaults:

Index: board3d/misc3d.c
===
--- board3d/misc3d.c(revision 348)
+++ board3d/misc3d.c(working copy)
@@ -787,10 +787,10 @@
float ***Alloc3d(int x, int y, int z)
{  /* Allocate 3d array */
   int i, j;
-   float ***array = (float ***)malloc(sizeof(float) * x);
+   float ***array = (float ***)malloc(sizeof(float **) * x);
   for (i = 0; i < x; i++)
   {
-   array[i] = (float **)malloc(sizeof(float) * y);
+   array[i] = (float **)malloc(sizeof(float *) * y);
   for (j = 0; j < y; j++)
   array[i][j] = (float *)malloc(sizeof(float) * z);
   }

I'm pretty sure this is right, but if you could test before I do the
upload, that would be wonderful.

 

I've done a test build and now it first segfaults when  I say Ok to 
create a  new game.


I therefore created 2 builds one gcc/g++ pointing to version 4.0 and one 
pointing to 3.4 - did'nt know whichone to use. Anyway both gave the same 
results.


I have attached backtraces for both builds.

Thanks


[EMAIL PROTECTED]:~$ gdb gnubg 
GNU gdb 6.4-debian
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you 
are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for 
details.
This GDB was configured as "x86_64-linux-gnu"...(no debugging symbols 
found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) r
Starting program: /usr/games/gnubg 
(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)
[Thread debugging using libthread_db enabled]
[New Thread 46912570259440 (LWP 15563)]
GNU Backgammon 0.14.3
Copyright 1999, 2000, 2001, 2002, 2003, 2004 by Gary Wong.
GNU Backgammon is free software, covered by the GNU General Public 
License
version 2, and you are welcome to change it and/or distribute copies of 
it
under certain conditions.  Type "show copying" to see the conditions.
There is absolutely no warranty for GNU Backgammon.  Type "show 
warranty" for
details.

***WARNING***

Note that gnubg does not use the gnubg.bd file.
You should obtain the file gnubg_ts0.bd or generate
it yourself using the program 'makebearoff'.
You can generate the file with the command:
makebearoff -t 6x6 > gnubg_ts0.bd
You can also generate other bearoff databases; see
README for more details

(No game) 
Program received signal SIGSEGV, Segmentation fault.
---Type  to continue, or q  to quit---
[Switching to Thread 46912570259440 (LWP 15563)]
0x2cd93367 in __gconv_get_alias_db () from /lib/libc.so.6
(gdb) bt
#0  0x2cd93367 in __gconv_get_alias_db () from /lib/libc.so.6
#1  0x2cd8e61b in iconv_close () from /lib/libc.so.6
#2  0x2cd8dcf5 in iconv () from /lib/libc.so.6
#3  0x00430f7a in Convert ()
#4  0x00438263 in UserCommand ()
#5  0x004b594d in ShowHelp ()
#6  0x2d2124c0 in g_closure_invoke () from 
/usr/lib/libgobject-2.0.so.0
#7  0x2d2210c2 in g_signal_stop_emission ()
   from /usr/lib/libgobject-2.0.so.0
#8  0x2d22259c in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#9  0x2d222953 in g_signal_emit () from 
/usr/lib/libgobject-2.0.so.0
#10 0x2b8a0b87 in _gtk_button_set_depressed ()
   from /usr/lib/libgtk-x11-2.0.so.0
#11 0x2d2124c0 in g_closure_invoke () from 
/usr/lib/libgobject-2.0.so.0
#12 0x2d220c00 in g_signal_stop_emission ()
   from /usr/lib/libgobject-2.0.so.0
#13 0x2d22259c in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#14 0x2d222953 in g_signal_emit () from 
/usr/lib/libgobject-2.0.so.0
#15 0x2b8a0139 in _gtk_button_paint ()
   from /usr/lib/libgtk-x11-2.0.so.0
#16 0x2b959250 in _gtk_marshal_BOOLEAN__BOXED ()
---Type  to continue, or q  to quit---
   from /usr/lib/libgtk-x11-2.0.so.0
#17 0x2d2124c0 in g_closure_invoke () from 
/usr/lib/libgobject-2.0.so.0
#18 0x2d22126d in g_signal_stop_emission ()
   from /usr/lib/libgobject-2.0.so.0
#19 0x2dd7 in g_signal_emit_valist ()
   from /usr/lib/libgobject-

Bug#350390: gnubg: immediate segfault on AMD64

2006-03-07 Thread Anders Brandt Petersen

Russ Allbery wrote:


tags 350390 = help
thanks

Anders Brandt Petersen <[EMAIL PROTECTED]> writes:
 


Russ Allbery wrote:
   



 


Help from the AMD64 porters tracked the problem apparently down to
Guile.  I've just uploaded a new version of gnubg that doesn't build
with Guile support on AMD64.  When 0.14.3-4 makes it into the archives
for AMD64, could you check to see if this fixes the problem for you and
let me know either way?
 



 


Sorry to say it is exactly the same symptoms, would a new backtrace and
valgrind output be helpfull?
   



A backtrace would be useful (I unfortunately can't do much with the core
dump).  I don't think valgrind is proving horribly useful here.  Could you
also check for me whether gnubg is still linked with Guile?  It's possible
I missed something in the build system.  Running:

   ldd /usr/games/gnubg | grep guile
 


It is not linked to guile.


should answer that question.

Thanks!

 


Below is a new backtrace:

[EMAIL PROTECTED]:~$ gdb gnubg 
GNU gdb 6.4-debian

Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "x86_64-linux-gnu"...(no debugging symbols
found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) r
Starting program: /usr/games/gnubg
(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)
[Thread debugging using libthread_db enabled]
[New Thread 46912570259440 (LWP 6470)]
GNU Backgammon 0.14.3
Copyright 1999, 2000, 2001, 2002, 2003, 2004 by Gary Wong.
GNU Backgammon is free software, covered by the GNU General Public
License
version 2, and you are welcome to change it and/or distribute copies of
it
under certain conditions.  Type "show copying" to see the conditions.
There is absolutely no warranty for GNU Backgammon.  Type "show
warranty" for
details.

***WARNING***

Note that gnubg does not use the gnubg.bd file.
You should obtain the file gnubg_ts0.bd or generate
it yourself using the program 'makebearoff'.
You can generate the file with the command:
makebearoff -t 6x6 > gnubg_ts0.bd
You can also generate other bearoff databases; see
README for more details

(No game)
Program received signal SIGSEGV, Segmentation fault.
---Type  to continue, or q  to quit---
[Switching to Thread 46912570259440 (LWP 6470)]
0x0050b59f in calculateEigthPoints ()
(gdb) bt
#0  0x0050b59f in calculateEigthPoints ()
#1  0x00506bf4 in preDraw3d ()
#2  0x0050d563 in realize ()
#3  0x2d2124c0 in g_closure_invoke () from
/usr/lib/libgobject-2.0.so.0
#4  0x2d2210c2 in g_signal_stop_emission ()
  from /usr/lib/libgobject-2.0.so.0
#5  0x2d22259c in g_signal_emit_valist ()
  from /usr/lib/libgobject-2.0.so.0
#6  0x2d222953 in g_signal_emit () from
/usr/lib/libgobject-2.0.so.0
#7  0x2ba3cf24 in gtk_widget_realize ()
  from /usr/lib/libgtk-x11-2.0.so.0
#8  0x2ba3d098 in gtk_widget_map () from
/usr/lib/libgtk-x11-2.0.so.0
#9  0x2b89e1c0 in gtk_box_reorder_child ()
  from /usr/lib/libgtk-x11-2.0.so.0
#10 0x2b8d6039 in gtk_container_get_focus_hadjustment ()
  from /usr/lib/libgtk-x11-2.0.so.0
#11 0x2d2124c0 in g_closure_invoke () from
/usr/lib/libgobject-2.0.so.0
#12 0x2d220c00 in g_signal_stop_emission ()
  from /usr/lib/libgobject-2.0.so.0
#13 0x2d22259c in g_signal_emit_valist ()
  from /usr/lib/libgobject-2.0.so.0
#14 0x2d222953 in g_signal_emit () from
/usr/lib/libgobject-2.0.so.0
#15 0x2ba3d05b in gtk_widget_map () from
/usr/lib/libgtk-x11-2.0.so.0
---Type  to continue, or q  to quit---
#16 0x2b89e1c0 in gtk_box_reorder_child ()
  from /usr/lib/libgtk-x11-2.0.so.0
#17 0x2b8d6039 in gtk_container_get_focus_hadjustment ()
  from /usr/lib/libgtk-x11-2.0.so.0
#18 0x2d2124c0 in g_closure_invoke () from
/usr/lib/libgobject-2.0.so.0
#19 0x2d220c00 in g_signal_stop_emission ()
  from /usr/lib/libgobject-2.0.so.0
#20 0x2d22259c in g_signal_emit_valist ()
  from /usr/lib/libgobject-2.0.so.0
#21 0x2d222953 in g_signal_emit () from
/usr/lib/libgobject-2.0.so.0

Bug#350390: gnubg: immediate segfault on AMD64

2006-03-06 Thread Anders Brandt Petersen

Russ Allbery wrote:


tags 350390 = pending
thanks

Help from the AMD64 porters tracked the problem apparently down to Guile.
I've just uploaded a new version of gnubg that doesn't build with Guile
support on AMD64.  When 0.14.3-4 makes it into the archives for AMD64,
could you check to see if this fixes the problem for you and let me know
either way?

 

Sorry to say it is exactly the same symptoms, would a new backtrace and 
valgrind output be helpfull?



If this does fix the problem, I'll file a bug against Guile.

Thanks!

 





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#350390: gnubg: Segmentation fault

2006-01-29 Thread Anders Brandt Petersen

Russ Allbery wrote:


Anders Brandt Petersen <[EMAIL PROTECTED]> writes:

 


Package: gnubg
Version: 0.14.3-2
Severity: normal
Tags: experimental
   



 


When running gnubg in a dchroot environment it works, but in 64 bit I
get a Segmentation fault
   



 


GNU Backgammon 0.14.3
Copyright 1999, 2000, 2001, 2002, 2003, 2004 by Gary Wong.
GNU Backgammon is free software, covered by the GNU General Public
License
version 2, and you are welcome to change it and/or distribute copies of
it
under certain conditions.  Type "show copying" to see the conditions.
There is absolutely no warranty for GNU Backgammon.  Type "show
warranty" for
details.
(No game) Segmentation fault
   



This was mentioned upstream too, although upstream had thought it was due
to new code in CVS.  Apparently not.  Could you get a backtrace of the
core dump?  A run of gnubg in valgrind up to that point may also be
useful.

I do have an AMD64 system that I just haven't had time to build yet;
hopefully I'll get to that soon and then will be able to test easily
myself.

 

I have created a core dump using gcore - hope it is useful. Besides I 
have used valgrind-3.0.1-Debian without any options.


Result of both runs can temporarily be found at 
ftp://213.150.38.188/gnubg.tar.gz - login as ftp. The file is almost 10 
MB so I couldn't mail it.


To emphasize: The dchroot is a 32 bit environment running sid. GNU 
backgammon is also here version 0.14.3.


Let me know if I can be of any further assistance.

Anders


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#350390: gnubg: Segmentation fault

2006-01-29 Thread Anders Brandt Petersen
Package: gnubg
Version: 0.14.3-2
Severity: normal
Tags: experimental


When running gnubg in a dchroot environment it works, but in 64 bit I
get a Segmentation fault

GNU Backgammon 0.14.3
Copyright 1999, 2000, 2001, 2002, 2003, 2004 by Gary Wong.
GNU Backgammon is free software, covered by the GNU General Public
License
version 2, and you are welcome to change it and/or distribute copies of
it
under certain conditions.  Type "show copying" to see the conditions.
There is absolutely no warranty for GNU Backgammon.  Type "show
warranty" for
details.
(No game) Segmentation fault


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.3
Locale: LANG=da_DK, LC_CTYPE=da_DK (charmap=ISO-8859-1)

Versions of packages gnubg depends on:
ii  gnubg-data 0.14.3-2  Data files for GNU Backgammon
ii  guile-1.6-libs 1.6.7-2   Main Guile libraries
ii  libart21.4.2-30  The GNOME canvas widget - runtime 
ii  libartsc0  1.5.1-1   aRts sound system C support librar
ii  libaudio2  1.7-3 The Network Audio System (NAS). (s
ii  libaudiofile0  0.2.6-6   Open-source version of SGI's audio
ii  libc6  2.3.5-12  GNU C Library: Shared libraries an
ii  libesd00.2.36-3  Enlightened Sound Daemon - Shared 
ii  libfreetype6   2.1.10-1  FreeType 2 font engine, shared lib
ii  libgcc11:4.0.2-7 GCC support library
ii  libgdbm3   1.8.3-2   GNU dbm database routines (runtime
ii  libglib2.0-0   2.8.6-1   The GLib library of C routines
ii  libglu1-xorg [libglu1] 6.9.0.dfsg.1-4Mesa OpenGL utility library [X.Org
ii  libgmp3c2  4.1.4-11  Multiprecision arithmetic library
ii  libgtk2.0-02.8.10-1  The GTK+ graphical user interface 
ii  libgtkglext1   1.0.6-2   OpenGL Extension to GTK (shared li
ii  libncurses55.5-1 Shared libraries for terminal hand
ii  libpango1.0-0  1.10.2-1  Layout and rendering of internatio
ii  libpng12-0 1.2.8rel-5PNG library - runtime
ii  libreadline5   5.1-5 GNU readline and history libraries
ii  libstdc++6 4.0.2-7   The GNU Standard C++ Library v3
ii  libx11-6   6.9.0.dfsg.1-4X Window System protocol client li
ii  libxml22.6.23.dfsg.1-0.1 GNOME XML library
ii  python2.3  2.3.5-9   An interactive high-level object-o
ii  xlibmesa-gl [libgl1]   6.9.0.dfsg.1-4Mesa 3D graphics library [X.Org]

Versions of packages gnubg recommends:
ii  gnubg-bearoffs0.14.3-2   Bearoff database for GNU Backgammo

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]