Project

General

Profile

Actions

Bug #2209

closed

SEGV in trunk lighttpd

Added by stepancheg almost 14 years ago. Updated almost 14 years ago.

Status:
Invalid
Priority:
Normal
Category:
-
Target version:
ASK QUESTIONS IN Forums:

Description

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f54c1af66e0 (LWP 4054)]
0x0000000000428df2 in array_get_index (a=0xfd6, key=0x7f54bfc93a68 "index-file.names", keylen=17, rndx=0x0)
    at array.c:91
91              for (i = pos = a->next_power_of_2 / 2; ; i >>= 1) {
(gdb) where
#0  0x0000000000428df2 in array_get_index (a=0xfd6, key=0x7f54bfc93a68 "index-file.names", keylen=17, rndx=0x0)
    at array.c:91
#1  0x0000000000428f2c in array_get_element (a=0xfd6, key=0x7f54bfc93a68 "index-file.names", keylen=16)
    at array.c:122
#2  0x000000000042f628 in config_insert_values_global (srv=0x64d0d0, ca=0xfd6, cv=0x7fffc9b0ae20)
    at configfile-glue.c:186
#3  0x00007f54bfc932fd in mod_indexfile_set_defaults (srv=0x64d0d0, p_d=0x652080) at mod_indexfile.c:106
#4  0x000000000042734e in plugins_call_set_defaults (srv=0x64d0d0) at plugin.c:433
#5  0x000000000040c912 in main (argc=4, argv=0x7fffc9b0b1f8, envp=0x7fffc9b0b220) at server.c:1418
(gdb) 

1.conf:

server.port = 8081

server.document-root = "." 
Actions #1

Updated by stepancheg almost 14 years ago

r2717

Actions #2

Updated by stbuehler almost 14 years ago

  • Status changed from New to Need Feedback

Works for me. you could use "bt full" instead of "where", or run it with valgrind instead of gdb.

Perhaps you don't have enough memory or your memory is corrupted, or you have custom patches or didn't make a clean rebuild after changing something.

Actions #3

Updated by stepancheg almost 14 years ago

Clean trunk build works. Sorry for inconvenience.

Actions #4

Updated by icy almost 14 years ago

  • Status changed from Need Feedback to Invalid
Actions

Also available in: Atom