Bug 205731
Summary: | gam_server segfault in gam_queue_event | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Denis Leroy <denis> | ||||
Component: | gamin | Assignee: | Alexander Larsson <alexl> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | john | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-09-08 12:51:41 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 150224 | ||||||
Attachments: |
|
Description
Denis Leroy
2006-09-08 09:12:10 UTC
Created attachment 135831 [details]
Core file from /usr/libexec/gam_server
Seems inotify related. John, got any idea about this one? It fails on the line: g_assert (conn->eq); But it doesn't actually call into the assert, so i guess the problem is dereferenceing conn. Maybe we can actually believe the conn=0x1 part from gdb. Actually, it seems like sub->listener points to some bogus memory area in gam_server_emit_one_event(). (Although sub itself seems to be ok): running gam_server in valgrind immediately turned up this: static gchar *ih_sub_get_filename (gchar *pathname) { - gchar *out; - // FIXME: return filename here - return out; + return g_path_get_basename (pathname); } I dunno if that is the cause of the problem though. There were some other bugs too. I fixed them in upstream cvs and in gamin-0.1.7-7.fc6. This fixed a lot more of the gamin test suite too... Thanks for the quick response. Wow, I totally missed that when I committed. Thanks for the quick fix! |