Bug#503960: agenda.app: Aborts with ICAL_FILE_ERROR on GNU/kFreeBSD

2008-10-31 Thread Yavor Doganov
reassign 503960 libical0
found 503960 0.31-1
tags 503960 patch
thanks

Philippe, thanks to your hints I figured out what's wrong:

1367 SimpleAgenda CALL  open(0x84aab88,0,0)
1367 SimpleAgenda NAMI  /usr/share/libical/zoneinfo/zones.tab
1367 SimpleAgenda RET   open -1 errno 2 No such file or directory
1367 SimpleAgenda CALL  write(0x2,0xbfbfa6f8,0x53)
1367 SimpleAgenda GIO   fd 2 wrote 83 bytes
  icalerror.c:104: FILE: An operation on a file failed. Check errno for \
   more detail.
  

Attached is a trivial patch that fixes this.  Most probably the same 
should be done for GNU/Hurd, too.
--- configure.in	2008-09-12 21:57:57.0 +0300
+++ configure.in~	2008-10-31 17:06:22.0 +0200
@@ -35,6 +35,10 @@
 use_builtin_timezone=no
 os_win32=no
 ;;
+*kfreebsd*-gnu*)
+use_builtin_timezone=no
+os_win32=no
+;;
 *)  
 use_builtin_timezone=yes
 os_win32=no


Bug#503960: agenda.app: Aborts with ICAL_FILE_ERROR on GNU/kFreeBSD

2008-10-30 Thread Philippe Roussel
Le jeudi 30 octobre 2008 à 00:10 +0200, Yavor Doganov a écrit :
 Philippe Roussel wrote:
  
  If you want an account, just ask.
 
 It entirely depends on you.  If you prefer email and don't plan to to
 use your trac installation for bug reports, that's perfectly fine for
 me.

No, I would like to use Trac for bug reports and documentation if
possible. I just added the registration plugin so you should be able to
create an account now. If you have any problem, you know where to find
me.

 Everything (-base, -gui, -back, SimpleAgenda, libical), is either with
 the -dbg packages installed or rebuilt with no stripping.  I have also
 the libc and libobjc -dbg packages.  Hmm, I'll try with gnustep-base
 built against libffi, might be better...

Yep, keep me posted about that please.

  Or can you tell me how to install the same GNU/kFreeBSD
  environnement ?
 
 It is described at http://glibc-bsd.alioth.debian.org/doc/, although
 it would be perhaps easier if I give you an account on my machine, if
 you agree.

Well, yes, that would be great as I don't really have the time to learn
and tweak a new system.

Philippe





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#503960: agenda.app: Aborts with ICAL_FILE_ERROR on GNU/kFreeBSD

2008-10-30 Thread Yavor Doganov
Philippe Roussel wrote:
 
 No, I would like to use Trac for bug reports

OK, thanks.

  Hmm, I'll try with gnustep-base built against libffi, might be
  better...

No luck, still the same backtrace with over 3000 clueless frames.

  it would be perhaps easier if I give you an account on my machine, if
  you agree.
 
 Well, yes,

With pleasure; I'll write you privately about that.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#503960: agenda.app: Aborts with ICAL_FILE_ERROR on GNU/kFreeBSD

2008-10-29 Thread Yavor Doganov
Package: agenda.app
Version: 0.36-1
Severity: important
Forwarded: Philippe Roussel [EMAIL PROTECTED]

Hi Philippe,

I tried to report this via Trac at the homepage, but it doesn't seem
to be possible.  Nevermind, reporting it here as other people might
be able to help.

On Debian GNU/kFreeBSD, SimpleAgenda dumps core before the menu/window
is shown, with the following message:

