mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [BUG] readline history
@ 2014-08-28  7:50 Teresa Gamez
  2014-08-28  8:35 ` Alexander Aring
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Teresa Gamez @ 2014-08-28  7:50 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

Hello Sascha,

I noticed a bug on the latest master.
When no history is present and I hit the arrow up key, I get:

unable to handle NULL pointer dereference at address 0x00000001
pc : [<9fe243ba>]    lr : [<9fe268cf>]
sp : 9ffff9d0  ip : 00000016  fp : 00000002
r10: 00000001  r9 : 9fe549dc  r8 : 9fe65d08
r7 : 00000400  r6 : 00000001  r5 : 00000000  r4 : 9fe66258
r3 : 00000000  r2 : 00000000  r1 : 00000001  r0 : 9fe66258
Flags: nZCv  IRQs off  FIQs on  Mode SVC_32
[<9fe243ba>] (strcpy+0xa/0xe) from [<9fe268cf>] (readline+0x363/0x4e0)
[<9fe268cf>] (readline+0x363/0x4e0) from [<9fe05469>] (file_get
+0x49/0x110)

I could bisect it to this commit:


ada160a34a1ec8421d5bb7b9dd746294668a5130 is the first bad commit
commit ada160a34a1ec8421d5bb7b9dd746294668a5130
Author: Sascha Hauer <s.hauer@pengutronix.de>
Date:   Tue Jul 29 11:54:26 2014 +0200

    readline: reimplement history functions
    
...

Regards,
Teresa




_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-09-01 12:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-28  7:50 [BUG] readline history Teresa Gamez
2014-08-28  8:35 ` Alexander Aring
2014-08-28  9:25 ` Alexander Aring
2014-08-28 10:08   ` Alexander Aring
2014-09-01  8:30 ` Sascha Hauer
2014-09-01  8:44   ` Alexander Aring
2014-09-01 12:25     ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox