You are not logged in.

#1 2009-02-21 13:08:26

TripleE
Member
From: Houston, TX
Registered: 2006-10-10
Posts: 64

Xiphos will not run.

Xiphos (use to be called gnomesword) has released version 3 (now 3.0.1).  I am trying to build an aur, but getting it to work appears more difficult than gnomesword.  I have talked to the Xiphos guys over IRC, and they said it appears to be a gnome issue.

First here is the PKGBUILD that I am using:

# Maintainer: TripleE <eric1548 yahoo com>
# Make sure that "base-devel" is installed for building AUR packages.

arch=('i686' 'x86_64')
pkgname=xiphos
pkgver=3.0.1
pkgrel=1
pkgdesc="GnomeSword is an open source Bible study application that uses The Sword Project. It uses the GNOME libraries on Linux."
url="http://gnomesword.sourceforge.net/"
license="GPL"
replaces=gnomesword
conflicts=gnomesword
depends=('sword>=1.5.11' 'gtk2' 'libxml2' 'libgnomeui' 'gtkhtml' 'gnome-doc-utils' 'libgnomeprintui' 'xulrunner' 'gettext' 'imagemagick')
makedepends=('intltool')
provides=()
source=(http://downloads.sourceforge.net/gnomesword/$pkgname-$pkgver.tar.gz)
md5sums=('21077061720c5f6950f60b39dca1f900')
build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --enable-maintainer-mode --enable-debug
  make || return 1
  make DESTDIR=$startdir/pkg install
}

According to the Xiphos guys.  I did some debugging with gdb and it appears that something is not working right with gnome.  I believe it is having a problem with a png (/usr/share/icons/gnome/16x16/actions/gtk-cancel.png) file.  They told me to give the information in question from ./src/gnome2/mod_mgr.c (from xiphos source), line 168:

    NO_INDEX  = gtk_widget_render_icon(dialog,
                       GTK_STOCK_CANCEL,
                       GTK_ICON_SIZE_MENU, NULL);

I tested png, and it opens/displays fine.  I have tried this with arch i686 and x86_68 with the same problem.  Any help would be appreciated.


HP Chromebook 14

Offline

#2 2009-02-28 02:02:12

TripleE
Member
From: Houston, TX
Registered: 2006-10-10
Posts: 64

Re: Xiphos will not run.

New information.  I got to thinking.  When I login with KDE, I am able to open Xiphos fine, but if I login with gnome.  I am not.  Now I reimaged my laptop to see if it is a gnome issue and Xiphos open fine the first time I try to open it, but when I rebooted and tried again in gnome, I was not able to open it again.  Should I register this as a gnome bug for archlinux?


HP Chromebook 14

Offline

#3 2009-03-05 16:45:45

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Xiphos will not run.

Please try to create a new user to check if it works then. Maybe something in your gnome profile is not okay.

Offline

#4 2009-03-08 13:15:31

tankmcp
Member
From: Tulsa, OK
Registered: 2007-09-17
Posts: 54

Re: Xiphos will not run.

Tried running xiphos after update in arch_64 and openbox, but get segmentation fault.

Offline

#5 2009-03-08 17:47:19

TripleE
Member
From: Houston, TX
Registered: 2006-10-10
Posts: 64

Re: Xiphos will not run.

I just tried it with no success.  It opens fine when I am in kde.  Do you know what kde does differently then gnome to display a gtk app?


HP Chromebook 14

Offline

#6 2009-03-08 17:58:20

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Xiphos will not run.

I can confirm that it's segfaulting under openbox. I filed a bug report. If anyone has anything interesting to add, please do so:

http://bugs.archlinux.org/task/13704

Offline

#7 2009-03-10 20:45:15

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Xiphos will not run.

For those of you that Xiphos segfaults with, the bug was closed as "Works for me" by Stefan Husmann. If any of you care about this software, request to have the bug reopened. It's completely broken for me, but I don't usually use it.

Offline

#8 2009-03-12 05:54:20

mike_r
Member
Registered: 2009-01-22
Posts: 114

Re: Xiphos will not run.

I have requested that the bug be reopened. As this was my first attempt at using Flyspray, I haven't figured out how to add a comment there, so it is here for now.

I've tried xiphos on both 32-bit and 64-bit Arch machines (not VMs), under both xfce and openbox. It always segfaults during the splash screen. The beginnings of a traceback on my 64-bit/xfce machine looks like

