Bug#602257: gnumeric crashes constantly

2010-11-04 Thread Andres Cimmarusti
 request 53 is CreatePixmap, so that probably means the program is trying
 to create a pixmap with either dimension bigger than 32767, or otherwise
 too big.  A breakpoint on gdk_x_error with --sync, or the output of
 xtrace, might help confirm this.

Ok, I did it. The trace is attached, though it doesn't look like it
worked... Did I miss something?
$ gdb gnumeric
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type show copying
and show warranty for details.
This GDB was configured as x86_64-linux-gnu.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/bin/gnumeric...done.
(gdb) set pagination 0
(gdb) break gdk_x_error
Function gdk_x_error not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (gdk_x_error) pending.
(gdb) run --sync
Starting program: /usr/bin/gnumeric --sync
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffe9930710 (LWP 3005)]
[New Thread 0x7fffe912f710 (LWP 3006)]
[New Thread 0x7fffe892e710 (LWP 3007)]
[New Thread 0x7fffe812d710 (LWP 3008)]
[New Thread 0x7fffe792c710 (LWP 3009)]
[Thread 0x7fffe792c710 (LWP 3009) exited]
[Thread 0x7fffe892e710 (LWP 3007) exited]
[Thread 0x7fffe9930710 (LWP 3005) exited]
[Thread 0x7fffe812d710 (LWP 3008) exited]
[New Thread 0x7fffe812d710 (LWP 3011)]
[Thread 0x7fffe912f710 (LWP 3006) exited]
[New Thread 0x7fffe912f710 (LWP 3012)]
[Thread 0x7fffe912f710 (LWP 3012) exited]
[New Thread 0x7fffe912f710 (LWP 3013)]
[Thread 0x7fffe912f710 (LWP 3013) exited]

** (/usr/bin/gnumeric:3002): WARNING **: Unknown namespace uri = 
'http://www.w3.org/2003/g/data-view#'

** (/usr/bin/gnumeric:3002): WARNING **: Unknown namespace uri = 
'http://www.w3.org/1999/xhtml'

** (/usr/bin/gnumeric:3002): WARNING **: Unknown namespace uri = 
'http://www.w3.org/2003/g/data-view#'

** (/usr/bin/gnumeric:3002): WARNING **: Unknown namespace uri = 
'http://openoffice.org/2009/table'

** (/usr/bin/gnumeric:3002): WARNING **: Unknown namespace uri = 
'http://www.w3.org/TR/css3-text/'

** (/usr/bin/gnumeric:3002): WARNING **: Unknown namespace uri = 
'http://www.w3.org/1999/xhtml'

** (/usr/bin/gnumeric:3002): WARNING **: Unknown namespace uri = 
'http://www.w3.org/2003/g/data-view#'

** (/usr/bin/gnumeric:3002): WARNING **: Unknown namespace uri = 
'http://openoffice.org/2009/table'

** (/usr/bin/gnumeric:3002): WARNING **: Unknown namespace uri = 
'http://www.w3.org/TR/css3-text/'
[Thread 0x7fffe812d710 (LWP 3011) exited]
The program '/usr/bin/gnumeric' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 446465 error_code 11 request_code 53 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Program exited with code 01.



Bug#602257: gnumeric crashes constantly

2010-11-04 Thread Julien Cristau
On Thu, Nov  4, 2010 at 12:10:41 -0400, Andres Cimmarusti wrote:

  request 53 is CreatePixmap, so that probably means the program is trying
  to create a pixmap with either dimension bigger than 32767, or otherwise
  too big.  A breakpoint on gdk_x_error with --sync, or the output of
  xtrace, might help confirm this.
 
 Ok, I did it. The trace is attached, though it doesn't look like it
 worked... Did I miss something?

Do you have debugging symbols for gtk?

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#602257: gnumeric crashes constantly

2010-11-04 Thread Andres Cimmarusti
 Do you have debugging symbols for gtk?

Sorry about that. I installed the debugging symbols for gtk and I got
the trace again.

Thanks

Andres
$ gdb gnumeric
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type show copying
and show warranty for details.
This GDB was configured as x86_64-linux-gnu.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/bin/gnumeric...done.
(gdb) set pagination 0
(gdb) break gdk_x_error
Function gdk_x_error not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (gdk_x_error) pending.
(gdb) run --sync
Starting program: /usr/bin/gnumeric --sync
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffe9930710 (LWP 3144)]
[New Thread 0x7fffe912f710 (LWP 3145)]
[New Thread 0x7fffe892e710 (LWP 3146)]
[New Thread 0x7fffe812d710 (LWP 3147)]
[New Thread 0x7fffe792c710 (LWP 3148)]
[New Thread 0x7fffe712b710 (LWP 3149)]
[Thread 0x7fffe912f710 (LWP 3145) exited]
[Thread 0x7fffe812d710 (LWP 3147) exited]
[Thread 0x7fffe892e710 (LWP 3146) exited]
[Thread 0x7fffe712b710 (LWP 3149) exited]
[Thread 0x7fffe792c710 (LWP 3148) exited]

