After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 348577 - Pan crashes when updating articles.
Pan crashes when updating articles.
Status: RESOLVED DUPLICATE of bug 348447
Product: Pan
Classification: Other
Component: general
pre-1.0 betas
Other All
: Normal critical
: ---
Assigned To: Charles Kerr
Pan QA Team
Depends on:
Blocks:
 
 
Reported: 2006-07-24 21:43 UTC by alen.williams
Modified: 2006-07-25 19:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description alen.williams 2006-07-24 21:43:47 UTC
Steps to reproduce:
Click on a group.
Right click, select "Get new articles in selected groups"
wait a while.
crash!

Stack trace:
[root@einstein tmp]# script pan-backtrace
Script started, file is pan-backtrace
[root@einstein tmp]# gdb pan
GNU gdb Red Hat Linux (6.3.0.0-1.122rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) handle SIGUSR1 nostop noprint
Signal        Stop	Print	Pass to program	Description
SIGUSR1       No	No	Yes		User defined signal 1
(gdb) handle SIG32 nostop noprint
Signal        Stop	Print	Pass to program	Description
SIG32         No	No	Yes		Real-time event 32
(gdb) run
Starting program: /usr/bin/pan 
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0x394000
[Thread debugging using libthread_db enabled]
[New Thread -1209117008 (LWP 8897)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1209117008 (LWP 8897)]
std::_Rb_tree<pan::Quark, std::pair<pan::Quark const, pan::DataImpl::ArticleNode*>, std::_Select1st<std::pair<pan::Quark const, pan::DataImpl::ArticleNode*> >, std::less<pan::Quark>, std::allocator<std::pair<pan::Quark const, pan::DataImpl::ArticleNode*> > >::lower_bound (this=0x9683b08, __k=@0xbfd084ac)
    at /usr/lib/gcc/i386-redhat-linux/4.1.0/../../../../include/c++/4.1.0/bits/stl_tree.h:1371
1371		if (!_M_impl._M_key_compare(_S_key(__x), __k))
(gdb) thread apply all bt

Thread 1 (Thread -1209117008 (LWP 8897))

  • #1 std::map<pan::Quark, pan::DataImpl::ArticleNode*, std::less<pan::Quark>, std::allocator<std::pair<pan::Quark const, pan::DataImpl::ArticleNode*> > >::operator[]
    at /usr/lib/gcc/i386-redhat-linux/4.1.0/../../../../include/c++/4.1.0/bits/stl_map.h line 576
  • #2 pan::DataImpl::load_article
    at headers.cc line 275
  • #3 pan::DataImpl::xover_add
    at xover.cc line 279
  • #4 pan::TaskXOver::on_nntp_line
    at task-xover.cc line 309
  • #5 pan::NNTP::onSocketResponse
    at nntp.cc line 148
  • #6 pan::GIOChannelSocket::do_read
    at socket-impl-gio.cc line 338
  • #7 pan::GIOChannelSocket::gio_func
    at socket-impl-gio.cc line 438
  • #8 g_io_channel_unix_get_fd
    from /usr/lib/libglib-2.0.so.0
  • #9 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #10 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #11 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #12 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #13 (anonymous namespace)::run_pan_in_window
    at pan.cc line 106
  • #14 main
    at pan.cc line 250


Other information:
Comment 1 Charles Kerr 2006-07-25 19:04:42 UTC
Alen, the patch in #348447 should clear this up.

Thanks for reporting this!

*** This bug has been marked as a duplicate of 348447 ***