WinXP - 0.46dev+devel: Crash on opening files (segmentation fault in msvcrt!_HUGE ())
Hi,
in nightly builds (for example 24th of December 2007 and previous) Inkscape almost always crashes when I want to open or import some file. I have filled a simillar bug report, but with segmentation fault in wxvault.dll (see https://bugs.launchpad.net/inkscape/+bug/177618), but it turned out to be connected to EMBASSY software that ships with some DELL computers...
Anyway, after uninstalling the software, the program is still crashing, but this time with the segmentation fault in msvcrt!_HUGE(). On my laptop this happens when I want to open or import some file. I click on button, and the program crashes. I can almost always reproduce this crash on my laptop, but some people said that they can not reproduce it (see the bug report).
Any ideas what could be wrong here?
Thanks, and just wanted to say that 0.46 will be just amazing :) This is a brilliant software.
Rok
Sorry, forgot to include the report from GDB. This is:
==============================================
GNU gdb 6.6 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-mingw32"... (no debugging symbols found) (gdb) run Starting program: c:\Program Files\Inkscape_latest/inkscape.exe Loaded symbols for C:\WINDOWS\system32\ntdll.dll Loaded symbols for C:\WINDOWS\system32\kernel32.dll Loaded symbols for c:\Program Files\Inkscape_latest\libatkmm-1.6-1.dll Loaded symbols for c:\Program Files\Inkscape_latest\libatk-1.0-0.dll Loaded symbols for c:\Program Files\Inkscape_latest\libglib-2.0-0.dll Loaded symbols for c:\Program Files\Inkscape_latest\iconv.dll Loaded symbols for C:\WINDOWS\system32\msvcrt.dll Loaded symbols for c:\Program Files\Inkscape_latest\intl.dll Loaded symbols for C:\WINDOWS\system32\advapi32.dll Loaded symbols for C:\WINDOWS\system32\rpcrt4.dll Loaded symbols for C:\WINDOWS\system32\secur32.dll Loaded symbols for C:\WINDOWS\system32\ole32.dll Loaded symbols for C:\WINDOWS\system32\gdi32.dll Loaded symbols for C:\WINDOWS\system32\user32.dll Loaded symbols for C:\WINDOWS\system32\shell32.dll Loaded symbols for C:\WINDOWS\system32\shlwapi.dll Loaded symbols for C:\WINDOWS\system32\ws2_32.dll Loaded symbols for C:\WINDOWS\system32\ws2help.dll Loaded symbols for c:\Program Files\Inkscape_latest\libgobject-2.0-0.dll Loaded symbols for c:\Program Files\Inkscape_latest\libglibmm-2.4-1.dll Loaded symbols for c:\Program Files\Inkscape_latest\libgmodule-2.0-0.dll Loaded symbols for c:\Program Files\Inkscape_latest\libsigc-2.0-0.dll Loaded symbols for c:\Program Files\Inkscape_latest\libcairo-2.dll Loaded symbols for c:\Program Files\Inkscape_latest\libfontconfig-1.dll Loaded symbols for c:\Program Files\Inkscape_latest\freetype6.dll Loaded symbols for c:\Program Files\Inkscape_latest\libexpat.dll Loaded symbols for c:\Program Files\Inkscape_latest\libpng13.dll Loaded symbols for c:\Program Files\Inkscape_latest\zlib1.dll Loaded symbols for C:\WINDOWS\system32\msimg32.dll Loaded symbols for c:\Program Files\Inkscape_latest\libcairomm-1.0-1.dll Loaded symbols for c:\Program Files\Inkscape_latest\libgdk-win32-2.0-0.dll Loaded symbols for c:\Program Files\Inkscape_latest\libgdk_pixbuf-2.0-0.dll Loaded symbols for c:\Program Files\Inkscape_latest\jpeg62.dll Loaded symbols for c:\Program Files\Inkscape_latest\libtiff3.dll Loaded symbols for c:\Program Files\Inkscape_latest\libpango-1.0-0.dll Loaded symbols for c:\Program Files\Inkscape_latest\libpangocairo-1.0-0.dll Loaded symbols for c:\Program Files\Inkscape_latest\libpangowin32-1.0-0.dll Loaded symbols for C:\WINDOWS\system32\imm32.dll Loaded symbols for c:\Program Files\Inkscape_latest\libgdkmm-2.4-1.dll Loaded symbols for c:\Program Files\Inkscape_latest\libgtk-win32-2.0-0.dll Loaded symbols for C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll Loaded symbols for C:\WINDOWS\system32\comdlg32.dll Loaded symbols for C:\WINDOWS\system32\winspool.drv Loaded symbols for c:\Program Files\Inkscape_latest\libpangomm-1.4-1.dll Loaded symbols for c:\Program Files\Inkscape_latest\libgtkmm-2.4-1.dll Loaded symbols for c:\Program Files\Inkscape_latest\liblcms-1.dll Loaded symbols for c:\Program Files\Inkscape_latest\libpangoft2-1.0-0.dll Loaded symbols for c:\Program Files\Inkscape_latest\libpoppler-2.dll Loaded symbols for c:\Program Files\Inkscape_latest\libxml2.dll Loaded symbols for C:\WINDOWS\system32\wsock32.dll Loaded symbols for c:\Program Files\Inkscape_latest\libpopt-0.dll Loaded symbols for c:\Program Files\Inkscape_latest\libwpg-0.1.dll Loaded symbols for c:\Program Files\Inkscape_latest\libwpg-stream-0.1.dll Loaded symbols for c:\Program Files\Inkscape_latest\python25.dll Loaded symbols for c:\Program Files\Inkscape_latest\msvcr71.dll Loaded symbols for c:\Program Files\Inkscape_latest\libxslt.dll
Program received signal SIGSEGV, Segmentation fault. 0x77c4900f in msvcrt!_HUGE () from C:\WINDOWS\system32\msvcrt.dll (gdb) quit The program is running. Exit anyway? (y or n)
===========================================================
Rok
On Dec 25, 2007 9:45 AM, Rock Star <rockstar1707@...400...> wrote:
Hi,
in nightly builds (for example 24th of December 2007 and previous) Inkscape almost always crashes when I want to open or import some file. I have filled a simillar bug report, but with segmentation fault in wxvault.dll (see https://bugs.launchpad.net/inkscape/+bug/177618), but it turned out to be connected to EMBASSY software that ships with some DELL computers...
Anyway, after uninstalling the software, the program is still crashing, but this time with the segmentation fault in msvcrt!_HUGE(). On my laptop this happens when I want to open or import some file. I click on button, and the program crashes. I can almost always reproduce this crash on my laptop, but some people said that they can not reproduce it (see the bug report).
Any ideas what could be wrong here?
Thanks, and just wanted to say that 0.46 will be just amazing :) This is a brilliant software.
Rok
On Tue, 2007-12-25 at 09:50 +0100, Rock Star wrote:
Sorry, forgot to include the report from GDB. This is:
Could you get gdb to print the backtrace before you quit it (I believe the command is just "bt")? The backtrace is the potentially useful part.
-mental
If I print the backtrace I get the same:
========================== Program received signal SIGSEGV, Segmentation fault. 0x77c4900f in msvcrt!_HUGE () from C:\WINDOWS\system32\msvcrt.dll (gdb) bt #0 0x77c4900f in msvcrt!_HUGE () from C:\WINDOWS\system32\msvcrt.dll #1 0x00000000 in ?? () (gdb) quit The program is running. Exit anyway? (y or n) ==========================
Does this help?
Rok
On Dec 25, 2007 8:37 PM, MenTaLguY <mental@...3...> wrote:
On Tue, 2007-12-25 at 09:50 +0100, Rock Star wrote:
Sorry, forgot to include the report from GDB. This is:
Could you get gdb to print the backtrace before you quit it (I believe the command is just "bt")? The backtrace is the potentially useful part.
-mental
I don't know if someone was "digging" a bit more into this problem. However, with the recent builds the program still crashes, but I've found out the case in which it crashes on my laptop. I believe that it happens only if you have some items in "places" (left side of the window) that you added by yourself (I think Windows users would call them Favorites).
Steps to reproduce (we're talking about WinXP32) 1. Run Inkscape 2. Open the file choose (CTRL+O) 3. Click few times on different folders that you added to "Places" manually 4. After few clicks the Inkscape should crash (at least it does in my case)
Note that it doesn't crash if you click on "predefined" folders. In my case these are - Recently used - c:\documens and settings<username> - hard disks and CD/DVD roms
I must say that I really like the way that GTK handles these "favorites". One of the things why I really like this file chooser (though it could show a bit more information about the file, at least size).
It is interesting that the File Chooser in Gimp 2.4.3 on WinXP looks the same as the one in the nightly builds of Inkscape (I don't know about the GTK versions that each uses), but it doesn't crash in cases described above.
Any ideas about what could be the reason?
Thanks in advance.
Bye, Rok
On Dec 25, 2007 11:46 PM, Rock Star <rockstar1707@...400...> wrote:
If I print the backtrace I get the same:
========================== Program received signal SIGSEGV, Segmentation fault. 0x77c4900f in msvcrt!_HUGE () from C:\WINDOWS\system32\msvcrt.dll (gdb) bt #0 0x77c4900f in msvcrt!_HUGE () from C:\WINDOWS\system32\msvcrt.dll #1 0x00000000 in ?? () (gdb) quit The program is running. Exit anyway? (y or n) ==========================
Does this help?
Rok
On Dec 25, 2007 8:37 PM, MenTaLguY < mental@...3...> wrote:
On Tue, 2007-12-25 at 09:50 +0100, Rock Star wrote:
Sorry, forgot to include the report from GDB. This is:
Could you get gdb to print the backtrace before you quit it (I believe the command is just "bt")? The backtrace is the potentially useful part.
-mental
One more thing about this issue.
This is obviously not reproducible. I tried on some other PC and it didn't crash.
However, I've found out that it crashes only when path for "shortcuts" in places contain some "weird" characters, like "×" for example. Furthermore, it also crashes if I select a file with "weird"characters, but only in that certain folder. If I copy "problematic" files and folders to new base folder, everything works ok. For example, the problematic folder structure is as follows:
c:\Xxxx\Xxx\Xxxxxxxx\XX_Xxxxxx\Xxxxxx xxxxxx #×### xX\xxx\
where "X" stands for capital letter (striclty "english" characters), "x" for small letter (striclty "english" characters), and "#" for a numerical character.
So, if i copy everything (folders and files), so that the folder structure is as follows (notice added "#" in "4th" folder):
c:\Xxxx\Xxx\Xxxxxxxx\XX_Xxxxxx#\Xxxxxx xxxxxx #×### xX\xxx\
everything works OK.
So, this is obviously an issue only on this certain laptop and on this certain folder.
However, it would be interesting if someone can explain why this happens, but I believe this is most probably not an Inkscape problem.
Thanks anyway,
Rok
On Jan 8, 2008 2:29 PM, Rock Star <rockstar1707@...400...> wrote:
I don't know if someone was "digging" a bit more into this problem. However, with the recent builds the program still crashes, but I've found out the case in which it crashes on my laptop. I believe that it happens only if you have some items in "places" (left side of the window) that you added by yourself (I think Windows users would call them Favorites).
Steps to reproduce (we're talking about WinXP32)
- Run Inkscape
- Open the file choose (CTRL+O)
- Click few times on different folders that you added to "Places"
manually 4. After few clicks the Inkscape should crash (at least it does in my case)
Note that it doesn't crash if you click on "predefined" folders. In my case these are - Recently used - c:\documens and settings<username> - hard disks and CD/DVD roms
I must say that I really like the way that GTK handles these "favorites". One of the things why I really like this file chooser (though it could show a bit more information about the file, at least size).
It is interesting that the File Chooser in Gimp 2.4.3 on WinXP looks the same as the one in the nightly builds of Inkscape (I don't know about the GTK versions that each uses), but it doesn't crash in cases described above.
Any ideas about what could be the reason?
Thanks in advance.
Bye, Rok
On Dec 25, 2007 11:46 PM, Rock Star <rockstar1707@...400... > wrote:
If I print the backtrace I get the same:
========================== Program received signal SIGSEGV, Segmentation fault. 0x77c4900f in msvcrt!_HUGE () from C:\WINDOWS\system32\msvcrt.dll (gdb) bt #0 0x77c4900f in msvcrt!_HUGE () from C:\WINDOWS\system32\msvcrt.dll #1 0x00000000 in ?? () (gdb) quit The program is running. Exit anyway? (y or n) ==========================
Does this help?
Rok
On Dec 25, 2007 8:37 PM, MenTaLguY < mental@...3...> wrote:
On Tue, 2007-12-25 at 09:50 +0100, Rock Star wrote:
Sorry, forgot to include the report from GDB. This is:
Could you get gdb to print the backtrace before you quit it (I believe the command is just "bt")? The backtrace is the potentially useful part.
-mental
One more update.
The problem was solved by manually removing "problematic" path from "recent" in "preferences.xml".
Bye, Rok
On Jan 10, 2008 9:24 AM, Rock Star <rockstar1707@...400...> wrote:
One more thing about this issue.
This is obviously not reproducible. I tried on some other PC and it didn't crash.
However, I've found out that it crashes only when path for "shortcuts" in places contain some "weird" characters, like "×" for example. Furthermore, it also crashes if I select a file with "weird"characters, but only in that certain folder. If I copy "problematic" files and folders to new base folder, everything works ok. For example, the problematic folder structure is as follows:
c:\Xxxx\Xxx\Xxxxxxxx\XX_Xxxxxx\Xxxxxx xxxxxx #×### xX\xxx\
where "X" stands for capital letter (striclty "english" characters), "x" for small letter (striclty "english" characters), and "#" for a numerical character.
So, if i copy everything (folders and files), so that the folder structure is as follows (notice added "#" in "4th" folder):
c:\Xxxx\Xxx\Xxxxxxxx\XX_Xxxxxx#\Xxxxxx xxxxxx #×### xX\xxx\
everything works OK.
So, this is obviously an issue only on this certain laptop and on this certain folder.
However, it would be interesting if someone can explain why this happens, but I believe this is most probably not an Inkscape problem.
Thanks anyway,
Rok
On Jan 8, 2008 2:29 PM, Rock Star <rockstar1707@...400...> wrote:
I don't know if someone was "digging" a bit more into this problem. However, with the recent builds the program still crashes, but I've found out the case in which it crashes on my laptop. I believe that it happens only if you have some items in "places" (left side of the window) that you added by yourself (I think Windows users would call them Favorites).
Steps to reproduce (we're talking about WinXP32)
- Run Inkscape
- Open the file choose (CTRL+O)
- Click few times on different folders that you added to "Places"
manually 4. After few clicks the Inkscape should crash (at least it does in my case)
Note that it doesn't crash if you click on "predefined" folders. In my case these are - Recently used - c:\documens and settings<username> - hard disks and CD/DVD roms
I must say that I really like the way that GTK handles these "favorites". One of the things why I really like this file chooser (though it could show a bit more information about the file, at least size).
It is interesting that the File Chooser in Gimp 2.4.3 on WinXP looks the same as the one in the nightly builds of Inkscape (I don't know about the GTK versions that each uses), but it doesn't crash in cases described above.
Any ideas about what could be the reason?
Thanks in advance.
Bye, Rok
On Dec 25, 2007 11:46 PM, Rock Star < rockstar1707@...400... > wrote:
If I print the backtrace I get the same:
========================== Program received signal SIGSEGV, Segmentation fault. 0x77c4900f in msvcrt!_HUGE () from C:\WINDOWS\system32\msvcrt.dll (gdb) bt #0 0x77c4900f in msvcrt!_HUGE () from C:\WINDOWS\system32\msvcrt.dll #1 0x00000000 in ?? () (gdb) quit The program is running. Exit anyway? (y or n) ==========================
Does this help?
Rok
On Dec 25, 2007 8:37 PM, MenTaLguY < mental@...3...> wrote:
On Tue, 2007-12-25 at 09:50 +0100, Rock Star wrote:
Sorry, forgot to include the report from GDB. This is:
Could you get gdb to print the backtrace before you quit it (I believe the command is just "bt")? The backtrace is the potentially useful part.
-mental
participants (2)
-
MenTaLguY
-
Rock Star