** (/usr/bin/gnumeric:3141): WARNING **: Unknown namespace uri = 
'http://www.w3.org/2003/g/data-view#'

** (/usr/bin/gnumeric:3141): WARNING **: Unknown namespace uri = 
'http://www.w3.org/1999/xhtml'

** (/usr/bin/gnumeric:3141): WARNING **: Unknown namespace uri = 
'http://www.w3.org/2003/g/data-view#'

** (/usr/bin/gnumeric:3141): WARNING **: Unknown namespace uri = 
'http://openoffice.org/2009/table'

** (/usr/bin/gnumeric:3141): WARNING **: Unknown namespace uri = 
'http://www.w3.org/TR/css3-text/'

** (/usr/bin/gnumeric:3141): WARNING **: Unknown namespace uri = 
'http://www.w3.org/1999/xhtml'

** (/usr/bin/gnumeric:3141): WARNING **: Unknown namespace uri = 
'http://www.w3.org/2003/g/data-view#'

** (/usr/bin/gnumeric:3141): WARNING **: Unknown namespace uri = 
'http://openoffice.org/2009/table'

** (/usr/bin/gnumeric:3141): WARNING **: Unknown namespace uri = 
'http://www.w3.org/TR/css3-text/'
[Thread 0x7fffe9930710 (LWP 3144) exited]

Breakpoint 1, gdk_x_error (display=0x6cb3b0, error=0x7fffd7f0) at 
/scratch/build-area/gtk+2.0-2.20.1/gdk/x11/gdkmain-x11.c:438
438 /scratch/build-area/gtk+2.0-2.20.1/gdk/x11/gdkmain-x11.c: No such file 
or directory.
in /scratch/build-area/gtk+2.0-2.20.1/gdk/x11/gdkmain-x11.c
(gdb) bt
#0  gdk_x_error (display=0x6cb3b0, error=0x7fffd7f0) at 
/scratch/build-area/gtk+2.0-2.20.1/gdk/x11/gdkmain-x11.c:438
#1  0x73fa2d0c in _XError () from /usr/lib/libX11.so.6
#2  0x73faa139 in ?? () from /usr/lib/libX11.so.6
#3  0x73faa820 in _XReply () from /usr/lib/libX11.so.6
#4  0x73f9e403 in XSync () from /usr/lib/libX11.so.6
#5  0x73f9e5bb in ?? () from /usr/lib/libX11.so.6
#6  0x73fa3a4e in ?? () from /usr/lib/libX11.so.6
#7  0x73f7f2a7 in XCreatePixmap () from /usr/lib/libX11.so.6
#8  0x76bcfa4c in _gdk_pixmap_new (drawable=0x364bd30, width=value 
optimized out, height=34820, depth=24) at 
/scratch/build-area/gtk+2.0-2.20.1/gdk/x11/gdkpixmap-x11.c:175
#9  0x76bab249 in gdk_window_begin_implicit_paint (window=0x364bd30) at 
/scratch/build-area/gtk+2.0-2.20.1/gdk/gdkwindow.c:2643
#10 gdk_window_process_updates_internal (window=0x364bd30) at 
/scratch/build-area/gtk+2.0-2.20.1/gdk/gdkwindow.c:5326
#11 0x76bafbdd in IA__gdk_window_process_updates (window=0x364bd30, 
update_children=1) at /scratch/build-area/gtk+2.0-2.20.1/gdk/gdkwindow.c:5514
#12 0x770862c0 in gtk_window_move_resize (container=0x364be40) at 
/scratch/build-area/gtk+2.0-2.20.1/gtk/gtkwindow.c:6346
#13 gtk_window_check_resize (container=0x364be40) at 
/scratch/build-area/gtk+2.0-2.20.1/gtk/gtkwindow.c:5403
#14 0x7671547e in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#15 0x7672b040 in ?? () from /usr/lib/libgobject-2.0.so.0
#16 0x7672ca76 in g_signal_emit_valist () from 
/usr/lib/libgobject-2.0.so.0
#17 0x7672cfc3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#18 0x76ed5210 in gtk_container_idle_sizer (data=value optimized out) 
at /scratch/build-area/gtk+2.0-2.20.1/gtk/gtkcontainer.c:1350
#19 0x76b89d26 in gdk_threads_dispatch (data=0x1b52b60) at 
/scratch/build-area/gtk+2.0-2.20.1/gdk/gdk.c:512
#20 0x762676f2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#21 0x7626b568 in ?? () from /lib/libglib-2.0.so.0
#22 0x7626ba75 in g_main_loop_run () from /lib/libglib-2.0.so.0
#23 0x76f536b7 in IA__gtk_main () at 
/scratch/build-area/gtk+2.0-2.20.1/gtk/gtkmain.c:1219
#24 0x0040539b in main (argc=2, argv=0x7fffe3d8) at 

