Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 324703 - app-misc/alexandria-0.6.5 crashes after adding a book
Summary: app-misc/alexandria-0.6.5 crashes after adding a book
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Christian Faulhammer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-19 14:18 UTC by Tiger!P
Modified: 2010-06-25 18:03 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tiger!P 2010-06-19 14:18:16 UTC
After adding a book (which is not yet in the library) to alexandria, it crashes, but the book is added to the library.

Reproducible: Always

Steps to Reproduce:
1. start alexandria
2. Click on the Add Book... icon
3. Enter the ISBN of the new book (0765305240 = Phantom by Terry Goodkind)
4. Click on the Add button


Actual Results:  
Alexandria crashed with the following output:
stefan@sprite ~ $ alexandria 
9780765305244
adding book #<Alexandria::Book:0x7febaec6ec28> to library
/usr/lib64/ruby/site_ruby/1.8/alexandria/ui/listview.rb: line 200
   Gtk-CRITICAL **:gtk_tree_model_sort_convert_iter_to_child_iter: assertion `VALID_ITER (sorted_iter, tree_model_sort)' failed
/usr/lib64/ruby/site_ruby/1.8/alexandria/ui/listview.rb: line 201
   Gtk-CRITICAL **:gtk_tree_model_filter_convert_iter_to_child_iter: assertion `filter_iter->stamp == filter->priv->stamp' failed
/usr/lib64/ruby/site_ruby/1.8/alexandria/ui/listview.rb: line 194
   Gtk-CRITICAL **:gtk_list_store_get_value: assertion `VALID_ITER (iter, list_store)' failed
/usr/lib64/ruby/site_ruby/1.8/alexandria/ui.rb: line 51
   Gtk-CRITICAL **:gtk_tree_model_sort_get_value: assertion `VALID_ITER (iter, tree_model_sort)' failed
/usr/lib64/ruby/site_ruby/1.8/alexandria/ui.rb: line 51
   GLib-GObject-CRITICAL **:g_object_set_property: assertion `G_IS_VALUE (value)' failed
/usr/lib64/ruby/site_ruby/1.8/alexandria/ui.rb: line 51
   GLib-GObject-CRITICAL **:g_value_unset: assertion `G_IS_VALUE (value)' failed
/usr/lib64/ruby/site_ruby/1.8/alexandria/ui/listview.rb: line 200
   Gtk-CRITICAL **:gtk_tree_model_sort_convert_iter_to_child_iter: assertion `VALID_ITER (sorted_iter, tree_model_sort)' failed
/usr/lib64/ruby/site_ruby/1.8/alexandria/ui/listview.rb: line 201
   Gtk-CRITICAL **:gtk_tree_model_filter_convert_iter_to_child_iter: assertion `filter_iter->stamp == filter->priv->stamp' failed
/usr/lib64/ruby/site_ruby/1.8/alexandria/ui/listview.rb: line 194
   Gtk-CRITICAL **:gtk_list_store_get_value: assertion `VALID_ITER (iter, list_store)' failed
/usr/lib64/ruby/site_ruby/1.8/alexandria/ui.rb: line 51
   Gtk-CRITICAL **:gtk_tree_model_sort_get_value: assertion `VALID_ITER (iter, tree_model_sort)' failed
/usr/lib64/ruby/site_ruby/1.8/alexandria/ui.rb: line 51
   GLib-GObject-CRITICAL **:g_object_set_property: assertion `G_IS_VALUE (value)' failed
/usr/lib64/ruby/site_ruby/1.8/alexandria/ui.rb: line 51
   GLib-GObject-CRITICAL **:g_value_unset: assertion `G_IS_VALUE (value)' failed
/usr/lib64/ruby/site_ruby/1.8/alexandria/ui/listview.rb: line 200
   Gtk-CRITICAL **:gtk_tree_model_sort_convert_iter_to_child_iter: assertion `VALID_ITER (sorted_iter, tree_model_sort)' failed
/usr/lib64/ruby/site_ruby/1.8/alexandria/ui/listview.rb: line 201
   Gtk-CRITICAL **:gtk_tree_model_filter_convert_iter_to_child_iter: assertion `filter_iter->stamp == filter->priv->stamp' failed
