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 87065 - Some encoded headers are not decoded correctly
Some encoded headers are not decoded correctly
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
pre-0.13.0 betas
Other other
: High normal
: 0.13.0
Assigned To: Christophe Lambin
Christophe Lambin
: 88851 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-07-02 01:03 UTC by Tõivo Leedjärv
Modified: 2006-06-18 04:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot describing the problem (71.65 KB, image/png)
2002-07-02 01:04 UTC, Tõivo Leedjärv
Details

Description Tõivo Leedjärv 2002-07-02 01:03:41 UTC
Some encoded Subject-headers are not decoded correctly. For example, (case
1) the Subject is decoded fine in the thread pane, but not in the message
pane. Or, (case 2) the Subject is not decoded in the thread pane nor the
message pane. On the other hand, some messages are decoded just fine.

I will add a screenshot where red color marks case #1 and green color case #2.

To reproduce the problem - I think you simply have to find some encoded
messages in the newsgroups. The ng in the screenshot is ee.auto.

Pan is the CVS version checked out some 10 minutes ago.
Comment 1 Tõivo Leedjärv 2002-07-02 01:04:28 UTC
Created attachment 9568 [details]
screenshot describing the problem
Comment 2 Tõivo Leedjärv 2002-07-02 01:13:29 UTC
Other headers (eg From:) also seem to be problematic. I have yet to
see undecoded From header in the threads pane, but I see some in the
message pane.
Comment 3 lars.bamberger 2002-07-14 18:26:54 UTC
I have observed the same problem on several other ocasions.
Details to one particular case:

Message ID: <vbd3jus53jb8p7kbqtvfqck4th6tjsb88f@4ax.com> in
de.rec.luftfahrt

A screenshot is at http://www.sweetapple.de/priv/pan.jpg

I can read the message but when pressing 'H' to show the header, Pan
crashes.

Backtrace: http://www.sweetapple.de/priv/pan-backtrace.bz2
Runlog: http://www.sweetapple.de/priv/pan-runlog.bz2

Lars
Comment 4 Charles Kerr 2002-07-15 02:57:20 UTC
Toivo: in the future, please add these as attachments so that
the bug tracker can keep them for posterity.

Chris: looks like YAI18N bug, so reassigning to you.  Sometime
you need to get me in IRC and explain this stuff to me, so that
I can do some of it, before your head explodes. :)

The germane part of the backtrace:


** (pan:13328): WARNING **: Invalid UTF-8 sequence encountered

** (pan:13328): WARNING **: Invalid UTF-8 sequence encountered

(pan:13328): pan-CRITICAL **: file gui-headers.c: line 71
(find_breakpoint): assertion `is_nonempty_string(str)' failed

(pan:13328): pan-CRITICAL **: file gui-headers.c: line 71
(find_breakpoint): assertion `is_nonempty_string(str)' failed
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.

Thread 1024 (LWP 13328)

  • #0 gtk_text_buffer_insert
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #1 gtk_widget_grab_focus
  • #2 gtk_widget_grab_focus
  • #3 gtk_widget_grab_focus
  • #4 gtk_widget_grab_focus
  • #5 gtk_widget_grab_focus
  • #6 g_timeout_dispatch
    from /usr/local/lib/libglib-2.0.so.0
  • #7 g_main_dispatch
    from /usr/local/lib/libglib-2.0.so.0
  • #8 g_main_context_iterate
    from /usr/local/lib/libglib-2.0.so.0
  • #9 g_main_loop_run
    from /usr/local/lib/libglib-2.0.so.0
  • #10 gtk_main
    from /usr/local/lib/libgtk-x11-2.0.so.0
  • #11 gtk_widget_grab_focus
  • #12 __libc_start_main
    from /lib/libc.so.6

Comment 5 DevilKin 2002-07-23 08:42:48 UTC
Same thing here - with pan 0.12.91. I entered tést as a test 
message. It shows up correctly in the header pane, but in the 
message pane i get some =iso= string stuff.

Comment 6 Charles Kerr 2002-07-28 04:05:38 UTC
Prioritizing remaining 0.13.0 tasks
Comment 7 Charles Kerr 2002-07-28 15:14:53 UTC
Chris: is this fixed by pan_header_to_utf8()?
Comment 8 Christophe Lambin 2002-07-28 19:58:23 UTC
For the articlelist: yes.

For the article: no, because it doesn't use pan_header_to_utf8 (yet).
The reason for not merging that from 0.12.1 to HEAD is in
http://mail.freesoftware.fsf.org/pipermail/pan-devel/2002-July/000115.html
Comment 10 Charles Kerr 2002-07-31 22:26:06 UTC
*** Bug 88851 has been marked as a duplicate of this bug. ***