#79 open
Adam

Segfault in thin-turbo

Reported by Adam | September 1st, 2008 @ 10:28 PM | in Future


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

Comments and changes to this ticket

  • macournoyer

    macournoyer September 1st, 2008 @ 10:40 PM

    • 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!

  • Adam

    Adam September 2nd, 2008 @ 11:40 AM

    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 ()

  • Adam

    Adam September 2nd, 2008 @ 11:41 AM

    
    
    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

  • John

    John March 16th, 2024 @ 09:30 AM

    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.

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Tags

Pages