havenwood changed the topic of #ruby to: Ruby 3.3.3, 3.2.4, 3.4.0-preview1 https://www.ruby-lang.org | Logs https://libera.irclog.whitequark.org/ruby
some14u has quit [Ping timeout: 264 seconds]
mtm has quit [Ping timeout: 246 seconds]
some14u has joined #ruby
mtm has joined #ruby
some14u has quit [Client Quit]
some14u has joined #ruby
some14u- has joined #ruby
some14u has quit [Ping timeout: 252 seconds]
some14u- has quit [Ping timeout: 256 seconds]
some14u has joined #ruby
some14u has quit [Ping timeout: 268 seconds]
some14u has joined #ruby
some14u- has joined #ruby
some14u has quit [Ping timeout: 255 seconds]
some14u has joined #ruby
some14u- has quit [Ping timeout: 268 seconds]
some14u- has joined #ruby
some14u has quit [Ping timeout: 268 seconds]
some14u has joined #ruby
some14u- has quit [Ping timeout: 268 seconds]
some14u has quit [Ping timeout: 256 seconds]
Munto has quit [Ping timeout: 264 seconds]
brokkoli_origin has quit [Ping timeout: 260 seconds]
brokkoli_origin has joined #ruby
donofrio has joined #ruby
xdminsy has quit [Ping timeout: 268 seconds]
xdminsy has joined #ruby
konsolebox has joined #ruby
Munto has joined #ruby
phenom has quit [Ping timeout: 268 seconds]
donofrio_ has joined #ruby
phenom has joined #ruby
donofrio has quit [Ping timeout: 268 seconds]
konsolebox has quit [Read error: Connection reset by peer]
konsolebox has joined #ruby
some14u has joined #ruby
pusewicz has joined #ruby
pusewicz has quit [Ping timeout: 256 seconds]
some14u has quit [Ping timeout: 256 seconds]
xdminsy has quit [Read error: Connection reset by peer]
pusewicz has joined #ruby
xdminsy has joined #ruby
some14u has joined #ruby
some14u has quit [Ping timeout: 272 seconds]
weaksauc_ has joined #ruby
whiteman809_ has joined #ruby
mtm has quit [Ping timeout: 268 seconds]
whiteman809 has quit [Remote host closed the connection]
c10l has quit [Read error: Connection reset by peer]
weaksauce has quit [Read error: Connection reset by peer]
mtm has joined #ruby
hightower2 has joined #ruby
Triviality has joined #ruby
ultralan has joined #ruby
ultralan has quit [Remote host closed the connection]
donofrio_ has quit [Remote host closed the connection]
cappy has joined #ruby
Linux_Kerio has joined #ruby
konsolebox has quit [Ping timeout: 250 seconds]
c10l has joined #ruby
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
Starfoxxes has joined #ruby
some14u has joined #ruby
mtm has quit [Ping timeout: 256 seconds]
some14u has quit [Ping timeout: 272 seconds]
mtm has joined #ruby
bak1an has joined #ruby
brokkoli_origin has quit [Ping timeout: 252 seconds]
brokkoli_origin has joined #ruby
Triviality has quit [Ping timeout: 268 seconds]
Triviality has joined #ruby
bak1an has quit [Quit: Textual IRC Client: www.textualapp.com]
bak1an has joined #ruby
Triviality has quit [Ping timeout: 252 seconds]
bak1an has quit [Client Quit]
bak1an has joined #ruby
bak1an56 has joined #ruby
bak1an has quit [Client Quit]
bak1an56 has quit [Client Quit]
Lantizia|Work_ has joined #ruby
<Lantizia|Work_> can you put two module sections into the one rb file?
<Lantizia|Work_> $ sed -i '/LIB_DIR/d' sip-alg-detector.rb
<Lantizia|Work_> $ sed -ie 34r<(wget -qO- https://raw.githubusercontent.com/ibc/sip-alg-detector/master/client/lib/diff.rb|sed 's/^/\t/') sip-alg-detector.rb
<Lantizia|Work_> essentially I want one file... not one file plus a lib dir and another file inside that :P
<Lantizia|Work_> ah I realise what I've done :P
<Lantizia|Work_> i needed to insert at line 31 and didn't need to indent the tabs :)
<adam12> Lantizia|Work_: To answer your question, yes, you can use two module sections in one .rb file, but this can break down in Rails apps which expect a structure to file name -> constant within.
<adam12> (Rails autoloading)
some14u has joined #ruby
some14u has quit [Ping timeout: 256 seconds]
some14u has joined #ruby
Guest85 has joined #ruby
<Guest85> good day fellows.
<Guest85> I have submitted a bug in Sidekiq, i am using Ruby 3.3.2 compiled with jemalloc. M Perham says my issue would be a low level issue. between ruby and jemalloc, can anyone please tell me where can i look more info about this error OR where should i post the issue im not sure if this is a ruby issue or a jemalloc issue.
<Guest85> https://github.com/sidekiq/sidekiq/issues/6358#issuecomment-2212500473. <jemalloc>: Error in munmap(): Invalid argument
<adam12> Guest85: I'd look into getting a coredump from the crash somehow. Then you can load that coredump into gdb and get a backtrace. It might give an idea on where the problem is.
<adam12> Guest85: I'd also move to 3.3.3 before doing so, since it ensures that you're not encountering a bug that's already fixed.
some14u has quit [Ping timeout: 252 seconds]
<Guest85> Yeah, i got the backtrace uploaded to https://gist.github.com/damuz91/429bed215c7ff13ee33e3968d52a4729
some14u has joined #ruby
polishdub has quit [Read error: Connection reset by peer]
<adam12> Guest85: It might be worth reporting to bugs.ruby-lang.org, tho jemalloc isn't officially supported AFAIK. And I dont' see munmap in the stack trace so I am not sure it could even be traced to Ruby C.
<Guest85> yikes! will do so, thanks for replying
<adam12> Guest85: Are you using JIT? Could try turning JIT off if so and see if it reproduces.
<adam12> Could be anything tho. Could be a bad C extension too.
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Guest85> wow, i had no idea ruby had JIT, i am reading its been added since 3.2, this is good it could give me a starting path
<Guest85> ah its not :(
<Guest85> [ec2-user@subsystems-sync current]$ ruby --yjit -v
<Guest85> ruby: warning: Ruby was built without YJIT support. You may need to install rustc to build Ruby with YJIT.
<Guest85> ruby 3.3.2 (2024-05-30 revision e5a195edf6) [aarch64-linux]
some14u has joined #ruby
polishdub has joined #ruby
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<adam12> Guest85: I was just guessing about JIT because of the way a JIT works, but if it's not enabled it really could be anything. Bad extension, Ruby C code, etc.
<adam12> Guest85: I see you posted on the bug tracker so I guess we'll see if anything comes from it.
<Guest85> 🙏
ollysmith_ has joined #ruby
ollysmith has quit [Ping timeout: 252 seconds]
Guest85 has quit [Quit: Client closed]
damuz91 has joined #ruby
damuz91 has quit [Client Quit]
ollysmith_ has quit [Ping timeout: 260 seconds]
ollysmith has joined #ruby
___nick___ has joined #ruby
summerisle has quit [Quit: In my vision, I was on the veranda of a vast estate, a palazzo of some fantastic proportion.]
summerisle has joined #ruby
bak1an has joined #ruby
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
brokkoli_origin has quit [Remote host closed the connection]
summerisle is now known as eof
brokkoli_origin has joined #ruby
bak1an has quit [Quit: bak1an]
rdsm has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
mretka has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
rdsm has joined #ruby
mretka has joined #ruby
ox is now known as oz
c10l has quit [Read error: Connection reset by peer]
c10l5 has joined #ruby
c10l5 is now known as c10l
Linux_Kerio has quit [Ping timeout: 256 seconds]
walez_ has joined #ruby
Starfoxxes has quit [Remote host closed the connection]
eddof13 has joined #ruby
konsolebox has joined #ruby
polishdub has quit [Remote host closed the connection]
eddof13 has quit [Client Quit]
eddof13 has joined #ruby
___nick___ has quit [Ping timeout: 260 seconds]
bak1an has joined #ruby
polishdub has joined #ruby
eddof13 has quit [Quit: eddof13]
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 272 seconds]
desnudopenguino1 is now known as desnudopenguino
some14u has joined #ruby
bak1an has quit [Quit: bak1an]
some14u has quit [Ping timeout: 256 seconds]
some14u has joined #ruby
Triviality has joined #ruby
kenichi has quit [Quit: ZNC 1.9.0 - https://znc.in]
kenichi has joined #ruby
kenichi has quit [Changing host]
kenichi has joined #ruby
some14u has quit [Ping timeout: 252 seconds]
Linux_Kerio has joined #ruby
some14u has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
bak1an has joined #ruby
walez_ has quit [Quit: Leaving]
bak1an has quit [Quit: bak1an]
Linux_Kerio has quit [Ping timeout: 252 seconds]
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eddof13 has joined #ruby
eddof13 has quit [Client Quit]
some14u has joined #ruby
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bak1an has joined #ruby
bak1an has quit [Quit: bak1an]
havenwood changed the topic of #ruby to: Ruby 3.3.4, 3.2.4, 3.4.0-preview1 https://www.ruby-lang.org | Logs https://libera.irclog.whitequark.org/ruby
konsolebox has quit [Quit: .]