DEV Community

Discussion on: I'm an Expert in Memory Management & Segfaults, Ask Me Anything!

 
shantanubanerjee75 profile image
Shantanu Banerjee

Memory dump of variable from frame #6 of stack trace
dev-to-uploads.s3.amazonaws.com/up...

Could you please provide any hint?

Thread Thread
 
codemouse92 profile image
Jason C. McDonald

If you have memory bugs in your code, it should also work if you compile and test it on your regular machine, even though the architecture is different. Have you tried that?

Thread Thread
 
shantanubanerjee75 profile image
Shantanu Banerjee

Thanks for your advice. I haven't tried to run this on regular pc. This is pretty big task but let me try this. Could you please provide any opinion to use ASAN compiled binary on target?

Thread Thread
 
codemouse92 profile image
Jason C. McDonald

That might work. I haven't worked with ARM boards or microcircuits before, so I don't have much insight there.