[snowcrash+gnupg-users] pinentry-qt (svn/r153) crashes on exec @ "assuan_register_command"; v0.7.2 execs no error.
snowcrash+gnupg-users
schneecrash+gnupg-users at gmail.com
Wed Jan 24 18:48:27 CET 2007
fyi, i found/reproduced the problem with the BusError.
it's an artifact of my (failed) attempt(s) to link in _my_
external/local libassuan.
namely, if i
setenv LDFLAGS "-L/usr/local/lib -lassuan -lncurses -lintl -liconv
-F/System/Library/Frameworks -framework Carbon -framework QuickTime
-lpng -lz -framework OpenGL -framework AGL"
rather than,
setenv LDFLAGS "-L/usr/local/lib -lncurses -lintl -liconv
-F/System/Library/Frameworks -framework Carbon -framework QuickTime
-lpng -lz -framework OpenGL -framework AGL"
then the built executable will report 'BusErro' on exec, and crash with,
Thread 0 Crashed:
0 pinentry-qt 0x000123c8 assuan_register_command + 40
(assuan-handler.c:247)
1 pinentry-qt 0x00011390 pinentry_loop + 208 (pinentry.c:663)
2 pinentry-qt 0x0000dc74 main + 516 (main.cpp:181)
3 pinentry-qt 0x0000236c _start + 760
4 pinentry-qt 0x00002070 start + 48
without the '-lassuan' in LDFLAGS, no BusError. moving on ...
now, having followed the Trolltech instructions for building/deploying
a Qt .app on OSX,
if @ shell, i,
% /usr/local/bin/pinentry-qt.app/Contents/MacOS/pinentry-qt
OK Your orders please
SETDESC This is a test
OK
GETPIN
this correctly pops up the Qt dialog, but without focus, as previouls mentioned.
however, if i now either,
% open /usr/local/bin/pinentry-qt.app
at shell, or dubl-click on the App in Finder, nothing happens -- no
launch of any dialog. :-/
but in Console, i see:
pinentry-qt: invalid option -- p
pinentry-qt: invalid option -- s
pinentry-qt: invalid option -- n
pinentry-qt: invalid option -- _
pinentry-qt: invalid option -- 0
pinentry-qt: invalid option -- _
pinentry-qt: invalid option -- 3
pinentry-qt: invalid option -- 1
pinentry-qt: invalid option -- 9
pinentry-qt: invalid option -- 8
pinentry-qt: invalid option -- 1
pinentry-qt: invalid option -- 5
pinentry-qt: invalid option -- 6
pinentry-qt: invalid option -- 9
OK Your orders please
no idea abt _this_ yet.
suggestions?
thanks.
More information about the Gnupg-users
mailing list