Package: libglib2.0-0
Version: 2.70.4-1
Followup-For: Bug #1007226
X-Debbugs-Cc: rharw...@club.cc.cmu.edu


> I think we will really need a backtrace with at least GLib debug symbols,
> and preferably GMime too, so that we can tell what identifier we're trying
> to parse here. (Or you could try loading each individual message into a
> GMime parser, but installing more debug symbols seems easier!)

Loading symbols "the old-fashioned way" against unstable:

(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#1  0x00007ffff7b74546 in __GI_abort () at abort.c:79
#2  0x00007ffff7d76ddc in g_assertion_message
    (domain=<optimized out>, file=<optimized out>, line=<optimized out>, 
func=<optimized out>, message=<optimized out>) at 
../../../glib/gtestutils.c:3223
#3  0x00007ffff7dd60bb in g_assertion_message_expr
    (domain=domain@entry=0x7ffff7e0100e "GLib", file=file@entry=0x7ffff7e12e48 
"../../../glib/gtimezone.c", line=line@entry=1960, 
func=func@entry=0x7ffff7e13190 <__func__.9> "g_time_zone_new_offset", 
expr=expr@entry=0x7ffff7e052fb "tz != NULL") at ../../../glib/gtestutils.c:3249
#4  0x00007ffff7ddc6a6 in g_time_zone_new_offset (seconds=158400) at 
../../../glib/gtimezone.c:1960
#5  0x00007ffff7f2be1e in get_tzone (token=token@entry=0x7fffffffd930) at 
./gmime/gmime-utils.c:505
#6  0x00007ffff7f2da1c in parse_rfc822_date (tokens=0x55555567bf40) at 
./gmime/gmime-utils.c:557
#7  g_mime_utils_header_decode_date (str=str@entry=0x55555567d650 "Sun, 13 Mar 
2022 21:00:43 +4400")
    at ./gmime/gmime-utils.c:758
#8  0x00007ffff7f1387e in process_header
    (object=object@entry=0x555555679440 [GMimeMessage], 
header=header@entry=0x555555679c70 [GMimeHeader]) at ./gmime/gmime-message.c:343
#9  0x00007ffff7f139d2 in message_header_added
    (object=0x555555679440 [GMimeMessage], header=0x555555679c70 [GMimeHeader])
    at ./gmime/gmime-message.c:360
#10 0x00007ffff7f07a2e in g_mime_event_emit (event=0x55555558b090, 
args=args@entry=0x7fffffffda30)
    at ./gmime/gmime-events.c:221
#11 0x00007ffff7f11f31 in _g_mime_header_list_append
    (headers=0x55555567a400 [GMimeHeaderList], name=0x555555644ba0 "Date", 
raw_name=<optimized out>, raw_value=<optimized out>, offset=<optimized out>) at 
./gmime/gmime-header.c:1190
#12 0x00007ffff7f19259 in _g_mime_object_append_header
    (object=object@entry=0x555555679440 [GMimeMessage], header=<optimized out>, 
raw_name=<optimized out>, raw_value=<optimized out>, offset=<optimized out>) at 
./gmime/gmime-object.c:852
#13 0x00007ffff7f20164 in parser_construct_message (options=0x0, 
parser=0x55555559f900 [GMimeParser])
    at ./gmime/gmime-parser.c:2221
#14 g_mime_parser_construct_message
    (parser=parser@entry=0x55555559f900 [GMimeParser], 
options=options@entry=0x0)
    at ./gmime/gmime-parser.c:2271
