It's UWAweek 47

help3007

This forum is provided to promote discussion amongst students enrolled in CITS3007 Secure Coding. If posting a question, it's suggested you check first whether your question is answered in the unit Frequently Asked Questions (FAQ) list, and use the search box (on the right) to see if an answer to your question has already been posted.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

Note that any posts must comply with the UWA Code of Conduct and the UWA Academic Conduct Policy. That means you should (a) treat everyone with respect and courtesy, and (b) not post your solutions to an assessment that's in progress.

If asking a programming question, it's recommended you read How do I ask a good question? If reporting or troubleshooting a bug in software used in the unit, it's recommend you read How to report bugs effectively.
Displaying the 3 articles in this topic
Showing 3 of 170 articles.
Currently 33 other people reading this forum.


 UWA week 21 (1st semester, week 12) ↓
SVG not supported

Login to reply

👍?
helpful
11:55am Mon 20th May, ANONYMOUS

Hey everyone, hope your doing well :) I have a query about this address sanitizer error (AddressSanitizer:DEADLYSIGNAL). I keep getting this error in my code, even after I have continuously tested it over and over again. Interestingly, I tried running the address sanitizer on an empty code "int main(void){}" and the error continues to come up, even with this empty code... I was just wondering if anyone had any idea whats going on and how to fix this? Thanks!


SVG not supported

Login to reply

👍x1
helpful
1:23pm Mon 20th May, Arran S.

Hi,

If anyone has suggestions for addressing this problem, feel free to post.

It's not something I'm able to assist with at the moment, as there is not nearly enough information to go on – the name of the signal that caused an error isn't sufficient, you'll need to show exactly what command line (and environment variables) you are running your program with, and the full output of the sanitizer. If you compile your code with the "-g" option, then the sanitizer output will normally give exact line numbers and function names, which would likely help to narrow down what's causing the problem.

If you're getting this error with an empty main(), that does suggest you're running your program in an unusual way, but I can't tell what it is.

Cheers

Arran

ANONYMOUS wrote:

Hey everyone, hope your doing well :)

I have a query about this address sanitizer error (AddressSanitizer:DEADLYSIGNAL). I keep getting this error in my code, even after I have continuously tested it over and over again.

Interestingly, I tried running the address sanitizer on an empty code "int main(void){}" and the error continues to come up, even with this empty code...

I was just wondering if anyone had any idea whats going on and how to fix this? Thanks!


SVG not supported

Login to reply

👍?
helpful
10:22am Tue 21st May, ANONYMOUS

Hi, thanks for the response.

I believe its probably a problem with my environment so I will test using Vagrant and see what happens. Thanks again!

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy