Bug#323124: tinyca: crashes on startup
7On Sun, Aug 21, 2005 at 07:13:42PM +0200, Christoph Ulrich Scholler wrote: > On 18.08. 14:07, Jasper Spaans wrote: > > index.txt has contents which seem to be OK. > > Have you created this CA in TinyCA or did you import it from somewhere > else? Does TinyCA crash when you start it with no previously existing > .TinyCA/? Yep, the whole CA was built using (previous versions of) tinyca; running .tinyca after moving TinyCA out of the way (and subsequently /not/ creating .a new CA) does the following: [EMAIL PROTECTED]:~$ mv .TinyCA/ .TinyCA-no [EMAIL PROTECTED]:~$ tinyca2 create basedir: /home/spaans/.TinyCA create temp dir: /home/spaans/.TinyCA/tmp *** unhandled exception in callback: *** Usage: Gtk2::main_quit(class=NULL) at /usr/lib/tinyca/HELPERS.pm line 94. *** ignoring at /usr/bin/tinyca2 line 97. [application hangs] Right now I'm starting to think it's some kind of weird library mixup... (but the patch from my previous message seems rather harmless and WorksForMe..) Groet, -- Jasper Spaans http://jsp.vs19.net/ 21:45:13 up 10413 days, 12:32, 0 users, load average: 4.00 4.00 4.00 This line was last modified 0 seconds ago. signature.asc Description: Digital signature
Bug#323124: tinyca: crashes on startup
On 18.08. 14:07, Jasper Spaans wrote: > index.txt has contents which seem to be OK. Have you created this CA in TinyCA or did you import it from somewhere else? Does TinyCA crash when you start it with no previously existing .TinyCA/? uLI -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#323124: tinyca: crashes on startup
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.0 +0200 +++ /usr/lib/tinyca/CERT.pm 2005-08-18 14:00:32.0 +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.0 +0200 +++ /usr/lib/tinyca/REQ.pm 2005-08-18 14:00:53.0 +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
Bug#323124: tinyca: crashes on startup
Hi Jasper, > When trying tot start the new version of tinyca, it crashes directly: > > [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. > I'll do some real testing soon. > > -- System Information: > Debian Release: testing/unstable > APT prefers unstable > APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') > Architecture: i386 (i686) > Shell: /bin/sh linked to /bin/bash > Kernel: Linux 2.6.13-rc5-mm1 > Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8) Please also try with LANG=C LC_CTYPE=C Greetings Martin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#323124: tinyca: crashes on startup
Package: tinyca Version: 0.7.0-1 Severity: grave When trying tot start the new version of tinyca, it crashes directly: [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 I'll do some real testing soon. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.13-rc5-mm1 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8) Versions of packages tinyca depends on: ii libgnome2-perl1.023-1Perl interface to the GNOME librar ii libgtk2-perl 1:1.083-1 Perl interface to the 2.x series o ii liblocale-gettext-perl1.05-1 Using libc functions for internati ii openssl 0.9.7g-1 Secure Socket Layer (SSL) binary a Versions of packages tinyca recommends: ii zip 2.31-3 Archiver for .zip files -- no debconf information -- Jasper Spaans http://jsp.vs19.net/ 23:25:02 up 10406 days, 14:12, 0 users, load average: 4.00 4.00 4.00 This line was last modified 0 seconds ago. signature.asc Description: Digital signature