Posts
3459
Following
207
Followers
343
Linux kernel maintainer. Compilers and virtualization at Parity Technologies.

Jarkko Sakkinen

Edited 3 months ago
(gdb) print boxes
$1 = {0x5555556c4540, <optimized out>}

I noticed this so I tried:

diff --git a/src/main_sync.c b/src/main_sync.c
index 226e324..afb23ca 100644
--- a/src/main_sync.c
+++ b/src/main_sync.c
@@ -623,6 +623,7 @@ sync_opened( main_vars_t *mvars, int t )
if (!mvars->chanptr->boxlist && mvars->chan->patterns) {
mvars->chanptr->boxlist = 2;
char **boxes[2];
+ __asm__ __volatile__("" :: "m" (boxes));
boxes[F] = filter_boxes( mvars->boxes[F], mvars->chan->boxes[F], mvars->chan->patterns );
boxes[N] = filter_boxes( mvars->boxes[N], mvars->chan->boxes[N], mvars->chan->patterns );
box_ent_t **mboxapp = &mvars->chanptr->boxes;

That literally fixed the bug! I.e. could this be a #GCC bug?

RT @gromit, @adamw

#mbsync #gcc #fedora #bug #isync
1
0
0

Jarkko Sakkinen

Edited 3 months ago
When using #m2sync, compared to #mbsync, you need to use "maildirpp:" instead of maildir "maildir:".

Just though to mention since I was puzzling around this for few hours, and wondering why #notmuch finds everything, and aerc finds nothing.

EDIT: Had some issues with this but it seems interesting and relevant so I keep tracking this project. Now I at least got the mbsync bug fixed in Fedora.
0
0
1

Jarkko Sakkinen

I wonder if quantum computers were better off deployed to space.

I mean it is colder out the so it should take less energy to cool down to near 0 Kelvin.

All kinds of cargo and even space tourists are going to space anyway so that is not as high coast when amortized, as are the operating costs.

#quantum #computing
3
1
0

Jarkko Sakkinen

I found a modern actively updated alternative for #isync (or #mbsync): #m2sync

It is part of #vomit project: https://sr.ht/~bitfehler/vomit/

Compared to the complexity of ~/.mbsyncrc, my config is now dead simple:

cat .config/vomit/config.toml 
[kapsi]
local = "~/.cache/mail/kapsi"
remote = "mail.kapsi.fi:993"
user = "jjs"
pass-cmd = "pass show imap/mail.kapsi.fi"

I love vomit!

1
0
2

Jarkko Sakkinen

I realized that despite #mbsync crashing in #Fedora I could use #rsync as a backup because I have also SSH shell to my Maildir.

So I give a shot for that, i.e. ssh+rsync, but over longer period of time, I still would prefer to use mbsync. Anyway, it is a workaround.
0
0
0

Jarkko Sakkinen

Edited 3 months ago
#coredumpctl is pretty cool! I tried it first time yesterday while debugging a SIGSEGV issue with mbsync (aka isync, I hate this name ambiguity) in #Fedora.

I'm surprised that mbsync segfaults with Fedora 40 given despite being niche it is a popular choice among kernel developers.

EDIT: s/journalctl/coredumpctl/ ;-)

#linux #gdb #systemd
1
1
2

Jarkko Sakkinen

Edited 3 months ago
#Gmail is my #landfill.

I prefer to register web crap there because then I don't have to spend my #email time on unsubscribing the silly notifications that they keep sending.

Then I go there every six months or so and delete All Mail because garbage is all it contains.

#subscription #lifehack
1
0
0
Edited 3 months ago

The dedicated slab buckets series by @kees has been merged into 6.11.

This change allows putting chosen dynamically-sized slab allocations into separate caches instead of generic kmalloc ones.

Patch: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b32801d1255be1da62ea8134df3ed9f3331fba12
@LWN's overview: https://lwn.net/Articles/965837/

So far, only msg_msg [1] and memdup [2] allocations got their own buckets.

1: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=734bbc1c97ea7e46e0e53b087de16c87c03bd65f
2: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d73778e4b86755d527a0c6b249cde846770b2f66

0
4
2

IP Address: 108.165.96.183
Port: 5900
Location: Boca Raton, Florida 🇺🇸
ASN: AS398395 Dot-Tech LLC
Client Name: wimpywoodpeck
Hostname: None
ComputerNewb ID: 51606348
https://computernewb.com/vncresolver/browse/#id/51606348

1
2
0

Jarkko Sakkinen

Tk powers! #tcl #tk
0
0
0

Jarkko Sakkinen

"gimme gimme gimme gimme step step step step crush crush crush crush" -Tupac Shakur on Trump 1992 ;-) I agree with this description.

https://www.youtube.com/watch?v=GL-ZoNhUFmc
0
0
0

Jarkko Sakkinen

#mbsync always crashes here in #Fedora (even when compiled from upstream):

Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000055d33068a967 in sync_chans (mvars=0x7ffef80ee330, ent=<optimized out>) at /usr/src/debug/isync-1.4.4-8.fc40.x86_64/src/main.c:906
906 char *sname = boxes[N] ? boxes[N][sb] : NULL;

Any ideas? I used coredumpctl to discover this location but for comparative testing I also compiled the latest upstream of mbsync, and it crashes in the exact same location.

#isync
1
0
0

Jarkko Sakkinen

I try ask URL from #iCloud with this simple snippet of #cURL:

curl -Lv -X PROPFIND \
     --header "Depth: 0" \
     -u 'jarkko.sakkinen:$(pass site/icloud.com./vdirsyncer)' \
     https://contacts.icloud.com/.carddav/wellknown

Cutting out the relevant part of the server response I get 401:

< HTTP/1.1 401 Unauthorized
< Server: AppleHttpServer/b866cf47a603

I do have app password generated. My iCloud is two-factor authenticated with #Yubikey but again I have the app password.

Any ideas/tips?

#vdirsyncer

1
0
0

Jarkko Sakkinen

Edited 3 months ago
I've been super-satisfied after month of using #foot: https://codeberg.org/dnkl/foot

Can highly recommend this. For us who don't like our #terminal fat but #st [1] is over the top ;-) Also, #Wayland only.

My history with terminals goes like that during "X era" was urxvt but after that my choice has been swinging. This feels home in that sense.
1
1
4

Jarkko Sakkinen

My social media profile here is #ssod i.e. spam screen of death. #bsod

0
0
0

Jarkko Sakkinen

I guess #Linux is old, given that it is older than #BSOD!

0
2
1
Show older