#15 0x00007ffff7f78d78 in _notmuch_message_file_parse (message=0x555555622320) 
at lib/message-file.c:161
#16 0x00007ffff7f793ad in _notmuch_message_file_parse (message=0x555555622320) 
at lib/message-file.c:373
#17 _notmuch_message_file_get_headers
    (message_file=0x555555622320, from_out=0x7fffffffdbf8, 
subject_out=0x7fffffffdc08, to_out=0x7fffffffdc00, date_out=0x7fffffffdbf0, 
message_id_out=0x7fffffffdc10) at lib/message-file.c:338
#18 0x00007ffff7f86c24 in notmuch_database_index_file(notmuch_database_t*, char 
const*, notmuch_indexopts_t*, notmuch_message_t**)
    (notmuch=notmuch@entry=0x5555555a8ba0, 
filename=filename@entry=0x5555555ac3d0 
"/home/bos/rharwood/Mail/local/new/1647358714.M224828P2714Q0.eesha", 
indexopts=0x5555555e4600, message_ret=message_ret@entry=0x7fffffffdd38) at 
lib/add-message.cc:497
#19 0x0000555555564d12 in add_file
    (state=0x7fffffffe100, filename=0x5555555ac3d0 
"/home/bos/rharwood/Mail/local/new/1647358714.M224828P2714Q0.eesha", 
notmuch=0x5555555a8ba0) at ./notmuch-new.c:380
#20 add_files
    (notmuch=notmuch@entry=0x5555555a8ba0, path=path@entry=0x555555621b50 
"/home/bos/rharwood/Mail/local/new", state=state@entry=0x7fffffffe100) at 
./notmuch-new.c:726
#21 0x0000555555564a49 in add_files
    (notmuch=notmuch@entry=0x5555555a8ba0, path=path@entry=0x55555565f2f0 
"/home/bos/rharwood/Mail/local", state=state@entry=0x7fffffffe100) at 
./notmuch-new.c:613
#22 0x0000555555564a49 in add_files
    (notmuch=notmuch@entry=0x5555555a8ba0, path=path@entry=0x5555555c1830 
"/home/bos/rharwood/Mail", state=state@entry=0x7fffffffe100) at 
./notmuch-new.c:613
#23 0x000055555556596d in notmuch_new_command
    (notmuch=0x5555555a8ba0, argc=<optimized out>, argv=<optimized out>) at 
./notmuch-new.c:1252
#24 0x000055555555e9b7 in main (argc=2, argv=0x7fffffffe8b8) at ./notmuch.c:604
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#1  0x00007ffff7b74546 in __GI_abort () at abort.c:79
#2  0x00007ffff7d76ddc in g_assertion_message (domain=<optimized out>, 
file=<optimized out>, line=<optimized out>, func=<optimized out>, 
message=<optimized out>) at ../../../glib/gtestutils.c:3223
#3  0x00007ffff7dd60bb in g_assertion_message_expr 
(domain=domain@entry=0x7ffff7e0100e "GLib", file=file@entry=0x7ffff7e12e48 
"../../../glib/gtimezone.c", line=line@entry=1960, 
func=func@entry=0x7ffff7e13190 <__func__.9> "g_time_zone_new_offset", 
expr=expr@entry=0x7ffff7e052fb "tz != NULL")
    at ../../../glib/gtestutils.c:3249
