Opened 17 years ago
Closed 17 years ago
Last modified 17 years ago
#5011 closed defect (fixed)
segfault commit 16723
Reported by: | Paul Lambert <paul at planar.id.au> | Owned by: | danielk |
---|---|---|---|
Priority: | major | Milestone: | 0.22 |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | segfault audio |
Cc: | Ticket locked: | no |
Description
I get a segfault with latest SVN on my frontend when playing any audio (mythmusic or recordings). It appears to be related to commit 16723 - when I compile 16722 it works fine, 16723 breaks.
I followed instructions to compile and run gdb, and have attached the stack trace. I can see some things that look suspicious to me, but it appears that too many years in management have sapped my debugging skills. It looks like a segfault in the qt3 library, but amongst my recompiles I've also seen the segfault in mythconfiggroups.cpp without calling through to qt3.
I'm on version 3.3.8b-4 of qt3, and a debian system if that helps, but like I say, I don't believe that to be the problem given that changing the myth code version can make it go away.
I'm happy to extract additional information from gdb or about my system (although working a lot of hours at the moment, so no guarantee of fast turnaround on doing that - it depends on when I notice the request).
Given that it happens on my frontend and not my backend server, I guess the machine may be relevant. My backend is quad core intel, nvidia display driver. Otherwise pretty much same software load as frontend. Frontend is shuttle with celeron M and intel i810 (actually 915 I think, but uses the i810 driver).
Attachments (1)
Change History (9)
Changed 17 years ago by
Attachment: | mythtv_trace.txt added |
---|
comment:1 Changed 17 years ago by
comment:2 follow-up: 3 Changed 17 years ago by
I did a make distclean every time I recompiled through this process - I'm pretty sure that wasn't the issue, although I agree a segfault always looks suspicious.
I am using ccache, but the developer is pretty clear that it wouldn't impact in this scenario.
Is there any other method to clear the source tree that would make a diagnosis? I also checked for any other copies of libmyth.so or libqt-mt on my system, on the offchance that was the issue. The only ones were the ones I had just compiled.
I could do a full new checkout into a new directory, and build from that. I presume that would prove one way or another?
comment:3 Changed 17 years ago by
Replying to Paul Lambert <paul at planar.id.au>:
Is there any other method to clear the source tree that would make a diagnosis?
Have a look at the svn-clean script from http://packages.debian.org/etch/subversion-tools
comment:4 Changed 17 years ago by
Tried again with a full new directory and new checkout. Again, segfault with 16723. It must be using the right libmyth.so, as otherwise the debug symbols wouldn't be there, so I'm also ruling out an old version of libmyth hanging around.
comment:5 Changed 17 years ago by
Milestone: | unknown → 0.22 |
---|---|
Owner: | changed from Isaac Richards to danielk |
Status: | new → assigned |
Version: | 0.21-fixes → head |
There is a name conflict between AudioSettings? in globalsettings and the public AudioSettings?. Which one is used depends on compiler quirks. I'll commit a fix shortly.
comment:6 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:7 Changed 17 years ago by
Excellent work, and very responsive!! I'll retest this evening (my time). Thanks
Paul, I had a very similar fault, and had to purge my source tree after the patch [16723]. make clean or distclean