Skip to content

Instantly share code, notes, and snippets.

@aroig
Created May 15, 2013 10:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aroig/5582994 to your computer and use it in GitHub Desktop.
Save aroig/5582994 to your computer and use it in GitHub Desktop.
mu rebuild segfault stack trace
#0 0x00007ffff6031801 in __strlen_sse2_pminub () from /usr/lib/libc.so.6
#1 0x0000000000425c76 in process_str (str=<optimized out>, xapian_esc=1,
query_esc=0) at mu-str.c:478
#2 0x00000000004236d4 in each_part (msg=0xa69f0a0, part=0x7fffffffdb40,
pdata=0x7fffffffdca0) at mu-store-write.cc:438
#3 0x0000000000417f6c in handle_part (opts=<optimized out>,
user_data=0x7fffffffdca0,
func=0x4235c0 <each_part(MuMsg*, MuMsgPart*, PartData*)>, index=2,
parent=0xa39b760, part=0xa469c00, msg=0xa69f0a0) at mu-msg-part.c:457
#4 handle_mime_object (msg=0xa69f0a0, mobj=<optimized out>, parent=0xa39b760,
opts=<optimized out>, index=2,
func=0x4235c0 <each_part(MuMsg*, MuMsgPart*, PartData*)>,
user_data=0x7fffffffdca0) at mu-msg-part.c:504
#5 0x00000000004182cc in each_child (parent=<optimized out>,
part=<optimized out>, fdata=<optimized out>) at mu-msg-part.c:537
#6 0x00007ffff737ad41 in ?? () from /usr/lib/libgmime-2.6.so.0
#7 0x0000000000418629 in handle_children (index=0, user_data=0x7fffffffdca0,
func=0x4235c0 <each_part(MuMsg*, MuMsgPart*, PartData*)>,
opts=MU_MSG_OPTION_RECURSE_RFC822, mime_msg=<optimized out>, msg=0xa69f0a0)
at mu-msg-part.c:561
#8 mu_msg_part_foreach (msg=0xa69f0a0, opts=MU_MSG_OPTION_RECURSE_RFC822,
func=0x4235c0 <each_part(MuMsg*, MuMsgPart*, PartData*)>,
user_data=0x7fffffffdca0) at mu-msg-part.c:577
#9 0x0000000000424162 in add_terms_values_attach (mfid=5 '\005', msg=0xa69f0a0,
doc=...) at mu-store-write.cc:455
#10 add_terms_values (mfid=<optimized out>, msgdoc=0x7fffffffdd10)
at mu-store-write.cc:537
#11 0x000000000041450b in mu_msg_field_foreach (
func=0x423f60 <add_terms_values(MuMsgFieldId, MsgDoc*)>, data=0x7fffffffdd10)
at mu-msg-fields.c:292
#12 0x000000000042231a in new_doc_from_message (store=store@entry=0x64fe60,
msg=msg@entry=0xa69f0a0) at mu-store-write.cc:660
#13 0x0000000000425361 in add_or_update_msg (store=0x64fe60, docid=docid@entry=0,
msg=msg@entry=0xa69f0a0, err=err@entry=0x7fffffffde48)
at mu-store-write.cc:716
#14 0x00000000004259bf in mu_store_add_msg (store=<optimized out>,
msg=msg@entry=0xa69f0a0, err=err@entry=0x7fffffffde48)
at mu-store-write.cc:754
#15 0x000000000041252f in insert_or_update_maybe (updated=<synthetic pointer>,
data=0x7fffffffe420, filestamp=<optimized out>, mdir=0x66dbd0 "/All Mail",
fullpath=0x7fffffffde80 "/home/abdo/Documents/mail/All Mail/cur/1326551140_0.16293.grothendieck,U=2747,FMD5=883ba13d52aa35908bd3344dc0604026:2,S")
at mu-index.c:149
#16 on_run_maildir_msg (
fullpath=fullpath@entry=0x7fffffffde80 "/home/abdo/Documents/mail/All Mail/cur/1326551140_0.16293.grothendieck,U=2747,FMD5=883ba13d52aa35908bd3344dc0604026:2,S", mdir=mdir@entry=0x66dbd0 "/All Mail", statbuf=statbuf@entry=0x7fffffffdf30,
data=data@entry=0x7fffffffe420) at mu-index.c:201
#17 0x000000000041387f in process_file (data=0x7fffffffe420,
msg_cb=0x412440 <on_run_maildir_msg>, mdir=0x66dbd0 "/All Mail",
fullpath=0x7fffffffde80 "/home/abdo/Documents/mail/All Mail/cur/1326551140_0.16293.grothendieck,U=2747,FMD5=883ba13d52aa35908bd3344dc0604026:2,S")
at mu-maildir.c:234
#18 process_dir_entry (
path=path@entry=0x7fffffffe080 "/home/abdo/Documents/mail/All Mail/cur",
mdir=mdir@entry=0x66dbd0 "/All Mail", entry=0x5098480,
cb_msg=cb_msg@entry=0x412440 <on_run_maildir_msg>,
cb_dir=cb_dir@entry=0x412240 <on_run_maildir_dir>, full=full@entry=1,
data=data@entry=0x7fffffffe420) at mu-maildir.c:404
#19 0x000000000041345c in process_dir_entries (data=<optimized out>,
full=<optimized out>, dir_cb=<optimized out>, msg_cb=<optimized out>,
mdir=<optimized out>, path=<optimized out>, dir=<optimized out>)
at mu-maildir.c:492
#20 process_dir (path=0x7fffffffe080 "/home/abdo/Documents/mail/All Mail/cur",
mdir=0x66dbd0 "/All Mail", msg_cb=0x412440 <on_run_maildir_msg>,
dir_cb=0x412240 <on_run_maildir_dir>, full=1, data=0x7fffffffe420)
at mu-maildir.c:532
#21 0x000000000041375e in process_dir_entry (
path=path@entry=0x7fffffffe230 "/home/abdo/Documents/mail/All Mail",
mdir=mdir@entry=0x66dcd0 "/All Mail", entry=0x694110,
cb_msg=cb_msg@entry=0x412440 <on_run_maildir_msg>,
cb_dir=cb_dir@entry=0x412240 <on_run_maildir_dir>, full=full@entry=1,
data=data@entry=0x7fffffffe420) at mu-maildir.c:413
#22 0x000000000041345c in process_dir_entries (data=<optimized out>,
full=<optimized out>, dir_cb=<optimized out>, msg_cb=<optimized out>,
mdir=<optimized out>, path=<optimized out>, dir=<optimized out>)
at mu-maildir.c:492
#23 process_dir (path=0x7fffffffe230 "/home/abdo/Documents/mail/All Mail",
mdir=0x66dcd0 "/All Mail", msg_cb=0x412440 <on_run_maildir_msg>,
dir_cb=0x412240 <on_run_maildir_dir>, full=1, data=0x7fffffffe420)
at mu-maildir.c:532
#24 0x000000000041375e in process_dir_entry (
path=path@entry=0x66f6e0 "/home/abdo/Documents/mail", mdir=mdir@entry=0x0,
entry=0x680f80, cb_msg=cb_msg@entry=0x412440 <on_run_maildir_msg>,
cb_dir=cb_dir@entry=0x412240 <on_run_maildir_dir>, full=full@entry=1,
data=data@entry=0x7fffffffe420) at mu-maildir.c:413
#25 0x000000000041345c in process_dir_entries (data=<optimized out>,
full=<optimized out>, dir_cb=<optimized out>, msg_cb=<optimized out>,
mdir=<optimized out>, path=<optimized out>, dir=<optimized out>)
at mu-maildir.c:492
#26 process_dir (path=0x66f6e0 "/home/abdo/Documents/mail", mdir=0x0,
msg_cb=0x412440 <on_run_maildir_msg>, dir_cb=0x412240 <on_run_maildir_dir>,
full=1, data=0x7fffffffe420) at mu-maildir.c:532
#27 0x0000000000413d7f in mu_maildir_walk (
path=path@entry=0x650560 "/home/abdo/Documents/mail",
cb_msg=cb_msg@entry=0x412440 <on_run_maildir_msg>,
cb_dir=cb_dir@entry=0x412240 <on_run_maildir_dir>, full=full@entry=1,
data=data@entry=0x7fffffffe420) at mu-maildir.c:559
#28 0x00000000004128d5 in mu_index_run (index=index@entry=0x66dc40,
path=0x650560 "/home/abdo/Documents/mail", reindex=1,
stats=stats@entry=0x7fffffffe4d0, msg_cb=0x40ccc0 <index_msg_cb>,
dir_cb=dir_cb@entry=0x0, user_data=user_data@entry=0x7fffffffe4e0)
at mu-index.c:336
#29 0x000000000040cf45 in cmd_index (err=0x7fffffffe608, stats=0x7fffffffe4d0,
opts=0x63e760 <MU_CONFIG>, midx=0x66dc40) at mu-cmd-index.c:320
#30 mu_cmd_index (store=<optimized out>, opts=0x63e760 <MU_CONFIG>,
err=0x7fffffffe608) at mu-cmd-index.c:384
#31 0x000000000040faab in with_store (func=0x40cd00 <mu_cmd_index>,
opts=0x63e760 <MU_CONFIG>, read_only=<optimized out>, err=0x7fffffffe608)
at mu-cmd.c:559
#32 0x0000000000409dcb in main (argc=1, argv=0x7fffffffe708) at mu.cc:116
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment