Bug 4510 - no debug output from pcsctun on Ubuntu
Summary: no debug output from pcsctun on Ubuntu
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Smart card (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.1.0
Assignee: Pierre Ossman
URL:
Keywords: aaron_tester
: 4593 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-12-21 10:58 CET by Pierre Ossman
Modified: 2013-05-17 10:38 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2012-12-21 10:58:12 CET
We've gotten two separate reports of PCSCTUN_DEBUG not working on Ubuntu. I got the opportunity to test it out today, and it turns out that Ubuntu's Glib has some different log settings than we are used to. To get it to work you have to also set G_MESSAGES_DEBUG=all. I think we can fix this inside pcsctun though.
Comment 1 Pierre Ossman cendio 2013-03-14 11:41:07 CET
Fixed in r26804.

Tester can also check that G_MESSAGES_DEBUG=pcsctun works.
Comment 2 Pierre Ossman cendio 2013-03-25 13:02:07 CET
Getting a crash of pcsctun on Windows when it terminates. Assuming it is because of this bug.
Comment 3 Pierre Ossman cendio 2013-03-25 13:34:20 CET
Also crashes on Linux.
Comment 4 Pierre Ossman cendio 2013-03-25 13:44:28 CET
(In reply to comment #3)
> Also crashes on Linux.

Nm. It was just glib that likes to do SIGTRAP on fatal errors. So the crash is only on Windows.
Comment 5 Pierre Ossman cendio 2013-03-25 14:33:51 CET
Idiot upstream managed to break static linking on Windows:

https://bugzilla.gnome.org/show_bug.cgi?id=696557

I think I can easily fix it though.
Comment 6 Pierre Ossman cendio 2013-04-11 15:53:12 CEST
Fixed in r26922.
Comment 7 Karl Mikaelsson cendio 2013-04-12 10:56:30 CEST
Reopening a random pcsctun bug - see bug 4593 for details.
Comment 8 Pierre Ossman cendio 2013-04-16 14:04:12 CEST
*** Bug 4593 has been marked as a duplicate of this bug. ***
Comment 9 Pierre Ossman cendio 2013-04-17 15:01:34 CEST
Fixed again in r27100.
Comment 10 Aaron Sowry cendio 2013-05-17 10:38:51 CEST
Tested from Windows 7 with an exported smart card. Could not reproduce the crash.

Connecting to an Ubuntu 13.04 server and running:

PCSCTUN_DEBUG=1 pkcs15-tool --list-certificates

gives debug output, as does:

G_MESSAGES_DEBUG=pcsctun pkcs15-tool --list-certificates

Works as expected, so closing.

Note You need to log in before you can comment on or make changes to this bug.