[Allegro] acon f. Linux und Solaris neu

Jörg Oberfell oberfell at wlb-stuttgart.de
Di Jan 5 17:10:08 CET 2010


>> Das Neu-Anlegen eines Datensatzes funktioniert allerdings auch mit 
>> der neuesten Version von acon (von heute, 12:41 Uhr) noch nicht. 
> Mit welcher Fehlermeldung? Und wie wird dieses Neu-Anlegen ausgeführt,
> d.h. mit welchen Befehlen?
> Bei mir klappt das korrekt, es gab in dem Bereich auch keine Änderungen.
> B.E.

Anbei das Protokoll vom Aufruf von write.php (als Neusatz, *nicht* als 
Änderung speichern).

Viele Grüße,
Jörg Oberfell


[2010-01-05 17:06:09] (NOTE) <conn 2> opened from host 127.0.0.1<at 
avanti.c, line 450>
[2010-01-05 17:06:09] (DATA) Transcript of transferred data:
--- begin ---
&
var ''
ins #urN
var ''
ins #ueD
var 'wlbxyz'
ins #uCW
echo off
var 'wlbxyz'
ins #uPw
if #uPw = #uCW jump pw-correct
:pw-correct
find *new
var #urN
if ='0' jump new-rec
if ='' jump new-rec
find #
if error jump afehler
set lock
if error jump bfehler
jump old
:new-rec
if #uPw = #uCW jump user-ok
var '|; _B' #uPw '=?'
find
if jump user-ok
if g 0 jump user-ok
wri 'Sorry, keine Berechtigung' n
jump pw-err
:user-ok
find *new
var #urN
if ='0' jump neusatz
find #
set lock
jump old
:neusatz
new
:old
#uTf
var '1'
if ='1' ins #uTf
if #uTf set U1
var ||
ins #211
var |Als neuen Satz speichern|
ins #210
var ||
ins #201
var ||
ins #200
var |Beethoven, Ludwig van|
ins #220
var ||
ins #221
var ||
ins #222
var ||
ins #250
var ||
ins #240
var ||
ins #230
var ||
ins #300
var ||
ins #311
var ||
ins #310
var ||
ins #271
var ||
ins #400
var ||
ins #410
var '10.0.2.2'
ins #089f
var ||
if % % insert
if #uTf set U0
var 'u'
if ='c' jump cry
jump goon
:cry
var #uPw
crypt
ins #uPw
:goon
var #urN
if not ='0' jump oldsave
var #uPw
if not #uPw = #uCW ins #099z
jump SAVE
:oldsave
var #099z
if not #099z var #99n(18,0)
ins #099z
if not #099z jump nopw
if #uPw = #099z jump pwok
:nopw
if #uPw = #uCW jump sav
jump pw-err
:pwok
var #uPw
ins #099z
:sav
var ''
ins #uPw
ins #uCW
var #urN
if not ='0' jump OLD
jump SAVE
:OLD
var #ueD
ins '#099e'
:SAVE
echo off
_�_/_
put
if error=writeerror jump cfehler
wri '<br>'
wri '<center><h3>Datensatz gespeichert</h3></center>'
wri '<br><h3 style="text-align:center;">Erledigt! Satz ' i ' (IdNr ' 
#000 ') ist gespeichert'</h3>
wri '<div style="text-align:right;">' n
wri ' <form action="edrec.php">' n
wri ' <input type="hidden" name="urN" value="' i '">' n
wri ' <input class="interaktion" type="submit" name="xxx" value="Doch 
noch mal ändern">' n
wri ' </form>' n
wri '</div>' n
if #uTf set U1
xport p d-khtm
var ''
ins #ukA
var 'htm'
ins #uhT
wri 'TEST<table style="border-style:none; border-bottom-width:2px; 
border-color:#349B9A; border-bottom-style:solid; font-size:14px;">'
dow
wri '</table>'
var ''
ins #uhT
if #uTf set U0
jump exit
:pw-err
wri '<br>Password error! <br><p>' n
var ''
ins #uCW
ins #uPw
wri '<a href="javascript:history.back();">Back to form</a>'
jump exit
:afehler
wri
wri '<br>Sorry, Satz ' #urN ' konnte nicht zum Korrigieren geladen 
werden<br>'
jump exit
:bfehler
wri
wri '<br>Sorry, Satz konnte nicht zum Korrigieren gesperrt werden<br>'
jump exit
:cfehler
wri
wri '<br>Sorry, Satz konnte nicht gespeichert werden<br>'
:exit
set unlock
write n
@ DB=utf8 ID=master/wlbxyz
AVANTI:EOJ

