Crash when importing picture as a Link

Bug #965322 reported by Yann Papouin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
High
Unassigned

Bug Description

Can be reproduced every times with trunk on Win32.

If I import a picture (PNG or JPG) with the option "Link", a crash occurred.
That's not the case when "Embed" is selected.

Revision history for this message
su_v (suv-lp) wrote :

Not reproduced with current trunk (r11129) on Mac OS X 10.5.8 (32bit, Intel) and OS X 10.7.2 (64bit).

tags: added: bitmap crash importing
Changed in inkscape:
importance: Undecided → High
Revision history for this message
jazzynico (jazzynico) wrote :

Not reproduced with revision 11129 on Windows XP.
Could you please rename your preferences.xml file (don't remove the file in case we need it to investigate) and retry?

Revision history for this message
Yann Papouin (yann-papouin) wrote :

I'm using revision 11129 on Windows 7 - 64 Bits.
Also tried with a clean preferences.xml, it didn't change anything.
This is the backtrace:

Program received signal SIGTRAP, Trace/breakpoint trap.
0x777ddc8e in ntdll!KiRaiseUserExceptionDispatcher () from C:\Windows\system32\ntdll.dll
(gdb) bt
#0 0x777ddc8e in ntdll!KiRaiseUserExceptionDispatcher () from C:\Windows\system32\ntdll.dll
#1 0x778abc5e in ?? ()
#2 0x6657cbe8 in libglibmm-2!_ZnwjPv () from C:\inkscape\inkscape\libglibmm-2.4-1.dll
#3 0x777debc1 in ntdll!LdrAddRefDll () from C:\Windows\system32\ntdll.dll
#4 0xc0000374 in ?? ()
#5 0x77814268 in ntdll!_itow () from C:\Windows\system32\ntdll.dll
#6 0x0028ecec in ?? ()
#7 0x777deca1 in ntdll!LdrAddRefDll () from C:\Windows\system32\ntdll.dll
#8 0x00000002 in ?? ()
#9 0x00000000 in ?? ()

Revision history for this message
jazzynico (jazzynico) wrote :

Unfortunately gdb is currently broken with the trunk version...

Could you please try to run Inkscape in application compatibility mode (choose XP, and if possible 32 bits)?

It looks like a devlibs issue, so you can also try Inkscape 0.48.3.1 (it uses the same devlibs as the trunk) and see if it crashes too (0.48.3.1 if not officially out, but the binaries are available at http://sourceforge.net/projects/inkscape/files/inkscape/0.48.3.1/).

Revision history for this message
Yann Papouin (yann-papouin) wrote :

Same thing in compatibility mode, 32-bits is mandatory as it's a 32 bits application.

I tried with 0.48.3.1 and it's working fine with it. I retried immediately with trunk version (in case it was a preferences.xml issue) and the crash is still there.

Revision history for this message
jazzynico (jazzynico) wrote :

Does it crash with a specific file, file type or path?
Could you please attach (if it's not too big) a bitmap that causes the crash?

Revision history for this message
Yann Papouin (yann-papouin) wrote :

It crash will all files, any BMP, PNG, JPG.

Revision history for this message
jazzynico (jazzynico) wrote :

I've just compiled the latest trunk revision on Windows 7 (32 bits), and still can't reproduce the bug. Tried with PNG and JPG files, by drag and drop, open and import, and everything worked as expected.
I guess we have to wait until the gdb issue is fixed...

Revision history for this message
Yann Papouin (yann-papouin) wrote :

I've attached the executable if you want to test it against your installation, maybe you can try with it to see if it's related to a compilation issue or a system one.

Revision history for this message
jazzynico (jazzynico) wrote :

Doesn't crash with your executable file. Maybe a compilation or devlibs issue.
Are you sure you have the latest devlibs (r29)? Did you try to compile from scratch (after a btool clean)?

Revision history for this message
Kris (kris-degussem) wrote :

Could not reproduce the bug either on vista 64 bit 0.48.x r9945 or trunk r12126.
If no other people can reproduce this bug, I'd propose to close it.

Changed in inkscape:
status: New → Incomplete
Kris (kris-degussem)
Changed in inkscape:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.