#10743 closed bug (fixed)
[package_daemon] crashes in BString::eq
Reported by: | diver | Owned by: | bonefish |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta2 |
Component: | Servers/package_daemon | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
hrev47099 x86_gcc2
Sometimes while building packages using haikuporter job runner thread of pacake_daemon starts to consume a lot of cpu without ever stopping.
I debugged the thread in question and it looks like it stucks comparing something in BString::eq
Restarting package_daemon makes this problem go away.
Attachments (6)
Change History (16)
by , 11 years ago
Attachment: | package_daemon-209-debug-11-04-2014-07-25-53.report added |
---|
comment:1 by , 11 years ago
Description: | modified (diff) |
---|
by , 11 years ago
Attachment: | package_daemon-209-debug-16-04-2014-12-28-47.report added |
---|
by , 11 years ago
by , 11 years ago
Attachment: | package_daemon-213-debug-20-04-2014-14-45-49.report added |
---|
crash in hrev47140
by , 11 years ago
comment:2 by , 11 years ago
Summary: | [package_daemon] eats 100% cpu → [package_daemon] crashes in BString::eq |
---|
comment:3 by , 11 years ago
hrev47189 reworks the package (/file) management logic. It is possible that this issue has also been fixed. Please update, if you encounter the issue again.
comment:4 by , 11 years ago
Regarding the failed unmounts, I added an fdinfo
call in haikuporter for that case. It should print which programs are still accessing the volume in question. This might help to track the issue down.
follow-up: 6 comment:5 by , 11 years ago
I can reproduce something similar in hrev47206, but i'm not 100% sure that it's the same issue. When I paste (Alt+v) the same package (I used man-1.6g-4-x86_gcc2.hpkg) several times into /system/packages directory package_daemon starts using 100% cpu.
comment:6 by , 11 years ago
Replying to diver:
I can reproduce something similar in hrev47206, but i'm not 100% sure that it's the same issue. When I paste (Alt+v) the same package (I used man-1.6g-4-x86_gcc2.hpkg) several times into /system/packages directory package_daemon starts using 100% cpu.
Just noticed your comment, diver... I have a "100% cpu" problem in #10819 for what it's worth.
comment:7 by , 10 years ago
comment:8 by , 10 years ago
Sometimes unmount fails, but fdinfo doesn't seem to print anything at all. I tried 5 times in a row. Renaming work-hrev50860/boot (see attached unmounting failed file) helped to resolve it.
by , 10 years ago
Attachment: | unmounting failed added |
---|
comment:9 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Haven't seen it in a while. Assuming fixed.
comment:10 by , 5 years ago
Milestone: | R1 → R1/beta2 |
---|
Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone
package daemin crashed after running haikuporter which resulted in the following error:
It failed to unmount /data/haikuports/media-video/ffmpeg/work-7407/boot/system which happens very often here, but doesn't result in package_daemon crash, so it might be just a coincidence.