#0  0x0000000002126e30 in ?? ()
#1  0x00007f2bf29c8f79 in png_push_read_IDAT () from /usr/lib/libpng12.so.0
#2  0x00007f2bf29ca57b in png_process_data () from /usr/lib/libpng12.so.0
#3  0x00007f2bfbaf0132 in gdk_pixbuf__png_image_load_increment ()
   from /usr/lib/libgdk_pixbuf-2.0.so.0
#4  0x00007f2bfbae53a1 in gdk_pixbuf_loader_load_module ()
   from /usr/lib/libgdk_pixbuf-2.0.so.0
#5  0x00007f2bfbae5a4d in gdk_pixbuf_loader_close ()
   from /usr/lib/libgdk_pixbuf-2.0.so.0
#6  0x00007f2bfbae4633 in load_from_stream ()
   from /usr/lib/libgdk_pixbuf-2.0.so.0
#7  0x00007f2bfbae46ba in gdk_pixbuf_new_from_stream ()
   from /usr/lib/libgdk_pixbuf-2.0.so.0
#8  0x00007f2bfa1466bd in icon_info_ensure_scale_and_pixbuf ()
   from /usr/lib/libgtk-x11-2.0.so.0
#9  0x00007f2bfa146c82 in gtk_icon_info_load_icon ()
   from /usr/lib/libgtk-x11-2.0.so.0
#10 0x00007f2bfa148f9e in gtk_icon_theme_load_icon ()
   from /usr/lib/libgtk-x11-2.0.so.0

It seems that there is something squirrelly about trying to load the icons. Amongst many other files indicated by lsof, it is trying to access /usr/share/icons/gnome/22x22/actions/edit-find.png when it segfaults. Displaying edit-find.png with gthumb and xv do not indicate any problems with this file.

I did not have any trouble with gnomesword2, except for the upstream scrolling bug which is why I (regrettably) updated to xiphos3.

I hope a solution can be found.

Mike


Linux User #353 - SLS -> Slackware -> Red Hat -> Mandrake -> Fedora -> Arch

Offline

#9 2009-03-15 12:46:34

Kilz
Member
Registered: 2008-03-01
Posts: 140

Re: Xiphos will not run.

I am also having problems with Xiphos. The (xiphos:23591): Gtk-WARNING **: Error loading theme icon 'gtk-find' for stock: Fatal error reading PNG image file: out of place IDAT errors can be removed by celeting or renaming the .gnomesword folder in home. But the application still crashes.  I tried to add these comments to the bug report but I cant figure out flyspray and time is short before church. I miss this app a lot, the search function and the ability to have access to multiple translations are great. I eveen tried to compile the app hoping that an error would point me someplace, but no luck, it compiles and then crashes like the one in the repo.


I trust Microsoft about as far as I can comfortably spit a dead rat.
Cinnamon is a wonderful desktop
"Faith is the substance of things hoped for, the evidence of things not seen."

Offline

#10 2009-03-18 14:47:10

benmorgan
Member
From: Germany
Registered: 2006-07-28
Posts: 67

Re: Xiphos will not run.

Is anyone else having Xiphos segfault when opening up preferences?

I used to have it segfault when starting all the time as well,
but when I ran it in a new account that I had created, I had no problems with it.

Offline

#11 2009-03-19 18:27:02

jperry
Member
Registered: 2009-01-30
Posts: 17

Re: Xiphos will not run.

Here's what I found, using XFce 4.6. If I select the "Crystal SVG" icon theme for my desktop, Xiphos will run fine but crashes when I select the Preferences menu item. If I select any other icon theme, Xiphos crashes at startup.

Hopefully we can work our way to the bottom of this.

Offline

#12 2009-03-21 17:10:10

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Xiphos will not run.

Is anyone here in contact with the Xiphos developers? I ask because the software crashes somewhat differently for different icon sets. With black-white-icon theme I get the output posted on the bug tracker. With gnome-icon-theme, I get the same error as Kilz. With hicolor-icon-theme I simply get a segfault. I don't have gconf installed outside of this, so there's nothing there can be in conflict. And, evince is the only piece of software that I have from the Gnome project, and I have all of it's Gnome dependencies compiled out.

Long story short: I'm not having any problems with configuration files. This software is crashing on it's own internal png code as far as I can tell.

Offline

#13 2009-03-22 18:34:28

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Xiphos will not run.

I reopened the bug, but i have no solution yet. I am in contact with a gnome user, he has the same problems as described here.  Even the diffent behaviour with different thems can be confirmed. I hve submitted a svn-version of the PKGBUILD in AUR, but that does not change anything.

