Thread: [Arsperl-users] Segfaults on Debian Lenny
Brought to you by:
jeffmurphy
|
From: Tim S. <tsk...@st...> - 2009-07-09 17:51:14
|
Is anybody else running ARSperl on Debian 5.0 (lenny)? I've got
it working just fine (v1.91, with .deb files and everything, which I'm
happy to share), except that when the connection to the server is closed,
I get a segfault. I don't know why this is happening, and my early
attempts at tracking the problem down have been unsuccessful.
Before I tried to get a full bug report out there, I just wanted
to see if anybody else had run into this.
- Tim Skirvin (tsk...@st...)
--
Information Technology Services http://www.stanford.edu/~tskirvin/
System Software Developer, Unix Team Stanford University
|
|
From: Wollschlegel P. <phi...@al...> - 2009-07-10 08:18:04
|
Hi there, > Is anybody else running ARSperl on Debian 5.0 > (lenny)? I've got it working just fine (v1.91, with .deb > files and everything, which I'm happy to share), except that > when the connection to the server is closed, I get a > segfault. I'm running Debian 32bit inside a Virtualbox VM with ASPerl 1.91. I'm updating config information on a server with it. Sofar no segfaults. I'm using the OO Layer functions. I haven't tried the old way. An Strace of the perl script might help. Sincerely, - Philipp |
|
From: LJ L. <lj....@gm...> - 2009-07-10 22:44:33
|
I'm interested in having the records pulled back from a query be sorted. I set the sort order on the form in question, but that doesn't seem to affect the sort of the results I get via ARSPerl. Any and all assistance is appreciated. |
|
From: Brad F. <br...@jb...> - 2009-07-10 23:18:20
|
LJ, Long time no talk. I normally sort the records on my own but you can use the ars_GetListEntryWithFields function. It has some optional sort parameters. http://www.soton.ac.uk/~_remedy/ARSperl/manual/ars_GetListEntryWithFields.html -Brad On Fri, Jul 10, 2009 at 5:15 PM, LJ Longwing<lj....@gm...> wrote: > I'm interested in having the records pulled back from a query be sorted. I > set the sort order on the form in question, but that doesn't seem to affect > the sort of the results I get via ARSPerl. Any and all assistance is > appreciated. > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > > > -- > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > |
|
From: Thilo S. <thi...@ap...> - 2009-07-12 17:53:03
|
The ars_GetListEntry function has those parameters too. Moreover, if no such parameters are passed, the sort order of the form should indeed be used. I once made the mistake of putting the return values from ars_GetListEntry into a hash, which has the effect that the sorting information gets lost, even if the entries are returned in the correct order: %entries = ars_GetListEntry( ... ); Thilo Brad Fike wrote: > LJ, > > Long time no talk. > > I normally sort the records on my own but you can use the > ars_GetListEntryWithFields function. It has some optional sort > parameters. > http://www.soton.ac.uk/~_remedy/ARSperl/manual/ars_GetListEntryWithFields.html > > -Brad > > On Fri, Jul 10, 2009 at 5:15 PM, LJ Longwing<lj....@gm...> wrote: >> I'm interested in having the records pulled back from a query be sorted. I >> set the sort order on the form in question, but that doesn't seem to affect >> the sort of the results I get via ARSPerl. Any and all assistance is >> appreciated. >> >> >> ------------------------------------------------------------------------------ >> Enter the BlackBerry Developer Challenge >> This is your chance to win up to $100,000 in prizes! For a limited time, >> vendors submitting new applications to BlackBerry App World(TM) will have >> the opportunity to enter the BlackBerry Developer Challenge. See full prize >> details at: http://p.sf.net/sfu/Challenge >> >> >> -- >> Arsperl-users mailing list >> Ars...@ar... >> https://lists.sourceforge.net/lists/listinfo/arsperl-users >> > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > > > -- > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > |
|
From: LJ L. <lj....@gm...> - 2009-07-22 15:00:36
|
Thilo, That is what was happening in this instance, using a hash. Thanks for the tip. -----Original Message----- From: Thilo Stapff [mailto:thi...@ap...] Sent: Sunday, July 12, 2009 11:53 AM To: ARSperl User Discussion Subject: Re: [Arsperl-users] 1.90 - Query Sort The ars_GetListEntry function has those parameters too. Moreover, if no such parameters are passed, the sort order of the form should indeed be used. I once made the mistake of putting the return values from ars_GetListEntry into a hash, which has the effect that the sorting information gets lost, even if the entries are returned in the correct order: %entries = ars_GetListEntry( ... ); Thilo Brad Fike wrote: > LJ, > > Long time no talk. > > I normally sort the records on my own but you can use the > ars_GetListEntryWithFields function. It has some optional sort > parameters. > http://www.soton.ac.uk/~_remedy/ARSperl/manual/ars_GetListEntryWithFie > lds.html > > -Brad > > On Fri, Jul 10, 2009 at 5:15 PM, LJ Longwing<lj....@gm...> wrote: >> I'm interested in having the records pulled back from a query be >> sorted. I set the sort order on the form in question, but that >> doesn't seem to affect the sort of the results I get via ARSPerl. >> Any and all assistance is appreciated. >> >> >> --------------------------------------------------------------------- >> --------- Enter the BlackBerry Developer Challenge This is your >> chance to win up to $100,000 in prizes! For a limited time, vendors >> submitting new applications to BlackBerry App World(TM) will have the >> opportunity to enter the BlackBerry Developer Challenge. See full >> prize details at: http://p.sf.net/sfu/Challenge >> >> >> -- >> Arsperl-users mailing list >> Ars...@ar... >> https://lists.sourceforge.net/lists/listinfo/arsperl-users >> > > ---------------------------------------------------------------------- > -------- Enter the BlackBerry Developer Challenge This is your chance > to win up to $100,000 in prizes! For a limited time, vendors > submitting new applications to BlackBerry App World(TM) will have the > opportunity to enter the BlackBerry Developer Challenge. See full > prize details at: http://p.sf.net/sfu/Challenge > > > -- > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > ---------------------------------------------------------------------------- -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge -- Arsperl-users mailing list Ars...@ar... https://lists.sourceforge.net/lists/listinfo/arsperl-users |
|
From: LJ L. <lj....@gm...> - 2009-07-22 14:59:23
|
The reason I wasn't getting the sort was because the result set was being put in a hash instead of an array, and there's a note in the docs tat says the only way to retain the sort returned by Remedy is by putting it in an array. I converted it using the example in the docs and it works perfectly. Thanks for your time folks -----Original Message----- From: Brad Fike [mailto:br...@jb...] Sent: Friday, July 10, 2009 5:11 PM To: ARSperl User Discussion Subject: Re: [Arsperl-users] 1.90 - Query Sort LJ, Long time no talk. I normally sort the records on my own but you can use the ars_GetListEntryWithFields function. It has some optional sort parameters. http://www.soton.ac.uk/~_remedy/ARSperl/manual/ars_GetListEntryWithFields.ht ml -Brad On Fri, Jul 10, 2009 at 5:15 PM, LJ Longwing<lj....@gm...> wrote: > I'm interested in having the records pulled back from a query be > sorted. I set the sort order on the form in question, but that > doesn't seem to affect the sort of the results I get via ARSPerl. Any > and all assistance is appreciated. > > > ---------------------------------------------------------------------- > -------- Enter the BlackBerry Developer Challenge This is your chance > to win up to $100,000 in prizes! For a limited time, vendors > submitting new applications to BlackBerry App World(TM) will have the > opportunity to enter the BlackBerry Developer Challenge. See full > prize details at: http://p.sf.net/sfu/Challenge > > > -- > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > ---------------------------------------------------------------------------- -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge -- Arsperl-users mailing list Ars...@ar... https://lists.sourceforge.net/lists/listinfo/arsperl-users |
|
From: <Con...@t-...> - 2009-07-10 12:27:55
|
Tim,
I had the same problem. But only if I was using the 5.x api libs and not using portmapper to connect to the server.
Kind Regards Conny
-----Ursprüngliche Nachricht-----
Von: Tim Skirvin [mailto:tsk...@st...]
Gesendet: Donnerstag, 9. Juli 2009 19:27
An: ars...@ar...
Betreff: [Arsperl-users] Segfaults on Debian Lenny
Is anybody else running ARSperl on Debian 5.0 (lenny)? I've got it working just fine (v1.91, with .deb files and everything, which I'm happy to share), except that when the connection to the server is closed, I get a segfault. I don't know why this is happening, and my early attempts at tracking the problem down have been unsuccessful.
Before I tried to get a full bug report out there, I just wanted to see if anybody else had run into this.
- Tim Skirvin (tsk...@st...)
--
Information Technology Services http://www.stanford.edu/~tskirvin/
System Software Developer, Unix Team Stanford University
|
|
From: Tim S. <tsk...@st...> - 2009-07-16 21:34:00
|
Con...@t-... writes:
>> Is anybody else running ARSperl on Debian 5.0 (lenny)? I've
>> got it working just fine (v1.91, with .deb files and everything, which
>> I'm happy to share), except that when the connection to the server is
>> closed, I get a segfault. I don't know why this is happening, and my
>> early attempts at tracking the problem down have been unsuccessful.
>> Before I tried to get a full bug report out there, I just
>> wanted to see if anybody else had run into this.
> I had the same problem. But only if I was using the 5.x api libs and not
> using portmapper to connect to the server.
So do you have things working now? How are you handling this?
Has anybody packaged "semi-official" .deb packages of the Remedy
API and/or ARSperl? If not, I'd be happy to work with others to create
something.
- Tim Skirvin (tsk...@st...)
--
Information Technology Services http://www.stanford.edu/~tskirvin/
System Software Developer, Unix Team Stanford University
|
|
From: Thilo S. <thi...@ap...> - 2009-07-13 12:09:34
|
You might replace line 243 of "AES.xs": ctrl = (ARControlStruct *)safemalloc(sizeof(ARControlStruct)); by ctrl = (ARControlStruct *)MALLOCNN(sizeof(ARControlStruct)); I don't know if this would help, but it might be worth a try. Regards, Thilo Tim Skirvin wrote: > Is anybody else running ARSperl on Debian 5.0 (lenny)? I've got > it working just fine (v1.91, with .deb files and everything, which I'm > happy to share), except that when the connection to the server is closed, > I get a segfault. I don't know why this is happening, and my early > attempts at tracking the problem down have been unsuccessful. > > Before I tried to get a full bug report out there, I just wanted > to see if anybody else had run into this. > > - Tim Skirvin (tsk...@st...) > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > > > ------------------------------------------------------------------------ > > > > -- > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users |