On Wednesday 13 April 2005 23:22, Wolfram Quester wrote:
> On Wed, Apr 13, 2005 at 08:08:53PM +0200, Guido Guenther wrote:
> > Hi Lee,
> > Could any of inkscape's extensions be buggy? Do you guys both have _all_
> > the extensions installed? Could you attach
> > .inkscape/extension-errors.log?

Hmmm, I'll attach it anyway, but it seems to from the last-known-good run.  If 
I move .inkscape out of the way, and run inkscape now, it crashes before even 
creating a .inkscape directory.


I'll answer Wolfram's questions here, if that's OK:
> Thanks for this. If I try to get a bt from your core file, I get 
> [EMAIL PROTECTED]:/tmp $ gdb -c inkscape_ppc_segfault.core /usr/bin/inkscape
> GNU gdb 6.3-debian
> [...snip...]
> Core was generated by `inkscape'.
> Program terminated with signal 11, Segmentation fault.
> #0 �0x30009da0 in ?? ()
> (gdb) bt
> #0 �0x30009da0 in ?? ()
> #1 �0x30009e7c in ?? ()
> Previous frame identical to this frame (corrupt stack?)
> 
> From your report I assume you get the same?

Yes, corrupt stack.  Not very useful, I'm afraid :(

I wrote previously:
> > $ ltrace -d inkscape
> > DEBUG: read_config_file.c:172: read_config_file(): Reading config file 
> > `/etc/ltrace.conf'...
> > DEBUG: read_config_file.c:172: read_config_file(): Reading config file 
> > `/home/jel/.ltrace.conf'...
> > DEBUG: elf.c:32: do_init_elf(): Reading ELF from /usr/bin/inkscape...
> > DEBUG: elf.c:216: do_init_elf(): /usr/bin/inkscape 1392 PLT relocations
> > DEBUG: execute_program.c:75: execute_program(): Executing 
> > `/usr/bin/inkscape'...
> > DEBUG: execute_program.c:89: execute_program(): PID=6746
> > DEBUG: process_event.c:70: process_event(): event: none

> This is a very strange behaviour. Do you use prelink on your system? It
> is known to have some issues on ppc. If you use it, can you please try
> to "unprelink" inkscape and check if it works then?

I had already checked that, but I went through all of inkscape's dependencies 
(and all the sub-dependencies of libs that inkscape uses that depend on 
libexpat), and manually ran prelink -u on them.  Then I did a global prelink 
-ua, just to be doubly sure.  No effect.

> And libexpat is the current package from unstable, right? What happens
> if you uninstall libexpat1-dev? libexpat is the lib which was loaded
> shortly before the segfault.

In the process of checking the dependencies, I verified that all of the 
dependent packages are straight from debian sid.

> However, inkscape does not depend on this library 
> and it is not linked against it (ldd /usr/bin/inkscape doesn't show
> libexpat here and I can run inkscape without having it installed).

Hmm.  That's strange.  I've purged and reinstalled inkscape from sid, and ldd 
still mentions expat for me.  I can't think of anything that would be 
different here from there, except for themes, but I tried setting a different 
GTK theme earlier, and nothing changed.  It's probably not getting as far as 
themes anyway.  I'll attach a copy of my ldd output too, just in case it 
helps.

So far, all I have is: 1) it's happening very early, during lib initialisation 
or before command line processing (since inkscape --help crashes just the 
same).  2) it looks (to me) like a null pointer dereference (from strace's 
last lines: SIGSEGV (Segmentation fault) @ 0 (0)) and 3) It's something that 
seems to be unique to my system.

Do either of you know what the next usual step is after loading libXext and 
libXcursor when and X and/or gtk app starts up?  I tried stepping through the 
code with gdb/ddd, but I ran into some problem that I forget now -- probably 
just due to my lack of gdb skills.

> Another thing which came to my mind is, do you have CONFIG_PREEMPT=y in
> your kernel configuration?

Nope, it's a standard sid kernel:

Linux version 2.6.11-powerpc ([EMAIL PROTECTED]) (version gcc 3.3.5 (Debian 
1:3.3.5-12)) #1 Mon Apr 4 04:03:40 CEST 2005

I think I've upgraded from 2.6.9 since I reported this, too.

I guess I'll try switching back to sid's X server when I get time later 
tomorrow, to see if that helps.  Let me know if I can do anything else :)

-- 
Lee.
Extension "AI Output" failed to load because a dependency was not met.
Dependency::
  type: executable
  location: path
  string: pstoedit

Extension "Postscript Input" failed to load because a dependency was not met.
Dependency::
  type: executable
  location: path
  string: pstoedit

Extension "EPS Input" failed to load because a dependency was not met.
Dependency::
  type: extension
  location: path
  string: org.inkscape.input.ps

Extension "Sketch Input" failed to load because a dependency was not met.
Dependency::
  type: executable
  location: path
  string: skconvert

Extension "Windows Metafile Input" failed to load because a dependency was not met.
Dependency::
  type: executable
  location: path
  string: wmf2svg

Extension "Dia Input" failed to load because a dependency was not met.
Dependency::
  type: executable
  location: path
  string: dia
  description: In order to import Dia files, Dia itself must be installed.  You can get Dia at http://somesite.com

        libxslt.so.1 => /usr/lib/libxslt.so.1 (0x0ffa7000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x0fe5a000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x0fde9000)
        libgtkmm-2.4.so.1 => /usr/lib/libgtkmm-2.4.so.1 (0x0fb0a000)
        libgdkmm-2.4.so.1 => /usr/lib/libgdkmm-2.4.so.1 (0x0faa7000)
        libatkmm-1.6.so.1 => /usr/lib/libatkmm-1.6.so.1 (0x0fa40000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x0f6e8000)
        libpangomm-1.4.so.1 => /usr/lib/libpangomm-1.4.so.1 (0x0f6a4000)
        libglibmm-2.4.so.1 => /usr/lib/libglibmm-2.4.so.1 (0x0f637000)
        libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x0f610000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x0f561000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x0f51b000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x0f4e3000)
        libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x0f4bb000)
        libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x0f48e000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x0f448000)
        libpopt.so.0 => /lib/libpopt.so.0 (0x0f41f000)
        libXft.so.2 => /usr/lib/libXft.so.2 (0x0f3ec000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x0f3c2000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x0f2c9000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x0f272000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x0f229000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x0f1c8000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x0f16c000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x0f148000)
        libdl.so.2 => /lib/libdl.so.2 (0x0f125000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x0f082000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x0efe7000)
        libz.so.1 => /usr/lib/libz.so.1 (0x0efb4000)
        libgc.so.1 => /usr/lib/libgc.so.1 (0x0ef77000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x0ee9e000)
        libm.so.6 => /lib/libm.so.6 (0x0ee09000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0eddb000)
        libc.so.6 => /lib/libc.so.6 (0x0ec7c000)
        /lib/ld.so.1 => /lib/ld.so.1 (0x30000000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x0ec58000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x0ec2e000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x0ebfc000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x0ebd1000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x0eb8b000)

Reply via email to