Bug#415952: openafs-client: klog fails with an bus access error for password longer then 8 symbols.

2007-07-12 Thread Marko Rößler
Russ Allbery schrieb:
 
 Okay, one more try at this.  One of the other OpenAFS developers found a
 SPARC Linux box with AFS installed and spent some time tracking this
 down.
 
 Could you try this patch instead of all the previous patches I sent you
 (in other words, try applying it to a fresh copy of the source retrieved
 via apt-get source openafs) and see if this clears up the problem?
 

Well, it seams to solve the key_sched.c problem. There is another
problem with the following Backtrace:

snip
Starting program: /tmp/openafs-1.4.4.dfsg1/src/kauth/klog
Password:
stackcheck = 0: stack = 0
topstack = 0xffcfbb1c: stackptr = 0xf7c5a008: stacksize = 0x48000
Thu Jul 12 09:18:14 2007 LWP: stack overflow in process IO MANAGER!

Program received signal SIGABRT, Aborted.
0xf7e09120 in raise () from /lib/libc.so.6
(gdb) bt
#0  0xf7e09120 in raise () from /lib/libc.so.6
#1  0xf7e0a660 in abort () from /lib/libc.so.6
#2  0x000465e4 in Dispatcher ()
#3  0x00046e6c in savecontext ()
#4  0x00046b24 in LWP_CreateProcess ()
#5  0x00047974 in IOMGR_Initialize ()
#6  0x00045c3c in rxi_InitializeThreadSupport ()
#7  0x0003e550 in rx_InitHost ()
#8  0x0001378c in ka_AuthServerConn ()
#9  0x0001a5e4 in ka_GetAuthToken ()
#10 0x00013ef4 in GetTickets ()
#11 0x00014050 in ka_UserAuthenticateGeneral ()
#12 0x000120b0 in CommandProc ()
#13 0x0004cd1c in cmd_Dispatch ()
#14 0x00011bd0 in main ()

snipp

I am not sure whether this still belongs to the bug report as it happens
 independently from the password length.

Cheers,
Marko
-- 
---
 Bitte beachten Sie die neue Telefonnummer 
---

   _   _   __Marko Rößler @ Technische Universität Chemnitz
  / \ / \ |
  \_  \_  |_ Tel.   (49) 371 53133590  *neu*
\   \ |  Fax(49) 371 531833590 *neu*
  \_/ \_/ |__Mail   [EMAIL PROTECTED]
 WEBhttp://www.tu-chemnitz.de/etit/sse




signature.asc
Description: OpenPGP digital signature


Bug#415952: openafs-client: klog fails with an bus access error for password longer then 8 symbols.

2007-07-03 Thread Marko Rößler
Russ Allbery schrieb:
 Could you try this patch as well and see if it helps any?  It's
 unfortunately less likely to help than the previous one, but it's possible
 that it's the issue.  There's some weird gcc optimizer issue going on.
 This helps on Mac OS X, at least.
 

I am afraid but this patch does not help either.

The bus error happens at line 236 in src/des/key_sched.c

236 if ((unsigned)Key[(int)*kp++])
237 temp |= (1  BIT(31));

Hope that helps,
Marko
-- 
 Marko Rößler @ Chemnitz University of Technology
   _   _   __
  / \ / \ |  Phone  (49) 371 53133590
  \_  \_  |_ Fax(49) 371 531833590
\   \ |  Mail   [EMAIL PROTECTED]
  \_/ \_/ |__WEBhttp://www.tu-chemnitz.de/etit/sse
 GPG1024D/F81F1B7F





signature.asc
Description: OpenPGP digital signature


Bug#415952: openafs-client: klog fails with an bus access error for password longer then 8 symbols.

2007-06-27 Thread Marko Rößler
I applied the patch, but unfortunately it didn't change the behaviour.

Russ Allbery schrieb:
 Russ Allbery [EMAIL PROTECTED] writes:
 Marko Rößler [EMAIL PROTECTED] writes:
 
 finaly i managed to compile the openafs-client with debug symbols and
 received the following BackTrace:
 
 Sorry about the delay in responding.  I've forwarded this upstream.  It
 looks to me like there may be some sort of alignment issue in the DES
 library, although I'm not sure why this would just start happening now.
 
 Can you try building with the following patch and let me know if it helps?
 
 === src/des/des.h
 ==
 --- src/des/des.h   (revision 2131)
 +++ src/des/des.h   (local)
 @@ -19,8 +19,9 @@
  
  typedef unsigned char des_cblock[8];   /* crypto-block size */
  /* Key schedule */
 +/* This hack gives us int alignment, which the DES library requires. */
  typedef struct des_ks_struct {
 -des_cblock _;
 +int _[8/sizeof(int)];
  } des_key_schedule[16];
  
  #define DES_KEY_SZ (sizeof(des_cblock))
 


