public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] debugging pan crash
@ 2001-10-10 18:08 Gold is Heavy
  2001-10-11  6:57 ` James M Long
  0 siblings, 1 reply; 8+ messages in thread
From: Gold is Heavy @ 2001-10-10 18:08 UTC (permalink / raw
  To: pan, gentoo-dev

I was playing some more with pan, and I noticed an interesting thing.  I can 
get it to work, sort of, if I don't get a list of news groups from my server. 
 So, if I start without .gnome/Pan file, and then answer "NO" to "do you want 
to get a list of newsgroups...", I can get back into it fine.

Also, if it is messed up, I can delete .gnome/Pan but LEAVE .pan/ dir intact, 
and it will start up fine, but without any of my settings, obviously.

So, now that my pan is messed up, I am erasing both .gnome/Pan and .pan/ in 
order to get pan to go through its setup wizard.  I click next on all the 
screens and when it asks me if i want to get newsgroups, I say no.

Then I quit and start pan again.  Everything is fine.  Previously I also 
exported my newsgroups into .newrc file (remember, it only crashes when you 
try to get back into it, but it's always fine the first time!).  So, I import 
the .newsrc file.  I quit pan.  I start pan, and everything is also ok this 
time around.

I change my preferences so that it doesn't read the news or download articles 
by default.  I can quit and come back ok.

Now I go to a newsgroup and get some headers.  I quit and now I can't come 
back!  Running pan with some tracing, after it's in the screwed up state:
---'pan --debug-trace'---
)(time 23:42:48)(depth   4) TRACE: + filter_aggregate_insert
(            filter-aggregate.c:0244:       filter_aggregate_insert)(thread 
1024)(time 23:42:48)(depth   3) TRACE: - filter_aggregate_insert
(                      filter.c:0183:                    filter_dup)(thread 
1024)(time 23:42:48)(depth   2) TRACE: - filter_dup
(                      filter.c:0178:                    filter_dup)(thread 
1024)(time 23:42:48)(depth   3) TRACE: + filter_dup
(                      filter.c:0061:            filter_constructor)(thread 
1024)(time 23:42:48)(depth   4) TRACE: + filter_constructor
(                      filter.c:0071:            filter_constructor)(thread 
1024)(time 23:42:48)(depth   3) TRACE: - filter_constructor
(                      filter.c:0183:                    filter_dup)(thread 
1024)(time 23:42:48)(depth   2) TRACE: - filter_dup
(               filter-phrase.c:0192:             filter_phrase_set)(thread 
1024)(time 23:42:48)(depth   3) TRACE: + filter_phrase_set
(               filter-phrase.c:0218:             filter_phrase_set)(thread 
1024)(time 23:42:48)(depth   2) TRACE: - filter_phrase_set
(               filter-phrase.c:0192:             filter_phrase_set)(thread 
1024)(time 23:42:48)(depth   3) TRACE: + filter_phrase_set
(               filter-phrase.c:0218:             filter_phrase_set)(thread 
1024)(time 23:42:48)(depth   2) TRACE: - filter_phrase_set
(             article-toolbar.c:0705:           update_custom_menus)(thread 
1024)(time 23:42:48)(depth   1) TRACE: - update_custom_menus
(                gui-notebook.c:0045:        gui_notebook_construct)(thread 
1024)(time 23:42:48)(depth   2) TRACE: + gui_notebook_construct

Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkContainer'

Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject'
---

---'pan --debug-pan-object'---
)(time 23:45:54) PAN OBJECT: pan_object_destructor: 0x8ff07a8 (32070 
PanObjects
alive)
(                  pan-object.c:0071:              pan_object_unref)(thread 
1024)(time 23:45:54) PAN OBJECT: pan_object_unref: 0x8ff1348 down to 0
(                  pan-object.c:0043:            pan_object_destroy)(thread 
1024)(time 23:45:54) PAN OBJECT: pan_object_destroy: 0x8ff1348
(                  pan-object.c:0071:              pan_object_unref)(thread 
1024)(time 23:45:54) PAN OBJECT: pan_object_unref: 0x8ff1468 down to 0
(                  pan-object.c:0043:            pan_object_destroy)(thread 
1024)(time 23:45:54) PAN OBJECT: pan_object_destroy: 0x8ff1468
(                  pan-object.c:0107:         pan_object_destructor)(thread 
1024)(time 23:45:54) PAN OBJECT: pan_object_destructor: 0x8ff1468 (32069 
PanObjects
alive)
(                  pan-object.c:0107:         pan_object_destructor)(thread 
1024)(time 23:45:54) PAN OBJECT: pan_object_destructor: 0x8ff1348 (32068 
PanObjects
alive)
(                  pan-object.c:0071:              pan_object_unref)(thread 
1024)(time 23:45:54) PAN OBJECT: pan_object_unref: 0x8ff1528 down to 0
(                  pan-object.c:0043:            pan_object_destroy)(thread 
1024)(time 23:45:54) PAN OBJECT: pan_object_destroy: 0x8ff1528
(                  pan-object.c:0107:         pan_object_destructor)(thread 
1024)(time 23:45:54) PAN OBJECT: pan_object_destructor: 0x8ff1528 (32067 
PanObjects
alive)

Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkContainer'

Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject'
---

---'strace pan'---
read(3, 0xbffff80c, 32)                 = -1 EAGAIN (Resource temporarily 
unavailable)
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
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
read(3, "\0\0\0\0\0\0\0\0\0\0\35\t", 12) = 12
read(3, "\1\30t\21\0\0\0\0006\0\0\0\234\377\234\377\n\0\n\0\0\0"..., 32) = 32
time(NULL)                              = 1002757666
stat64("/etc/gnome/config-override/Pan", 0xbffff950) = -1 ENOENT (No such 
file or directory)
stat64("./gnome/config-override/Pan", 0xbffff950) = -1 ENOENT (No such file 
or directory)
stat64("/etc/gnome/config/Pan", 0xbffff950) = -1 ENOENT (No such file or 
directory)
stat64("./gnome/config/Pan", 0xbffff950) = -1 ENOENT (No such file or 
directory)time(NULL)                              = 1002757666
stat64("/home/aeoo/.gnome/Pan", {st_mode=S_IFREG|0644, st_size=1898, ...}) = 0
time(NULL)                              = 1002757666
write(2, "\n", 1
)                       = 1
write(2, "Gtk", 3Gtk)                      = 3
write(2, "-", 1-)                        = 1
write(2, "WARNING **: ", 12WARNING **: )            = 12
write(2, "invalid cast from (NULL) pointer"..., 50invalid cast from (NULL) 
pointer to `GtkContainer') = 50
write(2, "\n", 1
)                       = 1
[snip]
---

I've read the README file and the suggestions on gentoo-dev (and the 
suggestions basically reflect what the README says), and I do have every 
single thing installed that is requisite for running pan on non-Gnome DE.  As 
I said, I do not normally run Gnome, but I do have all the libs installed.  I 
am trying to use pan in KDE.

pan --version: Gnome Pan 0.10.0.92

I am running Gentoo Linux, which means I have pretty much all the latest apps 
compiled from source.  So, there is practically no chance for a library to be 
out of date.  Using Linux 2.4.10.  Please note, I run X-chat and gaim all the 
time, and they work just fine.

If this helps to find what the problem is, great :).  If you need more 
tracing info, just drop me a line.

--Leo




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-10-11 15:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-10 18:08 [gentoo-dev] debugging pan crash Gold is Heavy
2001-10-11  6:57 ` James M Long
2001-10-11  7:07   ` Mikael Hallendal
2001-10-11  7:31   ` Gold is Heavy
2001-10-11  7:45     ` James M Long
2001-10-11  7:46     ` Mikael Hallendal
2001-10-11  9:05     ` James M Long
2001-10-11  9:30       ` Mikael Hallendal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox