[Plib-users] segfault while paste
Brought to you by:
sjbaker
|
From: <Rol...@t-...> - 2002-06-20 16:46:15
|
Hello,
How am I supposed to copy text from a puInput widget to the clipboard ?
Should there be a way to mark text with either the keyboard or the mouse ?
^C seems to do nothing and ^V breaks with :
Program terminated with signal 11, Segmentation fault.
Cannot access memory at address 0x4013cdf0
#0 0x809969f in puInput::checkKey (this=0x8145900, key=22) at puInput.cxx:321
321 if ( ( strlen ( getStringValue () ) + strlen ( puGetPasteBuffer
() ) ) < PUSTRING_MAX - 1 )
(gdb) bt
#0 0x809969f in puInput::checkKey (this=0x8145900, key=22) at puInput.cxx:321
#1 0x8098591 in puGroup::checkKey (this=0x8144a78, key=22, updown=0)
at puGroup.cxx:156
#2 0x8097af3 in puKeyboard (key=22, updown=0) at pu.cxx:365
#3 0x804cad1 in keyboard (c=22) at wd.cpp:647
#4 0x4002fa59 in ?? ()
#5 0x40030320 in ?? ()
#6 0x40030a3b in ?? ()
#7 0x804dfe0 in main (argc=1, argv=0xbffff974) at wd.cpp:1069
#8 0x402ecb4d in ?? ()
(gdb)
Seems like puGetPasteBuffer() returns an invalid pointer.
Rolf
--
Rolf Jakob at home (rj...@du...)
WWW : http://www.franken.de/users/duffy1/rjakob (KDE-Utils and CCS)
|