/usr/lib64/ruby/site_ruby/1.8/alexandria/ui/listview.rb: line 194
   Gtk-CRITICAL **:gtk_list_store_get_value: assertion `VALID_ITER (iter, list_store)' failed
/usr/lib64/ruby/site_ruby/1.8/alexandria/ui/listview.rb: line 209
   Gtk-CRITICAL **:gtk_list_store_get_value: assertion `VALID_ITER (iter, list_store)' failed
/usr/lib64/ruby/site_ruby/1.8/alexandria/ui/listview.rb: line 174
   Gtk-CRITICAL **:gtk_tree_model_sort_convert_iter_to_child_iter: assertion `VALID_ITER (sorted_iter, tree_model_sort)' failed
/usr/lib64/ruby/site_ruby/1.8/alexandria/ui/listview.rb: line 175
   Gtk-CRITICAL **:gtk_tree_model_filter_convert_iter_to_child_iter: assertion `filter_iter->stamp == filter->priv->stamp' failed
/usr/lib64/ruby/site_ruby/1.8/alexandria/ui/listview.rb: line 176
   Gtk-CRITICAL **:gtk_list_store_get_value: assertion `VALID_ITER (iter, list_store)' failed
post_addition 1
-----------------------
Alexandria just crashed
-----------------------
Timestamp: Sat Jun 19 16:15:37 +0200 2010
Message: undefined method `-' for nil:NilClass
Backtrace:
/usr/lib64/ruby/site_ruby/1.8/alexandria/ui/listview.rb:176
/usr/lib64/ruby/site_ruby/1.8/alexandria/ui.rb:51:in `call'
/usr/lib64/ruby/site_ruby/1.8/alexandria/ui.rb:51:in `main'
/usr/lib64/ruby/site_ruby/1.8/alexandria/ui.rb:51:in `start_gtk'
/usr/lib64/ruby/site_ruby/1.8/alexandria/ui.rb:57:in `main'
/usr/lib64/ruby/site_ruby/1.8/alexandria.rb:40:in `main'
/usr/bin/alexandria:29
Release: 0.6.5(0.6.5)
Uname -a: Linux sprite 2.6.31-gentoo-r5 #1 SMP Sun Nov 8 17:51:57 CET 2009 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ AuthenticAMD GNU/Linux
--
Please report this dump to 'alexandria-list@rubyforge.org' with some additional
information, such as the description of the crash and the steps to reproduce it
(if it's possible).
stefan@sprite ~ $ 

Expected Results:  
I expect the application to stay alive and working.


stefan@sprite ~ $ emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.11.2-r0, 2.6.31-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r5-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-2.0.1
Timestamp of tree: Mon, 14 Jun 2010 18:45:03 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.5.4-r3, 2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       3.4.6-r2, 4.3.4, 4.4.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/mnt/data1/gentoo-distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.switch.ch/mirror/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB nl"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/data1/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/jokey /usr/local/portage/layman/sunrise /usr/local/portage/layman/bitcetera /home/stefan/test/ebuilds /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl alsa amd64 apache2 arts audiofile bash-completion berkdb bzip2 cdr cjk cli cracklib crypt cups cxx dga dri dvd dvdr dvdread emul-linux-x86 encode esd exif ffmpeg flac fortran ftp gd gdbm gnutls gphoto2 gstreamer iconv ipv6 jabber jpeg jpeg2k lm_sensors maildir mime mmx mng modules mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg openal openmp osc oss pam pcre perl php png posix ppds pppd python readline reflection sdl seamonkey session spl sse sse2 ssl svg sysfs tcpd theora tiff truetype unicode usb utempter vhosts vim-syntax vorbis wmf xml xorg xpm xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse void evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB nl" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd dummy vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

stefan@sprite ~ $
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2010-06-24 07:15:25 UTC
Thank you for your report.  Is this reproducible? I just bumped to 0.6.6, so try that and report back please.
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2010-06-24 07:18:33 UTC
Wait a bit, there is a problem with the 0.6.6 version, I'll let you know as soon as it is save.
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2010-06-25 08:41:58 UTC
Runs.  So please try and report back.
Comment 4 Tiger!P 2010-06-25 18:03:55 UTC
The issue is solved with 0.6.6 .
Thank you.