On Thu, Aug 18, 2005 at 01:36:12PM +0200, Martin Zobel-Helas wrote: > > [EMAIL PROTECTED]:~$ tinyca2 > > Gtk-CRITICAL **: gtk_widget_get_style: assertion `GTK_IS_WIDGET > > (widget)' failed at /usr/lib/tinyca/CERT.pm line 119. > > Segmentatie fout > > Could you send a backtrace please, i can't reproduce this problem.
A backtrace shows: DB<1> c Gtk-CRITICAL **: gtk_widget_get_style: assertion `GTK_IS_WIDGET (widget)' failed at /usr/lib/tinyca/CERT.pm line 119. at /usr/lib/tinyca/CERT.pm line 119 CERT::read_certlist('CERT=HASH(0x8d67d50)', '/home/spaans/.TinyCA/XXnet/certs', '/home/spaans/.TinyCA/XXnet/crl/crl.pem', '/home/spaans/.TinyCA/XXnet/index.txt', 1, 'GUI=HASH(0x8d4df28)') called at /usr/lib/tinyca/GUI/X509_browser.pm line 364 GUI::X509_browser::update_cert('GUI::X509_browser=HASH(0x8e624fc)', '/home/spaans/.TinyCA/XXnet/certs', '/home/spaans/.TinyCA/XXnet/crl/crl.pem', '/home/spaans/.TinyCA/XXnet/index.txt', 1) called at /usr/lib/tinyca/GUI/X509_browser.pm line 309 GUI::X509_browser::update('GUI::X509_browser=HASH(0x8e624fc)', '/home/spaans/.TinyCA/XXnet/certs', '/home/spaans/.TinyCA/XXnet/crl/crl.pem', '/home/spaans/.TinyCA/XXnet/index.txt', 1) called at /usr/lib/tinyca/GUI/X509_browser.pm line 295 GUI::X509_browser::add_list('GUI::X509_browser=HASH(0x8e624fc)', 'XXnet', '/home/spaans/.TinyCA/XXnet/certs', '/home/spaans/.TinyCA/XXnet/crl/crl.pem', '/home/spaans/.TinyCA/XXnet/index.txt') called at /usr/lib/tinyca/GUI.pm line 191 GUI::create_mframe('GUI=HASH(0x8d4df28)', 1) called at /usr/lib/tinyca/CA.pm line 239 CA::open_ca('CA=HASH(0x83348ac)', 'GUI=HASH(0x8d4df28)', 'HASH(0x8da4dc8)') called at /usr/lib/tinyca/CA.pm line 84 CA::get_open_name('CA=HASH(0x83348ac)', 'GUI=HASH(0x8d4df28)') called at /usr/bin/tinyca2 line 92 index.txt has contents which seem to be OK. So.. I just looked at the code, and came up with the following two fixes (which to me seem to be doing the right thing): --- /usr/lib/tinyca/CERT.pm~ 2005-08-18 14:00:32.000000000 +0200 +++ /usr/lib/tinyca/CERT.pm 2005-08-18 14:00:32.000000000 +0200 @@ -115,8 +115,8 @@ $self->{'lastread'} = time(); if(defined($main)) { - $main->{'barbox'}->remove($main->{'progress'}); $main->{'progress'}->set_fraction(0); + $main->{'barbox'}->remove($main->{'progress'}); GUI::HELPERS::set_cursor($main, 0); } and --- /usr/lib/tinyca/REQ.pm~ 2005-08-18 14:00:53.000000000 +0200 +++ /usr/lib/tinyca/REQ.pm 2005-08-18 14:00:53.000000000 +0200 @@ -338,8 +338,8 @@ $self->{'lastread'} = time(); if(defined($main)) { - $main->{'barbox'}->remove($main->{'progress'}); $main->{'progress'}->set_fraction(0); + $main->{'barbox'}->remove($main->{'progress'}); GUI::HELPERS::set_cursor($main, 0); } The only problem remaining now is that quitting doesn't work - but I can live with that. > Please also try with LANG=C LC_CTYPE=C (For completeness: that gives the same result: [EMAIL PROTECTED]:~$ tinyca2 Gtk-CRITICAL **: gtk_widget_get_style: assertion `GTK_IS_WIDGET (widget)' failed at /usr/lib/tinyca/CERT.pm line 119. Segmentation fault ) Bye, -- Jasper Spaans http://jsp.vs19.net/ 13:48:03 up 10410 days, 4:35, 0 users, load average: 4.00 4.00 4.00 This line was last modified 0 seconds ago.
signature.asc
Description: Digital signature