Cześć,

On Tuesday, 12 November 2013 at 22:35, Wojtek Kaniewski wrote:
> Szczegóły pod adresem http://libgadu.net/releases/1.12.0-rc1.html

Próbuję właśnie zbudować nową paczkę dla Fedory i o ile na F20 buduje
się bez problemów i testy przechodzi, o tyle na wersji rozwojowej
(Rawhide/F21) dostaję segmentation fault przy teście resolvera (ale
tylko na x86_32):

$ make check
[...]
Testing local pthread resolver
** gg_login(0xffd6338c: [uin=1, async=1, ...]);
** gg_watch_fd(0x82be028);
// gg_watch_fd() GG_STATE_RESOLVE_HUB_ASYNC
** gg_resolver_pthread_start(0x82be028, 0x82be0b4,
"appmsg.gadu-gadu.pl");
// gg_resolver_pthread_start() 0x82be1f0
** gg_event_free(0x82be1b0);
** gg_free_session(0x82be028);
Testing global default resolver in HTTP
=> -----BEGIN-HTTP-QUERY-----
GET /test HTTP/1.0

=> -----END-HTTP-QUERY-----
** gg_resolver_pthread_start(0x82be028, 0x82be074, "test");
// gg_resolver_pthread_start() 0x82be1f0
// gg_http_connect() resolver = 0x82be1f0
/bin/sh: line 5: 31811 Segmentation fault      (core dumped) ${dir}$tst
FAIL: resolver

$ gdb resolver core.30869 
GNU gdb (GDB) Fedora 7.6.50.20130731-16.fc21
[...]
This GDB was configured as "i686-redhat-linux-gnu".
[...]
Reading symbols from
/builddir/build/BUILD/libgadu-1.12.0-rc1/test/automatic/resolver...done.
[New LWP 30881]
[New LWP 30869]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `./resolver'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0xf770e480 in free@plt () from
/builddir/build/BUILD/libgadu-1.12.0-rc1/src/.libs/libgadu.so.3
(gdb) where
#0  0xf770e480 in free@plt () from 
/builddir/build/BUILD/libgadu-1.12.0-rc1/src/.libs/libgadu.so.3
#1  0xf772aa23 in gg_resolver_cleaner (data=0xf6db8288) at resolver.c:69
#2  __pthread_cleanup_routine (__frame=<synthetic pointer>) at 
/usr/include/pthread.h:622
#3  gg_resolver_run (fd=<optimized out>, hostname=<optimized out>, 
pthread=pthread@entry=1) at resolver.c:283
#4  0xf772aa56 in gg_resolver_pthread_thread (arg=0x8e571f0) at resolver.c:524
#5  0xf75bafda in start_thread () from /lib/libpthread.so.0
#6  0xf74e919e in clone () from /lib/libc.so.6

Jakieś pomysły, jak to zdebugować?

Pozdrawiam,
Dominik
-- 
Fedora http://fedoraproject.org/wiki/User:Rathann
RPMFusion http://rpmfusion.org | MPlayer http://mplayerhq.hu
"Faith manages."
        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
_______________________________________________
libgadu-devel mailing list
libgadu-devel@lists.ziew.org
http://lists.ziew.org/mailman/listinfo/libgadu-devel

Reply via email to