Gentoo Archives: gentoo-dev

From: Gold is Heavy <aeoo@×××××××.org>
To: pan@×××××××××.com, gentoo-dev@××××××××××.org
Subject: [gentoo-dev] debugging pan crash
Date: Wed, 10 Oct 2001 18:07:14
Message-Id: auto-000008471207@front1.mail.megapathdsl.net
1 I was playing some more with pan, and I noticed an interesting thing. I can
2 get it to work, sort of, if I don't get a list of news groups from my server.
3 So, if I start without .gnome/Pan file, and then answer "NO" to "do you want
4 to get a list of newsgroups...", I can get back into it fine.
5
6 Also, if it is messed up, I can delete .gnome/Pan but LEAVE .pan/ dir intact,
7 and it will start up fine, but without any of my settings, obviously.
8
9 So, now that my pan is messed up, I am erasing both .gnome/Pan and .pan/ in
10 order to get pan to go through its setup wizard. I click next on all the
11 screens and when it asks me if i want to get newsgroups, I say no.
12
13 Then I quit and start pan again. Everything is fine. Previously I also
14 exported my newsgroups into .newrc file (remember, it only crashes when you
15 try to get back into it, but it's always fine the first time!). So, I import
16 the .newsrc file. I quit pan. I start pan, and everything is also ok this
17 time around.
18
19 I change my preferences so that it doesn't read the news or download articles
20 by default. I can quit and come back ok.
21
22 Now I go to a newsgroup and get some headers. I quit and now I can't come
23 back! Running pan with some tracing, after it's in the screwed up state:
24 ---'pan --debug-trace'---
25 )(time 23:42:48)(depth 4) TRACE: + filter_aggregate_insert
26 ( filter-aggregate.c:0244: filter_aggregate_insert)(thread
27 1024)(time 23:42:48)(depth 3) TRACE: - filter_aggregate_insert
28 ( filter.c:0183: filter_dup)(thread
29 1024)(time 23:42:48)(depth 2) TRACE: - filter_dup
30 ( filter.c:0178: filter_dup)(thread
31 1024)(time 23:42:48)(depth 3) TRACE: + filter_dup
32 ( filter.c:0061: filter_constructor)(thread
33 1024)(time 23:42:48)(depth 4) TRACE: + filter_constructor
34 ( filter.c:0071: filter_constructor)(thread
35 1024)(time 23:42:48)(depth 3) TRACE: - filter_constructor
36 ( filter.c:0183: filter_dup)(thread
37 1024)(time 23:42:48)(depth 2) TRACE: - filter_dup
38 ( filter-phrase.c:0192: filter_phrase_set)(thread
39 1024)(time 23:42:48)(depth 3) TRACE: + filter_phrase_set
40 ( filter-phrase.c:0218: filter_phrase_set)(thread
41 1024)(time 23:42:48)(depth 2) TRACE: - filter_phrase_set
42 ( filter-phrase.c:0192: filter_phrase_set)(thread
43 1024)(time 23:42:48)(depth 3) TRACE: + filter_phrase_set
44 ( filter-phrase.c:0218: filter_phrase_set)(thread
45 1024)(time 23:42:48)(depth 2) TRACE: - filter_phrase_set
46 ( article-toolbar.c:0705: update_custom_menus)(thread
47 1024)(time 23:42:48)(depth 1) TRACE: - update_custom_menus
48 ( gui-notebook.c:0045: gui_notebook_construct)(thread
49 1024)(time 23:42:48)(depth 2) TRACE: + gui_notebook_construct
50
51 Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkContainer'
52
53 Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject'
54 ---
55
56 ---'pan --debug-pan-object'---
57 )(time 23:45:54) PAN OBJECT: pan_object_destructor: 0x8ff07a8 (32070
58 PanObjects
59 alive)
60 ( pan-object.c:0071: pan_object_unref)(thread
61 1024)(time 23:45:54) PAN OBJECT: pan_object_unref: 0x8ff1348 down to 0
62 ( pan-object.c:0043: pan_object_destroy)(thread
63 1024)(time 23:45:54) PAN OBJECT: pan_object_destroy: 0x8ff1348
64 ( pan-object.c:0071: pan_object_unref)(thread
65 1024)(time 23:45:54) PAN OBJECT: pan_object_unref: 0x8ff1468 down to 0
66 ( pan-object.c:0043: pan_object_destroy)(thread
67 1024)(time 23:45:54) PAN OBJECT: pan_object_destroy: 0x8ff1468
68 ( pan-object.c:0107: pan_object_destructor)(thread
69 1024)(time 23:45:54) PAN OBJECT: pan_object_destructor: 0x8ff1468 (32069
70 PanObjects
71 alive)
72 ( pan-object.c:0107: pan_object_destructor)(thread
73 1024)(time 23:45:54) PAN OBJECT: pan_object_destructor: 0x8ff1348 (32068
74 PanObjects
75 alive)
76 ( pan-object.c:0071: pan_object_unref)(thread
77 1024)(time 23:45:54) PAN OBJECT: pan_object_unref: 0x8ff1528 down to 0
78 ( pan-object.c:0043: pan_object_destroy)(thread
79 1024)(time 23:45:54) PAN OBJECT: pan_object_destroy: 0x8ff1528
80 ( pan-object.c:0107: pan_object_destructor)(thread
81 1024)(time 23:45:54) PAN OBJECT: pan_object_destructor: 0x8ff1528 (32067
82 PanObjects
83 alive)
84
85 Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkContainer'
86
87 Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject'
88 ---
89
90 ---'strace pan'---
91 read(3, 0xbffff80c, 32) = -1 EAGAIN (Resource temporarily
92 unavailable)
93 select(4, [3], NULL, NULL, NULL) = 1 (in [3])
94 read(3, "\1\0s\21\3\0\0\0#\0\0\0\1\0\0\1\377\377\377\377\0\0\0\0"..., 32) = 32
95 read(3, "\0\0\0\0\0\0\0\0\0\0\35\t", 12) = 12
96 read(3, "\1\30t\21\0\0\0\0006\0\0\0\234\377\234\377\n\0\n\0\0\0"..., 32) = 32
97 time(NULL) = 1002757666
98 stat64("/etc/gnome/config-override/Pan", 0xbffff950) = -1 ENOENT (No such
99 file or directory)
100 stat64("./gnome/config-override/Pan", 0xbffff950) = -1 ENOENT (No such file
101 or directory)
102 stat64("/etc/gnome/config/Pan", 0xbffff950) = -1 ENOENT (No such file or
103 directory)
104 stat64("./gnome/config/Pan", 0xbffff950) = -1 ENOENT (No such file or
105 directory)time(NULL) = 1002757666
106 stat64("/home/aeoo/.gnome/Pan", {st_mode=S_IFREG|0644, st_size=1898, ...}) = 0
107 time(NULL) = 1002757666
108 write(2, "\n", 1
109 ) = 1
110 write(2, "Gtk", 3Gtk) = 3
111 write(2, "-", 1-) = 1
112 write(2, "WARNING **: ", 12WARNING **: ) = 12
113 write(2, "invalid cast from (NULL) pointer"..., 50invalid cast from (NULL)
114 pointer to `GtkContainer') = 50
115 write(2, "\n", 1
116 ) = 1
117 [snip]
118 ---
119
120 I've read the README file and the suggestions on gentoo-dev (and the
121 suggestions basically reflect what the README says), and I do have every
122 single thing installed that is requisite for running pan on non-Gnome DE. As
123 I said, I do not normally run Gnome, but I do have all the libs installed. I
124 am trying to use pan in KDE.
125
126 pan --version: Gnome Pan 0.10.0.92
127
128 I am running Gentoo Linux, which means I have pretty much all the latest apps
129 compiled from source. So, there is practically no chance for a library to be
130 out of date. Using Linux 2.4.10. Please note, I run X-chat and gaim all the
131 time, and they work just fine.
132
133 If this helps to find what the problem is, great :). If you need more
134 tracing info, just drop me a line.
135
136 --Leo

Replies

Subject Author
Re: [gentoo-dev] debugging pan crash James M Long <jlong@××××××××××××.gov>