-- 
 Marko Rößler @ Chemnitz University of Technology
   _   _   __
  / \ / \ |  Phone  (49) 371 53133590
  \_  \_  |_ Fax(49) 371 531833590
\   \ |  Mail   [EMAIL PROTECTED]
  \_/ \_/ |__WEBhttp://www.tu-chemnitz.de/etit/sse
 GPG1024D/F81F1B7F




signature.asc
Description: OpenPGP digital signature


Bug#415952: openafs-client: klog fails with an bus access error for password longer then 8 symbols.

2007-06-13 Thread Marko Rößler
Hi Russ,

finaly i managed to compile the openafs-client with debug symbols and
received the following BackTrace:

(gdb) run
Starting program:
/var/cache/apt-build/build/openafs-1.4.4.dfsg1/src/kauth/klog 
Password:

Program received signal SIGBUS, Bus error.
0x0004a2a8 in des_key_sched ()
(gdb) bt
#0  0x0004a2a8 in des_key_sched ()
#1  0x00012708 in ka_StringToKey ()
#2  0x00013f34 in ka_UserAuthenticateGeneral ()
#3  0x00012008 in CommandProc ()
#4  0x0004 in cmd_Dispatch ()
#5  0x00011b28 in main ()

Can i help any further?

Cheers,
Marko

On Mon, 21 May 2007, Russ Allbery wrote:

 Marko Rößler [EMAIL PROTECTED] writes:
 
  i did send a core dump to the bugtracking system...
 
 Hm, it wasn't received, but it was possibly too large.  A backtrace is
 more useful anyway.
 
  I am not shure how to create a backtrace. Can you please quickly point
  me the way out?
 
 Install gdb and then run:
 
 gdb /usr/bin/klog
 
 and then at the gdb prompt, type:
 
 run username
 
 where username is the username you're authenticating as.  Enter the
 password that causes it to die, and gdb should catch the bus error.  At
 that point, you should be able to type:
 
 bt
 
 to get a backtrace.
 
 -- 
 Russ Allbery ([EMAIL PROTECTED])   http://www.eyrie.org/~eagle/
 

-- 
 
  Please take notice of the new telephone number 
 

 Marko Rößler @ Chemnitz University of Technology
   _   _   __
  / \ / \ |  Phone  (49) 371 53133590  *new*
  \_  \_  |_ Fax(49) 371 531833590 *new*
\   \ |  Mail   [EMAIL PROTECTED]
  \_/ \_/ |__WEBhttp://www.tu-chemnitz.de/etit/sse
 GPG1024D/F81F1B7F
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#375917: add the icon to the entry

2006-09-06 Thread Marko Rößler
The previous patch lacks the icon.
Attached file adds an icon, put the file to debian/menu.



?package(taskjuggler):needs=X11 section=Apps/Tools\
  title=TaskJuggler command=/usr/bin/TaskJugglerUI\
  icon=/usr/share/icons/hicolor/32x32/apps/taskjuggler.png



signature.asc
Description: OpenPGP digital signature


Bug#381117: bug in debian/rules.conf of gcc-4.1-source

2006-08-02 Thread Marko Rößler
Package: gcc-4.1-source
Version: 4.1.1-10

  
/usr/bin/make -f debian/rules.conf control
make[1]: Entering directory `/tmp/gcc-4.1-4.1.1'
debian/rules.defs:50: Extraneous text after `else' directive
debian/rules.conf:127: Extraneous text after `else' directive
debian/rules.conf:130: Extraneous text after `else' directive
debian/rules.conf:130: *** only one `else' per conditional.  Stop.
make[1]: Leaving directory `/tmp/gcc-4.1-4.1.1'
make: *** [control] Fehler 2

Cheers,
Marko
-- 
 
  Please take notice of the new telephone number 
 

 Marko Rößler @ Chemnitz University of Technology
   _   _   __
  / \ / \ |  Phone  (49) 371 53133590  *new*
  \_  \_  |_ Fax(49) 371 531833590 *new*
\   \ |  Mail   [EMAIL PROTECTED]
  \_/ \_/ |__WEBhttp://www.tu-chemnitz.de/etit/sse
 GPG1024D/F81F1B7F
 


signature.asc
Description: Digital signature