(gdb) r
Starting program: /var/www/cgi-bin/cgit
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x0805066e in pthread_key_create ()
(gdb) bt
#0  0x0805066e in pthread_key_create ()
#1  0x0804bc2c in pthread_key_create ()
#2  0x00826e9c in __libc_start_main () from /lib/libc.so.6
#3  0x0804a4f1 in pthread_key_create ()
(gdb)


On Mon, Jun 20, 2011 at 3:30 PM, Lars Hjemli <[email protected]> wrote:
> On Mon, Jun 20, 2011 at 21:12, Dejan Tolj <[email protected]> wrote:
>> $ PATH_INFO=proj1 /var/www/cgi-bin/cgit
>> returns Segmentation fault
>>
>> Here is the strace dump.
> [snip]
>
> The strace looked ok. Could you repeat this experiment, but using gdb
> instead of strace to get a backtrace when the segfault occurs?
>
> $ PATH_INFO=proj1 gdb /var/www/cgi-bin/cgit
> (gdb) r
> ....[segfault]...
> (gdb) bt
>
> --
> larsh
>

_______________________________________________
cgit mailing list
[email protected]
http://hjemli.net/mailman/listinfo/cgit

Reply via email to