Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[NET-IM/KADU] segfault
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
Poe
Bodhisattva
Bodhisattva


Joined: 03 Apr 2004
Posts: 2155
Location: Mysłowice/Lublin, Poland

PostPosted: Thu Apr 20, 2006 1:25 pm    Post subject: [NET-IM/KADU] segfault Reply with quote

Borykam się z pewnym problemem. Używam kadu ze snapshotów (zasysał, edytuje .config i kompiluje). Używałem dość starej wersji, jeszcze z zeszłego roku, dopóki pewnego dnia nie chciało się odpalić. No to zassałem ostatniego snapshota (pare dni temu), skompilowałem no i wywala segfaulta
Code:

poe@failed> /usr/local/bin/kadu                                               ~
zsh: segmentation fault  /usr/local/bin/kadu

pomyslalem, ze to wina snapshota jakaś tam. skompilowałem kadu z portage, stare, 0.4.3, działa, ale wolę świeższą wersję, więc zassałem wczoraj snapshota (to samo) i dzisiaj, również segfault. wykonałem strace'a
Code:

[...]

fstat64(3, {st_mode=S_IFREG|0755, st_size=273072, ...}) = 0
mmap2(NULL, 280864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb72df000
mmap2(0xb7320000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x41) = 0xb7320000
mmap2(0xb7322000, 6432, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7322000
close(3)                                = 0
open("/usr/lib/libXfixes.so.3", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\17"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=17108, ...}) = 0
mmap2(NULL, 19572, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb72da000
mmap2(0xb72de000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3) = 0xb72de000
close(3)                                = 0
open("/lib/tls/i686/sse2/libexpat.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libexpat.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/sse2/libexpat.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/libexpat.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/i686/sse2/libexpat.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/i686/libexpat.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/sse2/libexpat.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libexpat.so.0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/sse2/libexpat.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/libexpat.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/sse2/libexpat.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libexpat.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/sse2/libexpat.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libexpat.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/sse2/libexpat.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libexpat.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\"\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=187976, ...}) = 0
mmap2(NULL, 186392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb72ac000
mmap2(0xb72d8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2c) = 0xb72d8000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb72ab000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb72aa000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb72aa9b0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb765e000, 8192, PROT_READ)   = 0
mprotect(0xb7e95000, 4096, PROT_READ)   = 0
mprotect(0xb7ff6000, 4096, PROT_READ)   = 0
munmap(0xb7fca000, 73197)               = 0
set_tid_address(0xb72aa9f8)             = 21649
rt_sigaction(SIGRTMIN, {0xb7e8a5d4, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xb7e8a648, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbf8f444c, 32, (nil), 0}) = 0
brk(0)                                  = 0x8274000
brk(0x8295000)                          = 0x8295000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 21649 detached

wypluwa tu m.in. brak pliku libexpat.so.0 w kilku ścieżkach, m.in. /usr/lib/tls. zmegrowałem tls, ale nic nie dało. tak samo jak rekompilacja samego expata, który jest poprawnie podlinkowany, bo pare tygodni temu byly z tym problemy.
używam gcc-4.0.3
Code:

poe@failed> ls /usr/lib | grep libexp                                  /usr/lib
 244K libexpat.a
 4,0K libexpat.la
    0 libexpat.so@
    0 libexpat.so.0@
    0 libexpat.so.1@
 184K libexpat.so.1.5.0*

i teraz nie wiem w czym jest problem. kadu, gentoo czy sprzęt?

pozdrawiam
_________________
Hardware:HP Pavilion DV6875SE[C2DT5550@1.83GHz_3GB-DDR2_320GB-SATA_GF8400GS]
http://popularcoffee.blogspot.com - Popkulturowa Kawa
RLU#342333
Back to top
View user's profile Send private message
Polin
Guru
Guru


Joined: 09 Oct 2004
Posts: 318

PostPosted: Thu Apr 20, 2006 1:45 pm    Post subject: Reply with quote

A revdep-rebuild pod katem bibliotek expata?
Jakis czas temu chyba cos o tym bylo na forum - z nowa wersja expata wiekszosc rzeczy zaleznych od nich przestalo dzialac. CZasami pomagalo robienie symlinka do starszej biblioteki, ale generalnie byl wlasnie zalecany revdep-rebuild
Back to top
View user's profile Send private message
Poe
Bodhisattva
Bodhisattva


Joined: 03 Apr 2004
Posts: 2155
Location: Mysłowice/Lublin, Poland

PostPosted: Thu Apr 20, 2006 2:44 pm    Post subject: Reply with quote

wiem, robilem, ale nie zadziałało.
_________________
Hardware:HP Pavilion DV6875SE[C2DT5550@1.83GHz_3GB-DDR2_320GB-SATA_GF8400GS]
http://popularcoffee.blogspot.com - Popkulturowa Kawa
RLU#342333
Back to top
View user's profile Send private message
Yatmai
Veteran
Veteran


Joined: 12 Nov 2005
Posts: 1501
Location: Kraków

PostPosted: Thu Apr 20, 2006 2:47 pm    Post subject: Reply with quote

Masz expat w wersji 1.9x czy 2.x ??
_________________
Desktop: [Ath64 X2 2GB DDR2 GF76GT] [amd64] [2.6.29-gentoo] [nVidia] [KDE 3.5.10]
Lapek: [HP nc6000] [i686] [2.6.29-ARCH] [ati-open] [KDE 3.5.10]
Back to top
View user's profile Send private message
Poe
Bodhisattva
Bodhisattva


Joined: 03 Apr 2004
Posts: 2155
Location: Mysłowice/Lublin, Poland

PostPosted: Thu Apr 20, 2006 3:30 pm    Post subject: Reply with quote

dev-libs/expat-2.0.0
_________________
Hardware:HP Pavilion DV6875SE[C2DT5550@1.83GHz_3GB-DDR2_320GB-SATA_GF8400GS]
http://popularcoffee.blogspot.com - Popkulturowa Kawa
RLU#342333
Back to top
View user's profile Send private message
Belliash
Advocate
Advocate


Joined: 24 Nov 2004
Posts: 2503
Location: Wroclaw, Poland

PostPosted: Thu Apr 20, 2006 3:52 pm    Post subject: Reply with quote

Przebuduj wszystko co ma expat w depends ;)
_________________
Asio Software Technologies
Belliash IT Weblog
Back to top
View user's profile Send private message
Polin
Guru
Guru


Joined: 09 Oct 2004
Posts: 318

PostPosted: Thu Apr 20, 2006 4:03 pm    Post subject: Reply with quote

Morpheouss wrote:
Przebuduj wszystko co ma expat w depends ;)

Przeciez pisal, ze to zrobil i nie zadzialalo...
Back to top
View user's profile Send private message
Poe
Bodhisattva
Bodhisattva


Joined: 03 Apr 2004
Posts: 2155
Location: Mysłowice/Lublin, Poland

PostPosted: Thu Apr 20, 2006 4:38 pm    Post subject: Reply with quote

narazie zrobiłem downrage'a expata do 1.9.8 i zobacze czy coś to da. jeżeli nie, trzba będzie to wykluczyć i wziąć pod lupę coś innego. poki co nie mam jak sprawdzić czy działa, bo coś z serwerem kadu się dzieje i nie może zassać odpowiednich modułów.
_________________
Hardware:HP Pavilion DV6875SE[C2DT5550@1.83GHz_3GB-DDR2_320GB-SATA_GF8400GS]
http://popularcoffee.blogspot.com - Popkulturowa Kawa
RLU#342333
Back to top
View user's profile Send private message
n0rbi666
l33t
l33t


Joined: 04 Mar 2005
Posts: 707
Location: \Poland\Krakow

PostPosted: Thu Apr 20, 2006 9:01 pm    Post subject: Reply with quote

Spróbuj kadu z ebuildów OBenYego
(próbowałem snapshota chyba 15.04 - i jak odpalałem, zamulał system i tyle, trzeba było killowac kadu-bin)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum