pulseaudio: Assertion 'o' failed at pulse/operation.c:6
#16
Start xbmc by running
PHP Code:
./xbmc.bin -
and then attach gdb and proceed to cause the segfault. Then in gdb type
PHP Code:
thread apply all bt 
Pastebin this output and link here.
Reply
#17
I said to COMPILE xbmc with debugging enabled, not run it. So DO NOT pass --disable-debugging at configure time.
Reply
#18
motd2k Wrote:Start xbmc by running
PHP Code:
./xbmc.bin -
and then attach gdb and proceed to cause the segfault. Then in gdb type
PHP Code:
thread apply all bt 
Pastebin this output and link here.


http://pastebin.com/m4521d7e4

i9 hope that will help.. did i need SDL debug packages too?
Reply
#19
althekiller Wrote:I said to COMPILE xbmc with debugging enabled, not run it. So DO NOT pass --disable-debugging at configure time.

please do not think to talk with a stupid.. i didn't...

on summary it say explict "DEBUG YES" (or something like that)
Reply
#20
added subcription removed for mistake

---edit---

this is the summary of the compilation i had:

------------------------
XBMC Configuration:
------------------------
Debugging: Yes
Profiling: No
Optimization: Yes
OpenGL: Yes
VDPAU: Yes
Joystick: Yes
XRandR: Yes
PCRE Support: Yes
MID Support: No
ccache: Yes
PulseAudio: Yes
FAAC: Yes
DVDCSS: Yes
Avahi: Yes
prefix: /usr
------------------------

i hope to be enought to you to understand is compiled WITHOUT mid support and WITH debugging as requested (still crash as reported)
Reply
#21
Could you apply this diff:

EDIT: http://pastebin.com/m88acb59
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#22
Topfs2 Wrote:Could you apply this diff:

EDIT: http://pastebin.com/m88acb59

sure,

give me time to compile it again..
Reply
#23
Quote:#2 0x0882ce25 in ?? ()
#3 0x088a1467 in ?? ()
#4 0x085d3334 in ?? ()
#5 0x088a18cd in ?? ()
#6 0x0882d3a6 in ?? ()

I hope this is enough for you to understand that whatever binary you're testing with WAS NOT compiled with debugging enabled.
Reply
#24
it still crasch but the error shown is now:

anubis@suse-laptop:~/packman/XBMC/XBMC> ./xbmc.bin -p
The XBMC_HOME environment variable is not set.
xbmc.bin: PulseAudioDirectSound.cpp:352: bool CPulseAudioDirectSound::WaitForOperation(pa_operation*, const char*): Assertion `op' failed.
Abortito


http://pastebin.com/m3c6a3081
Reply
#25
althekiller Wrote:I hope this is enough for you to understand that whatever binary you're testing with WAS NOT compiled with debugging enabled.


as i wrote on previous post, it is related to one (or more) of any other xbmc library used. i compiled this software with debug infos, if this is not happening is not my bad, but xbmc one.
Reply
#26
i forgot: xbmc.log

http://pastebin.com/m3c46aff3
Reply
#27
Could you try this diff instead: http://pastebin.ca/1420145

You might need to delete xbmc/cores/AudioRenderers/PulseAudioDirectSound.cpp for it to safely patch.

(Don't forget to clean)

I've already commited this fix to SVN as it was needed in anycase, just hope it fixes your issues. r20169

Cheers,
Tobias
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#28
Topfs2 Wrote:Could you try this diff instead: http://pastebin.ca/1420145

You might need to delete xbmc/cores/AudioRenderers/PulseAudioDirectSound.cpp for it to safely patch.

(Don't forget to clean)

I've already commited this fix to SVN as it was needed in anycase, just hope it fixes your issues. r20169

Cheers,
Tobias

well you are on the way Smile

it crash no more, but not sound when i run a video
Reply
#29
i forgot, here xbmc.log:

http://pastebin.com/m4675d2fc
Reply
#30
anubisg1 Wrote:well you are on the way Smile

it crash no more, but not sound when i run a video

TBH I don't think I can fix that. Looks like your pulseclient is f**k up for a lack of a better word Smile

It can't set set volume and it seems to have issues with just about anything. I'll look into it but I would seriously recomend doing a bugreport on Suse about this.
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply

Logout Mark Read Team Forum Stats Members Help
pulseaudio: Assertion 'o' failed at pulse/operation.c:60