--- end ---<at avanti.c, line 351>
[2010-01-05 17:06:09] (IO) <conn 2> socket -> stdin (2568 bytes)<at 
avanti.c, line 500>
[2010-01-05 17:06:09] (SLAVE) <conn 2> setting cpu time rlimit to 120<at 
avanti.c, line 631>
[2010-01-05 17:06:09] (IO) <conn 2> stderr -> log (31 bytes)<at 
avanti.c, line 597>
[2010-01-05 17:06:09] (SLAVE) <conn 2> WorkDir=././<at avanti.c, line 631>
[2010-01-05 17:06:09] (IO) <conn 2> stderr -> log (13 bytes)<at 
avanti.c, line 597>
[2010-01-05 17:06:09] (SLAVE) <conn 2> slave 2 starting '././acon'<at 
avanti.c, line 631>
[2010-01-05 17:06:09] (IO) <conn 2> stderr -> log (28 bytes)<at 
avanti.c, line 597>
*** glibc detected *** ././acon: munmap_chunk(): invalid pointer: 
0x0a2d8c08 ***
======= Backtrace: =========
[0x810b859]
[0x80cd3bf]
[0x80cd64b]
[0x8060506]
[0x8060ada]
[0x8060d4b]
[0x8060e0c]
[0x804c16b]
[0x80530d8]
[0x804a56c]
[0x804a680]
[0x805b96f]
[0x80e663e]
[0x80481a1]
======= Memory map: ========
08048000-08199000 r-xp 00000000 08:01 393255 
/home/avanti/progs/avanti-29.1/bin/acon
0819a000-0819c000 rw-p 00151000 08:01 393255 
/home/avanti/progs/avanti-29.1/bin/acon
0819c000-08bac000 rw-p 0819c000 00:00 0
0a2d2000-0a37c000 rw-p 0a2d2000 00:00 0 [heap]
b7e29000-b7f9a000 rw-p b7e29000 00:00 0
b7f9a000-b7f9b000 r-xp b7f9a000 00:00 0 [vdso]
bfe32000-bfe47000 rw-p bffeb000 00:00 0 [stack]
[2010-01-05 17:06:09] (SLAVE) <conn 2> Directory for DB=utf8 is 
/home/avanti/databases/utf8/<at avanti.c, line 631>
[2010-01-05 17:06:09] (IO) <conn 2> stderr -> log (54 bytes)<at 
avanti.c, line 597>
[2010-01-05 17:06:09] (DATA) Transcript of transferred data:
--- begin ---
AVANTI:EOR

--- end ---<at avanti.c, line 351>
[2010-01-05 17:06:09] (IO) <conn 2> stdout -> socket (12 bytes)<at 
avanti.c, line 538>
[2010-01-05 17:06:09] (SLAVE) <conn 2> Database : bfz1 ; User : master ; 
Access : 3<at avanti.c, line 631>
[2010-01-05 17:06:09] (IO) <conn 2> stderr -> log (45 bytes)<at 
avanti.c, line 597>
[2010-01-05 17:06:09] (IO) <conn 2> closed stdin<at avanti.c, line 510>
[2010-01-05 17:06:09] (IO) <conn 2> closed stdout<at avanti.c, line 548>
[2010-01-05 17:06:09] (SLAVE) <conn 2> <at avanti.c, line 631>
[2010-01-05 17:06:09] (IO) <conn 2> stderr -> log (1 bytes)<at avanti.c, 
line 597>
[2010-01-05 17:06:09] (SLAVE) <conn 2> Aborted<at avanti.c, line 631>
[2010-01-05 17:06:09] (IO) <conn 2> stderr -> log (8 bytes)<at avanti.c, 
line 597>
[2010-01-05 17:06:09] (SLAVE) <conn 2> JOB done<at avanti.c, line 631>
[2010-01-05 17:06:09] (IO) <conn 2> stderr -> log (9 bytes)<at avanti.c, 
line 597>
[2010-01-05 17:06:09] (SLAVE) <conn 2> slave finished (status -1)<at 
avanti.c, line 631>
[2010-01-05 17:06:09] (IO) <conn 2> closed stderr<at avanti.c, line 584>
[2010-01-05 17:06:09] (IO) <conn 2> stderr -> log (27 bytes)<at 
avanti.c, line 597>
[2010-01-05 17:06:09] (NOTE) <conn 2> closed<at avanti.c, line 482>






-- 
**********************************************************************
   Jörg Oberfell
   Württembergische Landesbibliothek
   - EDV-Abteilung -
   - Fachreferat Mathematik und Informatik -
   Konrad-Adenauer-Str. 8   D-70173 Stuttgart
   Postfach 105441          D-70047 Stuttgart
   Tel.: +49 (0)711 / 212 - 44 75
   Fax:  +49 (0)711 / 212 - 44 22
   E-Mail: oberfell at wlb-stuttgart.de
**********************************************************************





Mehr Informationen über die Mailingliste Allegro