Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Segfault in thin-turbo

#79

thin start -r thin-turbo -b Thin::Backends::Turbo -e production --trace
>> Using rails adapter
>> Thin web server (v0.8.2 codename Double Margarita)
>> Tracing ON
>> Threaded mode OFF
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:3000 (turbo), CTRL+C to stop
GET / HTTP/1.1
Host: localhost:3000
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: _session_id=1b051c692ba5b8a166ae1f5099cf7413
If-None-Match: "f0105ff3b2ad17f55f56c161b100181e"

/usr/lib/ruby/gems/1.8/gems/thin-turbo-0.1.0/lib/thin/backends/turbo.rb:39: [BUG] Segmentation fault
ruby 1.8.6 (2007-09-24) [i486-linux]

Aborted

Reported by Adam · September 1st, 2008 @ 10:28 PM

State: open
Milestone: Future
Assigned to: macournoyer macournoyer

Activity

  1. macournoyer
    macournoyer
    • State changed from new to open
    • Tag set to turbo

    hey can you help me debug thin by running it through gdb.

    
    thin start -r thin-turbo -b Thin::Backends::Turbo -e production --trace
    gdb `cat tmp/pids/thin.pid`
    # ... wait for it to start
    (gdb) continue
    

    Then do anything to reproduce the error and get the backtrace by typing this in your gdb console:

    
    (gdb) bt
    

    Paste the backtrace shown in the console.

    Thx!

    September 1st, 2008 @ 10:40 PM

  2. Adam
    Adam

    Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb7c83b60 (LWP 22320)] 0xb774a0b2 in request_parse (c=0x831b458,

    buf=0xbf9ace08 "GET / HTTP/1.1\r\nHost: localhost:4000\r\nUser-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;"...,
    len=388) at request.c:48
    
    

    48 memset(c->read_buffer.ptr + c->read_buffer.len, '\0', 1); (gdb) continue Continuing.

    Program received signal SIGABRT, Aborted. 0xb7f2a410 in __kernel_vsyscall ()

    September 2nd, 2008 @ 11:40 AM

  3. Adam
    Adam
    
    
    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0xb7c83b60 (LWP 22320)]
    0xb774a0b2 in request_parse (c=0x831b458,
        buf=0xbf9ace08 "GET / HTTP/1.1\r\nHost: localhost:4000\r\nUser-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1\r\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;"...,
        len=388) at request.c:48
    48	    memset(c->read_buffer.ptr + c->read_buffer.len, '\0', 1);
    (gdb) continue
    Continuing.
    
    Program received signal SIGABRT, Aborted.
    0xb7f2a410 in __kernel_vsyscall ()
    
    

    forgot to format the last one

    September 2nd, 2008 @ 11:41 AM

  4. John
    John

    De fapt,cazinourile online pot fi bune și rele pentru portofelul tău. Cazinourile online pot fi atât bune, cât și rele pentru portofelul tău. Dacă te uiți la Vulkan Vegas casino, vei vedea că te poate ajuta să termini o treabă pe care o urăști, a spus el. Aici veți găsi cea mai mare selecție de jocuri - de la jocuri de masă la https://romania-vulkanvegas.com/ sloturi.

    March 16th, 2024 @ 09:30 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.