Thomas D. Dean on Mon, 17 Sep 2007 21:06:22 +0200

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[ AutoResponse - Email Returned SAXK (KMM2339376I96L0KM) :ppk1]

Looks like is subscribed to the list?????

------- Start of forwarded message -------
X-Coding-System: nil
Mail-from: From Mon Sep 17 10:56:23 2007
Return-Path: <>
Received: from dv6000.tddhome (localhost [])
	by dv6000.tddhome (8.14.1/8.14.1) with ESMTP id l8HHuNOY054615
	for <tomdean@localhost>; Mon, 17 Sep 2007 10:56:23 -0700 (PDT)
Received: from []
	by dv6000.tddhome with POP3 (fetchmail-6.3.8)
	for <tomdean@localhost> (single-drop); Mon, 17 Sep 2007 10:56:23 -0700 (PDT)
Received: (qmail 17927 invoked from network); 17 Sep 2007 17:49:40 -0000
Received: from ([])
          (envelope-sender <>)
          by (qmail-ldap-1.03) with SMTP
          for <>; 17 Sep 2007 17:49:40 -0000
Received: from localhost (localhost [])
	by (Postfix) with ESMTP id 339055BBCD
	for <>; Mon, 17 Sep 2007 10:49:40 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at
Received: from ([])
	by localhost ( []) (amavisd-new, port 10024)
	with ESMTP id xixwmz-w6Hgz for <>;
	Mon, 17 Sep 2007 10:49:39 -0700 (PDT)
Received: from ( [])
	by (Postfix) with ESMTP
	for <>; Mon, 17 Sep 2007 10:49:39 -0700 (PDT)
DomainKey-Signature: s=dkim;; c=nofws; q=dns;
Content-Class: urn:content-classes:message
Thread-Topic: AutoResponse - Email Returned SAXK  (KMM2339376I96L0KM) :ppk1
Date: Mon, 17 Sep 2007 12:49:38 -0500 (CDT)
From: "PayPal Customer Service 1" <>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896
To: "Thomas D. Dean" <>
Subject: AutoResponse - Email Returned SAXK  (KMM2339376I96L0KM) :ppk1
X-OriginalArrivalTime: 17 Sep 2007 17:49:34.0547 (UTC) FILETIME=[1BB00230:01C7F953]
X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail17.sea5
X-Spam-Status: No, score=-13.4 required=5.0 tests=BAYES_50,
	USER_IN_DEF_WHITELIST autolearn=disabled version=3.0.4

Dear Thomas D. Dean,

Thank you for contacting PayPal Customer Service. 

The best way to contact PayPal is to send an email through our Help 
Center. Customer service is available 24 hours a day, 7 days a week to 
respond to your questions. 

Click the "Contact Us" link at the bottom of any page to get in touch 
with customer service. If you have a general question about PayPal, try 
searching our Help Center for the answer. 

- -------------------------------------
Questions about your account?
- -------------------------------------
For answers to specfic questions about your account, please log in to 
your account before clicking "Contact Us" and sending an email through 
the Help Center. 

In your email, please provide as much information as possible so that we
can provide you with the best possible customer service.

- -----------------------
Trouble logging in?
- -----------------------
If you're contacting PayPal because you're unable to log in to your 
account, please contact us using the form below:

- ----------------------------------
Received a suspicious email?
- ----------------------------------
If you suspect that you've received a phishing email, forward it to We'll respond and let you know whether the email you 
received is really from PayPal. 

If you responded to a phishing email with personal information, please 
log in to your PayPal account and check your transaction history for any
payments you don't recognize. Then, we strongly recommend that you 
change your security questions and password. 

To learn more about identifying phishing emails and staying safe online,
please visit the PayPal Security Center. 

Thank you for choosing PayPal. 

This email is sent to you by the contracting entity to your User 
Agreement, either PayPal Inc, PayPal Pte. Ltd or PayPal (Europe) S.à 
r.l. & Cie, S.C.A. Société en Commandite par Actions, Registered Office:
5th Floor 22-24 Boulevard Royal L-2449, Luxembourg RCS Luxembourg B 118 
Please do not reply to this e-mail.  Mail sent to this address will not 
be answered.

- --------
Original Email:
I have a problem using the libpari function, somme.

Help on sum shows:

The library syntax is somme(entree *ep, GEN a, GEN b, char *expr, GEN
x).  This is to be used as follows: ep represents the dummy variable
used in the expression expr

   /* compute a^2 + ... + b^2 */
     /* define the dummy variable "i" */
     entree *ep = is_entry("i");
     /* sum for a <= i <= b */
     return somme(ep, a, b, "i^2", gen_0);
However, my code

entree *ep = is_entry("i");
s = somme(ep, gen_1, n, "i^2", gen_0);

produces the fault:

  ***   segmentation fault: bug in PARI or calling program.
  ***   Error in the PARI system. End of program.

>From gdb, I see

18        s = somme(ep, gen_1, n, "i^2", gen_0);
(gdb) n

Program received signal SIGSEGV, Segmentation fault.
0x28217194 in new_val_cell () from /usr/X11R6/lib/
(gdb) bt
#0  0x28217194 in new_val_cell () from /usr/X11R6/lib/
#1  0x00002028 in ?? ()
#2  0x08151fdc in ?? ()
#3  0x00000000 in ?? ()
#4  0x282cd644 in __JCR_LIST__ () from /usr/X11R6/lib/
#5  0x08151fdc in ?? ()
#6  0x08152000 in ?? ()
#7  0x08151fe8 in ?? ()
#8  0x2823b50d in somme () from /usr/X11R6/lib/
#9  0x2804eb64 in elf_hash () from /libexec/
Previous frame inner to this frame (corrupt stack?)

What am I doing wrong?

The code is below.


#include <stdio.h>
#include <pari/pari.h>

#define MK_GEN(n) utoi((ulong)(n))

void calc_sum(int i) {
  GEN d,s,two,five,z,nr,q;
  GEN n;
  n = MK_GEN(i);
  entree *ep = is_entry("i");
  s = somme(ep, gen_1, n, "i^2", gen_0);
  d = denom(s);
  two= gen_0;
  while (ggcd(MK_GEN(2),d) != gen_1) {
	d = gdiv(d,MK_GEN(2));
	two = gadd(two,gen_1);
  five = gen_0;
  while (ggcd(MK_GEN(5),d) != gen_1) {
	d = gdiv(d,MK_GEN(5));
	five = gadd(five,gen_1);
  nr = gmax(two, five);
  q = gfloor(s);
  pariprintf("%Z %Z %Z %Z %Z\n",n,q,nr,z);

int main(int argc, char **argv) {
  int i;
  pari_sp av;

  for (i=10; i<20; i++) {
	av = avma;  // initial pari stack pointer
	avma = av;  // clear the pari stack
  return 0;
------- End of forwarded message -------