h1aji / chmsee

CHM viewer
GNU General Public License v2.0
1 stars 1 forks source link

can`t close chmsee (1.3.0-rc2) #104

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
i`m using chmsee (1.3.0-rc2) (Build with xulrunner 2.0b7).
but   can`t close chmsee.
exit ,ctrl + q didn`t work at all/
only i can kill this program.

Original issue reported on code.google.com by kuh...@gmail.com on 26 Dec 2010 at 1:11

GoogleCodeExporter commented 8 years ago
Did you encounter the same problem described in issue85?

Could you list your testing system, gtk related libraries version
and provide an output with "chmsee -vvv" command, thank you!

Original comment by jungl...@gmail.com on 27 Dec 2010 at 8:10

GoogleCodeExporter commented 8 years ago
Platform: Ubuntu 11.04 Natty

[/media/sdc1/chmsee]$ more .git/logs/HEAD
0000000000000000000000000000000000000000 
14fdf70781ba05df8de1b30a16c55736552fa693 gagemel <kuh3h3@gmail.com> 1293367897 
+0900   clone: from git://github.com/jungleji/chmsee.git

[/media/sdc1/chmsee]$ more  /usr/lib/pkgconfig/glib-2.0.pc

Name: GLib
Description: C Utility Library
Version: 2.27.5
Libs: -L${libdir} -lglib-2.0 
Libs.private: 
Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include 

[/media/sdc1/chmsee]$ more  /usr/lib/pkgconfig/gtk+-2.0.pc

Name: GTK+
Description: GTK+ Graphical UI Library (${target} target)
Version: 2.23.2
Requires: gdk-${target}-2.0 atk cairo gdk-pixbuf-2.0 gio-2.0 pangoft2
Libs: -L${libdir} -lgtk-${target}-2.0 
Cflags: -I${includedir}/gtk-2.0 

[/media/sdc1/chmsee]$ more /usr/lib/pkgconfig/mozilla-gtkmozembed.pc
prefix=/usr
sdkdir=/usr/lib/xulrunner-devel-2.0b7
includedir=/usr/include/xulrunner-2.0b7

Name: mozilla-gtkembedmoz
Description: Mozilla Embedding Widget for Gtk+
Version: 2.0b7
Requires: libxul = 2.0b7

i`m using  strobert`s sample chm file.