Offline

#14 2009-03-23 03:02:06

mike_r
Member
Registered: 2009-01-22
Posts: 114

Re: Xiphos will not run.

Stefan - Thanks for reopening the bug. I don't use gnome, rather xfce, but these two somehow seem to trigger the problem. I successfully ran xiphos with twm, enlightenment, and now openbox, even though that failed the first time I tried it. I do have a bunch of gnome-ish stuff installed, and all that was there for the tests with the three successful window managers, so it's not 100% internal to xiphos. Definitely some sort of interaction between xiphos and xfce/gnome.

If someone comes up with any suggestions, I'd be happy to test. I'd really like xiphos to be usable under xfce (4.6).

Mike


Linux User #353 - SLS -> Slackware -> Red Hat -> Mandrake -> Fedora -> Arch

Offline

#15 2009-03-23 03:25:29

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Xiphos will not run.

@mike_r,

welcome to the forums. What icon theme are you running?

Offline

#16 2009-03-23 05:04:43

mike_r
Member
Registered: 2009-01-22
Posts: 114

Re: Xiphos will not run.

I have Tango, Rodent,  and GNOME on my xfce "Appearance->Icons" list. All segfault similarly.

Mike


Linux User #353 - SLS -> Slackware -> Red Hat -> Mandrake -> Fedora -> Arch

Offline

#17 2009-03-23 05:23:20

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Xiphos will not run.

mike_r wrote:

I have Tango, Rodent,  and GNOME on my xfce "Appearance->Icons" list. All segfault similarly.

Mike

I was curious because you said that you got it running under openbox at some point. But, I tried tango also. I forgot to add that to my list of failures posted above.

Offline

#18 2009-03-23 18:54:55

mike_r
Member
Registered: 2009-01-22
Posts: 114

Re: Xiphos will not run.

I've done some more playing around, switching window managers and rolling back some of the dependencies. No breakthroughs, but here is what I know.

I rolled back libgnomeprintui, gtkhtml, gtk-xfce-engine, libgnomeui, and even gtk2 a minor version or two with no effect. I added gtk-aurora-engine, and installed clearlooks by hand, also with no effect. (gnome complained about not being able to find Clearlooks when I first started it up.)

For the window managers, icewm, openbox, twm, enlightenment, wmii, ratpoison, and most interestingly, standalone compiz using xfce4-panel ran xiphos successfully. By "successfully", I mean that I started xiphos, downloaded a module, restarted xiphos, searched on a word, scrolled through a few of the finds, then deleted the module. However, in all these cases, clicking on "Preferences" or pressing F2 would cause xiphos to immediately segfault. The first few lines of the backtrace look like:

#0  0x00007f24e302c0c5 in raise () from /lib/libc.so.6
#1  0x00007f24e302d5e3 in abort () from /lib/libc.so.6
#2  0x00007f24e3067238 in __libc_message () from /lib/libc.so.6
#3  0x00007f24e306c8b8 in malloc_printerr () from /lib/libc.so.6
#4  0x00007f24e306e3f6 in free () from /lib/libc.so.6
#5  0x00007f24dcaac2c0 in png_read_destroy () from /usr/lib/libgs.so.8
#6  0x00007f24dcaac617 in png_destroy_read_struct () from /usr/lib/libgs.so.8
#7  0x00007f24e57bc275 in gdk_pixbuf__png_image_stop_load ()
   from /usr/lib/libgdk_pixbuf-2.0.so.0
#8  0x00007f24e57b1942 in gdk_pixbuf_loader_close ()
   from /usr/lib/libgdk_pixbuf-2.0.so.0
#9  0x00007f24e57b0623 in load_from_stream ()
   from /usr/lib/libgdk_pixbuf-2.0.so.0
#10 0x00007f24e57b06aa in gdk_pixbuf_new_from_stream ()
   from /usr/lib/libgdk_pixbuf-2.0.so.0
#11 0x00007f24e3e114dd in icon_info_ensure_scale_and_pixbuf ()
   from /usr/lib/libgtk-x11-2.0.so.0
#12 0x00007f24e3e11aa2 in gtk_icon_info_load_icon ()
   from /usr/lib/libgtk-x11-2.0.so.0
#13 0x00007f24e3df7be3 in get_pixbuf_from_gicon ()
   from /usr/lib/libgtk-x11-2.0.so.0
