Public bug reported:

Binary package hint: alexandria

Alexandria 0.6.1 seems not to handle international characters very well.

When getting the results of a search, non ASCII characters are represented by a 
question sign (?). If you then try to
rename the book, alexandria crashes with a segmentation fault.

Steps to reproduce:

1.- Add a book to your library by searching for a non-English author or book 
for which you expect to find international
(i.e. non-ASCII) characters on the search results. In my case I searched for 
books from "Jordi Mata"

2.- Observe that the search results contain ? signs as a replacement for the 
non-ASCII characters. Choose one of those
results and add the book to the library.

3.- Now try to replace the ? signs by the proper characters. Alexandria
crashes with a segmentation fault.

The lines below show the messages displayed when alexandria is invoked
from the command line and this bug occurs.

$ alexandria
/usr/lib/ruby/1.8/glib2.rb: line 55
   GLib-GObject-CRITICAL **:g_boxed_type_register_static: assertion 
`g_type_from_name (name) == 0' failed
/usr/lib/ruby/1.8/glib2.rb: line 55
   GLib-GObject-CRITICAL **:g_param_spec_boxed: assertion `G_TYPE_IS_BOXED 
(boxed_type)' failed
/usr/lib/ruby/1.8/glib2.rb: line 55
   GLib-GObject-CRITICAL **:g_object_class_install_property: assertion 
`G_IS_PARAM_SPEC (pspec)' failed
/usr/lib/ruby/1.8/glib2.rb: line 55
   GLib-GObject-CRITICAL **:g_param_spec_boxed: assertion `G_TYPE_IS_BOXED 
(boxed_type)' failed
/usr/lib/ruby/1.8/glib2.rb: line 55
   GLib-GObject-CRITICAL **:g_object_class_install_property: assertion 
`G_IS_PARAM_SPEC (pspec)' failed
/usr/lib/ruby/1.8/alexandria/book_providers.rb: line 253
   Pango-WARNING **:Invalid UTF-8 string passed to pango_layout_set_text()
/usr/lib/ruby/1.8/alexandria/book_providers.rb: line 253
   Pango-WARNING **:Invalid UTF-8 string passed to pango_layout_set_text()
/usr/lib/ruby/1.8/alexandria/book_providers.rb: line 253
   Pango-WARNING **:Invalid UTF-8 string passed to pango_layout_set_text()
/usr/lib/ruby/1.8/alexandria/book_providers.rb: line 253
   Pango-WARNING **:Invalid UTF-8 string passed to pango_layout_set_text()
/usr/lib/ruby/1.8/alexandria/book_providers.rb: line 253
   Pango-WARNING **:Invalid UTF-8 string passed to pango_layout_set_text()
/usr/lib/ruby/1.8/alexandria/book_providers.rb: line 253
   Pango-WARNING **:Invalid UTF-8 string passed to pango_layout_set_text()
/usr/lib/ruby/1.8/alexandria/book_providers.rb: line 253
   GLib-GObject-WARNING **:IA__g_object_notify: object class `GtkTextBuffer' 
has no property named `copy-target-list'
/usr/lib/ruby/1.8/alexandria/ui/glade_base.rb: line 26
   GLib-GObject-WARNING **:IA__g_object_notify: object class `GtkTextBuffer' 
has no property named `copy-target-list'
/usr/lib/ruby/1.8/alexandria/ui/glade_base.rb: line 26
   Pango-WARNING **:Invalid UTF-8 string passed to pango_layout_set_text()
/usr/lib/ruby/1.8/alexandria/ui/glade_base.rb: line 26
   Pango-WARNING **:Invalid UTF-8 string passed to pango_layout_set_text()
/usr/lib/ruby/1.8/alexandria/ui/glade_base.rb: line 26
   Pango-WARNING **:Invalid UTF-8 string passed to pango_layout_set_text()
/usr/lib/ruby/1.8/alexandria/ui/glade_base.rb: line 26
   Pango-WARNING **:Invalid UTF-8 string passed to pango_layout_set_text()
/usr/lib/ruby/1.8/alexandria/ui/glade_base.rb: line 26
   Pango-WARNING **:Invalid UTF-8 string passed to pango_layout_set_text()
/usr/lib/ruby/1.8/alexandria/ui/glade_base.rb: line 26
   GLib-CRITICAL **:g_utf8_casefold: assertion `str != NULL' failed
/usr/lib/ruby/1.8/alexandria/ui.rb:42: [BUG] Segmentation fault
ruby 1.8.5 (2006-08-25) [i486-linux]

Aborted (core dumped)

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 7.04
Release:        7.04
Codename:       feisty

alexandria version: 0.6.1

** Affects: alexandria (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Alexandria crashes when renaming a book with international characters
https://bugs.launchpad.net/bugs/114667
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to