Bug#602257: gnumeric crashes constantly

2010-11-04 Thread Julien Cristau
On Thu, Nov  4, 2010 at 12:24:59 -0400, Andres Cimmarusti wrote:

 #7  0x73f7f2a7 in XCreatePixmap () from /usr/lib/libX11.so.6
 #8  0x76bcfa4c in _gdk_pixmap_new (drawable=0x364bd30, width=value 
 optimized out, height=34820, depth=24) at 
 /scratch/build-area/gtk+2.0-2.20.1/gdk/x11/gdkpixmap-x11.c:175

Seems to confirm the suspicion of trying to create an insanely big
pixmap.  I'm not familiar enough with gnumeric to know where that comes
from or how to fix it though.

 #9  0x76bab249 in gdk_window_begin_implicit_paint (window=0x364bd30) 
 at /scratch/build-area/gtk+2.0-2.20.1/gdk/gdkwindow.c:2643
 #10 gdk_window_process_updates_internal (window=0x364bd30) at 
 /scratch/build-area/gtk+2.0-2.20.1/gdk/gdkwindow.c:5326
 #11 0x76bafbdd in IA__gdk_window_process_updates (window=0x364bd30, 
 update_children=1) at /scratch/build-area/gtk+2.0-2.20.1/gdk/gdkwindow.c:5514
 #12 0x770862c0 in gtk_window_move_resize (container=0x364be40) at 
 /scratch/build-area/gtk+2.0-2.20.1/gtk/gtkwindow.c:6346
 #13 gtk_window_check_resize (container=0x364be40) at 
 /scratch/build-area/gtk+2.0-2.20.1/gtk/gtkwindow.c:5403
 #14 0x7671547e in g_closure_invoke () from 
 /usr/lib/libgobject-2.0.so.0
 #15 0x7672b040 in ?? () from /usr/lib/libgobject-2.0.so.0
 #16 0x7672ca76 in g_signal_emit_valist () from 
 /usr/lib/libgobject-2.0.so.0
 #17 0x7672cfc3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
 #18 0x76ed5210 in gtk_container_idle_sizer (data=value optimized 
 out) at /scratch/build-area/gtk+2.0-2.20.1/gtk/gtkcontainer.c:1350
 #19 0x76b89d26 in gdk_threads_dispatch (data=0x1b52b60) at 
 /scratch/build-area/gtk+2.0-2.20.1/gdk/gdk.c:512
 #20 0x762676f2 in g_main_context_dispatch () from 
 /lib/libglib-2.0.so.0
 #21 0x7626b568 in ?? () from /lib/libglib-2.0.so.0
 #22 0x7626ba75 in g_main_loop_run () from /lib/libglib-2.0.so.0
 #23 0x76f536b7 in IA__gtk_main () at 
 /scratch/build-area/gtk+2.0-2.20.1/gtk/gtkmain.c:1219
 #24 0x0040539b in main (argc=2, argv=0x7fffe3d8) at 
 ../../src/main-application.c:457
 

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#602257: gnumeric crashes constantly

2010-11-03 Thread Bob Mesibov
Installed system:
Debian GNU/Linux testing _Squeeze_ - Official Snapshot i386 xfce+lxde-CD 
Binary-1 20101025-04:02

Running: gnumeric 1.10.8-1squeeze3

No crashes, all operations tested so far work fine.



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#602257: gnumeric crashes constantly

2010-11-03 Thread J.H.M. Dassen (Ray)
On Tue, Nov 02, 2010 at 19:42:35 -0400, Andres Cimmarusti wrote:
 Gnumeric constantly crashes on me, especially when doing copying and
 pasting.

This is the first such report.

 I get the following messages in .xsession-errors
 
 The program 'gnumeric' received an X Window System error.
 This probably reflects a bug in the program.
 The error was 'BadAlloc (insufficient resources for operation)'.

This error is thrown deep down in the library stack that Gnumeric builds on;
as Gnumeric builds on Gtk+ rather than use X libraries directly, it is
unlikely this is the result of a bug in Gnumeric itself.

