Can't call exit(3)

Bug #867161 reported by Paul J. Lucas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
New
Medium
Markos Zaharioudakis

Bug Description

If I have a simple program that uses the Zorba C++ API to execute a query and I call exit(3) for some reason, the program aborts with a core dump due to a Zorba fatal error. (See attached sample program.)

i = 0 String file:/// is still in the pool
Zorba Internal Fatal Error in /Users/pjl/src/flwor/zorba/trunk/zorba/src/store/naive/string_pool.cpp:42:
"count == 0": condition failed: 1 strings remain in the string pool
Abort trap (core dumped)
134

When using the C++ API, you really ought to be able to call exit(3) and not have the program dump core.

Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

The file exit.cpp was added: Sample program

Chris Hillery (ceejatec)
tags: removed: core-runtime
tags: removed: v2.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.