Re: lug-bg: segfault s
- Subject: Re: lug-bg: segfault s
- From: Васил Колев <vasil@xxxxxxxxxx>
- Date: 05 Aug 2003 10:57:13 +0300
- Organization: Ludost Networks
1) На друга машина това работи ли?
2) Пробва ли с ltrace, може да даде по-точна информация къде гръми
3) Имаш сорса, можеш ли да си го компилираш с -g , да кажеш, че може да
прави coredump (т.е. в лимитите да кажеш колко може да е coredump-а), и
с gdb да си погледнеш stack trace? Аз така съм си ловил доста проблеми.
Transpord endpoint is not connected значи, че оперираш на socket, който
не е свързан с нищо, а му трябва да е (в man-a го пише, ако не се лъжа)
На ?, 2003-08-05 в 09:43, Teodor Georgiev записа:
> Redhat 9, kernel 2.4.20.8-smp
> 4 procesoren Xeon na 2GHz (imam symnenie che e ot mnogoprocesornostta)
>
> Sled kato kompiliram puskam i mi gyrmi sys "Segfault". Pri strace mi dava
> slednoto po-dolu. Vyprosa mi e kakvo tochno znachi "Transport endpoint is not
> connected"?
> Tyrsih po google, greshkata e mnogo chesto sreshtana, no nikoi ne mozha da
> kazhe otkyde se poluchava :(
>
>
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
> 0x40017000
> read(9, "# Do not remove the following li"..., 4096) = 195
> close(9) = 0
> munmap(0x40017000, 4096) = 0
> gettimeofday({1060094326, 381978}, NULL) = 0
> futex(0x42132434, FUTEX_WAKE, 2147483647, NULL) = 0
> sched_yield() = 0
> sched_yield() = 0
> socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 9
> ioctl(9, FIONBIO, [1]) = 0
> fcntl64(9, F_SETFD, FD_CLOEXEC) = 0
> ioctl(9, 0x8912, 0xbffff088) = 0
> ioctl(9, 0x8913, 0xbffff160) = 0
> ioctl(9, 0x8927, 0xbffff160) = 0
> ioctl(9, 0x8915, 0xbffff160) = 0
> ioctl(9, 0x891b, 0xbffff160) = 0
> ioctl(9, 0x8913, 0xbffff160) = 0
> ioctl(9, 0x8927, 0xbffff160) = 0
> ioctl(9, 0x8915, 0xbffff160) = 0
> ioctl(9, 0x891b, 0xbffff160) = 0
> shutdown(9, 2 /* send and receive */) = -1 ENOTCONN (Transport endpoint is
> not connected)
> sched_yield() = 0
> sched_yield() = 0
> close(9) = 0
> futex(0xbffff2a8, FUTEX_WAKE, 1, {1085511944, 0}) = 0
> futex(0xbffff228, FUTEX_WAKE, 1, {1085511944, 0}) = 0
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++
>
> ============================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
> http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
> To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
> ============================================================================
>
Attachment:
signature.asc
Description: This is a digitally signed message part
|