Bug 649586 - crash in xmgrace
Summary: crash in xmgrace
Keywords:
Status: CLOSED DUPLICATE of bug 649917
Alias: None
Product: Fedora
Classification: Fedora
Component: grace
Version: 14
Hardware: i686
OS: Linux
low
urgent
Target Milestone: ---
Assignee: José Matos
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-04 03:46 UTC by RudraB
Modified: 2010-11-19 08:16 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-11-19 08:16:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description RudraB 2010-11-04 03:46:55 UTC
Description of problem:
while starting, it crashes with the error:
$ xmgrace 
xmgrace: 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 (core dumped)


Version-Release number of selected component (if applicable):
$ rpm -q grace
grace-5.1.22-7.fc14.i686


How reproducible:
crashes in starting.

Comment 1 RudraB 2010-11-05 19:54:52 UTC
I forget to add that it is showing in 32bit machine.
$ uname -r
2.6.35.6-48.fc14.i686

Comment 2 José Matos 2010-11-05 22:53:49 UTC
I am lost here. :-(
It works for me on x86_64.

What does it reports if you run it inside gdb

$ gdb /usr/bin/xmgrace
run

Note that you must type run after gdb enters to start xmgrace from there.

dgb will tell also what packages to install to have a better debugging report.

Thanks.

Comment 3 Jason Grunhut 2010-11-10 17:03:24 UTC
Results of gdb:

Starting program: /usr/bin/xmgrace 
[Thread debugging using libthread_db enabled]
xmgrace: 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.

Program received signal SIGABRT, Aborted.
0x40000416 in __kernel_vsyscall ()

Also running 32bit. Note it worked like a charm in Fedora 13.

Jason

Comment 4 José Matos 2010-11-19 08:16:34 UTC

*** This bug has been marked as a duplicate of bug 649917 ***


Note You need to log in before you can comment on or make changes to this bug.