Bugzilla – Bug 148902
Firefox crashes when trying to load beidpkcs11.so.
Last modified: 2007-11-14 16:07:02 UTC
When trying to load the security module into Firfox it crashed. Firefox version : 1.5.0.1 eID-belgium-2.52-2 pcsc-acr38-100705_P-2 pcsc-lite-1.2.9_beta9-3
According to the backtrace it dies in: QThreadInstance::start() from /usr/lib/qt3/lib/libqt-mt.so.3 I'm not sure if this is a Firefox issue.
Hi Bart - in one of your mails I read : "In other words: the old version doesn't work with FF 1.5." - is the version in beta3 "the old version" ?
"the old version" = the eID software as it was included with SuSE 10.0 Versions you received with version number 2.5.2 should work OK with Firefox 1.5.
Serge / Bart - I have attached a patch that Sonja needed to apply in order to have things compiling on 10.1. Could you guys take a look at it? Can it have anything to do with the crash? Just for reference : on what Linux are you guys testing? Thanks - Jo.
Created attachment 67704 [details] eID-belgium-2.52-fixes.patch
Wolfgang - I'm in NB next week and will bring a card reader and of course my ID card ... maybe someone over there can help me to find out what the problem is. If not - I have plenty of "hotel evening" time next week to spend on this, problem is that I'm not really a programmer. If someone can point me to test tools, I can at least spend time on it. Jo.
Ok, Jo. I want to add some details about Firefox on 10.1. I don't believe that those are related but maybe interesting to know. We have FF 1.5.0.1 (which should be API-compatible with 1.5) but we DON'T use NSS 3.10.2 which is used in FF 1.5.x. We use the system provided NSS which is version 3.11. As one of the most important things in NSS is backward-compatibility I don't think that this has anything to do with this crash. Some code in the lib is crashing and is taking Firefox with it.
Thanks R., accoring to your first post it dies in a qt lib call. I know that the new version of eID does use QT in stead of Wx for pop-ups. Maybe the eID lib is trying to show me a pop-up window for my PIN and it crashes while doing that. With that in mind - what do you advice somebody that has some time? "Learn how to use gbd and put gbd on it?" Thanks, Jo.
Just tried with firefox downloaded from mozilla.org and had same result: SEGV.
Are you using KDE with gtk2-engines-gtk-qt ? This KDE theme for GTK apps has had some issues on other distributions.
Hi, labws99:/# rpm -qa | grep engines gtk-engines-0.12-969 gtk2-engines-2.6.7-4 I think we can conclude : yes. I will reboot in NLD10, try to remove those and retest at lunch time (in training now). Thanks!
1) Serge, wasn't there an option in the KDE Control Panel so that one can disable cross-toolkit themes? 2) Shouldn't we add this to the readme ?
1) Yes, in 'Appearance & Themes' then 'GTK Styles and Fonts' (vanilla KDE control center) 2) Yes
Eh - sorry - that gtk2-engines-gtk-qt is not installed. I'm actually testing in NLD10 now, with KDE not in the picture ... sorry ... When I run as root it does not always crash - sometimes it says "unable to load module". Below a trace of what goes on right before a crash or unsuccessfull load attempt. What's funny is that I see it opeing the /etc/beidbase.conf file, probably to learn about error logging, since the next file it's opening is /tmp/belpic-errors.log, but that log file is empty after the crash ... --- [pid 7146] open("/usr/lib/tls/i686/libpcsclite.so", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 7146] open("/usr/lib/tls/sse2/libpcsclite.so", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 7146] open("/usr/lib/tls/libpcsclite.so", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 7146] open("/usr/lib/i686/sse2/libpcsclite.so", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 7146] open("/usr/lib/i686/libpcsclite.so", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 7146] open("/usr/lib/sse2/libpcsclite.so", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 7146] open("/usr/lib/libpcsclite.so", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 7146] open("/etc/beidgui.conf", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 7146] open("/etc/beidgui.conf", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 7146] open("/etc/beidgui.conf", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 7146] open("/etc/beidgui.conf", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 7146] open("/etc/beidgui.conf", O_RDONLY) = -1 ENOENT (No such file or directory) Process 7167 attached [pid 7146] open("/etc/beidbase.conf", O_RDONLY) = 47 [pid 7146] open("/tmp/belpic-errors.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 47 [pid 7146] open("/etc/beidbase.conf", O_RDONLY) = 48 [pid 7146] open("/tmp/belpic-errors.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 48 [pid 7146] open("/root/.mozilla/firefox/ssrzeygn.default/extensions.ini", O_RDONLY) = 50 [pid 7146] open("/usr/lib/firefox/chrome/icons/default/default.xpm", O_RDONLY) = 50 [pid 7167] --- SIGSEGV (Segmentation fault) @ 0 (0) --- [pid 7167] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
It it would help - I can drop off a test laptop with beta3 on it plus the cd's (source rpms and all ) at ZETES ... ?
AFAIK Jo has news on that one.
Status?
Package was downgraded to an older version for 10.1 for reasons beyond technical control. We'll have to revisit this bug in 10.2.
Any news on this? Is this bug still valid on current versions?
Hi, closing - will reopen later if needed. Tx, Jo