Comments (4)
I have the same issue and I can trigger it reliably with the following:
$ cat ~/.muttrc
mono index bold ~N
mono index bold ~F
mono index bold ~T
mono index bold ~D
$ neomutt -D
color/regex.c:314:5: runtime error: store to null pointer of type 'struct RegexColor *'
from neomutt.
argh! the bloody mono
command again.
Thanks!
I have a fix for this, but I haven't merged it yet.
I'll do so later today.
I plan to make a new release late next week.
from neomutt.
color/regex.c:314:5: runtime error: store to null pointer of type 'struct RegexColor *'
"runtime error"? in C? That's weird.
The line it refers to is adding a new color
command that takes a regex, e.g. color body
.
Line 314 in fa83255
Looking at the rest of the function, I can't see how either rcl
or rcol
could be NULL
-- they've both already been dereferenced.
If NeoMutt crashed, did your OS create a 'coredump' file?
Haven't found.
If your distro is using systemd, then you can use coredumpctl to get a coredump / debug.
e.g.
coredumpctl debug neomutt
In the debugger, you can use the command: bt
to get a backtrace.
When is this happening?
Immediately on startup -- e.g. when it's reading config -- or later whilst running?
How often have you managed to trigger it?
Can you post your color config?
Especially any color
commands that take a regex.
Thanks
from neomutt.
Colour fixed merged in f9c11d6.
from neomutt.
Related Issues (20)
- Do we need to handle <stddef.h> specially? HOT 1
- conditional format strings broken in 2024-04-25 HOT 9
- Duplicate gpg keys in key selection menu for message encryption HOT 18
- segfault while opening a mailbox in from the sidebar HOT 2
- Doubts about paranoic defensive programming style HOT 3
- C dialect HOT 2
- tag-prefix doesn't show-up in attach HOT 5
- Doubts about some `*const` pointers HOT 5
- How to use the notmuch command <modify-labels> to tag emails with tags containing spaces?
- Is it possible to edit the automatic title when forwarding or replying a message? HOT 1
- Progress for postponing a message with remote (IMAP)
- autocrypt breaks command line argument `-e "push foo"` HOT 4
- How to forward an email thread to someone else together with attachments ? HOT 3
- `delete-thread` does not support `tag-prefix` operator
- split outgoing email into batches to work around max number of recipients limit in some SMTP providers (infomaniak) HOT 3
- save-message from GMail over IMAP to local box doesn't delete original HOT 3
- Cannot open an .mbox file with neomutt (although it works with mutt) HOT 4
- neomutt truecolor and kitty
- neomutt does not replace `...` by encrypted subject HOT 6
- Inline-PGP with junk before recognized incorrectly HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neomutt.