icalerror.c:104: FILE: An operation on a file failed. Check errno for more 
detail.
SimpleAgenda: icalerror.c:106: icalerror_set_errno: Assertion `0' failed.

Program received signal SIGABRT, Aborted.

The exit code is 134, and AFAICS this is ICAL_FILE_ERROR.  The
backtrace is completely meaningless, containing thousands of empty frames.

It could be a libical bug, but I don't know how to proceed further.

-- System Information:
Debian Release: lenny/sid
Architecture: kfreebsd-i386 (i686)

Kernel: kFreeBSD 6.3-1-486
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages agenda.app depends on:
ii  gnustep-back0.14  0.14.0-2   The GNUstep GUI Backend
ii  gnustep-base-runtime  1.16.3-3   GNUstep Base library
ii  gnustep-gpbs  0.14.0-2   The GNUstep PasteBoard Server
ii  gnustep-gui-runtime   0.14.0-4   GNUstep GUI Library - runtime file
ii  libc0.1   2.7-15 GNU C Library: Shared libraries
ii  libgcc1   1:4.3.2-1  GCC support library
ii  libgnustep-base1.16   1.16.3-3   GNUstep Base library
ii  libgnustep-gui0.140.14.0-4   GNUstep GUI Library
ii  libical0  0.33-1 iCalendar library implementation i
ii  libobjc2  4.3.2-1Runtime library for GNU Objective-

agenda.app recommends no packages.

agenda.app suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#503960: agenda.app: Aborts with ICAL_FILE_ERROR on GNU/kFreeBSD

2008-10-29 Thread Philippe Roussel
Hi Yavor

 I tried to report this via Trac at the homepage, but it doesn't seem
 to be possible.  Nevermind, reporting it here as other people might
 be able to help.

Yeah, you would need an account and I haven't activated Trac account
manager plugin so you can't register yourself. If you want an account,
just ask.
 
 On Debian GNU/kFreeBSD, SimpleAgenda dumps core before the menu/window
 is shown, with the following message:
 
 icalerror.c:104: FILE: An operation on a file failed. Check errno for more 
 detail.
 SimpleAgenda: icalerror.c:106: icalerror_set_errno: Assertion `0' failed.
 
 Program received signal SIGABRT, Aborted.
 
 The exit code is 134, and AFAICS this is ICAL_FILE_ERROR.  The
 backtrace is completely meaningless, containing thousands of empty frames.

I usually use libical 0.27 but I just tried with libical 0.33 downloaded
from http://packages.debian.org/fr/source/sid/libical and everything
works fine. I get some errors on the console but my appointments are
loaded and displayed.

I'm using the same version of gcc on Ubuntu 8.10 and tried with LANG and
LC_TYPE bg_BG.UTF-8 but it still runs. I just tried a clean startup
(without existing date), still ok :(

Could you build SimpleAgenda, libical and maybe gnustep-base with
debugging symbols and see if you get a better backtrace ?
Or can you tell me how to install the same GNU/kFreeBSD environnement ?
The last install CD seems to be from last february, is that what you're
running ?

Thanks,
Philippe





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#503960: agenda.app: Aborts with ICAL_FILE_ERROR on GNU/kFreeBSD

2008-10-29 Thread Yavor Doganov
Philippe Roussel wrote:
 
 If you want an account, just ask.

It entirely depends on you.  If you prefer email and don't plan to to
use your trac installation for bug reports, that's perfectly fine for
me.

 I usually use libical 0.27 but I just tried with libical 0.33 downloaded
 from http://packages.debian.org/fr/source/sid/libical and everything
 works fine.

It works very well for me too on Debian GNU/Linux (i386 and powerpc).

 I get some errors on the console but my appointments are loaded and
 displayed.

I forgot to mention that I do not have any files to load (i.e. it's a
clean install), so such an error looks odd, at best.

 Could you build SimpleAgenda, libical and maybe gnustep-base with
 debugging symbols and see if you get a better backtrace ?

Everything (-base, -gui, -back, SimpleAgenda, libical), is either with
the -dbg packages installed or rebuilt with no stripping.  I have also
the libc and libobjc -dbg packages.  Hmm, I'll try with gnustep-base
built against libffi, might be better...

 Or can you tell me how to install the same GNU/kFreeBSD
 environnement ?

It is described at http://glibc-bsd.alioth.debian.org/doc/, although
it would be perhaps easier if I give you an account on my machine, if
you agree.

 The last install CD seems to be from last february, is that what
 you're running ?

Yes and no; I installed the system from that CD but I upgraded it to
current Debian unstable (and I update it almost daily).



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]