SIGABRTs in Midgard
[email protected] Fri, 17 Feb 2006 19:43:48 +0100 (CET)
| Newsgroups | gmane.comp.web.midgard.devel |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Huston, we have a problem: ** (process:21909): DEBUG: Midgard: select_database opened database midgard ** (process:21909): DEBUG: Midgard: select_database kept current database midgard ** (process:21909): DEBUG: Midgard: snippet get record failed: /sitegroup-config/midcom-template/config ** (process:21909): DEBUG: Midgard: snippet get record failed: /sitegroup-config/midcom-template/config-194.242.233.78 Program received signal SIGABRT, Aborted. - ---Type <return> to continue, or q <return> to quit--- [Switching to Thread 16384 (LWP 21909)] 0xb7c877c1 in kill () from /lib/libc.so.6 (gdb) where #0 0xb7c877c1 in kill () from /lib/libc.so.6 #1 0xb7ec0771 in pthread_kill () from /lib/libpthread.so.0 #2 0xb7ec0a7b in raise () from /lib/libpthread.so.0 #3 0xb7c87554 in raise () from /lib/libc.so.6 #4 0xb7c88a88 in abort () from /lib/libc.so.6 #5 0xb7c80bbf in __assert_fail () from /lib/libc.so.6 #6 0xb772e06b in mgd_colvalue () from /usr/lib/libmidgard.so.8 #7 0xb77321d6 in mgd_sql2id () from /usr/lib/libmidgard.so.8 #8 0xb7747bdc in midgard_quota_get_object_size () from /usr/lib/libmidgard.so.8 #9 0xb7741ab6 in midgard_object_delete () from /usr/lib/libmidgard.so.8 #10 0xb67956b2 in zif__midgard_php_object_delete () from /usr/lib/php4/20020429/midgard.so #11 0xb7a83f60 in execute () from /usr/lib/apache/1.3/libphp4.so ... What happens: (process:26624): midgard-php-WARNING **: MidgardTrace: execute(...) midgard-lib:26624:debug:query=SELECT record_extension.id FROM record_extension WHERE (record_extension.tablename = 'article' AND record_extension.oid = 7 AND record_extension.domain = 'midcom.helper.datamanager' AND record_extension.name = 'lock') AND record_extension.sitegroup IN (0, 1) midgard-lib:26624:debug:query=SELECT sitegroup, realm, guid, action, author FROM repligard WHERE (realm='record_extension' AND id=22596 AND action NOT LIKE 'delete') AND (repligard.sitegroup in (0,1)) midgard-lib:26624:debug:query=SELECT name,tablename,domain,oid,value,id FROM record_extension WHERE record_extension.id=22596 AND (record_extension.sitegroup in (0, 1) OR 0<>0) (process:26624): midgard-php-WARNING **: Request at SG: 1 (process:26624): midgard-php-WARNING **: MidgardTrace: delete(...) midgard-lib:26624:debug:query=SELECT metadata_size FROM record_extension WHERE id=22596 AND sitegroup=1 apache: src/midgard.c:1579: mgd_colvalue: Asserzione `res && res->row' fallita. [Fri Feb 17 19:42:27 2006] [notice] child pid 26624 exit signal Aborted (6) It confirms my suspicion, this is a call to a DBA driven delete of a parameter: It is first retrieved from the DB (that seems to succeed), but Midgard fails on the subsequent delete with a failed assertion. Live long and prosper! Torben Nehmer - -- Torben Nehmer, Guenzburg, Bavaria, Germany http://www.nathan-syntronics.de, mailto:[email protected] PGP Public Key: https://www.link-m.de/pgp/t.nehmer.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFD9hlnJPh4Kn6d5FYRAvmyAJ9MiFjGNrrV+iV12azGKDQ/a82XCACfeT4n 2vrV0IHqsM4n3nl0Zk0SkUM= =AtpR -----END PGP SIGNATURE-----