Re: [Chicken-users] chicken-wrap segfault; GPS egg

2008-05-09 Thread Shawn Rutledge
On Fri, May 9, 2008 at 5:09 AM, felix winkelmann <[EMAIL PROTECTED]> wrote:
>  Once again, I'm unable to reproduce this.

If you are using the trunk of the gps egg, it's not reproduceable
anymore.  You'd have to check out the first version of each file in
the trunk rather than the latest ones.

>  Can you send me the output
>  of "chicken-setup -l" ?

I can do that tonight if I remember, but I've since upgraded to
chicken 3.2 on that machine, so I'll have to check whether I can still
reproduce that bug.  :-)


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] chicken-wrap segfault; GPS egg

2008-05-09 Thread felix winkelmann
On Sat, Apr 19, 2008 at 7:28 AM, Shawn Rutledge
<[EMAIL PROTECTED]> wrote:
> On Fri, Apr 18, 2008 at 7:07 PM, Shawn Rutledge
> <[EMAIL PROTECTED]> wrote:
>> On Fri, Apr 18, 2008 at 6:51 PM, Ivan Raikov <[EMAIL PROTECTED]> wrote:
>>  >   Where is the source for the gps egg? I only see an empty directory
>>  >  in the SVN repository.
>>
>>  Yes it's not checked in yet... I was having trouble authenticating
>>  with the svn server.  Will try again soon (I'm at work at the moment).
>
> Now it is checked in.  (Thanks Mario)
>

Once again, I'm unable to reproduce this. Can you send me the output
of "chicken-setup -l" ?


cheers,
felix


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] chicken-wrap segfault; GPS egg

2008-04-18 Thread Shawn Rutledge
On Fri, Apr 18, 2008 at 7:07 PM, Shawn Rutledge
<[EMAIL PROTECTED]> wrote:
> On Fri, Apr 18, 2008 at 6:51 PM, Ivan Raikov <[EMAIL PROTECTED]> wrote:
>  >   Where is the source for the gps egg? I only see an empty directory
>  >  in the SVN repository.
>
>  Yes it's not checked in yet... I was having trouble authenticating
>  with the svn server.  Will try again soon (I'm at work at the moment).

Now it is checked in.  (Thanks Mario)


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] chicken-wrap segfault; GPS egg

2008-04-18 Thread Shawn Rutledge
On Fri, Apr 18, 2008 at 6:51 PM, Ivan Raikov <[EMAIL PROTECTED]> wrote:
>   Where is the source for the gps egg? I only see an empty directory
>  in the SVN repository.

Yes it's not checked in yet... I was having trouble authenticating
with the svn server.  Will try again soon (I'm at work at the moment).

>  "Shawn Rutledge" <[EMAIL PROTECTED]> writes:
>  > If I'm able to log in to svn again tonight, I will check in the code
>  > so far for the gps egg, but this is the current state of it.


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] chicken-wrap segfault; GPS egg

2008-04-18 Thread Ivan Raikov

Hello,

  Where is the source for the gps egg? I only see an empty directory
in the SVN repository.

   -Ivan
 
"Shawn Rutledge" <[EMAIL PROTECTED]> writes:

> I'm trying to get started with libgps/gpsd again, since the DBus
> support that gpsd provides is quite minimal (satellite "fixes" are
> broadcast, and that's it... nothing about which satellites are in
> view, and no methods to query anything.  And to me the "fix" messages
> look incomplete, too.)  So I'm attempting to use chicken-wrap to
> generate the wrapping for the big structs that libgps provides.  I had
> to simplify them to get that far... there is a big union/struct
> monstrosity right in the middle of one struct, which the easyffi
> parser can't handle, so I wrote a C program to print out the sizeof
> that union.  In the simplified version of gps.h that I wrote for
> easyffi, it's now just an array of 900 bytes instead, and fortunately
> I might not need any of the data from there anyway: it's GPS almanac
> data, apparently.
>
>  [proton][12:52:07 AM] make
>  csc -dynamic -X easyffi  -o gpsd.so gps.scm -lgps
>  *** Shell command terminated with exit status 1: /usr/bin/chicken
>  gps.scm -output-file gpsd.c -dynamic -feature chicken-compile-shared
>  -quiet -extend easyffi
>  make: *** [gpsd.so] Error 1
>
>  OK try it separately:
>
>  [proton][01:03:29 AM] /usr/bin/chicken gps.scm -output-file gpsd.c
>  -dynamic -feature chicken-compile-shared -extend easyffi
>  compiling `gps.scm' ...
>  Segmentation fault
>
> It's happening with Chicken 3.1.0 and 3.1.5, and I tried on two
> different machines.  There is output anyway (it created gpsd.c) but
> segfaulting is not good, and prevents me from generating and compiling
> the code in one csc call.  If I compile the output gpsd.c, I can
> generate an .so file, but it didn't load properly with (use gpsd).
>
> If I'm able to log in to svn again tonight, I will check in the code
> so far for the gps egg, but this is the current state of it.


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] chicken-wrap segfault; GPS egg

2008-04-18 Thread Shawn Rutledge
I'm trying to get started with libgps/gpsd again, since the DBus
support that gpsd provides is quite minimal (satellite "fixes" are
broadcast, and that's it... nothing about which satellites are in
view, and no methods to query anything.  And to me the "fix" messages
look incomplete, too.)  So I'm attempting to use chicken-wrap to
generate the wrapping for the big structs that libgps provides.  I had
to simplify them to get that far... there is a big union/struct
monstrosity right in the middle of one struct, which the easyffi
parser can't handle, so I wrote a C program to print out the sizeof
that union.  In the simplified version of gps.h that I wrote for
easyffi, it's now just an array of 900 bytes instead, and fortunately
I might not need any of the data from there anyway: it's GPS almanac
data, apparently.

 [proton][12:52:07 AM] make
 csc -dynamic -X easyffi  -o gpsd.so gps.scm -lgps
 *** Shell command terminated with exit status 1: /usr/bin/chicken
 gps.scm -output-file gpsd.c -dynamic -feature chicken-compile-shared
 -quiet -extend easyffi
 make: *** [gpsd.so] Error 1

 OK try it separately:

 [proton][01:03:29 AM] /usr/bin/chicken gps.scm -output-file gpsd.c
 -dynamic -feature chicken-compile-shared -extend easyffi
 compiling `gps.scm' ...
 Segmentation fault

It's happening with Chicken 3.1.0 and 3.1.5, and I tried on two
different machines.  There is output anyway (it created gpsd.c) but
segfaulting is not good, and prevents me from generating and compiling
the code in one csc call.  If I compile the output gpsd.c, I can
generate an .so file, but it didn't load properly with (use gpsd).

If I'm able to log in to svn again tonight, I will check in the code
so far for the gps egg, but this is the current state of it.


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users