[/media/sdc1]$ chmsee access_test.chm -vvv
** Message: Main >>> load config
** (chmsee:30013): DEBUG: Main >>> chmsee config file path = 
/home/gagemel/.config/chmsee/config
** Message: CS_HTML_GECKO >>> init gecko system
** (chmsee:30013): DEBUG: GECKO_UTILS >>> initialization finished.
** (chmsee:30013): DEBUG: CS_BOOK >>> create
** (chmsee:30013): DEBUG: Chmsee >>> populate window finished.
** Message: Chmsee >>> created
** Message: Chmsee >>> open file = access_test.chm
** (chmsee:30013): DEBUG: CS_CHMFILE >>> book folder = 
/home/gagemel/.cache/chmsee/bookshelf/44991fe10ff1ac6c68bf2f698e3c8bc6
** (chmsee:30013): DEBUG: Chmsee >>> on_window_state_event with 
event->changed_mask = 1 and event->new_window_state = 0
** (chmsee:30013): DEBUG: CS_CHMFILE >>> system value = 10
** (chmsee:30013): DEBUG: CS_CHMFILE >>> system value = 9
** (chmsee:30013): DEBUG: CS_CHMFILE >>> system value = 4
** (chmsee:30013): DEBUG: CS_CHMFILE >>> lcid 409
** (chmsee:30013): DEBUG: CS_CHMFILE >>> system value = 2
** (chmsee:30013): DEBUG: CS_CHMFILE >>> SYSTEM homepage /welcome.htm
** (chmsee:30013): DEBUG: CS_CHMFILE >>> system value = 3
** (chmsee:30013): DEBUG: CS_CHMFILE >>> SYSTEM bookname ms_acces
** (chmsee:30013): DEBUG: CS_CHMFILE >>> system value = 6
** (chmsee:30013): DEBUG: CS_CHMFILE >>> system value = 5
** (chmsee:30013): DEBUG: CS_CHMFILE >>> system value = 7
** (chmsee:30013): DEBUG: CS_CHMFILE >>> system value = 12
** (chmsee:30013): DEBUG: CS_CHMFILE >>> system value = 13
** (chmsee:30013): DEBUG: CS_CHMFILE >>> check ncase file = /access_test.hhc
** (chmsee:30013): DEBUG: CS_CHMFILE >>> check ncase file = /access_test.hhk
** (chmsee:30013): DEBUG: CS_CHMFILE >>> priv->bookname = ms_acces
** (chmsee:30013): DEBUG: UTILS >>> Convert string to UTF8.
** (chmsee:30013): DEBUG: UTILS >>> string is utf8
** (chmsee:30013): DEBUG: CS_CHMFILE >>> bookname_utf8 = ms_acces
** (chmsee:30013): DEBUG: CS_CHMFILE >>> priv->hhc = /access_test.hhc
** (chmsee:30013): DEBUG: UTILS >>> Convert filename to UTF8.
** (chmsee:30013): DEBUG: CS_CHMFILE >>> priv->hhk = /access_test.hhk
** (chmsee:30013): DEBUG: UTILS >>> Convert filename to UTF8.
** (chmsee:30013): DEBUG: CS_CHMFILE >>> priv->homepage = /welcome.htm
** (chmsee:30013): DEBUG: UTILS >>> Convert filename to UTF8.`s sample file.
** (chmsee:30013): DEBUG: CS_CHMFILE >>> save bookinfo file = 
/home/gagemel/.cache/chmsee/bookshelf/44991fe10ff1ac6c68bf2f698e3c8bc6/chmsee_bo
okinfo
** (chmsee:30013): DEBUG: CS_CHMFILE >>> priv->hhc = /access_test.hhc
** (chmsee:30013): DEBUG: CS_CHMFILE >>> priv->hhk = /access_test.hhk
** (chmsee:30013): DEBUG: CS_CHMFILE >>> priv->homepage = /welcome.htm
** (chmsee:30013): DEBUG: CS_CHMFILE >>> priv->bookname = ms_acces
** (chmsee:30013): DEBUG: CS_CHMFILE >>> priv->endcoding = ISO-8859-1
** (chmsee:30013): DEBUG: CS_PARSER >>> SAX.startDocument()
** (chmsee:30013): DEBUG: CS_PARSER >>> SAX.endDocument()
** (chmsee:30013): DEBUG: CS_PARSER >>> Parsing file 
/home/gagemel/.cache/chmsee/bookshelf/44991fe10ff1ac6c68bf2f698e3c8bc6/access_te
st.hhc finished
** (chmsee:30013): DEBUG: CS_PARSER >>> SAX.startDocument()
** (chmsee:30013): DEBUG: CS_PARSER >>> SAX.endDocument()
** (chmsee:30013): DEBUG: CS_PARSER >>> Parsing file 
/home/gagemel/.cache/chmsee/bookshelf/44991fe10ff1ac6c68bf2f698e3c8bc6/access_te
st.hhk finished
** (chmsee:30013): DEBUG: CS_BOOKMARKS_FILE >>> load bookmarks file = 
/home/gagemel/.cache/chmsee/bookshelf/44991fe10ff1ac6c68bf2f698e3c8bc6/chmsee_bo
okmarks
** (chmsee:30013): DEBUG: CS_BOOKMARKS_FILE >>> Failed to open bookmarks file
** (chmsee:30013): DEBUG: CS_CHMFILE >>> get variable font
** (chmsee:30013): DEBUG: CS_CHMFILE >>> get fixed font
** (chmsee:30013): DEBUG: CS_BOOK >>> set model, file = 0x83818b8
** (chmsee:30013): DEBUG: CS_CHMFILE >>> get variable font
** (chmsee:30013): DEBUG: CS_HTML_GECKO >>> set variable font Sans 12
** (chmsee:30013): DEBUG: CS_CHMFILE >>> get fixed font
** (chmsee:30013): DEBUG: CS_HTML_GECKO >>> set fixed font Monospace 12
** (chmsee:30013): DEBUG: CS_TOC >>> create
** (chmsee:30013): DEBUG: CS_INDEX >>> create
** (chmsee:30013): DEBUG: CS_TREE_VIEW >>> create
** (chmsee:30013): DEBUG: CS_TREEVIEW >>> apply filter model
** (chmsee:30013): DEBUG: CS_TREE_VIEW >>> selection changed
** (chmsee:30013): DEBUG: CS_INDEX >>> set model
** (chmsee:30013): DEBUG: CS_TREEVIEW >>> set model
** (chmsee:30013): DEBUG: CS_BOOKMARKS >>> create
** (chmsee:30013): DEBUG: CS_TREE_VIEW >>> create
** (chmsee:30013): DEBUG: CS_TREE_VIEW >>> selection changed
** (chmsee:30013): DEBUG: CS_BOOKMARKS >>> set model
** (chmsee:30013): DEBUG: CS_TREEVIEW >>> set model
** (chmsee:30013): DEBUG: CS_BOOK >>> cs_book_new_tab
** (chmsee:30013): DEBUG: CS_HTML_GECKO >>> child add callback
** (chmsee:30013): DEBUG: CS_BOOK >>> enter switch page callback
** (chmsee:30013): DEBUG: CS_BOOK >>> switch page new_page_num = 0, new_page = 
0x8500760
** (chmsee:30013): DEBUG: CS_BOOK >>> switch page callback, set active_html = 
(nil)
** (chmsee:30013): DEBUG: CS_BOOK >>> Reload current page
** (chmsee:30013): DEBUG: CS_BOOK >>> new tab html_notebook append page = 0
** (chmsee:30013): DEBUG: CS_BOOK >>> load uri /welcome.htm
** (chmsee:30013): DEBUG: CS_HTML_GECKO >>> load_url html = 0x8500760, uri = 
file:///home/gagemel/.cache/chmsee/bookshelf/44991fe10ff1ac6c68bf2f698e3c8bc6/we
lcome.htm
** (chmsee:30013): DEBUG: CS_HTML_GECKO >>> send location changed signal, 
location = about:blank
** (chmsee:30013): DEBUG: CS_BOOK >>> html location changed cb: about:blank
** (chmsee:30013): DEBUG: CS_HTML_GECKO >>> send open-uri signal, uri = 
file:///home/gagemel/.cache/chmsee/bookshelf/44991fe10ff1ac6c68bf2f698e3c8bc6/we
lcome.htm
** (chmsee:30013): DEBUG: Chmsee >>> receive book model changed callback (null)
** (chmsee:30013): DEBUG: Chmsee >>> update window title ms_acces - ChmSee
** (chmsee:30013): DEBUG: Chmsee >>> record last file =  access_test.chm

(chmsee:30013): Gtk-CRITICAL **: IA__gtk_recent_manager_add_full: assertion 
`uri != NULL' failed
** (chmsee:30013): DEBUG: CS_HTML_GECKO >>> send location changed signal, 
location = 
file:///home/gagemel/.cache/chmsee/bookshelf/44991fe10ff1ac6c68bf2f698e3c8bc6/we
lcome.htm
** (chmsee:30013): DEBUG: CS_BOOK >>> html location changed cb: 
file:///home/gagemel/.cache/chmsee/bookshelf/44991fe10ff1ac6c68bf2f698e3c8bc6/we
lcome.htm
** (chmsee:30013): DEBUG: Chmsee >>> recieve html_changed signal
** (chmsee:30013): DEBUG: CS_TOC >>> sync uri welcome.htm
** (chmsee:30013): DEBUG: CS_BOOK >>> html title changed cb title = welcome
** (chmsee:30013): DEBUG: CS_BOOK >>> update tab title = welcome
** (chmsee:30013): DEBUG: CS_BOOKMARKS >>> set bookmarks entry text = welcome
** (chmsee:30013): DEBUG: CS_BOOKMARKS >>> set current link = welcome.htm
** Message: Chmsee >>> quit
** Message: CS_HTML_GECKO >>> shutdown gecko system
** (chmsee:30013): DEBUG: Chmsee >>> dispose
** (chmsee:30013): DEBUG: CS_HTML_GECKO >>> child remove callback
** (chmsee:30013): DEBUG: CS_BOOK >>> dispose
** (chmsee:30013): DEBUG: CS_CHMFILE >>> update bookmarks bookmarks_list
** (chmsee:30013): DEBUG: CS_BOOKMARKS_FILE >>> save bookmarks file = 
/home/gagemel/.cache/chmsee/bookshelf/44991fe10ff1ac6c68bf2f698e3c8bc6/chmsee_bo
okmarks
** (chmsee:30013): DEBUG: CS_CHMFILE >>> finalize
** (chmsee:30013): DEBUG: CS_CHMFILE >>> save bookinfo file = 
/home/gagemel/.cache/chmsee/bookshelf/44991fe10ff1ac6c68bf2f698e3c8bc6/chmsee_bo
okinfo
** (chmsee:30013): DEBUG: CS_CHMFILE >>> finalized
** (chmsee:30013): DEBUG: CS_TOC >>> dispose
** (chmsee:30013): DEBUG: CS_TOC >>> dispose
** (chmsee:30013): DEBUG: CS_TOC >>> finalize
** (chmsee:30013): DEBUG: CS_TREE_VIEW >>> dispose
** (chmsee:30013): DEBUG: CS_TREE_VIEW >>> dispose
** (chmsee:30013): DEBUG: CS_TREE_VIEW >>> finalize
** (chmsee:30013): DEBUG: CS_TREE_VIEW >>> dispose
** (chmsee:30013): DEBUG: CS_TREE_VIEW >>> dispose
** (chmsee:30013): DEBUG: CS_TREE_VIEW >>> finalize
** (chmsee:30013): DEBUG: CS_BOOKMARKS >>> finalize

