I first noticed this problem when my update manager kept failing to install updates sudo apt-get update runs without returning any errors, when i run:
sudo apt-get install upgrade
i get the following error:
dpkg: malloc.c:2372: sysmalloc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 *(sizeof(size_t))) - 1)) & ~((2 *(sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long) old_end & pagemask) == 0)' failed. E: Sub-process /usr/bin/dpkg exited unexpectedly
And probably unrealated to this problem when i first boot up my computer (same laptop as above error) the 'T' and 'Y' keys and a few other keys do not work, originally thought it was a problem with the keyboard itself but all keys start working normally after a few mins my guess is a software problem?
I tried doing some searching around but could not find a solution to either problem, i am hoping someone will be able to help