Hi again,
This is repligard from midgard-lib-1.4beta7-1. Shared libs are as
follows:
$ ldd repligard
libmidgard.so.3 => /usr/local/lib/libmidgard.so.3 (0x40013000)
libexpat.so.0 => /usr/local/lib/libexpat.so.0 (0x40024000)
libmysqlclient.so.10 => /usr/local/lib/libmysqlclient.so.10
(0x40040000)
libm.so.6 => /lib/libm.so.6 (0x40060000)
libz.so.1 => /usr/lib/libz.so.1 (0x4007c000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x4008b000)
libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x400b8000)
libc.so.6 => /lib/libc.so.6 (0x400db000)
libnsl.so.1 => /lib/libnsl.so.1 (0x401ce000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
The midgard database was empty but all tables created.
$ cd /usr/doc/midgard-data-1.4beta7
$ repligard -c install-repligard.conf -i adminsites-1.4beta7.xml.gz
Message: Reading config file install-repligard.conf
Message: Importing adminsites-1.4beta7.xml.gz
Segmentation fault
Full gdb trace with debug symbols is attached. Will issue bug report.
Frank
--
Dr Frank Boehme | Email: [EMAIL PROTECTED]
National University of Ireland, Cork | phone: +353-21-4903163
Dept of Computer Science | fax: +353-21-4903113
Cork, Ireland |
install-repligard.conf -i adminsites-1.4beta7.xml.gz
Starting program: /usr/local/bin/repligard -c install-repligard.conf -i
adminsites-1.4beta7.xml.gz
Message: Reading config file install-repligard.conf
Message: Importing adminsites-1.4beta7.xml.gz
Program received signal SIGSEGV, Segmentation fault.
0x804cada in repligard_get_object (schema=0x80554b0, object=0x8087938 "pagepage") at
schema.c:591
591 return ((RSchemaType *) g_hash_table_lookup (schema, object))->object;
(gdb) where
#0 0x804cada in repligard_get_object (schema=0x80554b0, object=0x8087938 "pagepage")
at schema.c:591
#1 0x804b199 in repligard_create_fake_resource (imp_data=0xbfffd9cc,
object_name=0x8087938 "pagepage",
guid=0x8087bc0 "fd9b383acf29681e1950c437d3d32ecbfd9b383acf29681e1950c437d3d32ecb")
at import.c:138
#2 0x804adad in rpd_read_elt_end (userdata=0xbffffba0, eltname=0x8086da8
"http://www.midgard-project.org/repligard/1.4#pid")
at read.c:471
#3 0x40027923 in doContent (parser=0x80839b8, startTagLevel=0, enc=0x4003e900,
s=0x8084cf0 "</pid>\n</blobs>\n<blobs id=\"069a93e2123ccf3dde3f1ad2807f9dca\"
changed=\"20001201130538\">\n\t<title/>\n\t<s
core>0</score>\n\t<mimetype><![CDATA[image/gif]]></mimetype>\n\t<location><![CDATA[3/0/00da6a235d695734c"...,
end=0x8086af0 "", nextPtr=0x80839d0) at xmlparse.c:1727
#4 0x40026eda in contentProcessor (parser=0x80839b8,
start=0x8084b1c "<Database
xmlns=\"http://www.midgard-project.org/repligard/1.4\">\n<blobs
id=\"34f8f2b750845beee6d8b11ded8 604d4\"
changed=\"20001201130538\">\n\t<title/>\n\t<score>0</score>\n\t<mimetype><![CDATA[image/gif]]></mim"...,
end=0x8086af0 "", endPtr=0x80839d0) at xmlparse.c:1337
#5 0x4002946e in doProlog (parser=0x80839b8, enc=0x4003e900,
s=0x8084b1c "<Database
xmlns=\"http://www.midgard-project.org/repligard/1.4\">\n<blobs
id=\"34f8f2b750845beee6d8b11ded8604d 4\"
changed=\"20001201130538\">\n\t<title/>\n\t<score>0</score>\n\t<mimetype><![CDATA[image/gif]]></mim"...,
end=0x8086af0 "", tok=29,
next=0x8084b1c "<Database
xmlns=\"http://www.midgard-project.org/repligard/1.4\">\n<blobs
id=\"34f8f2b750845beee6d8b11ded86 04d4\"
changed=\"20001201130538\">\n\t<title/>\n\t<score>0</score>\n\t<mimetype><![CDATA[image/gif]]></mim"...,
nextPtr=0x80839d0) at xmlparse.c:2675
#6 0x40028f38 in prologProcessor (parser=0x80839b8,
s=0x8084af0 "<?xml version=\"1.0\" encoding='ISO-8859-1'?>\n<Database
xmlns=\"http://www.midgard-project.org/repligard/1.4\
">\n<blobs id=\"34f8f2b750845beee6d8b11ded8604d4\"
changed=\"20001201130538\">\n\t<title/>\n\t<score>0</"...,
end=0x8086af0 "", nextPtr=0x80839d0) at xmlparse.c:2511
#7 0x40028ee8 in prologInitProcessor (parser=0x80839b8,
s=0x8084af0 "<?xml version=\"1.0\" encoding='ISO-8859-1'?>\n<Database
xmlns=\"http://www.midgard-project.org/repligard/1.4\
">\n<blobs id=\"34f8f2b750845beee6d8b11ded8604d4\"
changed=\"20001201130538\">\n\t<title/>\n\t<score>0</"...,
end=0x8086af0 "", nextPtr=0x80839d0) at xmlparse.c:2500
#8 0x40026b0b in XML_ParseBuffer (parser=0x80839b8, len=8192, isFinal=0) at
xmlparse.c:1149
#9 0x40026abc in XML_Parse (parser=0x80839b8,
s=0xbfffdba0 "<?xml version=\"1.0\" encoding='ISO-8859-1'?>\n<Database
xmlns=\"http://www.midgard-project.org/repligard/1.4
\">\n<blobs id=\"34f8f2b750845beee6d8b11ded8604d4\"
changed=\"20001201130538\">\n\t<title/>\n\t<score>0</"..., len=8192,
isFinal=0) at xmlparse.c:1139
#10 0x804af70 in repligard_import_xml (mgd=0x8052378, schemacfg=0x806bed8,
guid_hash=0x805ea58,
filename=0x8051188 "adminsites-1.4beta7.xml.gz") at read.c:569
#11 0x804dd6b in main (argc=5, argv=0xbffffc74) at main.c:303
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]