[00:17:02] *** irungentoo <irungentoo!~irungento@unaffiliated/irungentoo> has joined #openal
[00:17:02] *** ChanServ sets mode: +v irungentoo
[00:21:31] *** friedrich <friedrich!~friedrich@aextron.de> has quit IRC (Ping timeout: 255 seconds)
[00:23:10] *** friedrich <friedrich!~friedrich@aextron.de> has joined #openal
[00:23:10] *** ChanServ sets mode: +v friedrich
[02:49:12] *** Smirftsch2 <Smirftsch2!~Smirftsch@p200300D7A3C28D00AC9FEA7D43DB0D5A.dip0.t-ipconnect.de> has joined #openal
[02:49:12] *** ChanServ sets mode: +v Smirftsch2
[02:49:59] *** Smirftsch1 <Smirftsch1!~Smirftsch@p200300D7A3C0E300A8EB9B4FAFF5CE84.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 240 seconds)
[06:15:43] *** DeadbeatEngineer <DeadbeatEngineer!uid20493@gateway/web/irccloud.com/x-rjfxbpyjhuiseivq> has quit IRC (Quit: Connection closed for inactivity)
[06:26:01] *** irungentoo <irungentoo!~irungento@unaffiliated/irungentoo> has quit IRC (Remote host closed the connection)
[08:58:56] *** grim001 <grim001!~grim001@ip24-253-45-21.lv.lv.cox.net> has quit IRC (Read error: Connection reset by peer)
[09:01:07] *** grim001 <grim001!~grim001@ip24-253-45-21.lv.lv.cox.net> has joined #openal
[09:01:07] *** ChanServ sets mode: +v grim001
[10:09:20] *** Murii <Murii!~Murii@79.113.234.223> has joined #openal
[10:09:20] *** ChanServ sets mode: +v Murii
[10:20:39] *** Alam_Squeeze <Alam_Squeeze!quasselcor@rigginstereo.lawarias.srb2.org> has quit IRC (Ping timeout: 240 seconds)
[10:46:43] *** Murii <Murii!~Murii@79.113.234.223> has quit IRC ()
[11:10:00] *** prophile <prophile!~alynn@oftn/oswg-member/prophile> has quit IRC (Quit: The Game)
[11:36:03] *** Murii_ <Murii_!~vmuresan@gw1.computervoice.ro> has joined #openal
[11:36:03] *** ChanServ sets mode: +v Murii_
[14:16:16] *** Murii_ <Murii_!~vmuresan@gw1.computervoice.ro> has quit IRC (Read error: Connection reset by peer)
[14:53:55] *** Murii <Murii!~murii@gw2.computervoice.ro> has joined #openal
[14:53:55] *** ChanServ sets mode: +v Murii
[14:57:35] *** Murii <Murii!~murii@gw2.computervoice.ro> has quit IRC (Quit: Leaving)
[15:04:39] *** Murii <Murii!~murii@82.208.182.100> has joined #openal
[15:04:39] *** ChanServ sets mode: +v Murii
[16:20:21] *** Murii <Murii!~murii@82.208.182.100> has quit IRC (Read error: Connection reset by peer)
[16:28:16] *** Murii <Murii!~murii@gw2.computervoice.ro> has joined #openal
[16:28:16] *** ChanServ sets mode: +v Murii
[16:30:39] *** maxfx <maxfx!~maxfx@2a00:1028:8b40:c6d6:4d7e:b760:dd6d:fb2d> has joined #openal
[16:30:39] *** ChanServ sets mode: +v maxfx
[17:18:23] *** CapsAdmin <CapsAdmin!~CapsAdmin@2001:4648:3832:0:9cfe:951a:fe71:9c3> has joined #openal
[17:18:23] *** ChanServ sets mode: +v CapsAdmin
[17:41:00] <CapsAdmin> KittyCat, i'm using openal in a project and a long time ago it started crashing with "AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse"" when i try to call any openal function (alcGetString(NULL, ALL_DEVICES_SPECIFIER) in this case)
[17:41:34] <CapsAdmin> but i also use jack to get sound on my scarlett 18i8 external soundcard
[17:42:24] <CapsAdmin> i'm not really sure where to start but i guess it shouldn't be crashing
[17:42:37] <CapsAdmin> i'm using openal as a shared library from a language that supports ffi
[17:44:36] <KittyCat> CapsAdmin, where exactly is it crashing?
[17:45:06] <KittyCat> simply failing to initialize pulse won't crash, something else needs to be
[17:45:47] <CapsAdmin> i don't know, i'll have to look into it. but i assume it crashes somewhere in alcGetString(NULL, ALL_DEVICES_SPECIFIER) as it never returns
[17:47:37] <CapsAdmin> KittyCat, the backtrace
[17:50:40] <KittyCat> looks like it's crashing in dlopen, when trying to load libasound.so.2
[17:51:00] <CapsAdmin> does that mean somethings up with my system?
[17:55:22] <KittyCat> something's up somewhere. it doesn't appear to be openal soft's fault since the callstack looks fine, then it ends deep in dlopen
[17:55:38] <KittyCat> does valgrind report anything useful about invalid memory access?
[17:56:17] <CapsAdmin> all i know is that valgrind is something debug related
[17:56:46] <CapsAdmin> how would i use it?
[17:58:17] <CapsAdmin> i'll google it to figure it out
[18:00:27] <KittyCat> valgrind ./yourapp
[18:01:27] <KittyCat> then it'll print out stacktraces whenever it detect a potential problem, so it may be worth piping the output to a text file
[18:01:41] *** Murii <Murii!~murii@gw2.computervoice.ro> has quit IRC (Remote host closed the connection)
[18:10:57] <CapsAdmin> ignore the luajit stuff. i think i need to use an extension for valgrind cause it's doing jit magic
[18:11:57] <CapsAdmin> this doesn't seem to show much more than gdb unless there's something i should run post crash?
[18:22:29] <KittyCat> hmm, yeah this doesn't say much more. what if you increase the stack size?
[18:29:37] *** CapsAdmin <CapsAdmin!~CapsAdmin@2001:4648:3832:0:9cfe:951a:fe71:9c3> has quit IRC (Remote host closed the connection)
[18:31:01] *** CapsAdmin <CapsAdmin!~CapsAdmin@2001:4648:3832:0:9cfe:951a:fe71:9c3> has joined #openal
[18:31:01] *** ChanServ sets mode: +v CapsAdmin
[18:41:20] <CapsAdmin> KittyCat, that doesn't seem to change the size of the stack
[18:44:14] <KittyCat> unless lua forcefully changes the stack, you should be able to do something like valgrind --main-stacksize=16000000 ./yourapp
[18:45:27] <CapsAdmin> when it crashes it does say the stack size is higher but the trace is the same
[18:47:35] <KittyCat> then it's a different problem. unfortunately it doesn't look like a problem I can deal with in openal soft since it's deep within the dlopen call in libdl
[18:47:47] <CapsAdmin> okay
[18:47:52] <CapsAdmin> thanks for the help
[18:47:58] <KittyCat> you say you're using jack though, right?
[18:48:20] <KittyCat> is openal soft built with support for jack?
[18:55:34] <CapsAdmin> it's setup using a pulse audio sink
[18:55:44] <CapsAdmin> so i think in the end it should be using pulse
[18:56:03] <CapsAdmin> however i haven't compiled openal with jack explicitly
[18:56:52] <KittyCat> if pulseaudio is available, it is weird that it's not being used
[18:56:55] <CapsAdmin> if i let the sound go to my speakers from pulse (or alsa? i forgot) by stopping the jack server it still crashes
[18:57:22] <CapsAdmin> it says "Failed to initialize backend "pulse"" though
[18:57:38] <KittyCat> can you set the ALSOFT_LOGLEVEL environment variable to 3 when you run the app? ALSOFT_LOGLEVEL=3 ./yourapp should work
[19:02:29] <KittyCat> what version of pulseaudio do you have installed?
[19:04:18] <KittyCat> and does libpulse.so.0 exist?
[19:05:30] <CapsAdmin> 8.0
[19:05:56] <CapsAdmin> it does exist yea
[19:12:48] *** prophile <prophile!~alynn@oftn/oswg-member/prophile> has joined #openal
[19:12:48] *** ChanServ sets mode: +v prophile
[19:19:03] <KittyCat> CapsAdmin, I just pushed a patch that'll hopefully give a bit more information about why pulseaudio isn't initializing
[19:25:40] *** Alam_Squeeze <Alam_Squeeze!alam@2001:470:1f07:238:1e6f:65ff:fed3:eba8> has joined #openal
[19:25:48] *** ChanServ sets mode: +v Alam_Squeeze
[19:26:03] <CapsAdmin> KittyCat, AL lib: (WW) pulse_load: Failed to load libpulse.so.0
[19:35:48] <KittyCat> do you now if dlopen is used anywhere else with your program?
[19:38:09] <CapsAdmin> luajit uses it, for instance it uses it to open openal.so
[19:40:02] <KittyCat> hmm
[19:41:06] <KittyCat> it almost feels like dlopen is broken for some reason. it fails to load libpulse.so.0 even though it exists, and it then crashes trying to load libasound.so.2
[19:41:36] <KittyCat> what if you do LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libpulse.so.0 ./yourapp
[19:44:37] <CapsAdmin> that works lol
[19:55:19] *** ybalrid <ybalrid!~ybalrid__@2a01:e35:139b:3d00:41fc:9d19:a8c9:7b48> has joined #openal
[19:55:19] *** ChanServ sets mode: +v ybalrid
[20:07:16] *** friedrich <friedrich!~friedrich@aextron.de> has quit IRC (Ping timeout: 255 seconds)
[20:09:12] *** friedrich <friedrich!~friedrich@aextron.de> has joined #openal
[20:09:12] *** ChanServ sets mode: +v friedrich
[20:34:39] *** grim001 <grim001!~grim001@ip24-253-45-21.lv.lv.cox.net> has quit IRC (Read error: Connection reset by peer)
[21:20:07] *** Murii <Murii!~Murii@79.113.234.223> has joined #openal
[21:20:07] *** ChanServ sets mode: +v Murii
[21:45:34] *** grim001 <grim001!~grim001@ip24-253-45-21.lv.lv.cox.net> has joined #openal
[21:45:34] *** ChanServ sets mode: +v grim001
[21:49:52] *** maxfx <maxfx!~maxfx@2a00:1028:8b40:c6d6:4d7e:b760:dd6d:fb2d> has quit IRC (Ping timeout: 255 seconds)
[22:30:23] *** ybalrid <ybalrid!~ybalrid__@2a01:e35:139b:3d00:41fc:9d19:a8c9:7b48> has quit IRC (Quit: Leaving)
[22:30:43] *** ybalrid <ybalrid!~ybalrid__@46.101.33.94> has joined #openal
[22:30:43] *** ChanServ sets mode: +v ybalrid
[23:03:30] *** friedrich <friedrich!~friedrich@aextron.de> has quit IRC (Remote host closed the connection)
[23:06:09] *** friedrich <friedrich!~friedrich@aextron.de> has joined #openal
[23:06:09] *** ChanServ sets mode: +v friedrich
[23:34:49] *** CapsAdmin <CapsAdmin!~CapsAdmin@2001:4648:3832:0:9cfe:951a:fe71:9c3> has quit IRC (Remote host closed the connection)