-
neuroserve
-
toasterson
Oh, right..... Stripped debug symbols by default in linux.....
-
toasterson
Got any output from the console we could look at?
-
neuroserve
nope - only "segmentation fault core dumped"
-
toasterson
hmmm then it's most likely a xbps bug though
-
toasterson
thats a illegal memory access
-
toasterson
even if it is related to a syscall it looks like glibc is misusing a syscall assumption or the assumption changed
-
neuroserve
but I would have thought, that this would come up pretty fast - although I don't know wether that is a common upgrade path...
-
toasterson
which is why it's sad we can't look at the stack and see if there is a C bug in the function iside glibc
-
barfield
I have a customer running redis in an LX branded Ubuntu zone. Redis is crashing complaining about memory (even though memory tests pass). I noticed a couple of cores in the zones/UUID/cores folder called core.redis.X I loaded one up in MDB and simply ran ::stacks. Output is complaining about uberdata_t with some erorrs. Wondering if anyone might point me in the right direction with some more data?
-
barfield
pi version 20221225T144337Z
-
barfield
mdb: CTF data is missing for uberdata_t; using current platform's offset for uberdata.all_lwps: unknown object file name
-
bahamat
uberdata_t is part of libc
-
bahamat
So that means whatever the error is, it's going to be in glibc actually.
-
bahamat
uberdata_t.all_lwps is a linked list of type ulwp_t.
-
barfield
Yeah mdb shows libc debugging loaded on the core
-
bahamat
You're probably going to need to dig into glibc source code for this.
-
barfield
pthread seems to be related
-
bahamat
That's all userland stuff and illumos isn't even involved at that point.
-
barfield
Yay
-
barfield
Redis logs specifically dump an error stating to file a bug report on github
-
bahamat
Once you get to where glibc is making syscalls, that's where we get involved.
-
barfield
That is nice to know actually
-
barfield
does this mean anything to you?
-
barfield
actually
-
barfield
The core is coming from check-redis-rdb
-
barfield
sorry, redis-check-rdb, backwards
-
bahamat
It's possible the redis database is corrupt?
-
barfield
mdb: couldn't find type uberdata_t: unknown object file name
-
bahamat
Redis has been known to shit itself and ruin your database.
-
barfield
I suppose that is possible
-
barfield
mdb: couldn't read frame for thread 0x1 at b: no mapping for address
-
barfield
mdb: couldn't read frame for thread 0x5 at d640000000000000: no mapping for address
-
barfield
Thats basically everything
-
barfield
Execpt it does denote teh registers
-
barfield
I just wanted to be sure that the pi upgrade we did recently didn't introduce a bug
-
barfield
Also its not like I'm a pro core debugger, but here are the modules: Loading modules: [ libc.so.1 ld.so.1 libc.so.6 ]
-
bahamat
That's outside of my expertise with the kernel.
-
barfield
I would send you the redis error but hate to poste it on pastebin just in case. Could I email you just to see if anything jumps out and bites you?
-
bahamat
Sure
-
barfield
Or I can post it on slack if that is easier
-
bahamat
Slack would be fine
-
barfield
posted in a DM