fzxs8 / chmsee

Automatically exported from code.google.com/p/chmsee
GNU General Public License v2.0
0 stars 0 forks source link

Segmentation fault #52

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
# /usr/local/bin/chmsee

What is the expected output? What do you see instead?
** (chmsee:15154): WARNING **: Could not determine locale!

** (chmsee:15154): WARNING **: Could not determine locale!

Segmentation fault

What version of the product are you using? On what operating system?
chmsee-1.0.7 on archlinux 2.6.31 kernel

Please provide any additional information below.
Same problem when .chm file is provided
chmsee --help works

Original issue reported on code.google.com by pell...@gmail.com on 23 Oct 2009 at 7:57

GoogleCodeExporter commented 9 years ago
can you provide a backtrace with gdb?

thanks.

Original comment by lidaob...@gmail.com on 24 Oct 2009 at 2:53

GoogleCodeExporter commented 9 years ago
I've never used gdb before so please tell me if this is this what you want. 
If you need something else, please let me know what I should do.

(gdb) backtrace full
#0  0x00000000 in ?? ()
No symbol table info available.
#1  0x0805d2df in html_init ()
No symbol table info available.
#2  0xb77c6b3f in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#3  0xb77abb48 in g_object_constructor () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#4  0xb77acb08 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#5  0xb77ad98a in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#6  0xb77adb0e in g_object_new () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#7  0x0805d846 in html_new ()
No symbol table info available.
#8  0x080560b3 in chmsee_html_new ()
No symbol table info available.
#9  0x08058108 in chmsee_ui_chmfile_new_tab ()
No symbol table info available.
#10 0x08057a05 in chmsee_ui_chmfile_populate_window ()
No symbol table info available.
#11 0x080565bc in chmsee_ui_chmfile_init ()
No symbol table info available.
#12 0xb77c6b3f in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#13 0xb77abb48 in g_object_constructor () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#14 0xb77acb08 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#15 0xb77ad98a in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#16 0xb77adb0e in g_object_new () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#17 0x08058dfc in chmsee_ui_chmfile_new ()
No symbol table info available.
#18 0x08053513 in populate_window ()
No symbol table info available.
#19 0x08052642 in chmsee_init ()
No symbol table info available.
#20 0xb77c6b3f in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#21 0xb77abb48 in g_object_constructor () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#22 0xb77acf62 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#23 0xb77ad98a in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#24 0xb77adb0e in g_object_new () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#25 0x08053a42 in chmsee_new ()
No symbol table info available.
#26 0x08052080 in main ()
No symbol table info available.
(gdb) info registers
eax            0x0    0
ecx            0x80f4030    135217200
edx            0x8154898    135612568
ebx            0xb77d6690    -1216518512
esp            0xbfffebcc    0xbfffebcc
ebp            0xbfffebf8    0xbfffebf8
esi            0x817c898    135776408
edi            0x81548b4    135612596
eip            0x0    0
eflags         0x210282    [ SF IF RF ID ]
cs             0x73    115
ss             0x7b    123
ds             0x7b    123
es             0x7b    123
fs             0x0    0
gs             0x33    51
(gdb) x/16i $pc
0x0:    Cannot access memory at address 0x0
(gdb) thread apply all backtrace

Thread 1 (Thread 0xb71086d0 (LWP 17018)):
#0  0x00000000 in ?? ()
#1  0x0805d2df in html_init ()
#2  0xb77c6b3f in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#3  0xb77abb48 in g_object_constructor () from /usr/lib/libgobject-2.0.so.0
#4  0xb77acb08 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#5  0xb77ad98a in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#6  0xb77adb0e in g_object_new () from /usr/lib/libgobject-2.0.so.0
#7  0x0805d846 in html_new ()
#8  0x080560b3 in chmsee_html_new ()
#9  0x08058108 in chmsee_ui_chmfile_new_tab ()
#10 0x08057a05 in chmsee_ui_chmfile_populate_window ()
#11 0x080565bc in chmsee_ui_chmfile_init ()
#12 0xb77c6b3f in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#13 0xb77abb48 in g_object_constructor () from /usr/lib/libgobject-2.0.so.0
#14 0xb77acb08 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#15 0xb77ad98a in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#16 0xb77adb0e in g_object_new () from /usr/lib/libgobject-2.0.so.0
#17 0x08058dfc in chmsee_ui_chmfile_new ()
#18 0x08053513 in populate_window ()
#19 0x08052642 in chmsee_init ()
#20 0xb77c6b3f in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#21 0xb77abb48 in g_object_constructor () from /usr/lib/libgobject-2.0.so.0
#22 0xb77acf62 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#23 0xb77ad98a in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#24 0xb77adb0e in g_object_new () from /usr/lib/libgobject-2.0.so.0
#25 0x08053a42 in chmsee_new ()
#26 0x08052080 in main ()
(gdb)

Original comment by pell...@gmail.com on 25 Oct 2009 at 5:19

GoogleCodeExporter commented 9 years ago
Same version, same problem. libxul-1.9.0, gtk-2.16.6
FreeBSD compaq.yuetime 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 
UTC
2009     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

Original comment by solo.l...@gmail.com on 5 Jan 2010 at 9:25

GoogleCodeExporter commented 9 years ago
/usr/bin/chmsee 

** (chmsee:6402): WARNING **: Could not determine locale!

** (chmsee:6402): WARNING **: Could not determine locale!

Segmentation fault
--------------------------------------------------------------------------------
----

Same version [chmsee 1.0.7]
OS: Debian testing with kernel 2.6.32.2

same problem tryin to provide a .chm file to the executable...

Original comment by smati...@gmail.com on 30 Jan 2010 at 4:46

GoogleCodeExporter commented 9 years ago
 Hello,
   I'm getting a segmentation fault. Version  1.0.7-1.2
Using Sidux, aka Debian Sid. Installed from repository.

sidux:~/.chmsee]$ chmsee                                                        

                                                                       (01-31 12:30)

** (chmsee:3720): WARNING **: Could not determine locale!

** (chmsee:3720): WARNING **: Could not determine locale!

[1]    3720 segmentation fault  chmsee
Any comments?
Cheers.

Original comment by cavanmej...@gmail.com on 31 Jan 2010 at 5:38

GoogleCodeExporter commented 9 years ago
It looks like gecko initializing problem. I have modified relevant code, you 
can test
the git repository version.

Original comment by jungl...@gmail.com on 4 Feb 2010 at 9:58

GoogleCodeExporter commented 9 years ago
Fixed in chmsee version 1.1.0

Original comment by jungl...@gmail.com on 24 Mar 2010 at 9:01