Bug 649586

Summary: crash in xmgrace
Product: [Fedora] Fedora Reporter: RudraB <bnrj.rudra>
Component: graceAssignee: José Matos <jamatos>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: low    
Version: 14CC: bnrj.rudra, jamatos, jgrunhut, pertusus
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-19 08:16:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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 ***