From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DATE_IN_PAST_24_48, DMARC_MISSING,INVALID_DATE,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2 autolearn=unavailable autolearn_force=no version=4.0.0 Received: from front1.mail.megapathdsl.net ([66.80.60.31]) by cvs.gentoo.org with esmtp (Exim 3.30 #1) id 15rTNa-0006AG-00 for gentoo-dev@cvs.gentoo.org; Wed, 10 Oct 2001 18:07:14 -0600 Received: from [64.32.225.42] (HELO there) by front1.mail.megapathdsl.net (CommuniGate Pro SMTP 3.4.8a) with SMTP id 8471207; Wed, 10 Oct 2001 17:00:21 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Gold is Heavy To: pan@rebelbase.com, gentoo-dev@cvs.gentoo.org X-Mailer: KMail [version 1.3.1] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: Subject: [gentoo-dev] debugging pan crash Sender: gentoo-dev-admin@cvs.gentoo.org Errors-To: gentoo-dev-admin@cvs.gentoo.org X-BeenThere: gentoo-dev@cvs.gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@cvs.gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Wed Oct 10 18:08:01 2001 X-Original-Date: Wed, 10 Oct 2001 20:06:59 -0400 X-Archives-Salt: 4f267379-c241-460d-a33e-72e23747faf0 X-Archives-Hash: 8e155acac30a0799d799472d94ffd86e 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