freezing.,,,
kill the program.

of course without chm file, no problems.

[/media/sdc1]$ chmsee  -vvv
** Message: Main >>> load config
** (chmsee:30271): DEBUG: Main >>> chmsee config file path = 
/home/gagemel/.config/chmsee/config
** Message: CS_HTML_GECKO >>> init gecko system
** (chmsee:30271): DEBUG: GECKO_UTILS >>> initialization finished.
** (chmsee:30271): DEBUG: CS_BOOK >>> create
** (chmsee:30271): DEBUG: Chmsee >>> populate window finished.
** Message: Chmsee >>> created
** (chmsee:30271): DEBUG: Chmsee >>> on_window_state_event with 
event->changed_mask = 1 and event->new_window_state = 0
** (chmsee:30271): DEBUG: Chmsee >>> window delete
** Message: Chmsee >>> quit
** Message: CS_HTML_GECKO >>> shutdown gecko system
** (chmsee:30271): DEBUG: Chmsee >>> dispose
** (chmsee:30271): DEBUG: CS_BOOK >>> dispose
** (chmsee:30271): DEBUG: CS_BOOK >>> dispose
** (chmsee:30271): DEBUG: CS_BOOK >>> finalize
** (chmsee:30271): DEBUG: Chmsee >>> dispose
** (chmsee:30271): DEBUG: Chmsee >>> finalize
** Message: Main >>> save config

Original comment by kuh...@gmail.com on 27 Dec 2010 at 8:48

GoogleCodeExporter commented 8 years ago
Oops! You are working on a cutting edge system!

I just removed the annoying progressbar code, you can pull it from github and 
test it again.

Original comment by jungl...@gmail.com on 27 Dec 2010 at 3:01

GoogleCodeExporter commented 8 years ago
thanks for quick patch. now i can exit  :)

Original comment by kuh...@gmail.com on 27 Dec 2010 at 3:34

GoogleCodeExporter commented 8 years ago

Original comment by jungl...@gmail.com on 28 Dec 2010 at 8:23

GoogleCodeExporter commented 8 years ago
Fixed in version 1.3.0

Original comment by jungl...@gmail.com on 16 Jan 2011 at 2:39