#14 0x00007f24e3df7e96 in _gtk_file_system_volume_render_icon ()
   from /usr/lib/libgtk-x11-2.0.so.0

For both gnome and xfce, the splash screen would appear, the four small icons along the bottom would brighten, the bottom status bar would get to "Displaying xiphos", then it would segfault. The backtrace in this case starts with

#0  0x00000000025c7720 in ?? ()
#1  0x00007f4662700f79 in png_push_read_IDAT () from /usr/lib/libpng12.so.0
#2  0x00007f466270257b in png_process_data () from /usr/lib/libpng12.so.0
#3  0x00007f466b92d0f2 in gdk_pixbuf__png_image_load_increment ()
   from /usr/lib/libgdk_pixbuf-2.0.so.0
#4  0x00007f466b922391 in gdk_pixbuf_loader_load_module ()
   from /usr/lib/libgdk_pixbuf-2.0.so.0
#5  0x00007f466b922a3d in gdk_pixbuf_loader_close ()
   from /usr/lib/libgdk_pixbuf-2.0.so.0
#6  0x00007f466b921623 in load_from_stream ()
   from /usr/lib/libgdk_pixbuf-2.0.so.0
#7  0x00007f466b9216aa in gdk_pixbuf_new_from_stream ()
   from /usr/lib/libgdk_pixbuf-2.0.so.0
#8  0x00007f4669f824dd in icon_info_ensure_scale_and_pixbuf ()
   from /usr/lib/libgtk-x11-2.0.so.0
#9  0x00007f4669f82aa2 in gtk_icon_info_load_icon ()
   from /usr/lib/libgtk-x11-2.0.so.0
#10 0x00007f4669f84dae in gtk_icon_theme_load_icon ()
   from /usr/lib/libgtk-x11-2.0.so.0
#11 0x00007f4669f7f51e in gtk_icon_set_render_icon ()
   from /usr/lib/libgtk-x11-2.0.so.0
#12 0x00007f466a0bdbc1 in gtk_widget_render_icon ()
   from /usr/lib/libgtk-x11-2.0.so.0

If it is relevant, my /usr/share/icons directory contains:

Rodent/  gnome/      hicolor/  redglass/       whiteglass/
Tango/   handhelds/  locolor/  screenlets.svg

I'll go over to xiphos.org and search the mailing lists to see if there is anything of interest there.

Mike


Linux User #353 - SLS -> Slackware -> Red Hat -> Mandrake -> Fedora -> Arch

Offline

#19 2009-03-23 23:05:54

mike_r
Member
Registered: 2009-01-22
Posts: 114

Re: Xiphos will not run.

Problem solved?!?

I've been in contact with one of the xiphos developers (Thanks, Matthew Talbert!) and it seems that the segfaulting problem has gone away in the most recent SVN version (2904). Using the xiphos-svn PKGBUILD Stefan put in AUR, I've been able to compile it and it seems to work flawlessly. No segfaults with xfce, no segfaults with Preferences. Could a few others try it and see if it is okay? I've messed around with my system so much, I'd hesitate to say the problem is gone without confirmation from others.

Mike


Linux User #353 - SLS -> Slackware -> Red Hat -> Mandrake -> Fedora -> Arch

Offline

#20 2009-03-23 23:15:19

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Xiphos will not run.

It still crashes here with r2904 on openbox:

(xiphos:6473): Gtk-WARNING **: Error loading theme icon 'gtk-dialog-question' for stock: Fatal error reading PNG image file: out of place IDAT

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f50b329e7b0 (LWP 6473)]
0x00007f50a9b823a5 in free () from /lib/libc.so.6
(gdb) where
#0  0x00007f50a9b823a5 in free () from /lib/libc.so.6
#1  0x00007f50a560abed in png_handle_iCCP () from /usr/lib/libpng12.so.0
#2  0x00007f50a561e025 in png_push_read_chunk () from /usr/lib/libpng12.so.0
#3  0x00007f50a561e57b in png_process_data () from /usr/lib/libpng12.so.0
#4  0x00007f50abeb2232 in gdk_pixbuf__png_image_load_increment ()
   from /usr/lib/libgdk_pixbuf-2.0.so.0
#5  0x00007f50abea7e7f in gdk_pixbuf_loader_write ()
   from /usr/lib/libgdk_pixbuf-2.0.so.0
#6  0x00007f50abea65ef in load_from_stream ()
   from /usr/lib/libgdk_pixbuf-2.0.so.0
