Re: pg 8.3.7 libxml trying to free NULL pointer

Поиск
Список
Период
Сортировка
От Sergey Burladyan
Тема Re: pg 8.3.7 libxml trying to free NULL pointer
Дата
Msg-id 87y6s03kk1.fsf@seb.progtech.ru
обсуждение исходный текст
Ответ на pg 8.3.7 libxml trying to free NULL pointer  (Sergey Burladyan <eshkinkot@gmail.com>)
Список pgsql-bugs
I am install libxml2-dbg 2.7.3.dfsg-1 package, this is backtrace with it:

Program received signal SIGABRT, Aborted.
0xb7f17424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7f17424 in __kernel_vsyscall ()
#1  0xb7be0640 in *__GI_raise (sig=3D6) at ../nptl/sysdeps/unix/sysv/linux/=
raise.c:64
#2  0xb7be2008 in *__GI_abort () at abort.c:88
#3  0x082efcae in ExceptionalCondition (conditionName=3D0x83d6832 "!(pointe=
r !=3D ((void *)0))",
    errorType=3D0x83237a2 "FailedAssertion", fileName=3D0x83d682b "mcxt.c",=
 lineNumber=3D580) at assert.c:57
#4  0x0830f1cc in pfree (pointer=3D0x0) at mcxt.c:580
#5  0xb7df55d2 in xmlXPathCompPathExpr (ctxt=3D0x88a020c) at xpath.c:10312
#6  0xb7df58cd in xmlXPathCompUnaryExpr (ctxt=3D0x88a020c) at xpath.c:10616
#7  0xb7df5b0f in xmlXPathCompMultiplicativeExpr (ctxt=3D0x0) at xpath.c:10=
681
#8  0xb7df5cef in xmlXPathCompAdditiveExpr (ctxt=3D0x0) at xpath.c:10722
#9  0xb7df5e7f in xmlXPathCompRelationalExpr (ctxt=3D0x0) at xpath.c:10760
#10 0xb7df600f in xmlXPathCompEqualityExpr (ctxt=3D0x0) at xpath.c:10802
#11 0xb7df61cf in xmlXPathCompAndExpr (ctxt=3D0x0) at xpath.c:10833
#12 0xb7df6342 in xmlXPathCompileExpr (ctxt=3D0x0, sort=3D6) at xpath.c:108=
59
#13 0xb7dfd390 in xmlXPathCtxtCompile__internal_alias (ctxt=3D0x0, str=3D0x=
88b03d8 "count(//)") at xpath.c:14612
#14 0xb7dfd459 in xmlXPathCompile__internal_alias (str=3D0x88b03d8 "count(/=
/)") at xpath.c:14663
#15 0x082da303 in xpath (fcinfo=3D0xbfe322a8) at xml.c:3465
#16 0x081975bb in ExecMakeFunctionResult (fcache=3D0x88ae670, econtext=3D0x=
88ae5d8,
    isNull=3D0x88aec78 "\177~\177\177\177\177\177\177=EF=BF=BD=EF=BF=BD\206=
\b@", isDone=3D0x88aecd8) at execQual.c:1351
#17 0x081951f5 in ExecProject (projInfo=3D0x88aec8c, isDone=3D0xbfe32558) a=
t execQual.c:4610
#18 0x081a8614 in ExecResult (node=3D0x88ae54c) at nodeResult.c:155
#19 0x081943ed in ExecProcNode (node=3D0x88ae54c) at execProcnode.c:319
#20 0x08192153 in ExecutorRun (queryDesc=3D0x88adb00, direction=3DForwardSc=
anDirection, count=3D1) at execMain.c:1335
#21 0x0819e807 in postquel_getnext (es=3D0x88ada8c, fcache=3D0x88ad174) at =
functions.c:378
#22 0x0819ecc2 in fmgr_sql (fcinfo=3D0xbfe327f8) at functions.c:479
#23 0x081975bb in ExecMakeFunctionResult (fcache=3D0x88ac668, econtext=3D0x=
88ac5d0, isNull=3D0x88acd40 "", isDone=3D0x88acd54)
    at execQual.c:1351
#24 0x081951f5 in ExecProject (projInfo=3D0x88acc48, isDone=3D0xbfe32aa8) a=
t execQual.c:4610
#25 0x081a8614 in ExecResult (node=3D0x88ac544) at nodeResult.c:155
#26 0x081943ed in ExecProcNode (node=3D0x88ac544) at execProcnode.c:319
#27 0x08192153 in ExecutorRun (queryDesc=3D0x88abfd0, direction=3DForwardSc=
anDirection, count=3D0) at execMain.c:1335
#28 0x08241eab in PortalRunSelect (portal=3D0x88a31dc, forward=3D<value opt=
imized out>, count=3D0, dest=3D0x889a274) at pquery.c:943
#29 0x082435cd in PortalRun (portal=3D0x88a31dc, count=3D2147483647, isTopL=
evel=3D1 '\001', dest=3D0x889a274, altdest=3D0x889a274,
    completionTag=3D0xbfe32d0a "") at pquery.c:797
#30 0x0823df8e in exec_simple_query (query_string=3D0x88991bc "select xpath=
('count(//)', '<a></a>'::xml);") at postgres.c:1004
#31 0x0823f7fc in PostgresMain (argc=3D4, argv=3D0x8810cf4, username=3D0x88=
10cc4 "seb") at postgres.c:3631
#32 0x0820973f in ServerLoop () at postmaster.c:3207
#33 0x0820a6c3 in PostmasterMain (argc=3D4, argv=3D0x880ec88) at postmaster=
.c:1029
#34 0x081b8606 in main (argc=3D4, argv=3D0x880ec88) at main.c:188


--=20
Sergey Burladyan

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Sergey Burladyan
Дата:
Сообщение: pg 8.3.7 libxml trying to free NULL pointer
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg 8.3.7 libxml trying to free NULL pointer