Re: selfcompiled segfault with gcc3 (update)

From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Sun Apr 28 2002 - 18:51:50 EDT

  • Next message: Oki DZ: "PDF Writer"

    On Sun, 28 Apr 2002, Piotr Sawuk wrote:

    > Piotr Sawuk wrote:
    > >
    > > compilation went quite flawlessly, except that I had to edit
    > > src/af/util/xp/ut_iconv.cpp and replace a ICONV_CONST by const.
    > > I downloaded the sources of abi, abidistfiles, expat, libiconv,
    > > psiconv, unixfonts, and wv from cvs (with the 1-0-0 tag), put
    > > these into an empty directory, started configure (with extra
    > > optimizations, profile, libjpeg, pspell and gnome enabled and
    > > perl-scripting disabled) make and make install. But when I start
    > > abiword I see the splash-schreen and the gtk-interface for a
    > > shortz time, and it segfaults.
    >
    > I recompiled abiword again, started it with root, and it worked fine
    > the next time I tried to debug it. (previously it didn't work for
    > root either, and the gdb-output I got as root.) now it turned out
    > that when I start abi with "Brushed Metal" as my gtk-theme, it does
    > segfault, while with the default-theme (the one root did have) it
    > works fine. I even can start abi, and change the theme to "Brushed
    > Metal" lateron without any problems for the running abiword (it
    > does really change to that theme at runtime), but once I exit and
    > start it again, it will segfault again -- just after drawing the
    > brushed-metal background with all the white surfaces of the usual
    > abiword-window, but before it can draw any black borders or similar
    > to seperate the graphical items. does anyone have similar problems?
    > since abi is one of the first things I compiled with gcc, my system
    > is not really representative enough for a bug-report -- it could still
    > be a bug in gtk or even gcc3 which gets triggered by abiword using
    > the new libstdc++ in combination with some obscure dependency of gtk
    > using the old libstdc++...
    >

    I had a project that needed gcc 2.95 and I had exactly this problem with
    gtk-themes. The theme-engine was compiled in gcc 2.96 and linked in
    against gcc 2.95 compiled code. This lead to crashes and unpredictable
    behaviour.

    All in all it's great that abiword compiles with gcc 3.0.4 wait for a
    distro-wide upgrade to use it however.

    Cheers

    Martin

    -----------------------------------------------
    To unsubscribe from this list, send a message to
    abiword-user-request@abisource.com with the word
    unsubscribe in the message body.



    This archive was generated by hypermail 2.1.4 : Sun Apr 28 2002 - 18:53:59 EDT