Are you using Compiz? Are you using a custom Gtk theme? Can you reproduce
the crashes with a freshly created user account?

Kind regards,
Ray
-- 
ART  A friend of mine in Tulsa, Okla., when I was about eleven years old.
I'd be interested to hear from him. There are so many pseudos around taking
his name in vain.
- The Hipcrime Vocab by Chad C. Mulligan



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#602257: gnumeric crashes constantly

2010-11-03 Thread Andres Cimmarusti
 Are you using Compiz? Are you using a custom Gtk theme? Can you reproduce
 the crashes with a freshly created user account?

I am using a freshly created account. I don't use compiz nor any
custom gtk theme. I have a stock squeeze installation, except that I
custom-compiled squeeze's kernel to fit my processor description.

I know I can use gdb to provide a debugging trace, but I don't know
how to do it. If you point me in the right direction I'll give you the
traces.

Andres



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#602257: gnumeric crashes constantly

2010-11-03 Thread Mehdi Dogguy
On 03/11/2010 14:24, Andres Cimmarusti wrote:
 Are you using Compiz? Are you using a custom Gtk theme? Can you reproduce
 the crashes with a freshly created user account?
 
 I am using a freshly created account. I don't use compiz nor any
 custom gtk theme. I have a stock squeeze installation, except that I
 custom-compiled squeeze's kernel to fit my processor description.
 
 I know I can use gdb to provide a debugging trace, but I don't know
 how to do it. If you point me in the right direction I'll give you the
 traces.
 

http://wiki.debian.org/HowToGetABacktrace

HTH,

-- 
Mehdi Dogguy مهدي الدڤي
me...@{dogguy.org,debian.org}



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#602257: gnumeric crashes constantly

2010-11-03 Thread Julien Cristau
On Tue, Nov  2, 2010 at 19:42:35 -0400, Andres Cimmarusti wrote:

 The error was 'BadAlloc (insufficient resources for operation)'.
   (Details: serial 1887243 error_code 11 request_code 53 minor_code 0)

request 53 is CreatePixmap, so that probably means the program is trying
to create a pixmap with either dimension bigger than 32767, or otherwise
too big.  A breakpoint on gdk_x_error with --sync, or the output of
xtrace, might help confirm this.

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#602257: gnumeric crashes constantly

2010-11-02 Thread Andres Cimmarusti
Package: gnumeric
Version: 1.10.8-1squeeze3
Severity: grave
Justification: causes non-serious data loss

Gnumeric constantly crashes on me, especially when doing copying and pasting. I 
get the following messages in .xsession-errors

The program 'gnumeric' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 1887243 error_code 11 request_code 53 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64-dbg.dt.1 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnumeric depends on:
ii  debconf [de 1.5.36   Debian configuration management sy
ii  gconf2  2.28.1-5 GNOME configuration database syste
ii  gnumeric-co 1.10.8-1squeeze3 spreadsheet application for GNOME 
ii  gsfonts 1:8.11+urwcyr1.0.7~pre44-4.2 Fonts for the Ghostscript interpre
ii  libatk1.0-0 1.30.0-1 The ATK accessibility toolkit
ii  libc6   2.11.2-6 Embedded GNU C Library: Shared lib
ii  libcairo2   1.8.10-6 The Cairo 2D vector graphics libra
ii  libglade2-0 1:2.6.4-1library to load .glade files at ru
ii  libglib2.0- 2.24.2-1 The GLib library of C routines
ii  libgoffice- 0.8.8-1  Document centric objects library -
ii  libgsf-1-11 1.14.18-1Structured File Library - runtime 
ii  libgtk2.0-0 2.20.1-2 The GTK+ graphical user interface 
ii  libpango1.0 1.28.3-1 Layout and rendering of internatio
ii  libxml2 2.7.7.dfsg-4 GNOME XML library
ii  procps  1:3.2.8-9/proc file system utilities
ii  zlib1g  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages gnumeric recommends:
ii  evince2.30.3-1   Document (postscript, pdf) viewer
ii  lp-solve  5.5.0.13-7 Solve (mixed integer) linear progr

Versions of packages gnumeric suggests:
pn  epiphany-browser   none(no description available)
ii  gnumeric-doc   1.10.8-1squeeze3  spreadsheet application for GNOME 
ii  gnumeric-plugins-extra 1.10.8-1squeeze3  spreadsheet application for GNOME 
ii  ttf-liberation 1.05.2.20091019-4 Fonts with the same metrics as Tim
ii  ttf-mscorefonts-instal 3.3   Installer for Microsoft TrueType c

-- debconf information:
  gnumeric/existing-process: false
  gnumeric/existing-process-title:



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org