[nas] nasd SIGFPE

Jon Trulson jon at radscan.com
Fri Mar 19 08:51:44 MST 2004


On Fri, 19 Mar 2004, Tobias Diedrich wrote:

> From: Tobias Diedrich <ranma at gmx.at>
> Date: Fri, 19 Mar 2004 02:06:51 +0100
> Subject: [nas] nasd SIGFPE
> To: nas at radscan.com
> X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=no
> 	version=2.60
>
> I can reproducably crash nasd:
>

	Damn you! :)  Ok, I will check this out over the weekend.

> |(gdb) r
> |Starting program: /home/ranma/src/nas-1.6c/server/nasd
> |
> |Program received signal SIGUSR1, User defined signal 1.
> |0x40055081 in kill () from /lib/tls/libc.so.6
> |(gdb) bt
> |#0  0x40055081 in kill () from /lib/tls/libc.so.6
> |#1  0x080597f7 in AuRequestElementNotifyEvent (kind=2, reason=1, el=0x8075a60)
> |    at auevents.c:191
> |#2  0x080528fb in checkForTriggeredActions (el=0x8075a60, processFlow=0,
> |    reason=1) at auutil.c:1051
> |#3  0x08052d52 in AuChangeElementState (flow=0x80759f0, elementNum=255,
> |    newState=1, processFlow=0, reason=0) at auutil.c:1229
> |#4  0x08052e0e in AuProcessStateChanges (numStates=0, states=0x80749a8,
> |    flows=0x8075c58) at auutil.c:1258
> |#5  0x0804cfa3 in ProcAuSetElementStates (client=0x8074828)
> |    at audispatch.c:1033
> |#6  0x08058148 in Dispatch () at dispatch.c:197
> |#7  0x08049abe in main (argc=1, argv=0xbffffa84) at main.c:184
> |(gdb) c
> |Continuing.
> |
> |Program received signal SIGFPE, Arithmetic exception.
> |0x08054fb4 in doSetup (flowEl=0x8075a60, rateConverter=0x8075d04,
> |    globalRate=0, isInput=1) at auprocess.c:1228
>      ^^^^^^^^^^^^
> My client accidentally sets up a flow with rate 0 and so nasd goes
> down...
>
> |1228            flowEl->nextSample = isInput ? (elementRate << 16) / globalRate :
>
> |(gdb) bt
> |#0  0x08054fb4 in doSetup (flowEl=0x8075a60, rateConverter=0x8075d04,
> |    globalRate=0, isInput=1) at auprocess.c:1228
> |#1  0x080551e6 in AuSetupCompiledFlow (fl=0x8075c58, rate=0)
> |    at auprocess.c:1309
> |#2  0x080526bc in AuProcessFlows (fl=0x80759f0) at auutil.c:955
> |#3  0x080526e3 in AuProcessClockedFlows () at auutil.c:971
> |#4  0x08052daa in AuChangeElementState (flow=0x80759f0, elementNum=255,
> |    newState=1, processFlow=1, reason=0) at auutil.c:1243
> |#5  0x080528df in checkForTriggeredActions (el=0x8075a60, processFlow=1,
> |    reason=0) at auutil.c:1047
> |#6  0x08052d6d in AuChangeElementState (flow=0x80759f0, elementNum=0,
> |    newState=1, processFlow=1, reason=0) at auutil.c:1232
> |#7  0x0804d934 in ProcAuWriteElement (client=0x8074828) at audispatch.c:1358
> |#8  0x08058148 in Dispatch () at dispatch.c:197
> |#9  0x08049abe in main (argc=1, argv=0xbffffa84) at main.c:184
> |(gdb)
>
> --
> Tobias						PGP: http://9ac7e0bc.2ya.com
> This mail is made of 100% recycled bits.
>

-- 
Jon Trulson    mailto:jon at radscan.com
ID: 1A9A2B09, FP: C23F328A721264E7 B6188192EC733962
PGP keys at http://radscan.com/~jon/PGPKeys.txt
#include <std/disclaimer.h>
"I am Nomad." -Nomad




More information about the Nas mailing list