URL:
  <http://gna.org/bugs/?20209>

                 Summary: Crash with absolute path
                 Project: Gregorio
            Submitted by: olivierberten
            Submitted on: dim. 30 sept. 2012 21:55:09 CEST
                Category: core
                Severity: 5 - Blocker
                Priority: 7 - High
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: latest svn
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hi!

When I try to use gregorio with an absolute path, I get a "core dumped":

# gregorio /tmp/test.gabc 
*** glibc detected *** gregorio: munmap_chunk(): invalid pointer:
0x00007fff49fa6486 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7e506)[0x7fe90a697506]
gregorio[0x40176b]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7fe90a63a76d]
gregorio[0x401b01]
======= Memory map: ========
00400000-00403000 r-xp 00000000 08:02 107218714                         
/usr/bin/gregorio
00602000-00603000 r--p 00002000 08:02 107218714                         
/usr/bin/gregorio
00603000-00604000 rw-p 00003000 08:02 107218714                         
/usr/bin/gregorio
00fb6000-00fd7000 rw-p 00000000 00:00 0                                 
[heap]
7fe909bae000-7fe909bc3000 r-xp 00000000 08:02 102236571                 
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fe909bc3000-7fe909dc2000 ---p 00015000 08:02 102236571                 
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fe909dc2000-7fe909dc3000 r--p 00014000 08:02 102236571                 
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fe909dc3000-7fe909dc4000 rw-p 00015000 08:02 102236571                 
/lib/x86_64-linux-gnu/libgcc_s.so.1
7fe909dc4000-7fe909dff000 r-xp 00000000 08:02 107613055                 
/usr/lib/gregorio/gabc.so
7fe909dff000-7fe909ffe000 ---p 0003b000 08:02 107613055                 
/usr/lib/gregorio/gabc.so
7fe909ffe000-7fe909fff000 r--p 0003a000 08:02 107613055                 
/usr/lib/gregorio/gabc.so
7fe909fff000-7fe90a000000 rw-p 0003b000 08:02 107613055                 
/usr/lib/gregorio/gabc.so
7fe90a000000-7fe90a00a000 r-xp 00000000 08:02 107613068                 
/usr/lib/gregorio/gregoriotex.so
7fe90a00a000-7fe90a209000 ---p 0000a000 08:02 107613068                 
/usr/lib/gregorio/gregoriotex.so
7fe90a209000-7fe90a20a000 r--p 00009000 08:02 107613068                 
/usr/lib/gregorio/gregoriotex.so
7fe90a20a000-7fe90a20b000 rw-p 0000a000 08:02 107613068                 
/usr/lib/gregorio/gregoriotex.so
7fe90a20b000-7fe90a20d000 r-xp 00000000 08:02 102236165                 
/lib/x86_64-linux-gnu/libdl-2.15.so
7fe90a20d000-7fe90a40d000 ---p 00002000 08:02 102236165                 
/lib/x86_64-linux-gnu/libdl-2.15.so
7fe90a40d000-7fe90a40e000 r--p 00002000 08:02 102236165                 
/lib/x86_64-linux-gnu/libdl-2.15.so
7fe90a40e000-7fe90a40f000 rw-p 00003000 08:02 102236165                 
/lib/x86_64-linux-gnu/libdl-2.15.so
7fe90a40f000-7fe90a417000 r-xp 00000000 08:02 107220764                 
/usr/lib/x86_64-linux-gnu/libltdl.so.7.3.0
7fe90a417000-7fe90a617000 ---p 00008000 08:02 107220764                 
/usr/lib/x86_64-linux-gnu/libltdl.so.7.3.0
7fe90a617000-7fe90a618000 r--p 00008000 08:02 107220764                 
/usr/lib/x86_64-linux-gnu/libltdl.so.7.3.0
7fe90a618000-7fe90a619000 rw-p 00009000 08:02 107220764                 
/usr/lib/x86_64-linux-gnu/libltdl.so.7.3.0
7fe90a619000-7fe90a7cb000 r-xp 00000000 08:02 102236175                 
/lib/x86_64-linux-gnu/libc-2.15.so
7fe90a7cb000-7fe90a9cb000 ---p 001b2000 08:02 102236175                 
/lib/x86_64-linux-gnu/libc-2.15.so
7fe90a9cb000-7fe90a9cf000 r--p 001b2000 08:02 102236175                 
/lib/x86_64-linux-gnu/libc-2.15.so
7fe90a9cf000-7fe90a9d1000 rw-p 001b6000 08:02 102236175                 
/lib/x86_64-linux-gnu/libc-2.15.so
7fe90a9d1000-7fe90a9d6000 rw-p 00000000 00:00 0 
7fe90a9d6000-7fe90a9df000 r-xp 00000000 08:02 107613057                 
/usr/lib/gregorio/libgregorio.so.0.0.0
7fe90a9df000-7fe90abdf000 ---p 00009000 08:02 107613057                 
/usr/lib/gregorio/libgregorio.so.0.0.0
7fe90abdf000-7fe90abe0000 r--p 00009000 08:02 107613057                 
/usr/lib/gregorio/libgregorio.so.0.0.0
7fe90abe0000-7fe90abe1000 rw-p 0000a000 08:02 107613057                 
/usr/lib/gregorio/libgregorio.so.0.0.0
7fe90abe1000-7fe90ac03000 r-xp 00000000 08:02 102236261                 
/lib/x86_64-linux-gnu/ld-2.15.so
7fe90adce000-7fe90add2000 rw-p 00000000 00:00 0 
7fe90ae00000-7fe90ae03000 rw-p 00000000 00:00 0 
7fe90ae03000-7fe90ae04000 r--p 00022000 08:02 102236261                 
/lib/x86_64-linux-gnu/ld-2.15.so
7fe90ae04000-7fe90ae06000 rw-p 00023000 08:02 102236261                 
/lib/x86_64-linux-gnu/ld-2.15.so
7fff49f86000-7fff49fa7000 rw-p 00000000 00:00 0                         
[stack]
7fff49fff000-7fff4a000000 r-xp 00000000 00:00 0                         
[vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                 
[vsyscall]
Abandon (core dumped)


I'm on Ubuntu 12.04 64bit.

The test file is as simple as:
name: ;
%%
(c4)





    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?20209>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Gregorio-devel mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-devel

Répondre à