This bug has been resolved with new parser from version 6.5.90 and
above.

** Changed in: gcalctool (Ubuntu)
       Status: New => Incomplete

** Changed in: gcalctool (Ubuntu)
       Status: Incomplete => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gcalctool in Ubuntu.
https://bugs.launchpad.net/bugs/792258

Title:
  gnome-calculator Segmentation fault

Status in “gcalctool” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: gcalctool

  /usr/bin/gnome-calculator crash with Segmentation fault message and
  throw errors when get long input .

  test case :
  emanuel@emanuel-desktop:~$ gcalctool -s `python -c "print 'A'*40000"`
  gcalctool: malloc.c:3096: sYSMALLOc: Assertion `(old_top == (((mbinptr) 
(((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct 
malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= 
(unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * 
(sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 
0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
  Aborted

  emanuel@emanuel-desktop:~$ gcalctool -s `python -c "print 'A'*50000"`
  Segmentation fault

  under GDB :
  Starting program: /usr/bin/gnome-calculator -s `python -c "print 'A'*50000"`
  [Thread debugging using libthread_db enabled]

  Program received signal SIGSEGV, Segmentation fault.
  0x0805b0e2 in _mp_equation_lex ()

  tested on : gnome-calculator 5.28.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcalctool/+bug/792258/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to