|
Step away from the misbehaving application for a moment. Fire up a VM running the Windows OS you want, and write a bad, evil application. It does not have to be complex. Using a VM allows you to crash/hang it instead of your main box. Try malloc (comes off the heap) and static allocation (process space?). I'm rusty. Just play around.
That said, trust nothing Microsoft "documents." I fully confess that I am jaded. Trust but verify.
I have had my left leg in the embedded world and the right leg on the desktop. My two common errors has been buffer overflows into malloc'd areas and stack overflows. Either way, it's an application issue.
Keep learning.
Charlie Gilley
βThey who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.β BF, 1759
Has never been more appropriate.
|
|
|
|
|
I need to amend my earlier statement about 32-bit processes under Windows.
While it's not important, historically the process address space was divvied such that the lower 2GB was "user space" and the upper 2GB was "kernel space" (I may have that backward, but either way, it's half and half)
Some apps could be "3GB aware", sometimes run with a command line switch like /3GB to enable it. In that case, the kernel was only mapped to 1GB of the address space. I'm not sure why all apps weren't this way, other than compatibility. An example of a 32 process that could be 3GB aware with a command line switch is the old 32-bit versions of Image Line's FL Studio DAW software.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
For Linux and friends, start with man getrlimit and apropos oom . The whole OOM-killer environment is intriguing, to say the least. I believe it came from the *nix legacy of lots of users timesharing a machine with limited resources, particularly memory. A competitive, rather than cooperative, workload.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Wordle 1,189 4/6
π©β¬β¬π¨β¬
π©β¬π©β¬π©
π©β¬π©π©π©
π©π©π©π©π©
|
|
|
|
|
Wordle 1,189 4/6*
β¬β¬β¬β¬π©
β¬β¬β¬π¨π©
π©β¬β¬β¬π©
π©π©π©π©π©
|
|
|
|
|
Wordle 1,189 3/6
β¬π¨β¬π¨π©
π©β¬π©β¬π©
π©π©π©π©π©
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Wordle 1,189 5/6*
β¬β¬π©π¨π©
π©β¬π©β¬π©
π©β¬π©β¬π©
π©β¬π©β¬π©
π©π©π©π©π©
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
β¬β¬β¬β¬π©
β¬β¬π©β¬π¨
β¬β¬π©π¨π©
π©β¬π©β¬π©
π©π©π©π©π©
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 1,189 3/6*
β¬β¬π¨β¬β¬
π¨π¨β¬β¬π¨
π©π©π©π©π©
Happiness will never come to those who fail to appreciate what they already have. -Anon
And those who were seen dancing were thought to be insane by those who could not hear the music. -Frederick Nietzsche
|
|
|
|
|
Wordle 1,189 4/6
β¬β¬π©β¬π©
π©β¬π©β¬π©
π©β¬π©π©π©
π©π©π©π©π©
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Wordle 1,189 4/6*
β¬β¬π©β¬π©
π©β¬π©β¬π©
π©β¬π©π©π©
π©π©π©π©π©
|
|
|
|
|
Wordle 1,189 3/6
β¬β¬π©β¬π©
π©β¬π©β¬π©
π©π©π©π©π©
Within you lies the power for good - Use it!
|
|
|
|
|
I'm the kind of stuck that doesn't resolve itself to a programming question.
As an adult I used to work with someone I taught coding to back when we were teens, and we'd buddy code, and accomplish things neither one of us could do on our own. We worked really well together.
Eventually he went off to NYC to make obscene amounts of money.
But that's the kind of help I need. This SVG stuff is absolutely kicking my ass.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
honey the codewitch wrote: off to NYC to make obscene amounts of money
Sorry, can't help you there.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
|
Quote: [...] obscene amounts of money.
honey the codewitch wrote: [...] that's the kind of help I need. Me too.
On the serious side, I strongly doubt the magician would happen again.
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
Get a rubber duck*?
* Made a typo there once, made for an interesting conversation
|
|
|
|
|
Well it's one of those problems where something has gone dramatically wrong and I don't even know where in the codebase to start looking. It's gotten to the point where I've decided to support TinyVG instead, eventually in addition to SVG
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Sander Rossel wrote: Made a typo there once, made for an interesting conversation
A ... robber duck ?
|
|
|
|
|
Yeah, let's dick to that
|
|
|
|
|
Take a break from it for a while, if you can. Don't know how many times I've been stuck and taken a break and when I came back to it...bam.
|
|
|
|
|
Does anyone know why we have not been getting The Code Project's "Daily News" emails in the past week or so?
Steve Naidamast
Sr. Software Engineer
Black Falcon Software, Inc.
blackfalconsoftware@outlook.com
|
|
|
|
|
Speculation is there's a shake up going on at code project. See further down in the lounge...Chris is leaving.
The Lounge
|
|
|
|
|
Thank you for your update...
I have always enjoyed the Daily News emails. Hopefully, Chris' replacement will take up this aspect of The Code Project's repertoire...
Steve Naidamast
Sr. Software Engineer
Black Falcon Software, Inc.
blackfalconsoftware@outlook.com
|
|
|
|
|
Steve Naidamast wrote: Hopefully, Chris' replacement will take up this aspect of The Code Project's repertoire... Not only that one... we all are really interested to know what is going to be next
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|