#7  0x00007f50abea668a in gdk_pixbuf_new_from_stream ()
   from /usr/lib/libgdk_pixbuf-2.0.so.0
#8  0x00007f50aa7117ad in icon_info_ensure_scale_and_pixbuf ()
   from /usr/lib/libgtk-x11-2.0.so.0
#9  0x00007f50aa711d72 in gtk_icon_info_load_icon ()
   from /usr/lib/libgtk-x11-2.0.so.0
#10 0x00007f50aa7140ae in gtk_icon_theme_load_icon ()
   from /usr/lib/libgtk-x11-2.0.so.0
#11 0x00007f50aa70e7de in gtk_icon_set_render_icon ()
   from /usr/lib/libgtk-x11-2.0.so.0
#12 0x00007f50aa852e11 in gtk_widget_render_icon ()
   from /usr/lib/libgtk-x11-2.0.so.0
#13 0x000000000043443f in ?? ()
---Type <return> to continue, or q <return> to quit---
#14 0x0000000000434f23 in ?? ()
#15 0x00000000004351ff in gui_open_mod_mgr_initial_run ()
#16 0x000000000046a3dd in settings_init ()
#17 0x000000000045b51b in main ()

Offline

#21 2009-03-24 01:15:42

mike_r
Member
Registered: 2009-01-22
Posts: 114

Re: Xiphos will not run.

Now I get to pretend I know what I'm doing! :-)

Since the xiphos guys asked me this question - do you have the gnome and hicolor icons installed in /usr/share/icons? Also, I noticed that Stefan's svn PKGBUILD deletes the xiphos icons that go in /usr/share/pixmaps/xiphos. I edited the PKGBUILD to leave them in, and then there were no warnings on startup. Think that might help? I'm in way over my head now, but it seems to be working now both on my 64-bit desktop and my 32-bit eeepc, both using xfce. (And I tried openbox on my eeepc - where I did no unusual mucking around - and it worked fine as well.)

FWIW, the xiphos developers consider 2904 to be reasonably stable. I don't know when they plan the next official release, but assuming things can be tidied up for Arch, can we make this svn version an official package?

Mike


Linux User #353 - SLS -> Slackware -> Red Hat -> Mandrake -> Fedora -> Arch

Offline

#22 2009-03-24 03:37:37

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Xiphos will not run.

Thanks mike_r,

I (we all) appreciate your time on this.

I do have the hicolor-icon-theme installed normally, and I reinstalled gnome-icon-theme to test this package. I edited the PKGBUILD to make sure that the icons with the package were installed, and it segfaulted.

Offline

#23 2009-06-06 22:09:56

Cosmin
Member
Registered: 2008-10-06
Posts: 248

Re: Xiphos will not run.

xiphos

(xiphos:15646): atk-bridge-WARNING **: AT_SPI_REGISTRY was not started at session startup.

(xiphos:15646): atk-bridge-WARNING **: IOR not set.

(xiphos:15646): atk-bridge-WARNING **: Could not locate registry
xiphos: malloc.c:4591: _int_malloc: Assertion `(unsigned long)(size) >= (unsigned long)(nb)' failed.
Aborted

this is what I get under gnome, I'll try with kde

Later: running with kde ... so what's the fix for gnome?


In new user on gnome:

(xiphos:17439): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display:
assertion `atom != GDK_NONE' failed

(xiphos:17439): Gtk-WARNING **: Error loading theme icon 'gtk-cancel'
for stock: Fatal error reading PNG image file: out of place IDAT
xiphos: malloc.c:4591: _int_malloc: Assertion `(unsigned long)(size)
>= (unsigned long)(nb)' failed.
Aborted

Last edited by Cosmin (2009-06-06 22:59:40)

Offline

#24 2009-06-09 08:32:30

Cosmin
Member
Registered: 2008-10-06
Posts: 248

Re: Xiphos will not run.

with xiphos 3.1-2 I had the same - not running
but I tried something that worked - SVG icons, so with any svg icon xiphos works in gnome, but with any non-svg iconset it does not start

Offline

#25 2009-06-11 00:32:52

TripleE
Member
From: Houston, TX
Registered: 2006-10-10
Posts: 64

Re: Xiphos will not run.

I changed my theme to "GMilk" and now Xiphos opens.  I change my theme to "Candido" and Xiphos locks up or gives some kind of error.  Could something in the theme be causing a problem?  Can you please list what theme you are using, and if Xiphos (with version number) is working for you or not?


HP Chromebook 14

Offline

Board footer

Powered by FluxBB