Hi again, Ok, I have a bit more understanding of what is going on there now.
It seems that the progress function which seems to be given through a function pointer (progress_cb) is not always set properly. Here is a run with a break at: 217 sess->progress_cb(sess->progress_ud, info->sr.progress, You can see that the parameters are evolving quite ok at the beginning and then suddenly the userdata->progress_cb get lost for some reason that I failed to find until now: 10: info->sr.total = 16280 9: info->sr.progress = 8192 8: ((struct ne_session_s *) userdata)->progress_cb = ( ne_progress) 0x804b530 <site_sock_progress_cb> 7: ((struct ne_session_s *) userdata)->progress_ud = (void *) 0x0 6: (struct ne_session_s *) userdata = (struct ne_session_s *) 0x8070ad8 (gdb) Continuing. . Breakpoint 1, progress_notifier (userdata=0x8070ad8, status=ne_status_recving, info=0x8070ba0) at /home/fleury/development/hacking/debug/sitecopy/neon27-0.28.2/src/ne_session.c:217 217 sess->progress_cb(sess->progress_ud, info->sr.progress, info->sr.total); 10: info->sr.total = 16280 9: info->sr.progress = 16280 8: ((struct ne_session_s *) userdata)->progress_cb = ( ne_progress) 0x804b530 <site_sock_progress_cb> 7: ((struct ne_session_s *) userdata)->progress_ud = (void *) 0x0 6: (struct ne_session_s *) userdata = (struct ne_session_s *) 0x8070ad8 (gdb) Continuing. .] done. Breakpoint 1, progress_notifier (userdata=0x8070ad8, status=ne_status_sending, info=0x8070ba0) at /home/fleury/development/hacking/debug/sitecopy/neon27-0.28.2/src/ne_session.c:217 217 sess->progress_cb(sess->progress_ud, info->sr.progress, info->sr.total); 10: info->sr.total = 233 9: info->sr.progress = 0 8: ((struct ne_session_s *) userdata)->progress_cb = (ne_progress) 0 7: ((struct ne_session_s *) userdata)->progress_ud = (void *) 0x0 6: (struct ne_session_s *) userdata = (struct ne_session_s *) 0x8070ad8 (gdb) Continuing. Program received signal SIGSEGV, Segmentation fault. 0x00000000 in ?? () I'll investigate this further. Regards -- Emmanuel Fleury You don't lose money by sharing knowledge, when the terms are that whoever you share with will share his knowledge back with you. You're in a stronger position. -- Linus Torvalds -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]