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 88671 - Cannot cancel article
Cannot cancel article
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
pre-0.13.0 betas
Other Linux
: High major
: 0.13.0
Assigned To: Charles Kerr
Charles Kerr
Depends on: 88305
Blocks:
 
 
Reported: 2002-07-20 07:02 UTC by Martin Tomasek
Modified: 2006-06-18 04:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
article from pan.sent, on which pan crashes (714 bytes, text/plain)
2002-07-20 07:04 UTC, Martin Tomasek
Details

Description Martin Tomasek 2002-07-20 07:02:11 UTC
(I'm using CVS version)

If I try to cancel article, pan crashes with messages:

--
** ERROR **: file pan-object.c: line 73 (pan_object_unref): assertion
failed: (o->ref_count>=0)
aborting...
zsh: trace trap  ./pan
--
Comment 1 Martin Tomasek 2002-07-20 07:04:02 UTC
Created attachment 9977 [details]
article from pan.sent, on which pan crashes
Comment 2 Charles Kerr 2002-07-20 13:24:53 UTC
Could you get a backtrace a la http://pan.rebelbase.com/bugs/?
Comment 3 Martin Tomasek 2002-07-21 00:52:56 UTC
I think it is possible to do same with post something and try to
cancel it. It seems that pan crashes on all attempt to cancel.

-- backtrace --
Core was generated by `./pan'.
Program terminated with signal 5, Trace/breakpoint trap.
  • #0 ??
  • #0 ??
  • #1 ??
  • #2 pan_object_unref
    at pan-object.c line 73
  • #3 article_cancel_dtor
    at article-actions.c line 165
  • #4 task_func_ptr_destructor
    at task-func-ptr.c line 81
  • #5 pan_object_destroy
    at pan-object.c line 48
  • #6 pan_object_unref
    at pan-object.c line 75
  • #7 gui_remove_status_item_idle
    at gui.c line 714
  • #8 gui_queue_timer_cb
    at gui.c line 213
  • #9 pan_timeout_wrapper
    at util.c line 145
  • #10 ??
  • #11 ??
  • #12 ??
  • #13 ??
  • #14 ??
  • #15 ??
  • #16 main
    at pan.c line 282

Comment 4 Christophe Lambin 2002-07-25 20:23:21 UTC
Reproduced it with CVS HEAD:

  • #0 g_logv
  • #1 g_log
  • #2 pan_object_unref
    at pan-object.c line 73
  • #3 article_cancel_dtor
    at article-actions.c line 165
  • #4 task_func_ptr_destructor
    at task-func-ptr.c line 81
  • #5 pan_object_destroy
    at pan-object.c line 48
  • #6 pan_object_unref
    at pan-object.c line 75
  • #7 gui_remove_status_item_idle
    at gui.c line 718
  • #8 gui_queue_timer_cb
    at gui.c line 213
  • #9 pan_timeout_wrapper
    at util.c line 145
  • #10 g_timeout_dispatch
    at gmain.c line 2980
  • #11 g_main_dispatch
    at gmain.c line 1617
  • #12 g_main_context_dispatch
    at gmain.c line 2161
  • #13 g_main_context_iterate
    at gmain.c line 2242
  • #14 g_main_loop_run
    at gmain.c line 2462
  • #15 gtk_main
    at gtkmain.c line 936
  • #16 main
    at pan.c line 282
  • #17 __libc_start_main

Comment 5 Charles Kerr 2002-07-28 04:05:27 UTC
Prioritizing remaining 0.13.0 tasks
Comment 6 Charles Kerr 2002-07-28 04:10:35 UTC
marking crashers & other server problems as "major" severity
Comment 8 Christophe Lambin 2002-07-28 22:10:20 UTC
Charles: still crashes with this fix in. Backtrace:



  • #0 g_type_check_instance_is_a
    at gtype.c line 2608
  • #1 g_object_unref
    at gobject.c line 1307
  • #2 article_cancel_dtor
    at article-actions.c line 165
  • #3 task_func_ptr_destructor
    at task-func-ptr.c line 81
  • #4 pan_object_destroy
    at pan-object.c line 48
  • #5 pan_object_unref
    at pan-object.c line 75
  • #6 gui_remove_status_item_idle
    at gui.c line 718
  • #7 gui_queue_timer_cb
    at gui.c line 213
  • #8 pan_timeout_wrapper
    at util.c line 145
  • #9 g_timeout_dispatch
    at gmain.c line 2980

Comment 9 Charles Kerr 2002-07-28 22:15:40 UTC
Chris: *thanks*, I'm looking into the new crash now...
Comment 11 Martin Tomasek 2002-07-29 06:36:58 UTC
crashing stopped, but I still can't cancel article. it seems it went
ok, but article is not cancelled an I can't find cancel post at
newsserver. i tried to look at tcp connections with tcpflow now. pan
doesn't een try to cancel article.
Comment 12 Charles Kerr 2002-07-29 12:22:58 UTC
Why won't you guys let me close this bug, if I could
just close it then it would be fixed....! ;)

Martin: looks like the problem is that when posts are
saved into pan.sent, the Newsgroups: header is being
stripped out... this is being tracked in 88305.