adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.2, 2.7.4, 2.6.8: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
Munto has quit [Ping timeout: 265 seconds]
Munto has joined #ruby
sharkee has quit [Ping timeout: 264 seconds]
Oxfuxxx has quit [Ping timeout: 264 seconds]
Skyfire has quit [Quit: WeeChat 3.3]
ur5us has joined #ruby
Skyfire has joined #ruby
Rounin has quit [Ping timeout: 245 seconds]
brw has quit [Quit: The Lounge - https://thelounge.chat]
brw has joined #ruby
brw has quit [Quit: The Lounge - https://thelounge.chat]
brw has joined #ruby
nmollerup has quit [Ping timeout: 240 seconds]
nmollerup has joined #ruby
NightMonkey has quit [Quit: ZNC - http://znc.in]
NightMonkey has joined #ruby
_ht has joined #ruby
mahlon has quit [Remote host closed the connection]
mahlon has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
ccooke has quit [*.net *.split]
phryk has quit [*.net *.split]
peder has quit [*.net *.split]
jtperreault has quit [*.net *.split]
Garo_ has quit [*.net *.split]
dannyAAM has quit [*.net *.split]
_axx has quit [*.net *.split]
drincruz has quit [*.net *.split]
Garo_ has joined #ruby
ccooke has joined #ruby
_axx has joined #ruby
peder has joined #ruby
jtperreault has joined #ruby
phryk has joined #ruby
dannyAAM has joined #ruby
drincruz has joined #ruby
trillp has joined #ruby
teclator has joined #ruby
_ht has quit [Remote host closed the connection]
teclator has quit [Remote host closed the connection]
teclator has joined #ruby
gr33n7007h has quit [Quit: WeeChat 3.3]
Munto has quit [Ping timeout: 265 seconds]
Bounga has joined #ruby
Cork has quit [Remote host closed the connection]
Cork has joined #ruby
niv has quit [Quit: Powered by LunarBNC: https://LunarBNC.net]
niv has joined #ruby
Rounin has joined #ruby
Cork has quit [Ping timeout: 258 seconds]
flooose has quit [Ping timeout: 268 seconds]
ur5us has joined #ruby
Cork has joined #ruby
Munto has joined #ruby
Munto has quit [Ping timeout: 264 seconds]
darkstardevx has quit [Remote host closed the connection]
cybniv has joined #ruby
darkstarx has joined #ruby
psb has quit [Ping timeout: 245 seconds]
psb has joined #ruby
r0bby has quit [Ping timeout: 245 seconds]
r0bby has joined #ruby
niv has quit [Ping timeout: 245 seconds]
Munto has joined #ruby
ur5us has quit [Ping timeout: 245 seconds]
relyks has joined #ruby
olspookishmagus has quit [Quit: All for nothing]
Cork has quit [Ping timeout: 260 seconds]
flooose has joined #ruby
Munto_ has joined #ruby
Munto has quit [Ping timeout: 260 seconds]
relyks has quit [Quit: relyks]
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Cork has joined #ruby
teclator has joined #ruby
dayday has joined #ruby
Cork has quit [Ping timeout: 260 seconds]
sharkee has joined #ruby
Oxfuxxx has joined #ruby
relyks has joined #ruby
relyks has quit [Client Quit]
Cork has joined #ruby
Bish has joined #ruby
Munto_ has quit [Ping timeout: 258 seconds]
shark_QCW has joined #ruby
shark_CVB has joined #ruby
sharkee has quit [Ping timeout: 260 seconds]
Oxfuxxx has quit [Ping timeout: 260 seconds]
shark_QCW has quit [Ping timeout: 260 seconds]
Oxfuxxx has joined #ruby
Munto_ has joined #ruby
weaksauce has quit [Ping timeout: 252 seconds]
roshanavand has joined #ruby
Munto_ has quit [Ping timeout: 260 seconds]
smp has joined #ruby
dayday has quit [Quit: Connection closed for inactivity]
Munto has joined #ruby
sharkee has joined #ruby
shark_CVB has quit [Ping timeout: 260 seconds]
Oxfuxxx has quit [Ping timeout: 258 seconds]
Oxfuxxx has joined #ruby
taupiqueur has joined #ruby
taupiqueur has quit [Ping timeout: 258 seconds]
taupiqueur has joined #ruby
Munto has quit [Ping timeout: 245 seconds]
taupiqueur has quit [Ping timeout: 252 seconds]
Munto has joined #ruby
taupiqueur has joined #ruby
<Bish> https://ibb.co/7tmtGwk does anyone know this problem?
<Bish> i don't know what causes it, and i have all the same versions(of the gems) inside production
<Bish> maybe it's the transition to 2.7, though :/
taupiqueur has quit [Remote host closed the connection]
<adam12> Bish: Probably a keyword arg problem.
<adam12> Bish: Hard to say without more details, but that might be where I start.
* Bish tries ruby 2.5
<Bish> adam12: but would this be a unicron/rack problem with ruby 2.7?
<Bish> because it does not seem that my code has to do anything with it
<Bish> or maybe add roda to the list
<Bish> hmhm. no can't reproduce it
<adam12> Bish: Paste full stack trace somewhere. Not to that site because it's shit.
<Bish> can't make sense of it
<adam12> Yeah that's a funny one.
<Bish> it might be because of my "funny" way to run it
<Bish> app = Unicorn.builder(ARGV[0] || 'config.ru', op)
<Bish> this is my candidate right now, as my .ru file isn't my first parameter
puts has joined #ruby
<adam12> Hmm. I'm not sure. What's `op`?
<Bish> optionparser
<Bish> nah, that wasn't it :/
<adam12> Is production behind a load balancer? where's it running?
<adam12> I wonder if one of the HTTP headers is broken.
<Bish> yes, but the dev environment is behind the same thing
<Bish> but i will print headers in a sec
<adam12> Does it happen on 2.6?
<Bish> yes
<Bish> this is stupid, i didn't hcange anything to dhtis
<Bish> i even tested all old versions of gems
<Bish> puzzling
<adam12> gem install debug; rdbc -c your-unicorn-command; break Rack::ContentLength#call; c
<adam12> s/rdbc/rdbg/
<adam12> Somewhere a Hash is being coerced from an argument
<Bish> <internal:trace_point>:346: [BUG] Segmentation fault at 0x0000000000000008
<Bish> ^_^
<Bish> c:0037 p:0016 s:0224 e:000222 BLOCK /var/lib/gems/2.7.0/gems/debug-1.2.4/lib/debug/session.rb:109 [FINISH]
<Bish> welcome to my world
<Bish> segfault in the debugging tool
<adam12> hahaha
<adam12> The debug rewrite is fairly new. Maybe that's worth reporting to ruby/debug.
<Bish> and i bet it's a cosmic ray, hitting my cpu everytime i debug
<Bish> knowing my luck
<Bish> you mean the backtrace?
<Bish> or rather crashdump
<adam12> Yes
<adam12> Obviously doesn't have to be now, but it's been fairly reliable for me, so this must be something else. Might be worth a report.
<Bish> oh interesting
<Bish> i found something
<Bish> i do run App.freeze
<Bish> if i remove the freeze it works
<adam12> Ah interesting.
<adam12> What version of Roda
<Bish> newest, i guess
<adam12> What about App.freeze.app
<Bish> as i have it as 'roda' in my gemfile
<adam12> I feel like Jeremy had me change something related to that a while back.
<Bish> E, [2021-10-18T16:56:10.325505 #372] ERROR -- : undefined method `app' for #<Hash:0x000055e80b8b20d8> (NoMethodError)
<Bish> uh
<Bish> wtf.
<Bish> !?
<Bish> App.freeze returns a hash
<Bish> wuaaat
<adam12> Thats not right.
<Bish> it seems to be a bug in multiroute, i guess? i already suspected this
<Bish> okay, cool, i guess
<Bish> let me check if that method is different on production
<adam12> App.freeze.app is definitely the intended API. I made that change on Jeremy's request, fyi.
<Bish> yeah, the change ihas to be in the multi_route plugin between 3.43.1 and 3.49.0
<adam12> Bug report!
<Bish> hm, i guess i could fix it
<Bish> if i understand it correctly
gfawcett3 is now known as gfawcett
<Bish> but je would be faster i guess
<Bish> line 147 seems to be it
<Bish> the super gets removed / moved to the top
<Bish> oh okay, the commit message introcuded named_routes
puts has quit [Quit: Czesc]
<Bish> okay im officially confused
Bounga has quit [Ping timeout: 264 seconds]
<Bish> adam12: thanks alot for your help!
<adam12> Bish: no prob :)
___nick___ has joined #ruby
hololeap has quit [Remote host closed the connection]
hololeap has joined #ruby
flooose has quit [Ping timeout: 264 seconds]
hololeap has quit [Remote host closed the connection]
hololeap has joined #ruby
gr33n7007h has joined #ruby
weaksauce has joined #ruby
RougeR has joined #ruby
___nick___ has quit [Quit: No Ping reply in 180 seconds.]
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
SuperLag has quit [Ping timeout: 264 seconds]
___nick___ has joined #ruby
SuperLag has joined #ruby
SuperLag has quit [Ping timeout: 264 seconds]
duds- has quit [Quit: Leaving.]
SuperLag has joined #ruby
explorier has left #ruby [The Lounge - https://thelounge.chat]
___nick___ has quit [Ping timeout: 264 seconds]
___nick___ has joined #ruby
___nick___ has quit [Read error: Connection reset by peer]
___nick___ has joined #ruby
flooose has joined #ruby
trillp has quit [Read error: Connection reset by peer]
roshanavand has quit [Ping timeout: 258 seconds]
___nick___ has quit [Ping timeout: 258 seconds]
ur5us has joined #ruby
jpw has quit [Remote host closed the connection]
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
roshanavand has joined #ruby
roshanavand has quit [Client Quit]
Munto has quit [Ping timeout: 265 seconds]
Munto has joined #ruby
Munto has quit [Ping timeout: 260 seconds]
sharkee has quit [Ping timeout: 260 seconds]
dviola has quit [Ping timeout: 264 seconds]
dviola has joined #ruby
dviola has joined #ruby
dviola has quit [Changing host]
Munto has joined #ruby
sharkee has joined #ruby
trillp has joined #ruby
RougeR has quit [Quit: Leaving]
Munto has quit [Ping timeout: 260 seconds]
Munto has joined #ruby
y0shi_ has joined #ruby
y0shi has quit [Ping timeout: 252 seconds]
pull has joined #ruby
havenwood has quit [Quit: The Lounge - https://thelounge.chat]
havenwood has joined #ruby