pennsnoplus / penn_daq_old

Simple DAQ for SNO+
2 stars 3 forks source link

ped_run fails when updating the database #6

Closed knapik closed 13 years ago

knapik commented 13 years ago

penn_daq: json.c:571: json_append_element: Assertion `element->parent == ((void *)0)' failed.

peterldowns commented 13 years ago

Try editing the makefile so that penn_daq is being built with compiler flags (add -g ) so that we can see which json_append_element is failing.

peterldowns commented 13 years ago

Fixed. I corrected the typos, but just in case there is some future need for copying JSON nodes, I added a copying function to the json.c library.

knapik commented 13 years ago

I just cloned the latest repo and I get the same error. Did this commit get merged correctly? I see some commented out lines in ped_run.c

peterldowns commented 13 years ago

I think I fixed it this time, try cloning my fork and letting me know if it works or not.

peterldowns commented 13 years ago

... Accidentally closed the issue, sorry.