[Solved] Strange bug once kernel size grows
Posted: Mon Nov 19, 2018 8:55 pm
I am struggling with a strange problem.
Problem:
One day I found my kernel triggers General Protection in the middle of "strftime". If I just delete some unnecessary code, the problem disappears. However, once I add more meaningless and harmless code, it re-appears. It doesn't matter where I add my code. It's like once the size of kernel excess such amount, the problem triggers.
Sometimes it's General Protection; sometimes it's ok but string literals doesn't initialize correctly.
I know this isn't much information. But I am new to this circumstance and I don't know what information to give.
Anyone has any idea what this might be about? Or What I can do to locate the real problem?
Thanks in advance!
Problem:
One day I found my kernel triggers General Protection in the middle of "strftime". If I just delete some unnecessary code, the problem disappears. However, once I add more meaningless and harmless code, it re-appears. It doesn't matter where I add my code. It's like once the size of kernel excess such amount, the problem triggers.
Sometimes it's General Protection; sometimes it's ok but string literals doesn't initialize correctly.
I know this isn't much information. But I am new to this circumstance and I don't know what information to give.
Anyone has any idea what this might be about? Or What I can do to locate the real problem?
Thanks in advance!