#4  0x00007ffff7ddc6a6 in g_time_zone_new_offset (seconds=158400) at 
../../../glib/gtimezone.c:1960
#5  0x00007ffff7f2be1e in get_tzone (token=token@entry=0x7fffffffd930) at 
./gmime/gmime-utils.c:505
#6  0x00007ffff7f2da1c in parse_rfc822_date (tokens=0x55555567bf40) at 
./gmime/gmime-utils.c:557
#7  g_mime_utils_header_decode_date (str=str@entry=0x55555567d650 "Sun, 13 Mar 
2022 21:00:43 +4400") at ./gmime/gmime-utils.c:758
#8  0x00007ffff7f1387e in process_header (object=object@entry=0x555555679440 
[GMimeMessage], header=header@entry=0x555555679c70 [GMimeHeader]) at 
./gmime/gmime-message.c:343
#9  0x00007ffff7f139d2 in message_header_added (object=0x555555679440 
[GMimeMessage], header=0x555555679c70 [GMimeHeader]) at 
./gmime/gmime-message.c:360
#10 0x00007ffff7f07a2e in g_mime_event_emit (event=0x55555558b090, 
args=args@entry=0x7fffffffda30) at ./gmime/gmime-events.c:221
#11 0x00007ffff7f11f31 in _g_mime_header_list_append (headers=0x55555567a400 
[GMimeHeaderList], name=0x555555644ba0 "Date", raw_name=<optimized out>, 
raw_value=<optimized out>, offset=<optimized out>) at 
./gmime/gmime-header.c:1190
#12 0x00007ffff7f19259 in _g_mime_object_append_header 
(object=object@entry=0x555555679440 [GMimeMessage], header=<optimized out>, 
raw_name=<optimized out>, raw_value=<optimized out>, offset=<optimized out>) at 
./gmime/gmime-object.c:852
#13 0x00007ffff7f20164 in parser_construct_message (options=0x0, 
parser=0x55555559f900 [GMimeParser]) at ./gmime/gmime-parser.c:2221
#14 g_mime_parser_construct_message (parser=parser@entry=0x55555559f900 
[GMimeParser], options=options@entry=0x0) at ./gmime/gmime-parser.c:2271
#15 0x00007ffff7f78d78 in _notmuch_message_file_parse (message=0x555555622320) 
at lib/message-file.c:161
#16 0x00007ffff7f793ad in _notmuch_message_file_parse (message=0x555555622320) 
at lib/message-file.c:373
#17 _notmuch_message_file_get_headers (message_file=0x555555622320, 
from_out=0x7fffffffdbf8, subject_out=0x7fffffffdc08, to_out=0x7fffffffdc00, 
date_out=0x7fffffffdbf0, message_id_out=0x7fffffffdc10) at 
lib/message-file.c:338
#18 0x00007ffff7f86c24 in notmuch_database_index_file(notmuch_database_t*, char 
const*, notmuch_indexopts_t*, notmuch_message_t**)
    (notmuch=notmuch@entry=0x5555555a8ba0, 
filename=filename@entry=0x5555555ac3d0 
"/home/bos/rharwood/Mail/local/new/1647358714.M224828P2714Q0.eesha", 
indexopts=0x5555555e4600, message_ret=message_ret@entry=0x7fffffffdd38) at 
lib/add-message.cc:497
#19 0x0000555555564d12 in add_file (state=0x7fffffffe100, 
filename=0x5555555ac3d0 
"/home/bos/rharwood/Mail/local/new/1647358714.M224828P2714Q0.eesha", 
notmuch=0x5555555a8ba0) at ./notmuch-new.c:380
#20 add_files (notmuch=notmuch@entry=0x5555555a8ba0, 
path=path@entry=0x555555621b50 "/home/bos/rharwood/Mail/local/new", 
state=state@entry=0x7fffffffe100) at ./notmuch-new.c:726
#21 0x0000555555564a49 in add_files (notmuch=notmuch@entry=0x5555555a8ba0, 
path=path@entry=0x55555565f2f0 "/home/bos/rharwood/Mail/local", 
state=state@entry=0x7fffffffe100) at ./notmuch-new.c:613
#22 0x0000555555564a49 in add_files (notmuch=notmuch@entry=0x5555555a8ba0, 
path=path@entry=0x5555555c1830 "/home/bos/rharwood/Mail", 
state=state@entry=0x7fffffffe100) at ./notmuch-new.c:613
#23 0x000055555556596d in notmuch_new_command (notmuch=0x5555555a8ba0, 
argc=<optimized out>, argv=<optimized out>) at ./notmuch-new.c:1252
#24 0x000055555555e9b7 in main (argc=2, argv=0x7fffffffe8b8) at ./notmuch.c:604
(gdb) 

>> Possibly related is that my timezone switched to daylight savings today.
>
> What time zone is that?

US Eastern (America/New York).

> I notice you're currently using experimental GLib, but unstable
> libglib2.0-data; although that shouldn't be a practical problem
> (libglib2.0-data currently only contains localization data, so the worst
> effect I'd expect to see would be that some messages would stay in English
> even if you were using a non-English locale).

If that's important, might I suggest a tighter version dependency between the
two?  The failure is the same on both versions, but I thought it would be more
useful to report the more recent one to you initially.

Be well,
--Robbie

Reply via email to