[Debtags-devel] Segfaults when destructing Debtags::Vocabualry for the second time
Enrico Zini
enrico@enricozini.org
Mon, 4 Apr 2005 20:34:24 +0200
--ZARJHfwaSJQLOEUz
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
On Sun, Mar 13, 2005 at 08:35:26PM +0100, Benjamin Mesing wrote:
> > void DebtagsSettingsWidget::init( const set<string>& hiddenFacets )
> > {
> > Debtags::Vocabulary vocabulary = Debtags::Environment::get().vocabulary();
> > }
> > Calling it once is fine, but calling it a second time leads to a segfault.
> > Any ideas which changes in the library might cause this behaviour? Any workaround?
> Sorry, forgot to attach the backtrace:
The new code fixes this and much more.
If you want, I can upload it as libtagcoll1-dev and libdebtags1-dev and
then assist you in migrating.
I migrated debtags and debtags-edit, and it's not too bad: in some
cases, the resulting code makes much more sense :)
Ciao,
Enrico
--
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <enrico@debian.org>
--ZARJHfwaSJQLOEUz
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCUYiw9LSwzHl+v6sRAsZWAJ9WJ299DOkixfPr7dR3FTKpX7cvwACZAY0v
4IAzVXHn8m/Gnjjd/oHhqhU=
=DPEV
-----END PGP SIGNATURE-----
--ZARJHfwaSJQLOEUz--