Ad
  • Default User Avatar

    I'm getting a critical error when testing exceptions cases, in my code i'm calling "throw VersionException("Error occured while parsing version!");"
    without knowing how VersionException is defined i dont realize what is happening, any clue? thanks in advance

    log:
    UndefinedBehaviorSanitizer:DEADLYSIGNAL
    ==1==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f4f4e314afc bp 0x000002994ed0 sp 0x7ffc95d256b8 T1)
    ==1==The signal is caused by a READ memory access.
    ==1==Hint: address points to the zero page.
    ==1==WARNING: invalid path to external symbolizer!
    ==1==WARNING: Failed to use and restart external symbolizer!
    #0 0x7f4f4e314afb (/lib/x86_64-linux-gnu/libc.so.6+0x18eafb)
    #1 0x7f4f4ecf37dc (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x13d7dc)
    #2 0x42e4e2 (/workspace/test+0x42e4e2)
    #3 0x428f1e (/workspace/test+0x428f1e)
    #4 0x4288bd (/workspace/test+0x4288bd)
    #5 0x4285ab (/workspace/test+0x4285ab)
    #6 0x431735 (/workspace/test+0x431735)
    #7 0x427b8d (/workspace/test+0x427b8d)
    #8 0x7f4f4e1a7c86 (/lib/x86_64-linux-gnu/libc.so.6+0x21c86)
    #9 0x404be9 (/workspace/test+0x404be9)

    UndefinedBehaviorSanitizer can not provide additional info.
    ==1==ABORTING