From: Armin B. <arm...@de...> - 2005-08-17 09:21:24
|
Roland Stoll wrote: > On Wed, August 17, 2005 10:38, Stefan Behlert said: > >>Moin, >> >>On Aug 16, 05 23:26:47 +0200, Roland Stoll wrote: >> >>>Hi, >>> >>>i tried opensync on an amd64 system. It dies with a segfault >>>in osync_member_initialize when the initialize function of the >>>plugin is called. >>>I tried this with gcc-3.2 -3.3 and -4.0 and always got the same >>>result. I don't know how to track this. It seems to me, that the >>>stack gets somehow overwritten during the call to fs_initialize, >>>but this is only a guess. >>> >>>btw. compiling with -Werror fails because casting void* to int >>>gives a warning on x86_64. >>>opensync_debug.c:65: warning: cast from pointer to integer of different >>>size >> >>I've appended a patch, please try to apply that and see if it's better >>then. >>(I currently don't have time to check the latest version, so the patch >>might not be sufficient) >> > > > Thank you. This solved the compilation issue. > > running msynctool --sync on a group with a file-sync still segfaults. I > found out, that it works when file_sync.c is compiled without > optimizations. > > Is this a gcc bug maybe? > Maybe its just another assumption i made about the size of variables that are not true any more on x64. Can you please show me a backtrace of this new segfault? Armin > > Roland. > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Opensync-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensync-users |