Re: lug-bg: segfault s
- Subject: Re: lug-bg: segfault s
- From: Teodor Georgiev <teodor@xxxxxxxxx>
- Date: Tue, 5 Aug 2003 12:37:48 +0300
- Organization: Information Services, PLC
On Tuesday 05 August 2003 10:57, Васил Колев wrote:
> 1) На друга машина това работи ли?
Raboti, mamicata mu, raboti. Tova mi e blizo 10ta instalacia veche, sys
zatvoreni ochi go pravia.
Na taia mashina s goliam zor se kompilira vsichko. pri daemontools triabvashe
da vkaram tricka s "errno"'to.
Posle pri kompilacia druga se skysa da gyrmi, shtoto ne znam kakvo si v
environmenta e exportnalo edni flagove za kompilacia, v koito ima
-fno_exception.
s ltrace nishto ne mozhe da se razbere.
Dali ne mozhe da si poznae IP-to ili nqkakyv drug bug q mori.
Dokolkoto razbiram ne mozhe da otvori UDP socket na mashinata.
> 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
> > =========================================================================
> >===
--
Best regards
Teodor Georgiev
Information Services Plc.
Tel : +359 2 96562008
Mobile: +359 887 508989
============================================================================
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
============================================================================
|